Summary(pl.UTF-8): Kompletny pakiet do zarządzania kolorami
Name: OpenColorIO
Version: 2.1.1
-Release: 1
+Release: 4
License: BSD
Group: Libraries
#Source0Download: https://github.com/imageworks/OpenColorIO/releases
Source0: https://github.com/imageworks/OpenColorIO/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 604f562e073f23d88ce89ed4f7f709ba
-Patch4: %{name}-yaml-cpp.patch
-Patch5: %{name}-no-Werror.patch
-Patch6: %{name}-oiio.patch
-Patch7: %{name}-cmake-dir.patch
-Patch8: %{name}-disable-latex.patch
URL: http://opencolorio.org/
BuildRequires: Imath-devel >= 3.1.2
BuildRequires: cmake >= 2.8
%prep
%setup -q
-#%patch4 -p1
-#%patch5 -p1
-#%patch6 -p1
-#%patch7 -p1
-#%patch8 -p1
%build
# required for cmake to find JNI headers/libs when lib64 is in use
install -d build
cd build
-# yaml-cpp 0.6.x requires C++11
-CXXFLAGS="%{rpmcxxflags} -std=c++11"
%cmake .. \
-DCMAKE_CONFIGURATION_TYPES=PLD \
+ -DCMAKE_CXX_STANDARD=14 \
%cmake_on_off doc OCIO_BUILD_DOCS \
%cmake_on_off java OCIO_BUILD_JAVA \
%{!?with_oiio:-DDISABLE_OIIO=ON} \
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ocioconvert
%attr(755,root,root) %{_bindir}/ociolutimage
+%attr(755,root,root) %{_bindir}/ocioperf
%endif
%if %{with oiio} && %{with opengl}
%{?with_doc:%doc build/docs/build-html/*}
%attr(755,root,root) %{_libdir}/libOpenColorIO.so
%{_libdir}/libOpenColorIOoglapphelpers.a
+%{?with_oiio:%{_libdir}/libOpenColorIOoiiohelpers.a}
%{_includedir}/OpenColorIO
%{_pkgconfigdir}/OpenColorIO.pc
%{_libdir}/cmake/OpenColorIO