Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | bfeb50b05b | |
pertusus | 5465dfdd8c | |
Bill Nottingham | e1d56151cc | |
pertusus | f7c98065ad | |
Kevin Fenzi | 0bd0340bc1 |
|
@ -1 +0,0 @@
|
|||
libdap-3.7.2.tar.gz
|
|
@ -0,0 +1 @@
|
|||
libdap-3.7.8.tar.gz
|
21
Makefile
21
Makefile
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: libdap
|
||||
# $Id$
|
||||
NAME := libdap
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
81
libdap.spec
81
libdap.spec
|
@ -1,11 +1,9 @@
|
|||
|
||||
Name: libdap
|
||||
Summary: The C++ DAP2 library from OPeNDAP
|
||||
Version: 3.7.2
|
||||
Release: 2%{?dist}
|
||||
Version: 3.7.8
|
||||
Release: 1%{?dist}.1
|
||||
|
||||
#Source0: http://www.opendap.org/pub/3.5/source/libdap-%{version}.tar.gz
|
||||
Source0: ftp://ftp.unidata.ucar.edu/pub/opendap/source/libdap-%{version}.tar.gz
|
||||
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
||||
URL: http://www.opendap.org/
|
||||
|
||||
Group: Development/Libraries
|
||||
|
@ -17,11 +15,16 @@ License: LGPL
|
|||
#BuildRequires: libcurl3-devel >= 7.10.6 libxml2-devel >= 2.5.7
|
||||
# fedora
|
||||
BuildRequires: curl-devel >= 7.10.6 libxml2-devel >= 2.5.7
|
||||
BuildRequires: doxygen graphviz
|
||||
# deflate depends directly on zlib
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
# This package could be relocatable. In that case uncomment the following
|
||||
# line
|
||||
#Prefix: %{_prefix}
|
||||
|
||||
|
||||
%description
|
||||
The libdap++ library contains an implementation of DAP2. This package
|
||||
contains the library, dap-config, getdap and deflate. The script dap-config
|
||||
|
@ -30,35 +33,63 @@ simple command-line tool to read from DAP2 servers. It is built using the
|
|||
library and demonstrates simple uses of it. The deflate utility is used by
|
||||
the library when it returns compressed responses.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Static libraries and header files from libdap
|
||||
Summary: Development and header files from libdap
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: curl-devel >= 7.10.6 libxml2-devel >= 2.5.7
|
||||
#
|
||||
Requires: pkgconfig
|
||||
# for the /usr/share/aclocal directory ownership
|
||||
Requires: automake
|
||||
|
||||
%description devel
|
||||
This package contains all the files needed to develop applications that
|
||||
will use libdap.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation of the libdap library
|
||||
Group: Documentation
|
||||
|
||||
%description doc
|
||||
Documentation of the libdap library.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure --disable-static --disable-dependency-tracking
|
||||
make %{?_smp_mflags}
|
||||
|
||||
make docs
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
||||
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
|
||||
rm -rf __fedora_docs
|
||||
cp -pr docs __fedora_docs
|
||||
# those .map and .md5 are of dubious use, remove them
|
||||
rm -f __fedora_docs/html/*.map __fedora_docs/html/*.md5
|
||||
# use the ChangeLog timestamp to have the same timestamps for the doc files
|
||||
# for all arches
|
||||
touch -r ChangeLog __fedora_docs/html/*
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/getdap
|
||||
|
@ -71,17 +102,41 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libdap.a
|
||||
%{_libdir}/libdap.so
|
||||
%{_libdir}/libdapclient.so
|
||||
%{_libdir}/libdapclient.a
|
||||
%{_libdir}/libdapserver.so
|
||||
%{_libdir}/libdapserver.a
|
||||
%{_libdir}/pkgconfig/libdap*.pc
|
||||
%{_bindir}/dap-config
|
||||
%{_includedir}/libdap/
|
||||
%{_datadir}/aclocal/*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc __fedora_docs/html/
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 5 2007 Patrice Dumas <pertusus@free.fr> 3.7.8-1.1
|
||||
- update to 3.7.8
|
||||
|
||||
* Thu May 31 2007 Patrice Dumas <pertusus@free.fr> 3.7.7-1.1
|
||||
- update to 3.7.7
|
||||
|
||||
* Sat May 12 2007 Patrice Dumas <pertusus@free.fr> 3.7.6-4
|
||||
- remove static libs
|
||||
- set the same doc file timestamps for all arches
|
||||
|
||||
* Mon Apr 30 2007 Patrice Dumas <pertusus@free.fr> 3.7.6-3
|
||||
- correct the library install order
|
||||
- keep timestamps
|
||||
- add documentation in a subpackage
|
||||
|
||||
* Mon Apr 30 2007 Patrice Dumas <pertusus@free.fr> 3.7.6-2
|
||||
- update to 3.7.6
|
||||
|
||||
* Tue Oct 31 2006 Patrice Dumas <pertusus@free.fr> 3.7.2-3
|
||||
- rebuild for new libcurl soname
|
||||
|
||||
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 3.7.2-2
|
||||
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
||||
|
||||
|
|
Loading…
Reference in New Issue