Name: OpenEXR Summary: A high dynamic-range (HDR) image file format Summary(ja): 高ダイナミックレンジ(HDR)画像ファイルフォーマット Version: 2.2.0 Release: 1%{?_dist_release} License: BSD Group: Applications/Graphics URL: http://www.openexr.com/ Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz ## security fix patches Patch100: openexr-2.1.0-CVE-2009-1720-1.patch Patch101: openexr-2.1.0-CVE-2009-1720-2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: ilmbase-devel >= %{version} BuildRequires: zlib-devel BuildRequires: pkgconfig # https://github.com/openexr/openexr/issues/130 BuildConflicts: OpenEXR-devel < 2.2.0 Requires: %{name}-libs = %{version}-%{release} Obsoletes: openexr < %{version}-%{release} Provides: openexr = %{version}-%{release} %description OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications. This package contains sample applications for handling the format. %package libs Summary: %{name} runtime libraries Summary(ja): %{name} のランタイムライブラリ Group: System Environment/Libraries %description libs %{summary}. %package devel Summary: Development files for %{name} Summary(ja): %{name} の開発用ファイル Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} Requires: ilmbase-devel Obsoletes: openexr-devel < %{version}-%{release} Provides: openexr-devel = %{version}-%{release} %description devel %{summary}. %prep %setup -q -n openexr-%{version} %build %configure --disable-static # hack to omit unused-direct-shlib-dependencies sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # unpackaged files rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la # prepare docs mkdir -p rpmdocs cp -a IlmImfExamples rpmdocs/examples rm -rf rpmdocs/examples/.deps %check # Not enabled, by default, takes a *very* long time. -- Rex %{?_with_check:export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig} %{?_with_check:test "$(pkg-config --modversion OpenEXR)" = "%{version}"} %{?_with_check:make check ||:} %clean rm -rf $RPM_BUILD_ROOT %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_bindir}/* %files libs %defattr(-,root,root,-) %doc AUTHORS ChangeLog LICENSE NEWS README %{_libdir}/lib*.so.* %files devel %defattr(-,root,root,-) %{_datadir}/aclocal/* %{_includedir}/OpenEXR/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/* %changelog * Thu Dec 18 2014 Ryoichi INAGAKI 2.2.0-1 - new upstream release - removed Patch100 and 101 - built with ilmbase 2.2.0 * Mon Dec 30 2013 Yoji TOYODA 2.1.0-1 - new upstream release - remove Patch1,2,102 - update Patch100 (openexr-2.1.0-CVE-2009-1720-1.patch) - update Patch101 (openexr-2.1.0-CVE-2009-1720-2.patch) * Sun Sep 26 2010 Ryoichi INAGAKI 1.6.1-3 - rebuilt with rpm-4.8.1 for pkg-config * Wed Aug 5 2009 Satoshi IWAMOTO 1.6.1-2 - add Patch100,101 for fix CVE-2009-1720 (Integer BOF) - add Patch102 for fix CVE-2009-1721 - Patch100-102 are from FC11 * Mon Oct 06 2008 Daisuke SUZUKI 1.6.1-1 - initial build for Vine Linux * Fri May 09 2008 Rex Dieter 1.6.1-4 - drop: Obsoletes: OpenEXR-utils (see OpenEXR_Viewers review, bug #428228c3) * Fri Feb 01 2008 Rex Dieter 1.6.1-3 - gcc43 patch - purge rpaths * Wed Jan 09 2008 Rex Dieter 1.6.1-2 - hack to omit unused-direct-shlib-dependencies - conditionalize -libs (f8+) * Mon Jan 07 2008 Rex Dieter 1.6.1-1 - openexr-1.6.1 * Tue Oct 30 2007 Rex Dieter 1.6.0-5 - multiarch conflicts in OpenEXR (#342781) - don't own %%_includedir/OpenEXR (leave that to ilmbase) * Mon Oct 15 2007 Rex Dieter 1.6.0-4 - -libs: %%post/%%postun -p /sbin/ldconfig * Fri Oct 12 2007 Rex Dieter 1.6.0-2 - openexr-1.6.0 * Mon Sep 17 2007 Rex Dieter 1.4.0a-6 - libs: -Requires: %%name * Wed Aug 22 2007 Rex Dieter 1.4.0a-5 - -libs: new subpkg to be multilib friendly - -utils: package exrdisplay separately (separate fltk dep) * Sat Oct 28 2006 Rex Dieter 1.4.0a-4 - Obsoletes/Provides: openexr(-devel) (rpmforge compatibility) * Thu Sep 14 2006 Rex Dieter 1.4.0a-3 - pkgconfig patch to use Libs.private * Thu Sep 14 2006 Rex Dieter 1.4.0a-2 - -devel: +Requires: pkgconfig * Tue Aug 29 2006 Rex Dieter 1.4.0a-1 - openexr-1.4.0a * Sat Feb 18 2006 Ignacio Vazquez-Abrams 1.2.2-7 - Further zlib fixes (#165729) * Mon Feb 13 2006 Ignacio Vazquez-Abrams 1.2.2-6 - Rebuild for Fedora Extras 5 * Wed Aug 17 2005 Ignacio Vazquez-Abrams 1.2.2-5 - Remove *.a from %%files devel * Tue Aug 16 2005 Ignacio Vazquez-Abrams 1.2.2-4 - Removed -devel dep on zlib-devel (#165729) - Added --disable-static to %%configure - Fixed build with GCC 4.0.1 - Added .so links to -devel * Wed May 18 2005 Ignacio Vazquez-Abrams 1.2.2-3 - Add zlib-devel to BR - Delete all .la files (#157652) * Mon May 9 2005 Ignacio Vazquez-Abrams 1.2.2-2 - Add disttag * Sun May 8 2005 Ignacio Vazquez-Abrams 1.2.2-2 - Fix BuildRequires - Fix Requires on -devel - Add %%post[un] scriptlets - Fix ownership in -devel - Don't have .deps files in %%doc * Wed Mar 30 2005 Ignacio Vazquez-Abrams 1.2.2-1 - Initial RPM release