From 70f894d54bdda0cef20939b52ba9052db21870f3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:10:30 +0100 Subject: [PATCH] package created using the webbuild interface [release v1.0.9-1mamba;Mon Nov 24 2014] --- README.md | 3 ++ opencolorio.spec | 89 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 opencolorio.spec diff --git a/README.md b/README.md index d3a7aad..27ad8ca 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/opencolorio.spec b/opencolorio.spec new file mode 100644 index 0000000..d438217 --- /dev/null +++ b/opencolorio.spec @@ -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 +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 v1.0.9-1mamba +- package created using the webbuild interface