]> git.pld-linux.org Git - packages/OpenImageIO.git/blobdiff - OpenImageIO.spec
- point cmake to openjpeg headers
[packages/OpenImageIO.git] / OpenImageIO.spec
index 1b3c8bd2f022bc16009a0223e2f99d64eeebc23f..ac84576426456a31ae5f448dc4daa7b767bc1d6b 100644 (file)
@@ -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} \
This page took 0.087471 seconds and 4 git commands to generate.