hdf5-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. Name: hdf5
  2. Version: 1.6.10
  3. Release: 1%{?_dist_release}
  4. Summary: A general purpose library and file format for storing scientific data
  5. License: BSD
  6. Group: System Environment/Libraries
  7. URL: http://www.hdfgroup.org/HDF5/
  8. Source0: ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}.tar.bz2
  9. Patch1: hdf5-1.6.4-destdir.patch
  10. Patch2: hdf5-1.6.4-norpath.patch
  11. Patch3: hdf5-1.6.6-tail.patch
  12. Patch5: hdf5-1.6.4-ppc.patch
  13. Patch7: hdf5-1.6.5-x86_64.patch
  14. Patch8: hdf5-1.6.5-sort.patch
  15. Patch10: hdf5-1.6.5-open.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: zlib-devel, gcc-gfortran, time
  18. %description
  19. HDF5 is a general purpose library and file format for storing scientific data.
  20. HDF5 can store two primary objects: datasets and groups. A dataset is
  21. essentially a multidimensional array of data elements, and a group is a
  22. structure for organizing objects in an HDF5 file. Using these two basic
  23. objects, one can create and store almost any kind of scientific data
  24. structure, such as images, arrays of vectors, and structured and unstructured
  25. grids. You can also mix and match them in HDF5 files according to your needs.
  26. %package devel
  27. Summary: HDF5 development files
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. %description devel
  31. HDF5 development headers and libraries.
  32. %prep
  33. %setup -q
  34. #%patch1 -p1 -b .destdir
  35. %patch2 -p1 -b .norpath
  36. #%patch3 -p1 -b .tail
  37. %patch5 -p1 -b .ppc
  38. %patch7 -p1 -b .x86_64
  39. %patch8 -p1 -b .sort
  40. #%patch10 -p1 -b .open
  41. %build
  42. export CC=gcc
  43. export CXX=g++
  44. export F9X=gfortran
  45. %configure --with-ssl --enable-cxx --enable-fortran \
  46. --enable-threadsafe --with-pthread
  47. make
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. find doc/html -type f | xargs chmod -x
  51. %makeinstall docdir=${RPM_BUILD_ROOT}%{_docdir}
  52. find doc/html -name Dependencies -o -name Makefile\* | xargs rm
  53. rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/*.settings
  54. %check
  55. make check
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post -p /sbin/ldconfig
  59. %postun -p /sbin/ldconfig
  60. %files
  61. %defattr(-,root,root,-)
  62. %doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
  63. %doc release_docs/HISTORY.txt doc/html
  64. %{_bindir}/gif2h5
  65. %{_bindir}/h52gif
  66. %{_bindir}/h5debug
  67. %{_bindir}/h5diff
  68. %{_bindir}/h5dump
  69. %{_bindir}/h5import
  70. %{_bindir}/h5jam
  71. %{_bindir}/h5ls
  72. %{_bindir}/h5repack
  73. %{_bindir}/h5repart
  74. %{_bindir}/h5unjam
  75. %attr(0755,root,root) %{_libdir}/*.so.*
  76. %files devel
  77. %defattr(-,root,root,-)
  78. %{_bindir}/h5c++
  79. %{_bindir}/h5cc
  80. %{_bindir}/h5fc
  81. %{_bindir}/h5redeploy
  82. %{_docdir}/%{name}/
  83. %{_includedir}/*.h
  84. %{_libdir}/*.a
  85. %{_libdir}/*.so
  86. %{_libdir}/*.mod
  87. %changelog
  88. * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.10-1
  89. - new upstream release
  90. - drop Patch1,3,10
  91. - remove BuildRequires: openssl-devel
  92. * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.6-2
  93. - applied new versioning policy
  94. * Thu Jan 03 2008 NAKAMURA Kenta <kenta@vinelinux.org> 1.6.6-1vl1
  95. - Removed krb5-devel from BuildRequires:
  96. - Rebuild for VineSeed
  97. * Wed Oct 17 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.6-1
  98. - Update to 1.6.6, drop upstreamed patches
  99. - Explicitly set compilers
  100. * Fri Aug 24 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.5-9
  101. - Update license tag to BSD
  102. - Rebuild for BuildID
  103. * Wed Aug 8 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.5-8
  104. - Fix memset typo
  105. - Pass mode to open with O_CREAT
  106. * Mon Feb 12 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.5-7
  107. - New project URL
  108. - Add patch to use POSIX sort key option
  109. - Remove useless and multilib conflicting Makefiles from html docs
  110. (bug #228365)
  111. - Make hdf5-devel own %{_docdir}/%{name}
  112. * Tue Aug 29 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-6
  113. - Rebuild for FC6
  114. * Wed Mar 15 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-5
  115. - Change rpath patch to not need autoconf
  116. - Add patch for libtool on x86_64
  117. - Fix shared lib permissions
  118. * Mon Mar 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-4
  119. - Add patch to avoid HDF setting the compiler flags
  120. * Mon Feb 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-3
  121. - Rebuild for gcc/glibc changes
  122. * Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.5-2
  123. - Don't ship h5perf with missing library
  124. * Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.5-1
  125. - Update to 1.6.5
  126. * Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-9
  127. - Rebuild
  128. * Wed Nov 30 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-8
  129. - Package fortran files properly
  130. - Move compiler wrappers to devel
  131. * Fri Nov 18 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-7
  132. - Add patch for fortran compilation on ppc
  133. * Wed Nov 16 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-6
  134. - Bump for new openssl
  135. * Tue Sep 20 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-5
  136. - Enable fortran since the gcc bug is now fixed
  137. * Tue Jul 05 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-4
  138. - Make example scripts executable
  139. * Wed Jul 01 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-3
  140. - Add --enable-threads --with-pthreads to configure
  141. - Add %check
  142. - Add some %docs
  143. - Use %makeinstall
  144. - Add patch to fix test for h5repack
  145. - Add patch to fix h5diff_attr.c
  146. * Mon Jun 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.4-2
  147. - remove szip from spec, since szip license doesn't meet Fedora standards
  148. * Sun Apr 3 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.4-1
  149. - inital package for Fedora Extras