libdap/libdap.spec

372 lines
12 KiB
RPMSpec
Raw Normal View History

Name: libdap
Summary: The C++ DAP2 library from OPeNDAP
2017-01-12 04:57:43 +00:00
Version: 3.18.3
Release: 5%{?dist}
2010-07-13 22:46:43 +00:00
License: LGPLv2+
Group: Development/Libraries
URL: http://www.opendap.org/
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
#Don't run HTTP tests - builders don't have network connections
2016-08-12 21:09:07 +00:00
Patch0: libdap-offline.patch
# For autoreconf
BuildRequires: libtool
2016-08-12 16:01:58 +00:00
BuildRequires: bison >= 3.0
BuildRequires: cppunit-devel
BuildRequires: curl-devel
BuildRequires: doxygen
BuildRequires: flex
BuildRequires: graphviz
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
2013-05-29 21:43:03 +00:00
BuildRequires: openssl-devel
2007-06-01 20:52:25 +00:00
BuildRequires: pkgconfig
2016-08-12 15:29:23 +00:00
%ifnarch s390 %{mips}
BuildRequires: valgrind
%endif
Provides: bundled(gnulib)
2007-06-01 20:52:25 +00:00
%description
The libdap++ library contains an implementation of DAP2. This package
2010-07-13 22:46:43 +00:00
contains the library, dap-config, and getdap. 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
2010-07-13 22:46:43 +00:00
library and demonstrates simple uses of it.
2007-06-01 20:52:25 +00:00
%package devel
2007-06-01 20:52:25 +00:00
Summary: Development and header files from libdap
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: curl-devel
Requires: libxml2-devel
2007-06-01 20:52:25 +00:00
Requires: pkgconfig
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.
2007-06-01 20:52:25 +00:00
%package doc
Summary: Documentation of the libdap library
Group: Documentation
%description doc
Documentation of the libdap library.
2007-06-01 20:52:25 +00:00
%prep
%setup -q -n %{name}-%{version}
2011-11-22 20:14:21 +00:00
%patch0 -p1 -b .offline
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
2008-01-01 22:46:38 +00:00
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
2007-06-01 20:52:25 +00:00
%build
# To fix rpath
autoreconf -f -i
2007-06-01 20:52:25 +00:00
%configure --disable-static --disable-dependency-tracking
# --enable-valgrind - missing valgrind exclusions file
make %{?_smp_mflags}
2007-08-18 08:47:24 +00:00
make docs
2007-06-01 20:52:25 +00:00
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
mkdir -p $RPM_BUILD_ROOT%{_libdir}/libdap
mv $RPM_BUILD_ROOT%{_libdir}/libtest-types.a $RPM_BUILD_ROOT%{_libdir}/libdap/
2008-09-10 16:51:23 +00:00
rm $RPM_BUILD_ROOT%{_libdir}/*.la
mv $RPM_BUILD_ROOT%{_bindir}/dap-config-pkgconfig $RPM_BUILD_ROOT%{_bindir}/dap-config
rm -rf __dist_docs
cp -pr docs __dist_docs
# those .map and .md5 are of dubious use, remove them
rm -f __dist_docs/html/*.map __dist_docs/html/*.md5
2007-06-01 20:52:25 +00:00
# use the ChangeLog timestamp to have the same timestamps for the doc files
# for all arches
touch -r ChangeLog __dist_docs/html/*
2007-06-01 20:52:25 +00:00
%check
make check
2007-06-01 20:52:25 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
2007-06-01 20:52:25 +00:00
%files
2016-08-12 16:01:58 +00:00
%license COPYRIGHT_W3C COPYING COPYRIGHT_URI
%doc README NEWS README.dodsrc
%{_bindir}/getdap
%{_bindir}/getdap4
2016-08-12 16:01:58 +00:00
%{_libdir}/libdap.so.23*
%{_libdir}/libdapclient.so.6*
%{_libdir}/libdapserver.so.7*
2012-05-15 18:05:35 +00:00
%{_mandir}/man1/getdap.1*
%{_mandir}/man1/getdap4.1*
%files devel
%{_libdir}/libdap.so
2006-07-21 12:09:38 +00:00
%{_libdir}/libdapclient.so
%{_libdir}/libdapserver.so
%{_libdir}/libdap/
2007-07-05 21:26:24 +00:00
%{_libdir}/pkgconfig/libdap*.pc
%{_bindir}/dap-config
%{_includedir}/libdap/
%{_datadir}/aclocal/*
2012-05-15 18:05:35 +00:00
%{_mandir}/man1/dap-config.1*
%files doc
2016-08-12 16:01:58 +00:00
%license COPYING COPYRIGHT_URI COPYRIGHT_W3C
%doc __dist_docs/html/
2007-06-01 20:52:25 +00:00
%changelog
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-01-12 04:57:43 +00:00
* Wed Jan 11 2017 Orion Poplawski <orion@cora.nwra.com> - 3.18.3-1
- Update to 3.18.3
* Tue Dec 6 2016 Orion Poplawski <orion@cora.nwra.com> - 3.18.2-1
- Update to 3.18.2
- Drop getopt and big endian baselines patches applied upstream
* Fri Aug 26 2016 Dan Horák <dan[at]danny.cz> - 3.18.1-2
- Add missing big endian baselines (#1366787)
2016-08-12 16:01:58 +00:00
* Fri Aug 12 2016 Orion Poplawski <orion@cora.nwra.com> - 3.18.1-1
- Update to 3.18.1
2016-08-12 21:09:07 +00:00
- Add patch to fix getopt usage again
2016-08-12 16:01:58 +00:00
2016-08-12 15:29:23 +00:00
* Thu Aug 11 2016 Michal Toman <mtoman@fedoraproject.org> - 3.17.2-2
- No valgrind on MIPS
* Fri Apr 15 2016 Than Ngo <than@redhat.com> - 3.17.2-1
- update to 3.17.2
* Fri Apr 15 2016 Dan Horák <dan[at]danny.cz> - 3.17.1-1
- Update to 3.17.1
- Switch to github for source archive
- Add missing big endian baselines (#1325114)
* Tue Feb 9 2016 Orion Poplawski <orion@cora.nwra.com> - 3.17.0-1
- Update to 3.17.0
- Add patch for gcc 6 support
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-01-14 15:17:32 +00:00
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> - 3.16.0-1
- Update to 3.16.0
* Wed Sep 23 2015 Orion Poplawski <orion@cora.nwra.com> - 3.15.1-1
- Update to 3.15.1
- Drop flex, getopt, and include patches fixed upstream
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Jun 04 2015 Dan Horák <dan[at]danny.cz> - 3.14.0-4
- valgrind available only on selected arches
2015-04-18 01:54:13 +00:00
* Fri Apr 17 2015 Orion Poplawski <orion@cora.nwra.com> - 3.14.0-3
- Add patch to add needed includes
* Fri Apr 17 2015 Orion Poplawski <orion@cora.nwra.com> - 3.14.0-2
- Ship libtest-types.a for dependent package tests
* Thu Apr 16 2015 Orion Poplawski <orion@cora.nwra.com> - 3.14.0-1
- Update to 3.14.0
- Add patch to fix flex compilation
2015-04-17 14:41:58 +00:00
- Add patch to fix getopt usage
- Update offline patch for new test
2015-02-23 16:02:27 +00:00
* Mon Feb 23 2015 Orion Poplawski <orion@cora.nwra.com> - 3.13.3-1
- Update to 3.13.3
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-07-15 16:47:20 +00:00
* Tue Jul 15 2014 Orion Poplawski <orion@cora.nwra.com> - 3.13.1-2
2014-07-15 16:46:00 +00:00
- Add patch to fix tests on ppc and arm
* Wed Jul 9 2014 Orion Poplawski <orion@cora.nwra.com> - 3.13.1-1
- Update to 3.13.1
- Run autoreconf to fix rpaths
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed May 29 2013 Orion Poplawski <orion@cora.nwra.com> - 3.11.7-1
- Update to 3.11.7
- Drop gcc47 patch applied upstream
- spec cleanup
2013-05-29 21:43:03 +00:00
- Add BR openssl-devel
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> - 3.11.3-1
- Update to 3.11.3
- Drop curl and test patches applied upstream
- Add Provides: bundled(gnulib) (bug 821766)
2012-02-28 18:55:17 +00:00
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.1-5
- Rebuilt for c++ ABI breakage
2012-01-14 15:50:57 +00:00
* Sat Jan 14 2012 Orion Poplawski <orion@cora.nwra.com> - 3.11.1-4
- Add patch to compile with gcc 4.7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-12-28 17:28:30 +00:00
* Wed Dec 28 2011 Orion Poplawski <orion@cora.nwra.com> - 3.11.1-2
- Add upstream patch to fix failing test
2011-11-22 18:57:29 +00:00
* Tue Nov 22 2011 Orion Poplawski <orion@cora.nwra.com> - 3.11.1-1
- Update to 3.11.1
2011-11-22 20:14:21 +00:00
- Add patch for current libcurl
2011-11-22 18:57:29 +00:00
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-10 21:47:00 +00:00
* Fri Dec 10 2010 Orion Poplawski <orion@cora.nwra.com> - 3.11.0-1
- Update to 3.11.0
2010-12-14 17:50:47 +00:00
- Drop libuuid patch fixed upstream
- Drop soname patch
2010-12-10 21:47:00 +00:00
* Thu Jul 15 2010 Orion Poplawski <orion@cora.nwra.com> - 3.10.2-3
- Add patch to bump soname as this dropped the AIS* functions
- Add BR cppunit-devel and %%check section
- Add patch to not run HTTP network tests
* Wed Jul 14 2010 Orion Poplawski <orion@cora.nwra.com> - 3.10.2-2
- Add patch to remove -luuid from pkg-config libs
* Tue Jul 13 2010 Orion Poplawski <orion@cora.nwra.com> - 3.10.2-1
- Update to 3.10.2
2010-07-13 22:46:43 +00:00
- Deflate is no longer shipped
- Drop includes patch fixed upstream
- Add license to doc sub-package
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-07-22 17:39:58 +00:00
* Wed Jul 22 2009 Orion Poplawski <orion@cora.nwra.com> - 3.9.3-1
- Update to 3.9.3
* Tue Mar 3 2009 Caolán McNamara <caolanm@redhat.com> - 3.8.2-3
2009-03-03 15:35:52 +00:00
- include cstdio for std::sprintf
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-09-10 16:51:23 +00:00
* Fri Sep 5 2008 Patrice Dumas <pertusus@free.fr> 3.8.2-1
- update to 3.8.2
* Sun Mar 16 2008 Patrice Dumas <pertusus@free.fr> 3.8.0-1
- update to 3.8.0
2008-02-19 18:20:18 +00:00
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.7.10-3
- Autorebuild for GCC 4.3
2008-01-02 08:51:37 +00:00
* Wed Jan 2 2008 Patrice Dumas <pertusus@free.fr> 3.7.10-2
- use pkg-config in dap-config
2008-01-01 22:46:38 +00:00
* Mon Dec 17 2007 Patrice Dumas <pertusus@free.fr> 3.7.10-1
- update to 3.7.10
* Sun Oct 21 2007 Patrice Dumas <pertusus@free.fr> 3.7.8-3
- remove reference to libdir in dap-config
2007-08-29 05:20:23 +00:00
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.7.8-2
- Rebuild for selinux ppc32 issue.
2007-07-05 21:35:47 +00:00
* Thu Jul 5 2007 Patrice Dumas <pertusus@free.fr> 3.7.8-1.1
2007-07-05 21:26:24 +00:00
- update to 3.7.8
2007-06-01 20:59:15 +00:00
* Thu May 31 2007 Patrice Dumas <pertusus@free.fr> 3.7.7-1.1
2007-06-01 20:52:25 +00:00
- 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
2007-04-30 13:15:48 +00:00
* Mon Apr 30 2007 Patrice Dumas <pertusus@free.fr> 3.7.6-2
2007-04-30 11:53:39 +00:00
- update to 3.7.6
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.