OpenEXR-vl.spec 5.7 KB

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