[netcdf] Enable hdf4 support
Orion Poplawski
orion at fedoraproject.org
Tue Nov 5 02:44:46 UTC 2013
commit 86e6c0381422acd0bdbee50fdd7848fb6004be79
Author: Orion Poplawski <orion at nwra.com>
Date: Mon Nov 4 19:44:59 2013 -0700
Enable hdf4 support
netcdf.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/netcdf.spec b/netcdf.spec
index 14cc177..22a4c8d 100644
--- a/netcdf.spec
+++ b/netcdf.spec
@@ -1,6 +1,6 @@
Name: netcdf
Version: 4.3.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Libraries for the Unidata network Common Data Form
Group: Applications/Engineering
@@ -13,6 +13,7 @@ Patch0: netcdf-pkgconfig.patch
BuildRequires: chrpath
BuildRequires: doxygen
+BuildRequires: hdf-devel
BuildRequires: hdf5-devel >= 1.8.4
BuildRequires: gawk
BuildRequires: libcurl-devel
@@ -189,8 +190,12 @@ NetCDF parallel openmpi static libraries
--enable-netcdf-4 \\\
--enable-dap \\\
--enable-extra-example-tests \\\
+ CPPFLAGS=-I%{_includedir}/hdf \\\
+ LIBS="-ldf -ljpeg" \\\
+ --enable-hdf4 \\\
--disable-dap-remote-tests \\\
%{nil}
+export LDFLAGS="%{__global_ldflags} -L%{_libdir}/hdf"
# Serial build
mkdir build
@@ -321,6 +326,9 @@ make -C build check
%changelog
+* Mon Nov 4 2013 Orion Poplawski <orion at cora.nwra.com> - 4.3.0-6
+- Enable hdf4 support
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list