hdf5-vl.spec 6.2 KB

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