rebuilt with libopenimageio 2.3.12.0 [release 2.1.1-2mamba;Fri Feb 04 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 08:10:30 +01:00
parent 70f894d54b
commit 81e533eaa7

View File

@ -1,25 +1,31 @@
Name: opencolorio
Version: v1.0.9
Release: 1mamba
Epoch: 1
Version: 2.1.1
Release: 2mamba
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
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: libGLU-devel
BuildRequires: libexpat-devel
BuildRequires: libfreeglut-devel
BuildRequires: libgcc
BuildRequires: libglew-devel
BuildRequires: libglvnd-devel
BuildRequires: libimath-devel
BuildRequires: liblcms2-devel
BuildRequires: libpython-devel
BuildRequires: libopenimageio-devel
BuildRequires: libstdc++6-devel
BuildRequires: libyaml-cpp-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.
@ -36,8 +42,7 @@ This package contains shared libraries for %{name}.
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
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
@ -48,13 +53,21 @@ This package contains libraries and header files for developing applications tha
%setup -q -n OpenColorIO-%{version}
%build
%cmake -d build
%cmake -d build \
-DOCIO_BUILD_PYTHON=OFF \
-DCMAKE_CXX_STANDARD="14" \
%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}"
@ -63,27 +76,37 @@ This package contains libraries and header files for developing applications tha
%files
%defattr(-,root,root)
%{_bindir}/ociobakelut
%{_bindir}/ociocheck
%{_bindir}/oc*
%{_datadir}/ocio/setup_ocio.sh
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libOpenColorIO.so.*
%{python27_sitearch}/PyOpenColorIO.so
#%{python3_sitearch}/site-packages/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
%dir %{_includedir}/OpenColorIO/oglapphelpers
%{_includedir}/OpenColorIO/oglapphelpers/*
#%dir %{_includedir}/OpenColorIO/oiiohelpers
#%{_includedir}/OpenColorIO/oiiohelpers/*
%{_libdir}/libOpenColorIOoglapphelpers.a
#%{_libdir}/libOpenColorIOoiiohelpers.a
%{_libdir}/libOpenColorIO.so
%{_libdir}/pkgconfig/OpenColorIO.pc
%doc ChangeLog README
%dir %{_libdir}/cmake/OpenColorIO
%{_libdir}/cmake/OpenColorIO/OpenColorIO*.cmake
#%doc ChangeLog README
%changelog
* Fri Feb 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-2mamba
- rebuilt with libopenimageio 2.3.12.0
* 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