libdap/libdap.spec

129 lines
3.7 KiB
RPMSpec
Raw Normal View History

Name: libdap
Summary: The C++ DAP2 library from OPeNDAP
2006-09-19 21:12:00 +00:00
Version: 3.7.2
2006-10-31 17:00:19 +00:00
Release: 3%{?dist}
Source0: ftp://ftp.unidata.ucar.edu/pub/opendap/source/libdap-%{version}.tar.gz
URL: http://www.opendap.org/
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# the deflate program is covered by the W3C licence
License: LGPL
# Mandrake
#BuildRequires: libcurl3-devel >= 7.10.6 libxml2-devel >= 2.5.7
# fedora
BuildRequires: curl-devel >= 7.10.6 libxml2-devel >= 2.5.7
# 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
simplifies using the library in other projects. The getdap utility is a
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
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: curl-devel >= 7.10.6 libxml2-devel >= 2.5.7
2006-10-31 17:00:19 +00:00
# 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.
%prep
%setup -q
%build
2006-10-31 17:00:19 +00:00
%configure --disable-dependency-tracking
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_bindir}/getdap
%{_sbindir}/deflate
%{_libdir}/libdap.so.*
2006-07-21 12:09:38 +00:00
%{_libdir}/libdapclient.so.*
%{_libdir}/libdapserver.so.*
%doc README NEWS COPYING COPYRIGHT_URI README.AIS README.dodsrc
%doc COPYRIGHT_W3C
%files devel
%defattr(-,root,root,-)
%{_libdir}/libdap.a
%{_libdir}/libdap.so
2006-07-21 12:09:38 +00:00
%{_libdir}/libdapclient.so
%{_libdir}/libdapclient.a
%{_libdir}/libdapserver.so
%{_libdir}/libdapserver.a
%{_bindir}/dap-config
%{_includedir}/libdap/
%{_datadir}/aclocal/*
%changelog
2006-10-31 17:00:19 +00:00
* Tue Oct 31 2006 Patrice Dumas <pertusus@free.fr> 3.7.2-3
- rebuild for new libcurl soname
2006-10-04 22:47:27 +00:00
* 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
2006-09-19 21:12:00 +00:00
* Tue Sep 19 2006 Patrice Dumas <pertusus@free.fr> 3.7.2-1
- update to 3.7.2
* Wed Sep 6 2006 Patrice Dumas <pertusus@free.fr> 3.7.1-1
- update to 3.7.1
- set licence to LGPL instead of W3C/LGPL, since only deflate is W3C, so
the whole is under the LGPL
2006-07-21 12:09:38 +00:00
* Fri Jul 21 2006 Patrice Dumas <pertusus@free.fr> 3.7.0-1
- update to 3.7.0
2006-03-03 00:18:39 +00:00
* Mon Feb 27 2006 James Gallagher <jgallagher@opendap.org> - 3.6.0-1
2006-07-21 12:09:38 +00:00
- update to 3.6.0
2005-12-22 08:10:00 +00:00
* Mon Nov 21 2005 Patrice Dumas <pertusus@free.fr> - 3.5.3-2
- fix Source0
* Tue Aug 30 2005 Patrice Dumas <pertusus@free.fr> - 3.5.2-3
- Add missing Requires
* Sat Jul 2 2005 Patrice Dumas <pertusus@free.fr> - 3.5.1-2
- Support for shared libraries
- Add COPYING
- Update with fedora template
* Thu May 12 2005 James Gallagher <jimg@comet.opendap.org> - 3.5.0-1
- Changed: Requires xml2 to libxml2
* Wed May 11 2005 James Gallagher <jimg@zoey.opendap.org> 3.5.0-1
- Removed version numbers from .a and includes directory.
* Tue May 10 2005 James Gallagher <jimg@zoey.opendap.org>
2006-07-21 12:09:38 +00:00
- Mostly works. Problems: Not sure if the %%post script stuff works.
- Must also address the RHEL3 package deps issue (curl 7.12.0 isn't available;
not sure about xml2 2.5.7). At least the deps fail when they are not present!
* Fri May 6 2005 James Gallagher <jimg@zoey.opendap.org>
- Initial build.