]> git.pld-linux.org Git - packages/OpenImageIO.git/blobdiff - OpenImageIO.spec
Release 3 (by relup.sh)
[packages/OpenImageIO.git] / OpenImageIO.spec
index 451dc2a2b631c528246acc4e42d1a16b04cf7a7b..fc0a33c384c272380167e1559cfde196f52e4be3 100644 (file)
 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
@@ -48,9 +48,9 @@ BuildRequires:        Qt5OpenGL-devel >= 5.6
 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
@@ -70,8 +70,8 @@ BuildRequires:        libwebp-devel
 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
@@ -363,16 +363,16 @@ IV to przeglądarka obrazków oparta na wtyczkach ImageIO; dzięki temu
 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
@@ -388,7 +388,6 @@ cd build
 %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 \
@@ -398,7 +397,7 @@ cd build
        -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} \
@@ -544,6 +543,8 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.04487 seconds and 4 git commands to generate.