hdf5-vl.spec 6.0 KB

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