OpenEXR-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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.7
  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 Apr 06 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.7-1
  93. - new upstream release.
  94. * Wed Mar 15 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.6-1
  95. - new upstream release.
  96. * Thu Mar 02 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.5-2
  97. - rebuilt with imath-3.1.7.
  98. * Wed Nov 09 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.5-1
  99. - new upstream release.
  100. * Thu Jan 27 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.4-1
  101. - new upstream release.
  102. * Thu Jan 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.3-1
  103. - new upstream release.
  104. * Wed Sep 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.1-1
  105. - new upstream release.
  106. * Sat Jun 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.7-1
  107. - new upstream release.
  108. * Tue Apr 06 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.5-1
  109. - new upstream release.
  110. - dropped ldconfig scriptlets.
  111. * Sat Dec 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.3-1
  112. - new upstream release.
  113. * Fri Jul 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.2-1
  114. - new upstream release.
  115. * Sat Apr 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.1-1
  116. - new upstream release.
  117. * Fri Oct 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.0-1
  118. - new upstream release.
  119. - unified IlmBase into OpenEXR.
  120. * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-2
  121. - rebuild with gcc-5.4.0
  122. * Thu Dec 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.0-1
  123. - new upstream release
  124. - removed Patch100 and 101
  125. - built with ilmbase 2.2.0
  126. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1
  127. - new upstream release
  128. - remove Patch1,2,102
  129. - update Patch100 (openexr-2.1.0-CVE-2009-1720-1.patch)
  130. - update Patch101 (openexr-2.1.0-CVE-2009-1720-2.patch)
  131. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-3
  132. - rebuilt with rpm-4.8.1 for pkg-config
  133. * Wed Aug 5 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.6.1-2
  134. - add Patch100,101 for fix CVE-2009-1720 (Integer BOF)
  135. - add Patch102 for fix CVE-2009-1721
  136. - Patch100-102 are from FC11
  137. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.1-1
  138. - initial build for Vine Linux
  139. * Fri May 09 2008 Rex Dieter <rdieter@fedoraproject.org> 1.6.1-4
  140. - drop: Obsoletes: OpenEXR-utils (see OpenEXR_Viewers review, bug #428228c3)
  141. * Fri Feb 01 2008 Rex Dieter <rdieter@fedoraproject.org> 1.6.1-3
  142. - gcc43 patch
  143. - purge rpaths
  144. * Wed Jan 09 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.1-2
  145. - hack to omit unused-direct-shlib-dependencies
  146. - conditionalize -libs (f8+)
  147. * Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.1-1
  148. - openexr-1.6.1
  149. * Tue Oct 30 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-5
  150. - multiarch conflicts in OpenEXR (#342781)
  151. - don't own %%_includedir/OpenEXR (leave that to ilmbase)
  152. * Mon Oct 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-4
  153. - -libs: %%post/%%postun -p /sbin/ldconfig
  154. * Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-2
  155. - openexr-1.6.0
  156. * Mon Sep 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.0a-6
  157. - libs: -Requires: %%name
  158. * Wed Aug 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.0a-5
  159. - -libs: new subpkg to be multilib friendly
  160. - -utils: package exrdisplay separately (separate fltk dep)
  161. * Sat Oct 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-4
  162. - Obsoletes/Provides: openexr(-devel) (rpmforge compatibility)
  163. * Thu Sep 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-3
  164. - pkgconfig patch to use Libs.private
  165. * Thu Sep 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-2
  166. - -devel: +Requires: pkgconfig
  167. * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-1
  168. - openexr-1.4.0a
  169. * Sat Feb 18 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-7
  170. - Further zlib fixes (#165729)
  171. * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-6
  172. - Rebuild for Fedora Extras 5
  173. * Wed Aug 17 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-5
  174. - Remove *.a from %%files devel
  175. * Tue Aug 16 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-4
  176. - Removed -devel dep on zlib-devel (#165729)
  177. - Added --disable-static to %%configure
  178. - Fixed build with GCC 4.0.1
  179. - Added .so links to -devel
  180. * Wed May 18 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-3
  181. - Add zlib-devel to BR
  182. - Delete all .la files (#157652)
  183. * Mon May 9 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-2
  184. - Add disttag
  185. * Sun May 8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-2
  186. - Fix BuildRequires
  187. - Fix Requires on -devel
  188. - Add %%post[un] scriptlets
  189. - Fix ownership in -devel
  190. - Don't have .deps files in %%doc
  191. * Wed Mar 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-1
  192. - Initial RPM release