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