|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
# You need to recompile all users of HDF5 for each version change
|
|
|
|
|
Name: hdf5
|
|
|
|
|
Version: 1.8.11
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: A general purpose library and file format for storing scientific data
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -12,6 +12,8 @@ URL: http://www.hdfgroup.org/HDF5/
|
|
|
|
|
|
|
|
|
|
Source0: http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-%{version}%{?snaprel}.tar.bz2
|
|
|
|
|
Source1: h5comp
|
|
|
|
|
# For man pages
|
|
|
|
|
Source2: http://ftp.us.debian.org/debian/pool/main/h/hdf5/hdf5_1.8.10-patch1-1.debian.tar.gz
|
|
|
|
|
Patch0: hdf5-LD_LIBRARY_PATH.patch
|
|
|
|
|
Patch1: hdf5-1.8.8-tstlite.patch
|
|
|
|
|
|
|
|
|
@ -132,7 +134,7 @@ HDF5 parallel openmpi static libraries
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
#setup -q -n %{name}-%{version}%{?snaprel}
|
|
|
|
|
%setup -q
|
|
|
|
|
%setup -q -a 2
|
|
|
|
|
%patch0 -p1 -b .LD_LIBRARY_PATH
|
|
|
|
|
%ifarch ppc64 s390x
|
|
|
|
|
# the tstlite test fails with "stack smashing detected" on these arches
|
|
|
|
@ -247,6 +249,10 @@ cat > ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm/macros.hdf5 <<EOF
|
|
|
|
|
%_hdf5_version %{version}
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
# Install man pages from debian
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
|
|
cp -p debian/man/*.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make -C build check
|
|
|
|
@ -284,6 +290,20 @@ done
|
|
|
|
|
%{_bindir}/h5stat
|
|
|
|
|
%{_bindir}/h5unjam
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
%{_mandir}/man1/gif2h5.1*
|
|
|
|
|
%{_mandir}/man1/h52gif.1*
|
|
|
|
|
%{_mandir}/man1/h5copy.1*
|
|
|
|
|
%{_mandir}/man1/h5diff.1*
|
|
|
|
|
%{_mandir}/man1/h5dump.1*
|
|
|
|
|
%{_mandir}/man1/h5import.1*
|
|
|
|
|
%{_mandir}/man1/h5jam.1*
|
|
|
|
|
%{_mandir}/man1/h5ls.1*
|
|
|
|
|
%{_mandir}/man1/h5mkgrp.1*
|
|
|
|
|
%{_mandir}/man1/h5perf_serial.1*
|
|
|
|
|
%{_mandir}/man1/h5repack.1*
|
|
|
|
|
%{_mandir}/man1/h5repart.1*
|
|
|
|
|
%{_mandir}/man1/h5stat.1*
|
|
|
|
|
%{_mandir}/man1/h5unjam.1*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
@ -297,6 +317,10 @@ done
|
|
|
|
|
%{_libdir}/*.settings
|
|
|
|
|
%{_fmoddir}/*.mod
|
|
|
|
|
%{_datadir}/hdf5_examples/
|
|
|
|
|
%{_mandir}/man1/h5c++.1*
|
|
|
|
|
%{_mandir}/man1/h5cc.1*
|
|
|
|
|
%{_mandir}/man1/h5fc.1*
|
|
|
|
|
%{_mandir}/man1/h5redeploy.1*
|
|
|
|
|
|
|
|
|
|
%files static
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
@ -380,6 +404,9 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 7 2013 Orion Poplawski <orion@cora.nwra.com> 1.8.11-2
|
|
|
|
|
- Add man pages from debian (bug #971551)
|
|
|
|
|
|
|
|
|
|
* Wed May 15 2013 Orion Poplawski <orion@cora.nwra.com> 1.8.11-1
|
|
|
|
|
- Update to 1.8.11
|
|
|
|
|
|
|
|
|
|