hdf5-vl.spec 5.5 KB

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