|
@@ -1,18 +1,12 @@
|
|
Name: hdf5
|
|
Name: hdf5
|
|
-Version: 1.6.10
|
|
+Version: 1.8.8
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
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
|
|
License: BSD
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://www.hdfgroup.org/HDF5/
|
|
URL: http://www.hdfgroup.org/HDF5/
|
|
Source0: ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}.tar.bz2
|
|
Source0: ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}.tar.bz2
|
|
-Patch1: hdf5-1.6.4-destdir.patch
|
|
+# Source1: ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}_docs.tar
|
|
-Patch2: hdf5-1.6.4-norpath.patch
|
|
|
|
-Patch3: hdf5-1.6.6-tail.patch
|
|
|
|
-Patch5: hdf5-1.6.4-ppc.patch
|
|
|
|
-Patch7: hdf5-1.6.5-x86_64.patch
|
|
|
|
-Patch8: hdf5-1.6.5-sort.patch
|
|
|
|
-Patch10: hdf5-1.6.5-open.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: zlib-devel, gcc-gfortran, time
|
|
BuildRequires: zlib-devel, gcc-gfortran, time
|
|
|
|
|
|
@@ -33,15 +27,16 @@ Requires: %{name} = %{version}-%{release}
|
|
%description devel
|
|
%description devel
|
|
HDF5 development headers and libraries.
|
|
HDF5 development headers and libraries.
|
|
|
|
|
|
|
|
+%package static
|
|
|
|
+Summary: HDF5 static libraries
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+%description static
|
|
|
|
+HDF5 static libraries.
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-#%patch1 -p1 -b .destdir
|
|
|
|
-%patch2 -p1 -b .norpath
|
|
|
|
-#%patch3 -p1 -b .tail
|
|
|
|
-%patch5 -p1 -b .ppc
|
|
|
|
-%patch7 -p1 -b .x86_64
|
|
|
|
-%patch8 -p1 -b .sort
|
|
|
|
-#%patch10 -p1 -b .open
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -49,15 +44,13 @@ export CC=gcc
|
|
export CXX=g++
|
|
export CXX=g++
|
|
export F9X=gfortran
|
|
export F9X=gfortran
|
|
%configure --with-ssl --enable-cxx --enable-fortran \
|
|
%configure --with-ssl --enable-cxx --enable-fortran \
|
|
- --enable-threadsafe --with-pthread
|
|
+ --disable-dependency-tracking \
|
|
-make
|
|
+ --enable-hl --enable-shared
|
|
-
|
|
+%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-find doc/html -type f | xargs chmod -x
|
|
|
|
%makeinstall docdir=${RPM_BUILD_ROOT}%{_docdir}
|
|
%makeinstall docdir=${RPM_BUILD_ROOT}%{_docdir}
|
|
-find doc/html -name Dependencies -o -name Makefile\* | xargs rm
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/*.settings
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/*.settings
|
|
|
|
|
|
%check
|
|
%check
|
|
@@ -75,17 +68,21 @@ rm -rf $RPM_BUILD_ROOT
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%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
|
|
%{_bindir}/gif2h5
|
|
%{_bindir}/gif2h5
|
|
%{_bindir}/h52gif
|
|
%{_bindir}/h52gif
|
|
|
|
+%{_bindir}/h5copy
|
|
%{_bindir}/h5debug
|
|
%{_bindir}/h5debug
|
|
%{_bindir}/h5diff
|
|
%{_bindir}/h5diff
|
|
%{_bindir}/h5dump
|
|
%{_bindir}/h5dump
|
|
%{_bindir}/h5import
|
|
%{_bindir}/h5import
|
|
%{_bindir}/h5jam
|
|
%{_bindir}/h5jam
|
|
%{_bindir}/h5ls
|
|
%{_bindir}/h5ls
|
|
|
|
+%{_bindir}/h5mkgrp
|
|
|
|
+%{_bindir}/h5perf_serial
|
|
%{_bindir}/h5repack
|
|
%{_bindir}/h5repack
|
|
%{_bindir}/h5repart
|
|
%{_bindir}/h5repart
|
|
|
|
+%{_bindir}/h5stat
|
|
%{_bindir}/h5unjam
|
|
%{_bindir}/h5unjam
|
|
%attr(0755,root,root) %{_libdir}/*.so.*
|
|
%attr(0755,root,root) %{_libdir}/*.so.*
|
|
|
|
|
|
@@ -95,14 +92,20 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_bindir}/h5cc
|
|
%{_bindir}/h5cc
|
|
%{_bindir}/h5fc
|
|
%{_bindir}/h5fc
|
|
%{_bindir}/h5redeploy
|
|
%{_bindir}/h5redeploy
|
|
-%{_docdir}/%{name}/
|
|
|
|
%{_includedir}/*.h
|
|
%{_includedir}/*.h
|
|
-%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.so
|
|
-%{_libdir}/*.mod
|
|
+%{_includedir}/*.mod
|
|
|
|
+%{_datadir}/hdf5_examples/
|
|
|
|
|
|
|
|
+%files static
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_libdir}/*.a
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Nov 30 2011 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.8-1
|
|
|
|
+- new upstream release
|
|
|
|
+- drop obsolete patches
|
|
|
|
+
|
|
* Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.10-1
|
|
* Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.10-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- drop Patch1,3,10
|
|
- drop Patch1,3,10
|