Field3D-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. Name: Field3D
  2. Version: 1.4.3
  3. Release: 1%{?_dist_release}
  4. Summary: Library for storing voxel data
  5. License: BSD
  6. URL: https://sites.google.com/site/field3d/
  7. # The source archive is created on the fly at github.com:
  8. # https://github.com/imageworks/Field3D/archive/v1.4.0.tar.gz
  9. Source0: %{name}-%{version}.tar.gz
  10. BuildRequires: cmake doxygen
  11. BuildRequires: qt4-devel
  12. BuildRequires: hdf5-devel
  13. BuildRequires: ilmbase-devel
  14. BuildRequires: libboost-devel
  15. BuildRequires: libboost-program-options
  16. BuildRequires: libboost-regex
  17. BuildRequires: libboost-system
  18. BuildRequires: libboost-thread
  19. Requires: hdf5
  20. %description
  21. Field3D is an open source library for storing voxel data. It provides C++
  22. classes that handle in-memory storage and a file format based on HDF5 that
  23. allows the C++ objects to be written to and read from disk.
  24. %package devel
  25. Summary: Development files for %{name}
  26. Requires: %{name} = %{version}-%{release}
  27. %description devel
  28. Development headers and documentation for %{name}.
  29. # Need devel-docs subpackage.
  30. %prep
  31. %setup -q
  32. %build
  33. rm -rf build && mkdir build && pushd build
  34. %cmake -DINSTALL_DOCS=OFF \
  35. ../
  36. make %{?_smp_mflags}
  37. popd
  38. %install
  39. pushd build
  40. make install DESTDIR=%{buildroot}
  41. popd
  42. install -D -m 0644 man/f3dinfo.1 %{buildroot}%{_mandir}/man1/f3dinfo.1
  43. %check
  44. pushd build
  45. LD_LIBRARY_PATH=`pwd` ./unitTest
  46. popd
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %doc CHANGES COPYING README
  51. %{_bindir}/f3dinfo
  52. %{_libdir}/libField3D.so.*
  53. %{_mandir}/man1/f3dinfo.1.gz
  54. %files devel
  55. %doc docs/html/
  56. %{_includedir}/Field3D/
  57. %{_libdir}/libField3D.so
  58. %changelog
  59. * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.4.3-1
  60. - initial build for Vine Linux
  61. * Wed Jan 07 2015 Orion Poplawski <orion@cora.nwra.com> - 1.4.3-3
  62. - Rebuild for hdf5 1.8.4
  63. * Wed Nov 26 2014 Rex Dieter <rdieter@fedoraproject.org> 1.4.3-2
  64. - rebuild (ilmbase), add matching/missing popd's
  65. * Fri Sep 5 2014 Richard Shaw <hobbes1069@gmail.com> - 1.4.3-1
  66. - Update to latest upstream release.
  67. * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-19
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  69. * Tue Jun 10 2014 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-18
  70. - Rebuild for hdf 1.8.13
  71. * Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-17
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  73. * Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 1.3.2-16
  74. - Rebuild for boost 1.55.0
  75. * Fri Dec 27 2013 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-15
  76. - Rebuild for hdf5 1.8.12
  77. * Wed Nov 27 2013 Rex Dieter <rdieter@fedoraproject.org> 1.3.2-14
  78. - rebuild (ilmbase)
  79. * Sun Sep 08 2013 Rex Dieter <rdieter@fedoraproject.org> 1.3.2-13
  80. - rebuild (ilmbase)
  81. * Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-12
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  83. * Sat Jul 27 2013 pmachata@redhat.com - 1.3.2-11
  84. - Rebuild for boost 1.54.0
  85. * Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-10
  86. - Rebuild for hdf5 1.8.11
  87. * Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.3.2-9
  88. - Rebuild for Boost-1.53.0
  89. * Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.3.2-8
  90. - Rebuild for Boost-1.53.0
  91. * Mon Dec 3 2012 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-7
  92. - Rebuild for hdf5 1.8.10
  93. * Wed Aug 8 2012 David Malcolm <dmalcolm@redhat.com> - 1.3.2-6
  94. - rebuild against boost-1.50
  95. * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-4
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  97. * Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-3
  98. - Rebuild for hdf5 1.8.9
  99. - Explicitly require the version of hdf5 built with
  100. * Fri Mar 23 2012 Richard Shaw <hobbes1069@gmail.com> - 1.3.2-2
  101. - Bump EVR for oops with F17 package to make sure rawhide package is newer.
  102. * Tue Feb 28 2012 Richard Shaw <hobbes1069@gmail.com> - 1.3.2-1
  103. - Update to latest release.
  104. * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
  105. - Rebuilt for c++ ABI breakage
  106. * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  108. * Mon Jan 09 2012 Richard Shaw <hobbes1069@gmail.com> - 1.2.1-2
  109. - Fixed building under GCC 4.7.0.
  110. * Sat Nov 12 2011 Richard Shaw <hobbes1069@gmail.com> - 1.2.1-1
  111. - Initial release.