hdf5-vl.spec 5.9 KB

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