hdf5-vl.spec 5.8 KB

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