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

Revision 9166, 5.9 KB checked in by inagaki, 9 years ago (diff)

2014-12-19 Ryoichi INAGAKI <ryo1@…>

  • ImageMagick?, gegl, kdebase-runtime, kdelibs: rebuilt
  • OpenEXR, ilmbase: updated
  • freeimage, kdelibs3: added patch


Line 
1Name:    OpenEXR
2Summary: A high dynamic-range (HDR) image file format
3Summary(ja): 高ダイナミックレンジ(HDR)画像ファイルフォーマット
4Version: 2.2.0
5Release: 1%{?_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* 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
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
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
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
151* Tue Oct 30 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.6.0-5
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
Note: See TracBrowser for help on using the repository browser.