diff --git a/openexr.spec b/openexr.spec index 0979ad7..0bb01a0 100644 --- a/openexr.spec +++ b/openexr.spec @@ -1,13 +1,13 @@ Name: openexr -Version: 2.4.1 -Release: 2mamba +Version: 2.5.1 +Release: 1mamba Summary: A high dynamic-range (HDR) image file format for use in computer imaging applications. Group: Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.openexr.org -Source: https://github.com/AcademySoftwareFoundation/openexr/archive/v%{version}.zip +Source: https://github.com/AcademySoftwareFoundation/openexr.git/v%{version}/openexr-%{version}.tar.bz2 Patch0: %{name}-1.6.1-gcc43.patch Patch1: %{name}-1.7.0-gcc45.patch License: GPL @@ -34,17 +34,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications. OpenEXR is used by ILM on all motion pictures currently in production. The first movies to employ OpenEXR were Harry Potter and the Sorcerers Stone, Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR has become ILM's main image file format. -%package -n libopenexr +%package -n lib%{name} Group: Development/Libraries Summary: Static libraries and headers for %{name} Obsoletes: libOpenEXR Provides: libOpenEXR -%description -n libopenexr +%description -n lib%{name} OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications. OpenEXR is used by ILM on all motion pictures currently in production. The first movies to employ OpenEXR were Harry Potter and the Sorcerers Stone, Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR has become ILM's main image file format. -%package -n libopenexr-devel +%package -n lib%{name}-devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: libopenexr = %{version}-%{release} @@ -53,7 +53,7 @@ Obsoletes: libilmbase-devel Provides: libOpenEXR-devel Obsoletes: libOpenEXR-devel -%description -n libopenexr-devel +%description -n lib%{name}-devel OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications. OpenEXR is used by ILM on all motion pictures currently in production. The first movies to employ OpenEXR were Harry Potter and the Sorcerers Stone, Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR has become ILM's main image file format. @@ -75,53 +75,53 @@ This package contains static libraries and header files need for development. %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -n libopenexr -p /sbin/ldconfig -%postun -n libopenexr -p /sbin/ldconfig +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* -%files -n libopenexr +%files -n lib%{name} %defattr(-,root,root) -%{_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.* +%{_libdir}/libHalf-*.so.* +%{_libdir}/libIex-*.so.* +%{_libdir}/libIexMath-*.so.* +%{_libdir}/libIlmImf-*.so.* +%{_libdir}/libIlmImfUtil-*.so.* +%{_libdir}/libIlmThread-*.so.* +%{_libdir}/libImath-*.so.* +%{_libdir}/libPyIex_Python2_7-*.so.* +%{_libdir}/libPyIex_Python3_7-*.so.* +%{_libdir}/libPyImath_Python2_7-*.so.* +%{_libdir}/libPyImath_Python3_7-*.so.* %{python3_sitearch}/iex.so %{python3_sitearch}/imath.so %{python27_sitearch}/iex.so %{python27_sitearch}/imath.so %doc LICENSE.md -%files -n libopenexr-devel +%files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/OpenEXR %{_includedir}/OpenEXR/*.h %{_libdir}/libIlmImf.so -%{_libdir}/libHalf-2_4.so +%{_libdir}/libHalf-*.so %{_libdir}/libHalf.so -%{_libdir}/libIex-2_4.so +%{_libdir}/libIex-*.so %{_libdir}/libIex.so -%{_libdir}/libIexMath-2_4.so +%{_libdir}/libIexMath-*.so %{_libdir}/libIexMath.so -%{_libdir}/libIlmImf-2_4.so -%{_libdir}/libIlmImfUtil-2_4.so -%{_libdir}/libIlmThread-2_4.so +%{_libdir}/libIlmImf-*.so +%{_libdir}/libIlmImfUtil-*.so +%{_libdir}/libIlmThread-*.so %{_libdir}/libIlmThread.so -%{_libdir}/libImath-2_4.so +%{_libdir}/libImath-*.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}/libPyIex_Python2_7-*.so +%{_libdir}/libPyIex_Python3_7-*.so +%{_libdir}/libPyImath_Python2_7-*.so +%{_libdir}/libPyImath_Python3_7-*.so %{_libdir}/libIlmImfUtil.so %dir %{_libdir}/cmake/IlmBase %{_libdir}/cmake/IlmBase/IlmBaseConfig*.cmake @@ -133,9 +133,17 @@ This package contains static libraries and header files need for development. %{_libdir}/pkgconfig/OpenEXR.pc %dir %{_datadir}/doc/OpenEXR %{_datadir}/doc/OpenEXR/* -#%doc ChangeLog NEWS README.md +%dir %{_libdir}/cmake/IlmBase +%{_libdir}/cmake/IlmBase/IlmBaseTargets*.cmake +%dir %{_libdir}/cmake/OpenEXR +%{_libdir}/cmake/OpenEXR/OpenEXRTargets*.cmake +%{_libdir}/pkgconfig/PyIlmBase.pc +%doc README.md %changelog +* Mon May 18 2020 Automatic Build System 2.5.1-1mamba +- automatic version update by autodist + * Sat Apr 25 2020 Silvan Calarco 2.4.1-2mamba - libopenexr-devel: provide/obsolete libilmbase-devel