hdf5-vl.spec 5.4 KB

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