OpenEXR-vl.spec 5.7 KB

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