Summary(pl.UTF-8): Biblioteka do odczytu i zapisu obrazów
Name: OpenImageIO
Version: 0.10.3
-Release: 1
+Release: 5
License: BSD
Group: Libraries
Source0: https://github.com/OpenImageIO/oiio/tarball/Release-%{version}#/%{name}-%{version}.tar.gz
Patch4: %{name}-system-ptex.patch
Patch5: %{name}-system-dpx.patch
Patch6: %{name}-system-libcineon.patch
+Patch7: %{name}-libpng15.patch
URL: https://sites.google.com/site/openimageio/home
BuildRequires: Field3D-devel
BuildRequires: OpenEXR-devel >= 1.6.1
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%{__rm} -r src/dds.imageio/squish src/ptex.imageio/ptex
cd build
%cmake ../src \
-DEMBEDPLUGINS=OFF \
- -DLIBDIR=%{_libdir} \
-DPYLIBDIR=%{py_sitedir} \
-DPYTHON_VERSION=%{py_ver} \
%{!?with_tbb:-DUSE_TBB=OFF} \