From 34dae499af89704e025f5a6fdcad92a5ce9f4c73 Mon Sep 17 00:00:00 2001 From: Ercole 'ercolinux' Carpanetto Date: Sat, 6 Jan 2024 08:11:46 +0100 Subject: [PATCH] update to 2.4.1 [release 2.4.1-1mamba;Mon Mar 30 2020] --- openexr.spec | 75 +++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 54 insertions(+), 21 deletions(-) diff --git a/openexr.spec b/openexr.spec index c22a3ea..4660f33 100644 --- a/openexr.spec +++ b/openexr.spec @@ -1,5 +1,5 @@ Name: openexr -Version: 2.3.0 +Version: 2.4.1 Release: 1mamba Summary: A high dynamic-range (HDR) image file format for use in computer imaging applications. Group: Applications/Graphics @@ -7,7 +7,8 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.openexr.org -Source: https://github.com/openexr/openexr/releases/download/v%{version}/%{name}-%{version}.tar.gz +Source: https://github.com/AcademySoftwareFoundation/openexr/archive/v%{version}.zip +#Source: https://github.com/openexr/openexr/releases/download/v%{version}/%{name}-%{version}.tar.gz #Source: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz #https://github.com/downloads/openexr/openexr/openexr-%{version}.tar.gz Patch0: %{name}-1.6.1-gcc43.patch @@ -52,21 +53,20 @@ OpenEXR is used by ILM on all motion pictures currently in production. The first This package contains static libraries and header files need for development. +%debug_package + %prep %setup -q -n openexr-%{version} #%patch0 -p1 #%patch1 -p1 %build -%configure \ - --disable-ilmbasetest \ - --enable-namespaceversioning=no - -%make DEFAULT_INCLUDES="-I. -I../config -I../IlmImf -I../IlmImfUtil" +%cmake -d build +%make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall -C build # compatibility symlinks with previous version with namespaceversioning enabled #ln -s libIlmImf.so.20 %{buildroot}%{_libdir}/libIlmImf-Imf_2_0.so.20 @@ -83,28 +83,61 @@ This package contains static libraries and header files need for development. %files -n libopenexr %defattr(-,root,root) -%{_libdir}/libIlmImf.so.* -%{_libdir}/libIlmImfUtil.so.* -#%{_libdir}/libIlmImf-Imf_2_0.so.* -%doc AUTHORS LICENSE +%{_libdir}/libHalf-2_4.so.* +%{_libdir}/libIex-2_4.so.* +%{_libdir}/libIexMath-2_4.so.* +%{_libdir}/libIlmImf-2_4.so.* +%{_libdir}/libIlmImfUtil-2_4.so.* +%{_libdir}/libIlmThread-2_4.so.* +%{_libdir}/libImath-2_4.so.* +%{_libdir}/libPyIex_Python2_7-2_4.so.* +%{_libdir}/libPyIex_Python3_7-2_4.so.* +%{_libdir}/libPyImath_Python2_7-2_4.so.* +%{_libdir}/libPyImath_Python3_7-2_4.so.* +%{python3_sitearch}/iex.so +%{python3_sitearch}/imath.so +%{python27_sitearch}/iex.so +%{python27_sitearch}/imath.so +%doc LICENSE.md %files -n libopenexr-devel %defattr(-,root,root) %dir %{_includedir}/OpenEXR %{_includedir}/OpenEXR/*.h -%{_libdir}/pkgconfig/OpenEXR.pc -%{_datadir}/aclocal/openexr.m4 -%{_libdir}/libIlmImf.a -%{_libdir}/libIlmImf.la %{_libdir}/libIlmImf.so -%{_libdir}/libIlmImfUtil.a -%{_libdir}/libIlmImfUtil.la +%{_libdir}/libHalf-2_4.so +%{_libdir}/libHalf.so +%{_libdir}/libIex-2_4.so +%{_libdir}/libIex.so +%{_libdir}/libIexMath-2_4.so +%{_libdir}/libIexMath.so +%{_libdir}/libIlmImf-2_4.so +%{_libdir}/libIlmImfUtil-2_4.so +%{_libdir}/libIlmThread-2_4.so +%{_libdir}/libIlmThread.so +%{_libdir}/libImath-2_4.so +%{_libdir}/libImath.so +%{_libdir}/libPyIex_Python2_7-2_4.so +%{_libdir}/libPyIex_Python3_7-2_4.so +%{_libdir}/libPyImath_Python2_7-2_4.so +%{_libdir}/libPyImath_Python3_7-2_4.so %{_libdir}/libIlmImfUtil.so -%dir %{_datadir}/doc/openexr -%{_datadir}/doc/openexr/* -%doc ChangeLog NEWS README.md +%dir %{_libdir}/cmake/IlmBase +%{_libdir}/cmake/IlmBase/IlmBaseConfig*.cmake +%dir %{_libdir}/cmake/OpenEXR +%{_libdir}/cmake/OpenEXR/OpenEXRConfig*.cmake +%dir %{_libdir}/cmake/PyIlmBase +%{_libdir}/cmake/PyIlmBase/PyIlmBaseConfig*.cmake +%{_libdir}/pkgconfig/IlmBase.pc +%{_libdir}/pkgconfig/OpenEXR.pc +%dir %{_datadir}/doc/OpenEXR +%{_datadir}/doc/OpenEXR/* +#%doc ChangeLog NEWS README.md %changelog +* Mon Mar 30 2020 Ercole 'ercolinux' Carpanetto 2.4.1-1mamba +- update to 2.4.1 + * Tue Sep 04 2018 Silvan Calarco 2.3.0-1mamba - update to 2.3.0