Name: oiio Version: 2.3.12.0 Release: 2mamba Summary: Libraries and tools for VFX studios and developers of tools such as renderers, compositors, viewers Group: Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.openimageio.org Source: https://github.com/OpenImageIO/oiio.git/v%{version}/oiio-%{version}.tar.bz2 Patch0: oiio-2.3.12.0-ffmpeg-5.0.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libGLU-devel BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel BuildRequires: libavutil-ffmpeg-devel BuildRequires: libboost-devel BuildRequires: libbzip2-devel BuildRequires: libdcmtk-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgif-devel BuildRequires: libglvnd-devel BuildRequires: libheif-devel BuildRequires: libimath-devel BuildRequires: libjpeg-devel BuildRequires: libopencolorio-devel BuildRequires: libopencv-devel BuildRequires: libopenexr-devel BuildRequires: libopenjpeg-devel BuildRequires: libpng-devel BuildRequires: libpython3-devel BuildRequires: libraw-devel BuildRequires: libsquish-devel BuildRequires: libstdc++6-devel BuildRequires: libswscale-ffmpeg-devel BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: libz-devel BuildRequires: pugixml-devel BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: libopencv-devel >= 4.5.5-1mamba BuildRequires: libdcmtk-devel >= 3.6.6 BuildRequires: libopencolorio-devel >= 2.1.1 BuildRequires: python-pybind11-devel BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description The primary target audience for OIIO is VFX studios and developers of tools such as renderers, compositors, viewers, and other image-related software you'd find in a production pipeline. %package -n openimageio-tools Group: Applications/Graphics Summary: OpenImageIO tools Requires: libopenimageio = %{?epoch:%epoch:}%{version}-%{release} %description -n openimageio-tools The primary target audience for OIIO is VFX studios and developers of tools such as renderers, compositors, viewers, and other image-related software you'd find in a production pipeline. This package contains tools provided by OpenImageIO. %package -n ttf-openimageio Group: System/Fonts Summary: OpenImageIO fonts %description -n ttf-openimageio This package contains fonts provided by OpenImageIO. %package -n libopenimageio Group: System/Libraries Summary: Shared libraries for OpenImageIO Obsoletes: ttf-openimageio < 2.3.12.0 %description -n libopenimageio The primary target audience for OIIO is VFX studios and developers of tools such as renderers, compositors, viewers, and other image-related software you'd find in a production pipeline. This package contains shared libraries for OpenImageIO. %package -n libopenimageio-devel Group: Development/Libraries Summary: Development files for OpenImageIO Requires: libopenimageio = %{?epoch:%epoch:}%{version}-%{release} %description -n libopenimageio-devel This package contains libraries and header files for developing applications that use OpenImageIO. %debug_package %prep %setup -q %patch0 -p1 -b .ffmpeg-5.0 %build %cmake -d build \ -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_SKIP_RPATH:BOOL=TRUE \ -DPYTHON_VERSION=%{python3_version} \ -DBUILD_DOCS:BOOL=TRUE \ -DOIIO_BUILD_TESTS:BOOL=FALSE \ -DINSTALL_DOCS:BOOL=FALSE \ -DINSTALL_FONTS:BOOL=FALSE \ -DUSE_EXTERNAL_PUGIXML:BOOL=TRUE \ -DSTOP_ON_WARNING:BOOL=FALSE \ -DJPEG_INCLUDE_DIR=%{_includedir} \ -DOPENJPEG_INCLUDE_DIR=$(pkgconf --variable=includedir libopenjp2) \ -DOpenGL_GL_PREFERENCE=GLVND \ -DVERBOSE=TRUE %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n libopenimageio -p /sbin/ldconfig %postun -n libopenimageio -p /sbin/ldconfig %files -n openimageio-tools %defattr(-,root,root) %{_bindir}/iconvert %{_bindir}/idiff %{_bindir}/igrep %{_bindir}/iinfo %{_bindir}/iv %{_bindir}/maketx %{_bindir}/oiiotool #%{_mandir}/iconvert.1 #%{_mandir}/idiff.1 #%{_mandir}/igrep.1 #%{_mandir}/iinfo.1 #%{_mandir}/iv.1 #%{_mandir}/maketx.1 #%{_mandir}/oiiotool.1 #%files -n ttf-openimageio #%defattr(-,root,root) #%dir %{_datadir}/fonts/OpenImageIO #%{_datadir}/fonts/OpenImageIO/*.ttf %files -n libopenimageio %defattr(-,root,root) %{_libdir}/libOpenImageIO.so.* %{_libdir}/libOpenImageIO_Util.so.* %{python3_sitearch}/OpenImageIO.cpython-*.so %doc LICENSE.md %files -n libopenimageio-devel %defattr(-,root,root) %dir %{_includedir}/OpenImageIO %{_includedir}/OpenImageIO/*.h %dir %{_includedir}/OpenImageIO/detail %{_includedir}/OpenImageIO/detail/*.h %dir %{_includedir}/OpenImageIO/detail/fmt %{_includedir}/OpenImageIO/detail/fmt/*.h #%dir %{_includedir}/OpenImageIO/detail/pugixml #%{_includedir}/OpenImageIO/detail/pugixml/* %{_libdir}/libOpenImageIO.so %{_libdir}/libOpenImageIO_Util.so %{_libdir}/pkgconfig/OpenImageIO.pc %dir %{_libdir}/cmake/OpenImageIO %{_libdir}/cmake/OpenImageIO/OpenImageIO*.cmake #%{_datadir}/cmake/Modules/FindOpenImageIO.cmake #%dir %{_datadir}/doc/OpenImageIO #%{_datadir}/doc/OpenImageIO/* %doc README.md %changelog * Sun May 29 2022 Silvan Calarco 2.3.12.0-2mamba - rebuilt by autoport with build requirements: libopencv-devel>=4.5.5-1mamba * Wed Feb 02 2022 Silvan Calarco 2.3.12.0-1mamba - update to 2.3.12.0 * Wed Feb 02 2022 Silvan Calarco 2.2.20.0-1mamba - update to 2.2.20.0 * Thu Jun 24 2021 Silvan Calarco 2.2.15.1-1mamba - update to 2.2.15.1 * Mon Mar 02 2020 Silvan Calarco 2.1.11.2-2mamba - openimageio-tools: fix requirement for libopenimageio * Sun Mar 01 2020 Silvan Calarco 2.1.11.2-1mamba - package created using the webbuild interface