- Change rpath patch to not need autoconf

- Add patch for libtool on x86_64
- Fix shared lib permissions
epel9
Orion Poplawski 19 years ago
parent f168b83d56
commit 6081e4e5ea

@ -1,6 +1,6 @@
Name: hdf5 Name: hdf5
Version: 1.6.5 Version: 1.6.5
Release: 4%{?dist} Release: 5%{?dist}
Summary: A general purpose library and file format for storing scientific data Summary: A general purpose library and file format for storing scientific data
License: BSD-ish License: BSD-ish
Group: System Environment/Libraries Group: System Environment/Libraries
@ -13,6 +13,7 @@ Patch3: hdf5-1.6.4-testh5repack.patch
Patch4: hdf5-1.6.5-h5diff_attr.patch Patch4: hdf5-1.6.5-h5diff_attr.patch
Patch5: hdf5-1.6.4-ppc.patch Patch5: hdf5-1.6.4-ppc.patch
Patch6: hdf5-1.6.5-flags.patch Patch6: hdf5-1.6.5-flags.patch
Patch7: hdf5-1.6.5-x86_64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time
@ -42,9 +43,9 @@ HDF5 development headers and libraries.
%patch4 -p1 %patch4 -p1
%patch5 -p1 %patch5 -p1
%patch6 -p1 -b .flags %patch6 -p1 -b .flags
%patch7 -p1 -b .x86_64
%build %build
autoconf
%configure --with-ssl --enable-cxx --enable-fortran \ %configure --with-ssl --enable-cxx --enable-fortran \
--enable-threadsafe --with-pthread --enable-threadsafe --with-pthread
make make
@ -52,7 +53,8 @@ make
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
find doc/html -type f | xargs chmod -x find doc/html -type f | xargs chmod -x
find doc/html -name '*.sh*' | xargs chmod +x #find doc/html -name '*.sh*' | xargs chmod +x
find doc/html -name Dependencies | xargs rm
%makeinstall docdir=${RPM_BUILD_ROOT}%{_docdir} %makeinstall docdir=${RPM_BUILD_ROOT}%{_docdir}
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/*.settings rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/*.settings
# Don't instal h5perf until h5test.so.0 issues is sorted out # Don't instal h5perf until h5test.so.0 issues is sorted out
@ -69,7 +71,7 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,0755) %defattr(-,root,root,-)
%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt %doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
%doc release_docs/HISTORY.txt doc/html %doc release_docs/HISTORY.txt doc/html
%{_bindir}/gif2h5 %{_bindir}/gif2h5
@ -83,10 +85,10 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/h5repack %{_bindir}/h5repack
%{_bindir}/h5repart %{_bindir}/h5repart
%{_bindir}/h5unjam %{_bindir}/h5unjam
%{_libdir}/*.so.* %attr(0755,root,root) %{_libdir}/*.so.*
%files devel %files devel
%defattr(-,root,root,0755) %defattr(-,root,root,-)
%{_bindir}/h5c++ %{_bindir}/h5c++
%{_bindir}/h5cc %{_bindir}/h5cc
%{_bindir}/h5fc %{_bindir}/h5fc
@ -98,6 +100,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.mod %{_libdir}/*.mod
%changelog %changelog
* Wed Mar 15 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-5
- Change rpath patch to not need autoconf
- Add patch for libtool on x86_64
- Fix shared lib permissions
* Mon Mar 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-4 * Mon Mar 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-4
- Add patch to avoid HDF setting the compiler flags - Add patch to avoid HDF setting the compiler flags

Loading…
Cancel
Save