|
|
|
@ -1,22 +1,14 @@
|
|
|
|
|
Name: libdap
|
|
|
|
|
Summary: The C++ DAP2 library from OPeNDAP
|
|
|
|
|
Version: 3.17.1
|
|
|
|
|
Version: 3.17.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://www.opendap.org/
|
|
|
|
|
#Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
|
|
|
|
Source0: https://github.com/OPENDAP/libdap4/archive/version-%{version}.tar.gz
|
|
|
|
|
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
|
|
|
|
#Don't run HTTP tests - builders don't have network connections
|
|
|
|
|
Patch0: libdap-offline.patch
|
|
|
|
|
# Add missing big endian baselines
|
|
|
|
|
# https://github.com/OPENDAP/libdap4/pull/13
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1325114
|
|
|
|
|
Patch1: libdap-big-endian-baselines.patch
|
|
|
|
|
# Fix cppunit detection
|
|
|
|
|
# https://github.com/OPENDAP/libdap4/pull/15
|
|
|
|
|
Patch2: libdap-cppunit.patch
|
|
|
|
|
|
|
|
|
|
# For autoreconf
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
@ -69,10 +61,8 @@ Documentation of the libdap library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}4-version-%{version}
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
%patch0 -p1 -b .offline
|
|
|
|
|
%patch1 -p1 -b .big-endian-baselines
|
|
|
|
|
%patch2 -p1 -b .cppunit
|
|
|
|
|
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
|
|
|
|
|
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
|
|
|
|
|
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
|
|
|
|
@ -141,6 +131,9 @@ make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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
|
|
|
|
|