Field3D-vl.spec 5.4 KB

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