# - nuke: http://docs.thefoundry.co.uk/products/nuke/ (proprietary)
#
# Conditional build:
-%bcond_without oiio # use OpenImageIO in apps (ocioconvert,ociodisplay,ociolutimage) instead of OpenEXR
%bcond_without opengl # OpenGL-dependent app (ociodisplay)
%bcond_with java # JNI glue (outdated as of 2.2.1)
%bcond_without doc # documentation
Summary(pl.UTF-8): Kompletny pakiet do zarządzania kolorami
Name: OpenColorIO
Version: 2.2.1
-Release: 0.2
+Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/imageworks/OpenColorIO/releases
BuildRequires: OpenGL-glut-devel
BuildRequires: glew-devel >= 1.5.1
%endif
-%if %{with oiio}
-BuildRequires: OpenImageIO-devel >= 2.2.14
-BuildRequires: lcms2-devel >= 2.2
-%endif
Requires: expat >= 2.4.1
Requires: minizip-ng >= 3.0.7
Requires: tinyxml >= 2.6.1
-DCMAKE_CXX_STANDARD=14 \
%{cmake_on_off doc OCIO_BUILD_DOCS} \
%{cmake_on_off java OCIO_BUILD_JAVA} \
- %{?with_oiio:-DOCIO_USE_OIIO_FOR_APPS=ON} \
%{!?with_sse2:-DOCIO_USE_SSE=OFF}
%{__make}
%attr(755,root,root) %{_libdir}/libOpenColorIO.so
%{_libdir}/libOpenColorIOimageioapphelpers.a
%{_libdir}/libOpenColorIOoglapphelpers.a
-%{?with_oiio:%{_libdir}/libOpenColorIOoiiohelpers.a}
%{_includedir}/OpenColorIO
%{_pkgconfigdir}/OpenColorIO.pc
%{_libdir}/cmake/OpenColorIO