OpenEXR-vl.spec 7.0 KB

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