OpenEXR-vl.spec 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. %bcond_with check
  2. Name: OpenEXR
  3. Summary: A high dynamic-range (HDR) image file format
  4. Summary(ja): 高ダイナミックレンジ(HDR)画像ファイルフォーマット
  5. Version: 3.1.4
  6. Release: 1%{?_dist_release}
  7. Group: graphics
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: BSD
  11. URL: http://www.openexr.com/
  12. Source0: https://github.com/openexr/openexr/archive/v%{version}.tar.gz#/openexr-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildRequires: cmake
  15. BuildRequires: imath-devel
  16. BuildRequires: libboost-devel
  17. BuildRequires: pkgconfig
  18. BuildRequires: zlib-devel
  19. # https://github.com/openexr/openexr/issues/130
  20. BuildConflicts: OpenEXR-devel < 2.2.0
  21. Requires: %{name}-libs = %{version}-%{release}
  22. Obsoletes: openexr < %{version}-%{release}
  23. Provides: openexr = %{version}-%{release}
  24. %description
  25. OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial
  26. Light & Magic for use in computer imaging applications. This package contains
  27. sample applications for handling the format.
  28. %package libs
  29. Summary: %{name} runtime libraries
  30. Summary(ja): %{name} のランタイムライブラリ
  31. Group: system
  32. %description libs
  33. %{summary}.
  34. %package devel
  35. Summary: Development files for %{name}
  36. Summary(ja): %{name} の開発用ファイル
  37. Group: programming
  38. Requires: %{name}-libs = %{version}-%{release}
  39. Obsoletes: openexr-devel < %{version}-%{release}
  40. Provides: openexr-devel = %{version}-%{release}
  41. Provides: ilmbase-devel = %{version}-%{release}
  42. Provides: ilmbase-devel%{?_isa} = %{version}-%{release}
  43. Obsoletes: ilmbase-devel < 2.5.8
  44. %description devel
  45. %{summary}.
  46. %debug_package
  47. %prep
  48. %setup -q -n openexr-%{version}
  49. %build
  50. %cmake \
  51. -DPYILMBASE_ENABLE=no \
  52. -DOPENEXR_VIEWERS_ENABLE=no \
  53. %{nil}
  54. %cmake_build
  55. %install
  56. rm -rf %{buildroot}
  57. %cmake_install
  58. # prepare docs
  59. rm -rf rpmdocs
  60. mkdir -p rpmdocs
  61. cp -a %{buildroot}%{_docdir}/OpenEXR/* rpmdocs/
  62. rm -rf %{buildroot}%{_docdir}/OpenEXR
  63. %if %{with check}
  64. %check
  65. %ifarch %{ix86}
  66. %ctest ||:
  67. %else
  68. %ctest
  69. %endif
  70. %endif
  71. %clean
  72. rm -rf %{buildroot}
  73. %files
  74. %defattr(-,root,root,-)
  75. %license LICENSE.md
  76. %{_bindir}/*
  77. %files libs
  78. %defattr(-,root,root,-)
  79. %license LICENSE.md
  80. %doc CHANGES.md CONTRIBUTING.md GOVERNANCE.md SECURITY.md CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md
  81. #doc rpmdocs/*
  82. %{_libdir}/*.so.*
  83. %files devel
  84. %defattr(-,root,root,-)
  85. %{_includedir}/OpenEXR
  86. %{_libdir}/lib*.so
  87. %dir %{_libdir}/pkgconfig
  88. %{_libdir}/pkgconfig/OpenEXR.pc
  89. %dir %{_libdir}/cmake
  90. %{_libdir}/cmake/OpenEXR
  91. %changelog
  92. * Thu Jan 27 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.4-1
  93. - new upstream release.
  94. * Thu Jan 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.3-1
  95. - new upstream release.
  96. * Wed Sep 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.1-1
  97. - new upstream release.
  98. * Sat Jun 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.7-1
  99. - new upstream release.
  100. * Tue Apr 06 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.5-1
  101. - new upstream release.
  102. - dropped ldconfig scriptlets.
  103. * Sat Dec 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.3-1
  104. - new upstream release.
  105. * Fri Jul 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.2-1
  106. - new upstream release.
  107. * Sat Apr 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.1-1
  108. - new upstream release.
  109. * Fri Oct 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.0-1
  110. - new upstream release.
  111. - unified IlmBase into OpenEXR.
  112. * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-2
  113. - rebuild with gcc-5.4.0
  114. * Thu Dec 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.0-1
  115. - new upstream release
  116. - removed Patch100 and 101
  117. - built with ilmbase 2.2.0
  118. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1
  119. - new upstream release
  120. - remove Patch1,2,102
  121. - update Patch100 (openexr-2.1.0-CVE-2009-1720-1.patch)
  122. - update Patch101 (openexr-2.1.0-CVE-2009-1720-2.patch)
  123. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-3
  124. - rebuilt with rpm-4.8.1 for pkg-config
  125. * Wed Aug 5 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.6.1-2
  126. - add Patch100,101 for fix CVE-2009-1720 (Integer BOF)
  127. - add Patch102 for fix CVE-2009-1721
  128. - Patch100-102 are from FC11
  129. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.1-1
  130. - initial build for Vine Linux
  131. * Fri May 09 2008 Rex Dieter <rdieter@fedoraproject.org> 1.6.1-4
  132. - drop: Obsoletes: OpenEXR-utils (see OpenEXR_Viewers review, bug #428228c3)
  133. * Fri Feb 01 2008 Rex Dieter <rdieter@fedoraproject.org> 1.6.1-3
  134. - gcc43 patch
  135. - purge rpaths
  136. * Wed Jan 09 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.1-2
  137. - hack to omit unused-direct-shlib-dependencies
  138. - conditionalize -libs (f8+)
  139. * Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.1-1
  140. - openexr-1.6.1
  141. * Tue Oct 30 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-5
  142. - multiarch conflicts in OpenEXR (#342781)
  143. - don't own %%_includedir/OpenEXR (leave that to ilmbase)
  144. * Mon Oct 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-4
  145. - -libs: %%post/%%postun -p /sbin/ldconfig
  146. * Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-2
  147. - openexr-1.6.0
  148. * Mon Sep 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.0a-6
  149. - libs: -Requires: %%name
  150. * Wed Aug 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.0a-5
  151. - -libs: new subpkg to be multilib friendly
  152. - -utils: package exrdisplay separately (separate fltk dep)
  153. * Sat Oct 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-4
  154. - Obsoletes/Provides: openexr(-devel) (rpmforge compatibility)
  155. * Thu Sep 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-3
  156. - pkgconfig patch to use Libs.private
  157. * Thu Sep 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-2
  158. - -devel: +Requires: pkgconfig
  159. * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-1
  160. - openexr-1.4.0a
  161. * Sat Feb 18 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-7
  162. - Further zlib fixes (#165729)
  163. * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-6
  164. - Rebuild for Fedora Extras 5
  165. * Wed Aug 17 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-5
  166. - Remove *.a from %%files devel
  167. * Tue Aug 16 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-4
  168. - Removed -devel dep on zlib-devel (#165729)
  169. - Added --disable-static to %%configure
  170. - Fixed build with GCC 4.0.1
  171. - Added .so links to -devel
  172. * Wed May 18 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-3
  173. - Add zlib-devel to BR
  174. - Delete all .la files (#157652)
  175. * Mon May 9 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-2
  176. - Add disttag
  177. * Sun May 8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-2
  178. - Fix BuildRequires
  179. - Fix Requires on -devel
  180. - Add %%post[un] scriptlets
  181. - Fix ownership in -devel
  182. - Don't have .deps files in %%doc
  183. * Wed Mar 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-1
  184. - Initial RPM release