hdf5-vl.spec 6.2 KB

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