Blame SPECS/libdap.spec

Packit 308ab0
Name: libdap
Packit 308ab0
Summary: The C++ DAP2 library from OPeNDAP
Packit 308ab0
Version: 3.19.1
Packit 308ab0
Release: 2%{?dist}
Packit 308ab0
Packit 308ab0
License: LGPLv2+
Packit 308ab0
Group: Development/Libraries
Packit 308ab0
URL: http://www.opendap.org/
Packit 308ab0
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
Packit 308ab0
#Don't run HTTP tests - builders don't have network connections
Packit 308ab0
Patch0: libdap-offline.patch
Packit 308ab0
# Use libtirpc
Packit 308ab0
Patch1: libdap-3.19.1-use-libtirpc.patch
Packit 308ab0
Packit 308ab0
BuildRequires: gcc-c++
Packit 308ab0
# For autoreconf
Packit 308ab0
BuildRequires: libtool
Packit 308ab0
BuildRequires: bison >= 3.0
Packit 308ab0
BuildRequires: cppunit-devel
Packit 308ab0
BuildRequires: curl-devel
Packit 308ab0
BuildRequires: doxygen
Packit 308ab0
BuildRequires: flex
Packit 308ab0
BuildRequires: graphviz
Packit 308ab0
BuildRequires: libtirpc-devel
Packit 308ab0
BuildRequires: libuuid-devel
Packit 308ab0
BuildRequires: libxml2-devel
Packit 308ab0
BuildRequires: openssl-devel
Packit 308ab0
BuildRequires: pkgconfig
Packit 308ab0
%ifarch %{valgrind_arches}
Packit 308ab0
BuildRequires: valgrind
Packit 308ab0
%endif
Packit 308ab0
Packit 308ab0
Provides: bundled(gnulib)
Packit 308ab0
Packit 308ab0
Packit 308ab0
%description
Packit 308ab0
The libdap++ library contains an implementation of DAP2. This package
Packit 308ab0
contains the library, dap-config, and getdap. The script dap-config
Packit 308ab0
simplifies using the library in other projects. The getdap utility is a
Packit 308ab0
simple command-line tool to read from DAP2 servers. It is built using the
Packit 308ab0
library and demonstrates simple uses of it.
Packit 308ab0
Packit 308ab0
Packit 308ab0
%package devel
Packit 308ab0
Summary: Development and header files from libdap
Packit 308ab0
Group: Development/Libraries
Packit 308ab0
Requires: %{name} = %{version}-%{release}
Packit 308ab0
Requires: curl-devel
Packit 308ab0
Requires: libxml2-devel
Packit 308ab0
Requires: pkgconfig
Packit 308ab0
# for the /usr/share/aclocal directory ownership
Packit 308ab0
Requires: automake
Packit 308ab0
Packit 308ab0
%description devel
Packit 308ab0
This package contains all the files needed to develop applications that
Packit 308ab0
will use libdap.
Packit 308ab0
Packit 308ab0
Packit 308ab0
%package doc
Packit 308ab0
Summary: Documentation of the libdap library
Packit 308ab0
Group: Documentation
Packit 308ab0
Packit 308ab0
%description doc
Packit 308ab0
Documentation of the libdap library.
Packit 308ab0
Packit 308ab0
Packit 308ab0
%prep
Packit 308ab0
%autosetup -n %{name}-%{version} -p1
Packit 308ab0
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
Packit 308ab0
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
Packit 308ab0
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
Packit 308ab0
Packit 308ab0
Packit 308ab0
%build
Packit 308ab0
# To fix rpath
Packit 308ab0
autoreconf -f -i
Packit 308ab0
%configure --disable-static --disable-dependency-tracking
Packit 308ab0
# --enable-valgrind - missing valgrind exclusions file
Packit 308ab0
%make_build
Packit 308ab0
Packit 308ab0
make docs
Packit 308ab0
Packit 308ab0
Packit 308ab0
%install
Packit 308ab0
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
Packit 308ab0
mkdir -p $RPM_BUILD_ROOT%{_libdir}/libdap
Packit 308ab0
mv $RPM_BUILD_ROOT%{_libdir}/libtest-types.a $RPM_BUILD_ROOT%{_libdir}/libdap/
Packit 308ab0
rm $RPM_BUILD_ROOT%{_libdir}/*.la
Packit 308ab0
mv $RPM_BUILD_ROOT%{_bindir}/dap-config-pkgconfig $RPM_BUILD_ROOT%{_bindir}/dap-config
Packit 308ab0
Packit 308ab0
rm -rf __dist_docs
Packit 308ab0
cp -pr html __dist_docs
Packit 308ab0
# those .map and .md5 are of dubious use, remove them
Packit 308ab0
rm -f __dist_docs/*.map __dist_docs/*.md5
Packit 308ab0
# use the ChangeLog timestamp to have the same timestamps for the doc files 
Packit 308ab0
# for all arches
Packit 308ab0
touch -r ChangeLog __dist_docs/*
Packit 308ab0
Packit 308ab0
Packit 308ab0
%check
Packit 308ab0
# tarball is missing some needed files
Packit 308ab0
make check || :
Packit 308ab0
Packit 308ab0
Packit 308ab0
%post -p /sbin/ldconfig
Packit 308ab0
Packit 308ab0
%postun -p /sbin/ldconfig
Packit 308ab0
Packit 308ab0
Packit 308ab0
%files
Packit 308ab0
%license COPYRIGHT_W3C COPYING COPYRIGHT_URI
Packit 308ab0
%doc README NEWS README.dodsrc
Packit 308ab0
%{_bindir}/getdap
Packit 308ab0
%{_bindir}/getdap4
Packit 308ab0
%{_libdir}/libdap.so.25*
Packit 308ab0
%{_libdir}/libdapclient.so.6*
Packit 308ab0
%{_libdir}/libdapserver.so.7*
Packit 308ab0
%{_mandir}/man1/getdap.1*
Packit 308ab0
%{_mandir}/man1/getdap4.1*
Packit 308ab0
Packit 308ab0
%files devel
Packit 308ab0
%{_libdir}/libdap.so
Packit 308ab0
%{_libdir}/libdapclient.so
Packit 308ab0
%{_libdir}/libdapserver.so
Packit 308ab0
%{_libdir}/libdap/
Packit 308ab0
%{_libdir}/pkgconfig/libdap*.pc
Packit 308ab0
%{_bindir}/dap-config
Packit 308ab0
%{_includedir}/libdap/
Packit 308ab0
%{_datadir}/aclocal/*
Packit 308ab0
%{_mandir}/man1/dap-config.1*
Packit 308ab0
Packit 308ab0
%files doc
Packit 308ab0
%license COPYING COPYRIGHT_URI COPYRIGHT_W3C
Packit 308ab0
%doc __dist_docs/
Packit 308ab0
Packit 308ab0
Packit 308ab0
%changelog
Packit 308ab0
* Fri Aug  3 2018 Florian Weimer <fweimer@redhat.com> - 3.19.1-2
Packit 308ab0
- Honor %%{valgrind_arches}
Packit 308ab0
Packit 308ab0
* Tue Jun 26 2018 Josef Ridky <jridky@redhat.com> - 3.19.1-1
Packit 308ab0
- Update to 3.19.1
Packit 308ab0
- Add patch to use libtirpc
Packit 308ab0
- Add BR gcc-c++
Packit 308ab0
- Resolves: #1580754 - FTBFS in RHEL-8
Packit 308ab0
Packit 308ab0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-5
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-4
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-3
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.3-2
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Wed Jan 11 2017 Orion Poplawski <orion@cora.nwra.com> - 3.18.3-1
Packit 308ab0
- Update to 3.18.3
Packit 308ab0
Packit 308ab0
* Tue Dec 6 2016 Orion Poplawski <orion@cora.nwra.com> - 3.18.2-1
Packit 308ab0
- Update to 3.18.2
Packit 308ab0
- Drop getopt and big endian baselines patches applied upstream
Packit 308ab0
Packit 308ab0
* Fri Aug 26 2016 Dan Horák <dan[at]danny.cz> - 3.18.1-2
Packit 308ab0
- Add missing big endian baselines (#1366787)
Packit 308ab0
Packit 308ab0
* Fri Aug 12 2016 Orion Poplawski <orion@cora.nwra.com> - 3.18.1-1
Packit 308ab0
- Update to 3.18.1
Packit 308ab0
- Add patch to fix getopt usage again
Packit 308ab0
Packit 308ab0
* Thu Aug 11 2016 Michal Toman <mtoman@fedoraproject.org> - 3.17.2-2
Packit 308ab0
- No valgrind on MIPS
Packit 308ab0
Packit 308ab0
* Fri Apr 15 2016 Than Ngo <than@redhat.com> - 3.17.2-1
Packit 308ab0
- update to 3.17.2
Packit 308ab0
Packit 308ab0
* Fri Apr 15 2016 Dan Horák <dan[at]danny.cz> - 3.17.1-1
Packit 308ab0
- Update to 3.17.1
Packit 308ab0
- Switch to github for source archive
Packit 308ab0
- Add missing big endian baselines (#1325114)
Packit 308ab0
Packit 308ab0
* Tue Feb 9 2016 Orion Poplawski <orion@cora.nwra.com> - 3.17.0-1
Packit 308ab0
- Update to 3.17.0
Packit 308ab0
- Add patch for gcc 6 support
Packit 308ab0
Packit 308ab0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.0-2
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> - 3.16.0-1
Packit 308ab0
- Update to 3.16.0
Packit 308ab0
Packit 308ab0
* Wed Sep 23 2015 Orion Poplawski <orion@cora.nwra.com> - 3.15.1-1
Packit 308ab0
- Update to 3.15.1
Packit 308ab0
- Drop flex, getopt, and include patches fixed upstream
Packit 308ab0
Packit 308ab0
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14.0-5
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Thu Jun 04 2015 Dan Horák <dan[at]danny.cz> - 3.14.0-4
Packit 308ab0
- valgrind available only on selected arches
Packit 308ab0
Packit 308ab0
* Fri Apr 17 2015 Orion Poplawski <orion@cora.nwra.com> - 3.14.0-3
Packit 308ab0
- Add patch to add needed includes
Packit 308ab0
Packit 308ab0
* Fri Apr 17 2015 Orion Poplawski <orion@cora.nwra.com> - 3.14.0-2
Packit 308ab0
- Ship libtest-types.a for dependent package tests
Packit 308ab0
Packit 308ab0
* Thu Apr 16 2015 Orion Poplawski <orion@cora.nwra.com> - 3.14.0-1
Packit 308ab0
- Update to 3.14.0
Packit 308ab0
- Add patch to fix flex compilation
Packit 308ab0
- Add patch to fix getopt usage
Packit 308ab0
- Update offline patch for new test
Packit 308ab0
Packit 308ab0
* Mon Feb 23 2015 Orion Poplawski <orion@cora.nwra.com> - 3.13.3-1
Packit 308ab0
- Update to 3.13.3
Packit 308ab0
Packit 308ab0
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.1-3
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Tue Jul 15 2014 Orion Poplawski <orion@cora.nwra.com> - 3.13.1-2
Packit 308ab0
- Add patch to fix tests on ppc and arm
Packit 308ab0
Packit 308ab0
* Wed Jul 9 2014 Orion Poplawski <orion@cora.nwra.com> - 3.13.1-1
Packit 308ab0
- Update to 3.13.1
Packit 308ab0
- Run autoreconf to fix rpaths
Packit 308ab0
Packit 308ab0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.7-3
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.7-2
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Wed May 29 2013 Orion Poplawski <orion@cora.nwra.com> - 3.11.7-1
Packit 308ab0
- Update to 3.11.7
Packit 308ab0
- Drop gcc47 patch applied upstream
Packit 308ab0
- spec cleanup
Packit 308ab0
- Add BR openssl-devel
Packit 308ab0
Packit 308ab0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.3-3
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.3-2
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> - 3.11.3-1
Packit 308ab0
- Update to 3.11.3
Packit 308ab0
- Drop curl and test patches applied upstream
Packit 308ab0
- Add Provides: bundled(gnulib) (bug 821766)
Packit 308ab0
Packit 308ab0
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.1-5
Packit 308ab0
- Rebuilt for c++ ABI breakage
Packit 308ab0
Packit 308ab0
* Sat Jan 14 2012 Orion Poplawski <orion@cora.nwra.com> - 3.11.1-4
Packit 308ab0
- Add patch to compile with gcc 4.7
Packit 308ab0
Packit 308ab0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.1-3
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Wed Dec 28 2011 Orion Poplawski <orion@cora.nwra.com> - 3.11.1-2
Packit 308ab0
- Add upstream patch to fix failing test
Packit 308ab0
Packit 308ab0
* Tue Nov 22 2011 Orion Poplawski <orion@cora.nwra.com> - 3.11.1-1
Packit 308ab0
- Update to 3.11.1
Packit 308ab0
- Add patch for current libcurl
Packit 308ab0
Packit 308ab0
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11.0-2
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Fri Dec 10 2010 Orion Poplawski <orion@cora.nwra.com> - 3.11.0-1
Packit 308ab0
- Update to 3.11.0
Packit 308ab0
- Drop libuuid patch fixed upstream
Packit 308ab0
- Drop soname patch
Packit 308ab0
Packit 308ab0
* Thu Jul 15 2010 Orion Poplawski <orion@cora.nwra.com> - 3.10.2-3
Packit 308ab0
- Add patch to bump soname as this dropped the AIS* functions
Packit 308ab0
- Add BR cppunit-devel and %%check section
Packit 308ab0
- Add patch to not run HTTP network tests
Packit 308ab0
Packit 308ab0
* Wed Jul 14 2010 Orion Poplawski <orion@cora.nwra.com> - 3.10.2-2
Packit 308ab0
- Add patch to remove -luuid from pkg-config libs
Packit 308ab0
Packit 308ab0
* Tue Jul 13 2010 Orion Poplawski <orion@cora.nwra.com> - 3.10.2-1
Packit 308ab0
- Update to 3.10.2
Packit 308ab0
- Deflate is no longer shipped
Packit 308ab0
- Drop includes patch fixed upstream
Packit 308ab0
- Add license to doc sub-package
Packit 308ab0
Packit 308ab0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.3-2
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Wed Jul 22 2009 Orion Poplawski <orion@cora.nwra.com> - 3.9.3-1
Packit 308ab0
- Update to 3.9.3
Packit 308ab0
Packit 308ab0
* Tue Mar  3 2009 Caolán McNamara <caolanm@redhat.com> - 3.8.2-3
Packit 308ab0
- include cstdio for std::sprintf
Packit 308ab0
Packit 308ab0
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-2
Packit 308ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Packit 308ab0
Packit 308ab0
* Fri Sep  5 2008 Patrice Dumas <pertusus@free.fr> 3.8.2-1
Packit 308ab0
- update to 3.8.2
Packit 308ab0
Packit 308ab0
* Sun Mar 16 2008 Patrice Dumas <pertusus@free.fr> 3.8.0-1
Packit 308ab0
- update to 3.8.0
Packit 308ab0
Packit 308ab0
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.7.10-3
Packit 308ab0
- Autorebuild for GCC 4.3
Packit 308ab0
Packit 308ab0
* Wed Jan  2 2008 Patrice Dumas <pertusus@free.fr> 3.7.10-2
Packit 308ab0
- use pkg-config in dap-config
Packit 308ab0
Packit 308ab0
* Mon Dec 17 2007 Patrice Dumas <pertusus@free.fr> 3.7.10-1
Packit 308ab0
- update to 3.7.10
Packit 308ab0
Packit 308ab0
* Sun Oct 21 2007 Patrice Dumas <pertusus@free.fr> 3.7.8-3
Packit 308ab0
- remove reference to libdir in dap-config
Packit 308ab0
Packit 308ab0
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.7.8-2
Packit 308ab0
- Rebuild for selinux ppc32 issue.
Packit 308ab0
Packit 308ab0
* Thu Jul  5 2007 Patrice Dumas <pertusus@free.fr> 3.7.8-1.1
Packit 308ab0
- update to 3.7.8
Packit 308ab0
Packit 308ab0
* Thu May 31 2007 Patrice Dumas <pertusus@free.fr> 3.7.7-1.1
Packit 308ab0
- update to 3.7.7
Packit 308ab0
Packit 308ab0
* Sat May 12 2007 Patrice Dumas <pertusus@free.fr> 3.7.6-4
Packit 308ab0
- remove static libs
Packit 308ab0
- set the same doc file timestamps for all arches
Packit 308ab0
Packit 308ab0
* Mon Apr 30 2007 Patrice Dumas <pertusus@free.fr> 3.7.6-3
Packit 308ab0
- correct the library install order
Packit 308ab0
- keep timestamps
Packit 308ab0
- add documentation in a subpackage
Packit 308ab0
Packit 308ab0
* Mon Apr 30 2007 Patrice Dumas <pertusus@free.fr> 3.7.6-2
Packit 308ab0
- update to 3.7.6
Packit 308ab0
Packit 308ab0
* Tue Oct 31 2006 Patrice Dumas <pertusus@free.fr> 3.7.2-3
Packit 308ab0
- rebuild for new libcurl soname
Packit 308ab0
Packit 308ab0
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 3.7.2-2
Packit 308ab0
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
Packit 308ab0
Packit 308ab0
* Tue Sep 19 2006 Patrice Dumas <pertusus@free.fr> 3.7.2-1
Packit 308ab0
- update to 3.7.2
Packit 308ab0
Packit 308ab0
* Wed Sep  6 2006 Patrice Dumas <pertusus@free.fr> 3.7.1-1
Packit 308ab0
- update to 3.7.1
Packit 308ab0
- set licence to LGPL instead of W3C/LGPL, since only deflate is W3C, so
Packit 308ab0
  the whole is under the LGPL
Packit 308ab0
Packit 308ab0
* Fri Jul 21 2006 Patrice Dumas <pertusus@free.fr> 3.7.0-1
Packit 308ab0
- update to 3.7.0
Packit 308ab0
Packit 308ab0
* Mon Feb 27 2006 James Gallagher <jgallagher@opendap.org> - 3.6.0-1
Packit 308ab0
- update to 3.6.0
Packit 308ab0
Packit 308ab0
* Mon Nov 21 2005 Patrice Dumas <pertusus@free.fr> - 3.5.3-2
Packit 308ab0
- fix Source0
Packit 308ab0
Packit 308ab0
* Tue Aug 30 2005 Patrice Dumas <pertusus@free.fr> - 3.5.2-3
Packit 308ab0
- Add missing Requires
Packit 308ab0
Packit 308ab0
* Sat Jul  2 2005 Patrice Dumas <pertusus@free.fr> - 3.5.1-2
Packit 308ab0
- Support for shared libraries
Packit 308ab0
- Add COPYING
Packit 308ab0
- Update with fedora template
Packit 308ab0
Packit 308ab0
* Thu May 12 2005 James Gallagher <jimg@comet.opendap.org> - 3.5.0-1
Packit 308ab0
- Changed: Requires xml2 to libxml2
Packit 308ab0
Packit 308ab0
* Wed May 11 2005 James Gallagher <jimg@zoey.opendap.org> 3.5.0-1
Packit 308ab0
- Removed version numbers from .a and includes directory.
Packit 308ab0
Packit 308ab0
* Tue May 10 2005 James Gallagher <jimg@zoey.opendap.org> 
Packit 308ab0
- Mostly works. Problems: Not sure if the %%post script stuff works.
Packit 308ab0
- Must also address the RHEL3 package deps issue (curl 7.12.0 isn't available;
Packit 308ab0
  not sure about xml2 2.5.7). At least the deps fail when they are not present!
Packit 308ab0
Packit 308ab0
* Fri May  6 2005 James Gallagher <jimg@zoey.opendap.org> 
Packit 308ab0
- Initial build.