OpenEXR-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. Name: OpenEXR
  2. Summary: A high dynamic-range (HDR) image file format
  3. Summary(ja): 高ダイナミックレンジ(HDR)画像ファイルフォーマット
  4. Version: 2.2.0
  5. Release: 2%{?_dist_release}
  6. License: BSD
  7. Group: Applications/Graphics
  8. URL: http://www.openexr.com/
  9. Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
  10. ## security fix patches
  11. Patch100: openexr-2.1.0-CVE-2009-1720-1.patch
  12. Patch101: openexr-2.1.0-CVE-2009-1720-2.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildRequires: ilmbase-devel >= %{version}
  15. BuildRequires: zlib-devel
  16. BuildRequires: pkgconfig
  17. # https://github.com/openexr/openexr/issues/130
  18. BuildConflicts: OpenEXR-devel < 2.2.0
  19. Requires: %{name}-libs = %{version}-%{release}
  20. Obsoletes: openexr < %{version}-%{release}
  21. Provides: openexr = %{version}-%{release}
  22. %description
  23. OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial
  24. Light & Magic for use in computer imaging applications. This package contains
  25. sample applications for handling the format.
  26. %package libs
  27. Summary: %{name} runtime libraries
  28. Summary(ja): %{name} のランタイムライブラリ
  29. Group: System Environment/Libraries
  30. %description libs
  31. %{summary}.
  32. %package devel
  33. Summary: Development files for %{name}
  34. Summary(ja): %{name} の開発用ファイル
  35. Group: Development/Libraries
  36. Requires: %{name}-libs = %{version}-%{release}
  37. Requires: ilmbase-devel
  38. Obsoletes: openexr-devel < %{version}-%{release}
  39. Provides: openexr-devel = %{version}-%{release}
  40. %description devel
  41. %{summary}.
  42. %prep
  43. %setup -q -n openexr-%{version}
  44. %build
  45. %configure --disable-static
  46. # hack to omit unused-direct-shlib-dependencies
  47. sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
  48. make %{?_smp_mflags}
  49. %install
  50. rm -rf $RPM_BUILD_ROOT
  51. make install DESTDIR=$RPM_BUILD_ROOT
  52. # unpackaged files
  53. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
  54. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  55. # prepare docs
  56. mkdir -p rpmdocs
  57. cp -a IlmImfExamples rpmdocs/examples
  58. rm -rf rpmdocs/examples/.deps
  59. %check
  60. # Not enabled, by default, takes a *very* long time. -- Rex
  61. %{?_with_check:export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig}
  62. %{?_with_check:test "$(pkg-config --modversion OpenEXR)" = "%{version}"}
  63. %{?_with_check:make check ||:}
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %post libs -p /sbin/ldconfig
  67. %postun libs -p /sbin/ldconfig
  68. %files
  69. %defattr(-,root,root,-)
  70. %{_bindir}/*
  71. %files libs
  72. %defattr(-,root,root,-)
  73. %doc AUTHORS ChangeLog LICENSE NEWS README
  74. %{_libdir}/lib*.so.*
  75. %files devel
  76. %defattr(-,root,root,-)
  77. %{_datadir}/aclocal/*
  78. %{_includedir}/OpenEXR/*
  79. %{_libdir}/lib*.so
  80. %{_libdir}/pkgconfig/*
  81. %changelog
  82. * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-2
  83. - rebuild with gcc-5.4.0
  84. * Thu Dec 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.0-1
  85. - new upstream release
  86. - removed Patch100 and 101
  87. - built with ilmbase 2.2.0
  88. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1
  89. - new upstream release
  90. - remove Patch1,2,102
  91. - update Patch100 (openexr-2.1.0-CVE-2009-1720-1.patch)
  92. - update Patch101 (openexr-2.1.0-CVE-2009-1720-2.patch)
  93. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-3
  94. - rebuilt with rpm-4.8.1 for pkg-config
  95. * Wed Aug 5 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.6.1-2
  96. - add Patch100,101 for fix CVE-2009-1720 (Integer BOF)
  97. - add Patch102 for fix CVE-2009-1721
  98. - Patch100-102 are from FC11
  99. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.1-1
  100. - initial build for Vine Linux
  101. * Fri May 09 2008 Rex Dieter <rdieter@fedoraproject.org> 1.6.1-4
  102. - drop: Obsoletes: OpenEXR-utils (see OpenEXR_Viewers review, bug #428228c3)
  103. * Fri Feb 01 2008 Rex Dieter <rdieter@fedoraproject.org> 1.6.1-3
  104. - gcc43 patch
  105. - purge rpaths
  106. * Wed Jan 09 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.1-2
  107. - hack to omit unused-direct-shlib-dependencies
  108. - conditionalize -libs (f8+)
  109. * Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.1-1
  110. - openexr-1.6.1
  111. * Tue Oct 30 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-5
  112. - multiarch conflicts in OpenEXR (#342781)
  113. - don't own %%_includedir/OpenEXR (leave that to ilmbase)
  114. * Mon Oct 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-4
  115. - -libs: %%post/%%postun -p /sbin/ldconfig
  116. * Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-2
  117. - openexr-1.6.0
  118. * Mon Sep 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.0a-6
  119. - libs: -Requires: %%name
  120. * Wed Aug 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.0a-5
  121. - -libs: new subpkg to be multilib friendly
  122. - -utils: package exrdisplay separately (separate fltk dep)
  123. * Sat Oct 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-4
  124. - Obsoletes/Provides: openexr(-devel) (rpmforge compatibility)
  125. * Thu Sep 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-3
  126. - pkgconfig patch to use Libs.private
  127. * Thu Sep 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-2
  128. - -devel: +Requires: pkgconfig
  129. * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-1
  130. - openexr-1.4.0a
  131. * Sat Feb 18 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-7
  132. - Further zlib fixes (#165729)
  133. * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-6
  134. - Rebuild for Fedora Extras 5
  135. * Wed Aug 17 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-5
  136. - Remove *.a from %%files devel
  137. * Tue Aug 16 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-4
  138. - Removed -devel dep on zlib-devel (#165729)
  139. - Added --disable-static to %%configure
  140. - Fixed build with GCC 4.0.1
  141. - Added .so links to -devel
  142. * Wed May 18 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-3
  143. - Add zlib-devel to BR
  144. - Delete all .la files (#157652)
  145. * Mon May 9 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-2
  146. - Add disttag
  147. * Sun May 8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-2
  148. - Fix BuildRequires
  149. - Fix Requires on -devel
  150. - Add %%post[un] scriptlets
  151. - Fix ownership in -devel
  152. - Don't have .deps files in %%doc
  153. * Wed Mar 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-1
  154. - Initial RPM release