package created using the webbuild interface [release v1.0.9-1mamba;Mon Nov 24 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 08:10:30 +01:00
parent 2cb8bc1068
commit 70f894d54b
2 changed files with 92 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# opencolorio
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.

89
opencolorio.spec Normal file
View File

@ -0,0 +1,89 @@
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