opencolorio/opencolorio.spec

124 lines
3.8 KiB
RPMSpec

Name: opencolorio
Epoch: 1
Version: 2.4.1
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: https://opencolorio.org/
Source: https://github.com/imageworks/OpenColorIO.git/v%{version}/OpenColorIO-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libXi-devel
BuildRequires: libXmu-devel
BuildRequires: libexpat-devel
BuildRequires: libfreeglut-devel
BuildRequires: libgcc
BuildRequires: libglew-devel
BuildRequires: libglu-devel
BuildRequires: libglvnd-devel
BuildRequires: libimath-devel
BuildRequires: liblcms2-devel
BuildRequires: libminizip-devel
BuildRequires: libopenexr-devel
BuildRequires: libpystring-devel
BuildRequires: libstdc++6-devel
BuildRequires: libyaml-cpp-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libopenimageio-devel >= 2.5.6.0
BuildRequires: openimageio-tools >= 2.5.6.0
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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}
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 \
-DOCIO_BUILD_PYTHON=OFF \
-DCMAKE_CXX_STANDARD="17" \
%ifnarch x86_64
-DOCIO_USE_SSE=OFF
%endif
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
rm -rf %{buildroot}%{_builddir}/OpenColorIO-%{version}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/oc*
%{_datadir}/ocio/setup_ocio.sh
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libOpenColorIO.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/OpenColorIO
%{_includedir}/OpenColorIO/*.h
%dir %{_includedir}/OpenColorIO/oglapphelpers
%{_includedir}/OpenColorIO/oglapphelpers/*
%dir %{_includedir}/OpenColorIO/imageioapphelpers
%{_includedir}/OpenColorIO/imageioapphelpers/imageio.h
%{_libdir}/libOpenColorIO*.a
%{_libdir}/libOpenColorIO.so
%{_libdir}/pkgconfig/OpenColorIO.pc
%dir %{_libdir}/cmake/OpenColorIO
%{_libdir}/cmake/OpenColorIO/OpenColorIO*.cmake
%changelog
* Fri Dec 13 2024 Automatic Build System <autodist@openmamba.org> 2.4.1-1mamba
- automatic version update by autodist
* Wed Oct 02 2024 Automatic Build System <autodist@openmamba.org> 2.4.0-1mamba
- automatic version update by autodist
* Mon Feb 05 2024 Automatic Build System <autodist@openmamba.org> 2.3.2-1mamba
- automatic version update by autodist
* Sun Feb 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1mamba
- update to 2.3.1
* Tue Feb 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-1mamba
- update to 2.1.1
* Mon Nov 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> v1.0.9-1mamba
- package created using the webbuild interface