From 09c36d4fda2f3e87657aaff9fbbda27facf2e229 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:07:02 +0100 Subject: [PATCH] update to 2.2.15.1 [release 2.2.15.1-1mamba;Thu Jun 24 2021] --- oiio.spec | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/oiio.spec b/oiio.spec index 624d5fc..dae0583 100644 --- a/oiio.spec +++ b/oiio.spec @@ -1,19 +1,16 @@ Name: oiio -Version: 2.1.11.2 -Release: 2mamba +Version: 2.2.15.1 +Release: 1mamba 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 -## GITSOURCE https://github.com/OpenImageIO/oiio.git Release-2.1.11.2 Source: https://github.com/OpenImageIO/oiio.git/Release-%{version}/oiio-%{version}.tar.bz2 License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig -BuildRequires: libGL-devel BuildRequires: libGLU-devel BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel @@ -24,15 +21,14 @@ BuildRequires: libdcmtk-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgif-devel -BuildRequires: libilmbase-devel +BuildRequires: libglvnd-devel +BuildRequires: libimath-devel BuildRequires: libjpeg-devel BuildRequires: libopencolorio-devel BuildRequires: libopencv-devel BuildRequires: libopenexr-devel BuildRequires: libopenjpeg-devel BuildRequires: libpng-devel -BuildRequires: libpython-devel -BuildRequires: libpython27-devel BuildRequires: libqt5-devel BuildRequires: libraw-devel BuildRequires: libstdc++6-devel @@ -41,9 +37,10 @@ BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END +BuildRequires: libdcmtk-devel >= 3.6.6 +BuildRequires: python-pybind11-devel BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %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. @@ -88,7 +85,9 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake -d build +%cmake -d build \ + -DPYTHON_VERSION=%{python3_version} + %make %install @@ -127,16 +126,19 @@ This package contains libraries and header files for developing applications tha %defattr(-,root,root) %{_libdir}/libOpenImageIO.so.* %{_libdir}/libOpenImageIO_Util.so.* -%{python27_sitearch}/OpenImageIO.so +%{python3_sitearch}/OpenImageIO.cpython-*.so +%doc LICENSE.md %files -n libopenimageio-devel %defattr(-,root,root) %dir %{_includedir}/OpenImageIO %{_includedir}/OpenImageIO/*.h -%{_includedir}/OpenImageIO/*.cpp -%dir %{_includedir}/OpenImageIO/fmt -%{_includedir}/OpenImageIO/fmt/*.h -%{_includedir}/OpenImageIO/*.hpp +%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 @@ -145,9 +147,12 @@ This package contains libraries and header files for developing applications tha %{_datadir}/cmake/Modules/FindOpenImageIO.cmake %dir %{_datadir}/doc/OpenImageIO %{_datadir}/doc/OpenImageIO/* -#%doc README.md +%doc README.md %changelog +* 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