source: projects/specs/branches/6/O/OpenEXR/OpenEXR-vl.spec @ 1912

Revision 1912, 5.7 KB checked in by inagaki, 14 years ago (diff)

updated: OpenEXR, openal, exiv2, flac, namazu

Line 
1
2Name:    OpenEXR
3Summary: A high dynamic-range (HDR) image file format
4Summary(ja): 高ダイナミックレンジ(HDR)画像ファイルフォーマット
5Version: 1.6.1
6Release: 3%{?_dist_release}
7
8Group:   System Environment/Libraries
9License: BSD
10URL:     http://www.openexr.com/
11
12Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
13Source1: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz.sig
14
15Patch1: OpenEXR-1.6.1-pkgconfig.patch
16Patch2: openexr-1.6.1-gcc43.patch
17
18## security fix patches
19Patch100: openexr-1.6.1-CVE-2009-1720-1.patch
20Patch101: openexr-1.6.1-CVE-2009-1720-2.patch
21Patch102: openexr-1.6.1-CVE-2009-1721.patch
22
23BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
24BuildRequires: automake libtool
25BuildRequires: ilmbase-devel
26BuildRequires: zlib-devel
27Requires: %{name}-libs = %{version}-%{release}
28
29Obsoletes: openexr < %{version}-%{release}
30Provides:  openexr = %{version}-%{release}
31
32%description
33OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial
34Light & Magic for use in computer imaging applications. This package contains
35libraries and sample applications for handling the format.
36
37%package libs
38Summary: %{name} runtime libraries
39Summary(ja): %{name} runtime libraries
40Group:   System Environment/Libraries
41
42%description libs
43%{summary}.
44
45%package devel
46Summary: Development files for %{name}
47Summary(ja): %{name} の開発ファイル
48Group:   Development/Libraries
49Requires: %{name}-libs = %{version}-%{release}
50Requires: ilmbase-devel
51Obsoletes: openexr-devel < %{version}-%{release}
52Provides:  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
68aclocal -Im4
69libtoolize --force
70rm -f configure
71autoconf
72
73
74%build
75%configure --disable-static
76
77# hack to omit unused-direct-shlib-dependencies
78sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
79
80make %{?_smp_mflags}
81
82
83%install
84rm -rf $RPM_BUILD_ROOT
85
86make install DESTDIR=$RPM_BUILD_ROOT
87
88# unpackaged files
89rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
90rm -f  $RPM_BUILD_ROOT%{_libdir}/lib*.la
91
92# prepare docs
93mkdir -p rpmdocs
94cp -a IlmImfExamples rpmdocs/examples
95rm -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
104rm -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
Note: See TracBrowser for help on using the repository browser.