OpenEXR-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. Name: OpenEXR
  2. Summary: A high dynamic-range (HDR) image file format
  3. Summary(ja): 高ダイナミックレンジ(HDR)画像ファイルフォーマット
  4. Version: 2.2.0
  5. Release: 1%{?_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. * Thu Dec 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.0-1
  83. - new upstream release
  84. - removed Patch100 and 101
  85. - built with ilmbase 2.2.0
  86. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1
  87. - new upstream release
  88. - remove Patch1,2,102
  89. - update Patch100 (openexr-2.1.0-CVE-2009-1720-1.patch)
  90. - update Patch101 (openexr-2.1.0-CVE-2009-1720-2.patch)
  91. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-3
  92. - rebuilt with rpm-4.8.1 for pkg-config
  93. * Wed Aug 5 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.6.1-2
  94. - add Patch100,101 for fix CVE-2009-1720 (Integer BOF)
  95. - add Patch102 for fix CVE-2009-1721
  96. - Patch100-102 are from FC11
  97. * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.1-1
  98. - initial build for Vine Linux
  99. * Fri May 09 2008 Rex Dieter <rdieter@fedoraproject.org> 1.6.1-4
  100. - drop: Obsoletes: OpenEXR-utils (see OpenEXR_Viewers review, bug #428228c3)
  101. * Fri Feb 01 2008 Rex Dieter <rdieter@fedoraproject.org> 1.6.1-3
  102. - gcc43 patch
  103. - purge rpaths
  104. * Wed Jan 09 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.1-2
  105. - hack to omit unused-direct-shlib-dependencies
  106. - conditionalize -libs (f8+)
  107. * Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.1-1
  108. - openexr-1.6.1
  109. * Tue Oct 30 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-5
  110. - multiarch conflicts in OpenEXR (#342781)
  111. - don't own %%_includedir/OpenEXR (leave that to ilmbase)
  112. * Mon Oct 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-4
  113. - -libs: %%post/%%postun -p /sbin/ldconfig
  114. * Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-2
  115. - openexr-1.6.0
  116. * Mon Sep 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.0a-6
  117. - libs: -Requires: %%name
  118. * Wed Aug 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.4.0a-5
  119. - -libs: new subpkg to be multilib friendly
  120. - -utils: package exrdisplay separately (separate fltk dep)
  121. * Sat Oct 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-4
  122. - Obsoletes/Provides: openexr(-devel) (rpmforge compatibility)
  123. * Thu Sep 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-3
  124. - pkgconfig patch to use Libs.private
  125. * Thu Sep 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-2
  126. - -devel: +Requires: pkgconfig
  127. * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.4.0a-1
  128. - openexr-1.4.0a
  129. * Sat Feb 18 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-7
  130. - Further zlib fixes (#165729)
  131. * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-6
  132. - Rebuild for Fedora Extras 5
  133. * Wed Aug 17 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-5
  134. - Remove *.a from %%files devel
  135. * Tue Aug 16 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-4
  136. - Removed -devel dep on zlib-devel (#165729)
  137. - Added --disable-static to %%configure
  138. - Fixed build with GCC 4.0.1
  139. - Added .so links to -devel
  140. * Wed May 18 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-3
  141. - Add zlib-devel to BR
  142. - Delete all .la files (#157652)
  143. * Mon May 9 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-2
  144. - Add disttag
  145. * Sun May 8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-2
  146. - Fix BuildRequires
  147. - Fix Requires on -devel
  148. - Add %%post[un] scriptlets
  149. - Fix ownership in -devel
  150. - Don't have .deps files in %%doc
  151. * Wed Mar 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.2-1
  152. - Initial RPM release