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 Name: opencolorio
Version: v1.0.9 Epoch: 1
Release: 1mamba Version: 2.1.1
Release: 2mamba
Summary: A color management framework for visual effects and animation Summary: A color management framework for visual effects and animation
Group: Applications/Graphics Group: Applications/Graphics
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://opencolorio.org/ URL: https://opencolorio.org/
## GITSOURCE https://github.com/imageworks/OpenColorIO.git v1.0.9 Source: https://github.com/imageworks/OpenColorIO.git/v%{version}/OpenColorIO-%{version}.tar.bz2
Source: https://github.com/imageworks/OpenColorIO.git/%{version}/OpenColorIO-%{version}.tar.bz2
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libGLU-devel
BuildRequires: libexpat-devel
BuildRequires: libfreeglut-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglew-devel
BuildRequires: libglvnd-devel
BuildRequires: libimath-devel
BuildRequires: liblcms2-devel BuildRequires: liblcms2-devel
BuildRequires: libpython-devel BuildRequires: libopenimageio-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libyaml-cpp-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
OpenColorIO (OCIO) is a complete color management solution geared towards motion picture production with an emphasis on visual effects and computer animation. 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 Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} 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 %description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}. 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} %setup -q -n OpenColorIO-%{version}
%build %build
%cmake -d build %cmake -d build \
-DOCIO_BUILD_PYTHON=OFF \
-DCMAKE_CXX_STANDARD="14" \
%ifnarch x86_64
-DOCIO_USE_SSE=OFF
%endif
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
rm -rf %{buildroot}%{_builddir}/OpenColorIO-%{version}
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -63,27 +76,37 @@ This package contains libraries and header files for developing applications tha
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/ociobakelut %{_bindir}/oc*
%{_bindir}/ociocheck
%{_datadir}/ocio/setup_ocio.sh %{_datadir}/ocio/setup_ocio.sh
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libOpenColorIO.so.* %{_libdir}/libOpenColorIO.so.*
%{python27_sitearch}/PyOpenColorIO.so #%{python3_sitearch}/site-packages/PyOpenColorIO.so
%doc LICENSE %doc LICENSE
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/OpenColorIO %dir %{_includedir}/OpenColorIO
%{_includedir}/OpenColorIO/*.h %{_includedir}/OpenColorIO/*.h
%dir %{_includedir}/PyOpenColorIO %dir %{_includedir}/OpenColorIO/oglapphelpers
%{_includedir}/PyOpenColorIO/PyOpenColorIO.h %{_includedir}/OpenColorIO/oglapphelpers/*
%{_prefix}/lib/libOpenColorIO.a #%dir %{_includedir}/OpenColorIO/oiiohelpers
#%{_includedir}/OpenColorIO/oiiohelpers/*
%{_libdir}/libOpenColorIOoglapphelpers.a
#%{_libdir}/libOpenColorIOoiiohelpers.a
%{_libdir}/libOpenColorIO.so %{_libdir}/libOpenColorIO.so
%{_libdir}/pkgconfig/OpenColorIO.pc %{_libdir}/pkgconfig/OpenColorIO.pc
%doc ChangeLog README %dir %{_libdir}/cmake/OpenColorIO
%{_libdir}/cmake/OpenColorIO/OpenColorIO*.cmake
#%doc ChangeLog README
%changelog %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 * Mon Nov 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> v1.0.9-1mamba
- package created using the webbuild interface - package created using the webbuild interface