diff --git a/.gitignore b/.gitignore index a430f3e..7d961c7 100644 --- a/.gitignore +++ b/.gitignore @@ -98,3 +98,4 @@ clog /OpenImageIO-2.2.15.0.tar.gz /OpenImageIO-2.2.16.0.tar.gz /OpenImageIO-2.2.17.0.tar.gz +/OpenImageIO-2.3.7.2.tar.gz diff --git a/OpenImageIO.spec b/OpenImageIO.spec index 2b077e9..1557ea0 100644 --- a/OpenImageIO.spec +++ b/OpenImageIO.spec @@ -1,19 +1,21 @@ %undefine __cmake_in_source_build -%global sover 2.2 +%global sover 2.3 Name: OpenImageIO -Version: 2.2.17.0 -Release: 9%{?dist} +Version: 2.3.8.0 +Release: 1%{?dist} Summary: Library for reading and writing images License: BSD and MIT # The included fmtlib is MIT licensed # src/include/OpenImageIO/fmt URL: https://sites.google.com/site/openimageio/home -Source0: https://github.com/%{name}/oiio/archive/Release-%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/%{name}/oiio/archive/v%{version}/%{name}-%{version}.tar.gz # Images for test suite #Source1: https://github.com/OpenImageIO/oiio-images/archive/master/oiio-images.tar.gz +Patch0: oiio-disable_testing.patch + # Needed until LibRaw is available on s390x and aarch64 %if 0%{?rhel} >= 8 ExclusiveArch: x86_64 ppc64le @@ -38,8 +40,9 @@ BuildRequires: freetype-devel BuildRequires: giflib-devel BuildRequires: glew-devel BuildRequires: hdf5-devel -BuildRequires: ilmbase-devel BuildRequires: jasper-devel +# Only available on RPM Fusion +#BuildRequires: libheif-devel BuildRequires: libjpeg-turbo-devel BuildRequires: libpng-devel BuildRequires: LibRaw-devel @@ -56,6 +59,7 @@ BuildRequires: openjpeg2-devel BuildRequires: openssl-devel BuildRequires: openvdb-devel BuildRequires: pugixml-devel +BuildRequires: ptex-devel BuildRequires: pybind11-devel BuildRequires: python3-devel BuildRequires: qt5-qtbase-devel @@ -66,9 +70,7 @@ BuildRequires: zlib-devel # WARNING: OpenColorIO and OpenImageIO are cross dependent. # If an ABI incompatible update is done in one, the other also needs to be # rebuilt. -# Can't update OIIO to OCIO 2 since usd can't build with it yet. BuildRequires: OpenColorIO-devel -#BuildRequires: opencolorio1-devel %description @@ -125,7 +127,7 @@ Development files for package %{name} %prep -%autosetup -p1 -n oiio-Release-%{version} +%autosetup -p1 -n oiio-%{version} # Remove bundled pugixml rm -f src/include/OpenImageIO/pugixml.hpp \ @@ -150,6 +152,7 @@ mkdir build/linux && pushd build/linux -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 \ @@ -200,11 +203,16 @@ cp -a src/doc/*.1 %{buildroot}%{_mandir}/man1 %{_libdir}/libOpenImageIO_Util.so %{_libdir}/cmake/%{name}/*.cmake %{_libdir}/pkgconfig/%{name}.pc -%{_datadir}/cmake/Modules/FindOpenImageIO.cmake %{_includedir}/%{name}/ %changelog +* Sun Oct 03 2021 Richard Shaw - 2.3.8.0-1 +- Update to 2.3.8.0. + +* Wed Sep 01 2021 Richard Shaw - 2.3.7.2-1 +- Update to 2.3.7.2. + * Wed Sep 01 2021 Richard Shaw - 2.2.17.0-9 - Rebuild for OpenImageIO 2.1. diff --git a/sources b/sources index bc8fc3e..06e4ca3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OpenImageIO-2.2.17.0.tar.gz) = f891a7a79124c4844cc59c01d58d3bdeca5b16b5ba3105f42984095c898f85fcf5cc5a5f4a849c32baca242164041b0960e8aa402771039723910440e4eecaf5 +SHA512 (OpenImageIO-2.3.7.2.tar.gz) = e815f3ff8622dc83c92fa30adda5c3b65c22359718c0e23e34d616ad89beb7d8d8aa446180a7c5ce1be3bb4884a5cfd9c06b0da18bf8d15ec55a487c60d1cd29