Browse Source

hdf5: new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5904 ec354946-7b23-47d6-9f5a-488ba84defc7
kenta 12 years ago
parent
commit
e878ab194f
1 changed files with 27 additions and 24 deletions
  1. 27 24
      h/hdf5/hdf5-vl.spec

+ 27 - 24
h/hdf5/hdf5-vl.spec

@@ -1,18 +1,12 @@
 Name: hdf5
-Version: 1.6.10
+Version: 1.8.8
 Release: 1%{?_dist_release}
 Summary: A general purpose library and file format for storing scientific data
 License: BSD
 Group: System Environment/Libraries
 URL: http://www.hdfgroup.org/HDF5/
 Source0: ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}.tar.bz2
-Patch1: hdf5-1.6.4-destdir.patch
-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
+# Source1: ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}_docs.tar
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: zlib-devel, gcc-gfortran, time
 
@@ -33,15 +27,16 @@ Requires: %{name} = %{version}-%{release}
 %description devel
 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
 %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
@@ -49,15 +44,13 @@ export CC=gcc
 export CXX=g++
 export F9X=gfortran
 %configure --with-ssl --enable-cxx --enable-fortran \
-           --enable-threadsafe --with-pthread
-make
-
+           --disable-dependency-tracking \
+           --enable-hl --enable-shared
+%{__make} %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-find doc/html -type f | xargs chmod -x
 %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
 
 %check
@@ -75,17 +68,21 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
-%doc release_docs/HISTORY.txt doc/html
+%doc release_docs/HISTORY*.txt
 %{_bindir}/gif2h5
 %{_bindir}/h52gif
+%{_bindir}/h5copy
 %{_bindir}/h5debug
 %{_bindir}/h5diff
 %{_bindir}/h5dump
 %{_bindir}/h5import
 %{_bindir}/h5jam
 %{_bindir}/h5ls
+%{_bindir}/h5mkgrp
+%{_bindir}/h5perf_serial
 %{_bindir}/h5repack
 %{_bindir}/h5repart
+%{_bindir}/h5stat
 %{_bindir}/h5unjam
 %attr(0755,root,root) %{_libdir}/*.so.*
 
@@ -95,14 +92,20 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/h5cc
 %{_bindir}/h5fc
 %{_bindir}/h5redeploy
-%{_docdir}/%{name}/
 %{_includedir}/*.h
-%{_libdir}/*.a
 %{_libdir}/*.so
-%{_libdir}/*.mod
+%{_includedir}/*.mod
+%{_datadir}/hdf5_examples/
 
+%files static
+%defattr(-,root,root,-)
+%{_libdir}/*.a
 
 %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
 - new upstream release
 - drop Patch1,3,10