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

Revision 10406, 6.0 KB checked in by Takemikaduchi, 8 years ago (diff)

blender: new upstream release
others: rebuild with gcc-5.4.0

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