X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=OpenImageIO.spec;h=ac84576426456a31ae5f448dc4daa7b767bc1d6b;hb=67c89aae70772d6579edaa9d142f346c99cb8a3c;hp=1b3c8bd2f022bc16009a0223e2f99d64eeebc23f;hpb=4f07e9d7949e4f9212b54ff079d3de19194ce0f9;p=packages%2FOpenImageIO.git diff --git a/OpenImageIO.spec b/OpenImageIO.spec index 1b3c8bd..ac84576 100644 --- a/OpenImageIO.spec +++ b/OpenImageIO.spec @@ -8,12 +8,12 @@ Summary: Library for reading and writing images Summary(pl.UTF-8): Biblioteka do odczytu i zapisu obrazów Name: OpenImageIO -Version: 1.0.7 -Release: 3 +Version: 1.0.9 +Release: 1 License: BSD Group: Libraries -Source0: https://github.com/OpenImageIO/oiio/tarball/Release-%{version}#/%{name}-%{version}.tar.gz -# Source0-md5: e939f97db2b0cac813c9e166f2353fe6 +Source0: https://github.com/OpenImageIO/oiio/tarball/Release-%{version}/%{name}-%{version}.tar.gz +# Source0-md5: fad47ccfe619c203e5395afc1ebed4e2 Patch0: %{name}-link.patch Patch2: %{name}-hdf.patch Patch3: %{name}-system-squish.patch @@ -44,6 +44,7 @@ BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: libwebp-devel +BuildRequires: openjpeg-devel BuildRequires: pugixml-devel BuildRequires: ptex-devel >= 2 BuildRequires: python-devel >= 1:2.6 @@ -290,7 +291,7 @@ Python binding for OpenImageIO library. Wiązanie Pythona do biblioteki OpenImageIO. %prep -%setup -q -n OpenImageIO-oiio-e9fa4c7 +%setup -q -n OpenImageIO-oiio-0b78dec %patch0 -p1 %patch2 -p1 %patch3 -p1 @@ -310,6 +311,7 @@ install -d build cd build %cmake ../src \ -DEMBEDPLUGINS=OFF \ + -DOPENJPEG_INCLUDE_DIR=%{_includedir}/openjpeg-1.5 \ -DINCLUDE_INSTALL_DIR=%{_includedir}/%{name} \ -DPYLIB_INSTALL_DIR=%{py_sitedir} \ -DPYTHON_VERSION=%{py_ver} \