|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%define snaprel %{nil}
|
|
|
|
|
Name: hdf5
|
|
|
|
|
Version: 1.8.5.patch1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: A general purpose library and file format for storing scientific data
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -87,7 +87,7 @@ HDF5 parallel openmpi development files
|
|
|
|
|
%patch1 -p1 -b .longdouble
|
|
|
|
|
%endif
|
|
|
|
|
%patch4 -p1 -b .tstlite
|
|
|
|
|
find -name '*.[ch]' -o -name '*.f90' -exec chmod -x {} +
|
|
|
|
|
find -name '*.[ch]*' -o -name '*.f90' -exec chmod -x {} +
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -156,6 +156,8 @@ done
|
|
|
|
|
#Fortran modules
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_fmoddir}
|
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_includedir}/*.mod ${RPM_BUILD_ROOT}%{_fmoddir}
|
|
|
|
|
#Fixup example permissions
|
|
|
|
|
find ${RPM_BUILD_ROOT}%{_datadir} -name '*.[ch]*' -o -name '*.f90' -exec chmod -x {} +
|
|
|
|
|
|
|
|
|
|
#Fixup headers and scripts for multiarch
|
|
|
|
|
%ifarch x86_64 ppc64 ia64 s390x sparc64 alpha
|
|
|
|
@ -240,6 +242,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files mpich2
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
|
|
|
|
|
%doc release_docs/HISTORY*.txt
|
|
|
|
|
%{_libdir}/mpich2/bin/gif2h5
|
|
|
|
|
%{_libdir}/mpich2/bin/h52gif
|
|
|
|
|
%{_libdir}/mpich2/bin/h5copy
|
|
|
|
@ -261,6 +265,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files openmpi
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
|
|
|
|
|
%doc release_docs/HISTORY*.txt
|
|
|
|
|
%{_libdir}/openmpi/bin/gif2h5
|
|
|
|
|
%{_libdir}/openmpi/bin/h52gif
|
|
|
|
|
%{_libdir}/openmpi/bin/h5copy
|
|
|
|
@ -298,6 +304,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Oct 27 2010 Orion Poplawski <orion@cora.nwra.com> 1.8.5.patch1-3
|
|
|
|
|
- Add docs to the mpi packages
|
|
|
|
|
- Fixup example source file permissions
|
|
|
|
|
|
|
|
|
|
* Tue Oct 26 2010 Orion Poplawski <orion@cora.nwra.com> 1.8.5.patch1-2
|
|
|
|
|
- Build parallel hdf5 packages for mpich2 and openmpi
|
|
|
|
|
- Rework multiarch support and drop multiarch patch
|
|
|
|
|