openexr23/openexr23.spec

155 lines
5.7 KiB
RPMSpec

Name: openexr23
Version: 2.2.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: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
#https://github.com/downloads/openexr/openexr/openexr-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libilmbase23-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libilmbase23-devel
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 lib%{name}
Group: System/Libraries
Summary: Dynamic libraries for %{name}
%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 lib%{name}-devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: lib%{name} = %{version}-%{release}
%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.
This package contains static libraries and header files need for development.
%prep
%setup -q -n openexr-%{version}
%build
%configure \
--disable-ilmbasetest \
--enable-namespaceversioning=no
%make DEFAULT_INCLUDES="-I. -I../config -I../IlmImf -I../IlmImfUtil"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# compatibility symlinks with previous version with namespaceversioning enabled
#ln -s libIlmImf.so.20 %{buildroot}%{_libdir}/libIlmImf-Imf_2_0.so.20
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libIlmImf.so.*
%{_libdir}/libIlmImfUtil.so.*
#%{_libdir}/libIlmImf-Imf_2_0.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-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}/libIlmImfUtil.so
%dir %{_datadir}/doc/OpenEXR-%{version}
%{_datadir}/doc/OpenEXR-%{version}/*
%doc ChangeLog NEWS README
%changelog
* Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-2mamba
- legacy package
* 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