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