openexr/openexr.spec

202 lines
7.0 KiB
RPMSpec
Raw Normal View History

Name: openexr
Version: 2.4.1
Release: 2mamba
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 <silvan.calarco@mambasoft.it>
URL: http://www.openexr.org
Source: https://github.com/AcademySoftwareFoundation/openexr/archive/v%{version}.zip
Patch0: %{name}-1.6.1-gcc43.patch
Patch1: %{name}-1.7.0-gcc45.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libboost-devel
BuildRequires: libfltk-devel
BuildRequires: libgcc
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Provides: OpenEXR
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
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
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Obsoletes: libOpenEXR
Provides: libOpenEXR
%description -n libopenexr
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
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: libopenexr = %{version}-%{release}
Provides: libilmbase-devel
Obsoletes: libilmbase-devel
Provides: libOpenEXR-devel
Obsoletes: libOpenEXR-devel
%description -n libopenexr-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.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q -n openexr-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libopenexr -p /sbin/ldconfig
%postun -n libopenexr -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
%files -n libopenexr
%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.*
%{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}/libIlmImf.so
%{_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 %{_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
* Sat Apr 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-2mamba
- libopenexr-devel: provide/obsolete libilmbase-devel
* Mon Mar 30 2020 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.4.1-1mamba
- update to 2.4.1
* Tue Sep 04 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-1mamba
- update to 2.3.0
* Mon Dec 18 2017 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic update by autodist
* Wed Oct 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Sun Dec 27 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-3mamba
- rebuilt
* Sat Dec 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
- rebuilt with libilmbase 2.1.0
* Sat Nov 30 2013 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic update by autodist
* Sat Jul 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-3mamba
- added --enable-namespaceversioning=no to disable namespace versioning
- rebuild against libilmbase 2.0.1-3mamba after disabling library namespace versioning
* Sat Jul 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-2mamba
- rebuilt to fix header/sources mismatch (fixes blender build)
* Thu Jul 11 2013 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic update by autodist
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- update to 2.0.0
* Mon Dec 10 2012 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
- update to 1.7.1
* Thu May 12 2011 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic update by autodist
* Thu Sep 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-2mamba
- libOpenEXR-devel: added requirement for libilmbase-devel
* Wed Jun 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-1mamba
- update to 1.6.1
* Sat Nov 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2mamba
- obsolete libOpenEXR
* Tue Jan 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0a-1qilnx
- update to version 1.4.0a by autospec
* Mon Apr 03 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.2.2-2qilnx
- specfile fixed and updated
* Tue Feb 21 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-1qilnx
- update to version 1.2.2 by autospec
* Sun Sep 26 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1qilnx
- package created by autospec