hdf5-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. Name: hdf5
  2. Version: 1.6.6
  3. Release: 2%{?_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.gz
  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: openssl-devel, 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. * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.6-2
  89. - applied new versioning policy
  90. * Thu Jan 03 2008 NAKAMURA Kenta <kenta@vinelinux.org> 1.6.6-1vl1
  91. - Removed krb5-devel from BuildRequires:
  92. - Rebuild for VineSeed
  93. * Wed Oct 17 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.6-1
  94. - Update to 1.6.6, drop upstreamed patches
  95. - Explicitly set compilers
  96. * Fri Aug 24 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.5-9
  97. - Update license tag to BSD
  98. - Rebuild for BuildID
  99. * Wed Aug 8 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.5-8
  100. - Fix memset typo
  101. - Pass mode to open with O_CREAT
  102. * Mon Feb 12 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.5-7
  103. - New project URL
  104. - Add patch to use POSIX sort key option
  105. - Remove useless and multilib conflicting Makefiles from html docs
  106. (bug #228365)
  107. - Make hdf5-devel own %{_docdir}/%{name}
  108. * Tue Aug 29 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-6
  109. - Rebuild for FC6
  110. * Wed Mar 15 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-5
  111. - Change rpath patch to not need autoconf
  112. - Add patch for libtool on x86_64
  113. - Fix shared lib permissions
  114. * Mon Mar 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-4
  115. - Add patch to avoid HDF setting the compiler flags
  116. * Mon Feb 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-3
  117. - Rebuild for gcc/glibc changes
  118. * Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.5-2
  119. - Don't ship h5perf with missing library
  120. * Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.5-1
  121. - Update to 1.6.5
  122. * Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-9
  123. - Rebuild
  124. * Wed Nov 30 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-8
  125. - Package fortran files properly
  126. - Move compiler wrappers to devel
  127. * Fri Nov 18 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-7
  128. - Add patch for fortran compilation on ppc
  129. * Wed Nov 16 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-6
  130. - Bump for new openssl
  131. * Tue Sep 20 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-5
  132. - Enable fortran since the gcc bug is now fixed
  133. * Tue Jul 05 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-4
  134. - Make example scripts executable
  135. * Wed Jul 01 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-3
  136. - Add --enable-threads --with-pthreads to configure
  137. - Add %check
  138. - Add some %docs
  139. - Use %makeinstall
  140. - Add patch to fix test for h5repack
  141. - Add patch to fix h5diff_attr.c
  142. * Mon Jun 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.4-2
  143. - remove szip from spec, since szip license doesn't meet Fedora standards
  144. * Sun Apr 3 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.4-1
  145. - inital package for Fedora Extras