%bcond_with check Name: OpenEXR Summary: A high dynamic-range (HDR) image file format Summary(ja): 高ダイナミックレンジ(HDR)画像ファイルフォーマット Version: 3.1.5 Release: 1%{?_dist_release} Group: graphics Vendor: Project Vine Distribution: Vine Linux License: BSD URL: http://www.openexr.com/ Source0: https://github.com/openexr/openexr/archive/v%{version}.tar.gz#/openexr-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: cmake BuildRequires: imath-devel BuildRequires: libboost-devel BuildRequires: pkgconfig BuildRequires: zlib-devel # 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 %description libs %{summary}. %package devel Summary: Development files for %{name} Summary(ja): %{name} の開発用ファイル Group: programming Requires: %{name}-libs = %{version}-%{release} Obsoletes: openexr-devel < %{version}-%{release} Provides: openexr-devel = %{version}-%{release} Provides: ilmbase-devel = %{version}-%{release} Provides: ilmbase-devel%{?_isa} = %{version}-%{release} Obsoletes: ilmbase-devel < 2.5.8 %description devel %{summary}. %debug_package %prep %setup -q -n openexr-%{version} %build %cmake \ -DPYILMBASE_ENABLE=no \ -DOPENEXR_VIEWERS_ENABLE=no \ %{nil} %cmake_build %install rm -rf %{buildroot} %cmake_install # prepare docs rm -rf rpmdocs mkdir -p rpmdocs cp -a %{buildroot}%{_docdir}/OpenEXR/* rpmdocs/ rm -rf %{buildroot}%{_docdir}/OpenEXR %if %{with check} %check %ifarch %{ix86} %ctest ||: %else %ctest %endif %endif %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %license LICENSE.md %{_bindir}/* %files libs %defattr(-,root,root,-) %license LICENSE.md %doc CHANGES.md CONTRIBUTING.md GOVERNANCE.md SECURITY.md CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md #doc rpmdocs/* %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/OpenEXR %{_libdir}/lib*.so %dir %{_libdir}/pkgconfig %{_libdir}/pkgconfig/OpenEXR.pc %dir %{_libdir}/cmake %{_libdir}/cmake/OpenEXR %changelog * Wed Nov 09 2022 Tomohiro "Tomo-p" KATO 3.1.5-1 - new upstream release. * Thu Jan 27 2022 Tomohiro "Tomo-p" KATO 3.1.4-1 - new upstream release. * Thu Jan 13 2022 Tomohiro "Tomo-p" KATO 3.1.3-1 - new upstream release. * Wed Sep 01 2021 Tomohiro "Tomo-p" KATO 3.1.1-1 - new upstream release. * Sat Jun 19 2021 Tomohiro "Tomo-p" KATO 2.5.7-1 - new upstream release. * Tue Apr 06 2021 Tomohiro "Tomo-p" KATO 2.5.5-1 - new upstream release. - dropped ldconfig scriptlets. * Sat Dec 12 2020 Tomohiro "Tomo-p" KATO 2.5.3-1 - new upstream release. * Fri Jul 03 2020 Tomohiro "Tomo-p" KATO 2.4.2-1 - new upstream release. * Sat Apr 18 2020 Tomohiro "Tomo-p" KATO 2.4.1-1 - new upstream release. * Fri Oct 25 2019 Tomohiro "Tomo-p" KATO 2.4.0-1 - new upstream release. - unified IlmBase into OpenEXR. * Tue Jun 28 2016 Yoji TOYODA 2.2.0-2 - rebuild with gcc-5.4.0 * 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