source: projects/specs/trunk/O/OpenEXR/OpenEXR-vl.spec @ 8084

Revision 8084, 5.7 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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