90 lines
2.9 KiB
RPMSpec
90 lines
2.9 KiB
RPMSpec
Name: opencolorio
|
|
Version: v1.0.9
|
|
Release: 1mamba
|
|
Summary: A color management framework for visual effects and animation
|
|
Group: Applications/Graphics
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://opencolorio.org/
|
|
## GITSOURCE https://github.com/imageworks/OpenColorIO.git v1.0.9
|
|
Source: https://github.com/imageworks/OpenColorIO.git/%{version}/OpenColorIO-%{version}.tar.bz2
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: liblcms2-devel
|
|
BuildRequires: libpython-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
OpenColorIO (OCIO) is a complete color management solution geared towards motion picture production with an emphasis on visual effects and computer animation.
|
|
OCIO provides a straightforward and consistent user experience across all supporting applications while allowing for sophisticated back-end configuration options suitable for high-end production usage. OCIO is compatible with the Academy Color Encoding Specification (ACES) and is LUT-format agnostic, supporting many popular formats.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
#Requires: pkg-config
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n OpenColorIO-%{version}
|
|
|
|
%build
|
|
%cmake -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/ociobakelut
|
|
%{_bindir}/ociocheck
|
|
%{_datadir}/ocio/setup_ocio.sh
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libOpenColorIO.so.*
|
|
%{python27_sitearch}/PyOpenColorIO.so
|
|
%doc LICENSE
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/OpenColorIO
|
|
%{_includedir}/OpenColorIO/*.h
|
|
%dir %{_includedir}/PyOpenColorIO
|
|
%{_includedir}/PyOpenColorIO/PyOpenColorIO.h
|
|
%{_prefix}/lib/libOpenColorIO.a
|
|
%{_libdir}/libOpenColorIO.so
|
|
%{_libdir}/pkgconfig/OpenColorIO.pc
|
|
%doc ChangeLog README
|
|
|
|
%changelog
|
|
* Mon Nov 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> v1.0.9-1mamba
|
|
- package created using the webbuild interface
|