hdf5-vl.spec 5.3 KB

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