Summary: Library for reading and writing images
Summary(pl.UTF-8): Biblioteka do odczytu i zapisu obrazów
Name: OpenImageIO
-Version: 2.3.12.0
-Release: 2
+Version: 2.3.21.0
+Release: 3
License: BSD
Group: Libraries
#Source0Download: https://github.com/OpenImageIO/oiio/releases
Source0: https://github.com/OpenImageIO/oiio/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: e109c5a4e6844f1f58c91ec7a991dbd7
+# Source0-md5: a5def3fc51a35b09f251bc32a11c24da
Patch2: %{name}-system-libcineon.patch
Patch3: no-clang-format.patch
URL: https://github.com/OpenImageIO/oiio
BuildRequires: Qt5Widgets-devel >= 5.6
# filesystem, regex, system, thread
BuildRequires: boost-devel >= 1.53
-BuildRequires: boost-python-devel >= 1.53
+BuildRequires: boost-python3-devel >= 1.53
BuildRequires: bzip2-devel
-BuildRequires: cmake >= 3.2.2
+BuildRequires: cmake >= 3.12
BuildRequires: dcmtk-devel >= 3.6.1
BuildRequires: ffmpeg-devel >= 2.6
BuildRequires: freetype-devel >= 2.0
BuildRequires: openjpeg2-devel >= 2.4
BuildRequires: ptex-devel >= 2.1
BuildRequires: pugixml-devel
-BuildRequires: python-devel >= 1:2.7
-BuildRequires: python-pybind11 >= 2.2.0
+BuildRequires: python3-devel >= 1:2.7
+BuildRequires: python3-pybind11 >= 2.2.0
BuildRequires: robin-map-devel
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.605
jest w stanie odczytać obrazy w dowolnym formacie, dla którego
istnieje właściwa wtyczka.
-%package -n python-OpenImageIO
+%package -n python3-OpenImageIO
Summary: Python binding for OpenImageIO library
Summary(pl.UTF-8): Wiązanie Pythona do biblioteki OpenImageIO
Group: Libraries/Python
Requires: %{name} = %{version}-%{release}
-%description -n python-OpenImageIO
+%description -n python3-OpenImageIO
Python binding for OpenImageIO library.
-%description -n python-OpenImageIO -l pl.UTF-8
+%description -n python3-OpenImageIO -l pl.UTF-8
Wiązanie Pythona do biblioteki OpenImageIO.
%prep
%cmake .. \
-DCMAKE_INSTALL_MANDIR=%{_mandir}/man1 \
-DEMBEDPLUGINS=OFF \
- -DOPENJPEG_INCLUDE_DIR=%{_includedir}/openjpeg-2.4 \
-DINCLUDE_INSTALL_DIR=%{_includedir}/%{name} \
-DLIB_INSTALL_DIR:PATH=%{_libdir} \
-DBUILD_TESTING=OFF \
-DENABLE_FIELD3D=ON \
-DPYBIND11_HOME:PATH=%{py_incdir} \
-DPYLIB_INSTALL_DIR=%{py_sitedir} \
- -DPYTHON_VERSION=%{py_ver} \
+ -DPYTHON_VERSION=%{py3_ver} \
-DUSE_EXTERNAL_PUGIXML=ON \
-DSTOP_ON_WARNING=OFF \
%{!?with_ocio:-DUSE_OCIO=OFF} \
%attr(755,root,root) %{_bindir}/oiiv
%{_mandir}/man1/oiiv.1*
-%files -n python-OpenImageIO
+%files -n python3-OpenImageIO
%defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/OpenImageIO.so
+%dir %{py3_sitedir}/OpenImageIO
+%attr(755,root,root) %{py3_sitedir}/OpenImageIO/OpenImageIO*.so
+%{py3_sitedir}/OpenImageIO/__init__.py