|
@@ -1,8 +1,8 @@
|
|
%global subname oiio
|
|
%global subname oiio
|
|
|
|
|
|
Name: OpenImageIO
|
|
Name: OpenImageIO
|
|
-Version: 1.4.15
|
|
+Version: 1.6.13
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
Summary: Library for reading and writing images
|
|
Summary: Library for reading and writing images
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
@@ -13,8 +13,6 @@ Source0: https://github.com/%{name}/%{subname}/archive/Release-%{version}
|
|
# Images for test suite
|
|
# Images for test suite
|
|
#Source1: oiio-images.tar.gz
|
|
#Source1: oiio-images.tar.gz
|
|
|
|
|
|
-Patch0: oiio-Release-1.4.15-sign-compare.patch
|
|
|
|
-
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: cmake
|
|
BuildRequires: txt2man
|
|
BuildRequires: txt2man
|
|
BuildRequires: qt4-devel
|
|
BuildRequires: qt4-devel
|
|
@@ -58,6 +56,14 @@ classes, utilities, and applications. Main features include:
|
|
truly vast amounts of image data.
|
|
truly vast amounts of image data.
|
|
|
|
|
|
|
|
|
|
|
|
+%package -n python-%{name}
|
|
|
|
+Summary: Python 2 bindings for %{name}
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+%description -n python-%{name}
|
|
|
|
+Python bindings for %{name}.
|
|
|
|
+
|
|
|
|
+
|
|
%package utils
|
|
%package utils
|
|
Summary: Command line utilities for %{name}
|
|
Summary: Command line utilities for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
@@ -87,7 +93,6 @@ Development files for package %{name}
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n oiio-Release-%{version}
|
|
%setup -q -n oiio-Release-%{version}
|
|
-%patch0 -p1
|
|
|
|
|
|
|
|
# Remove bundled pugixml
|
|
# Remove bundled pugixml
|
|
rm -f src/include/pugixml.hpp \
|
|
rm -f src/include/pugixml.hpp \
|
|
@@ -111,6 +116,7 @@ rm -rf build/linux && mkdir -p build/linux && pushd build/linux
|
|
-DINCLUDE_INSTALL_DIR:PATH=/usr/include/%{name} \
|
|
-DINCLUDE_INSTALL_DIR:PATH=/usr/include/%{name} \
|
|
-DPYLIB_INSTALL_DIR:PATH=%{python_sitearch} \
|
|
-DPYLIB_INSTALL_DIR:PATH=%{python_sitearch} \
|
|
-DINSTALL_DOCS:BOOL=FALSE \
|
|
-DINSTALL_DOCS:BOOL=FALSE \
|
|
|
|
+ -DINSTALL_FONTS:BOOL=FALSE \
|
|
-DUSE_EXTERNAL_PUGIXML:BOOL=TRUE \
|
|
-DUSE_EXTERNAL_PUGIXML:BOOL=TRUE \
|
|
-DUSE_TBB:BOOL=FALSE \
|
|
-DUSE_TBB:BOOL=FALSE \
|
|
%ifarch ppc ppc64
|
|
%ifarch ppc ppc64
|
|
@@ -140,6 +146,8 @@ cp -a src/doc/*.1 %{buildroot}%{_mandir}/man1
|
|
%doc CHANGES LICENSE
|
|
%doc CHANGES LICENSE
|
|
%{_libdir}/libOpenImageIO.so.*
|
|
%{_libdir}/libOpenImageIO.so.*
|
|
%{_libdir}/libOpenImageIO_Util.so.*
|
|
%{_libdir}/libOpenImageIO_Util.so.*
|
|
|
|
+
|
|
|
|
+%files -n python-%{name}
|
|
%{python_sitearch}/OpenImageIO.so
|
|
%{python_sitearch}/OpenImageIO.so
|
|
|
|
|
|
%files utils
|
|
%files utils
|
|
@@ -160,6 +168,11 @@ cp -a src/doc/*.1 %{buildroot}%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri May 06 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.13-1
|
|
|
|
+- new upstream release
|
|
|
|
+- remove Patch0
|
|
|
|
+- create python-%%{name} subpackage
|
|
|
|
+
|
|
* Thu Oct 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.15-2
|
|
* Thu Oct 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.15-2
|
|
- rebuild with glew-1.13.0
|
|
- rebuild with glew-1.13.0
|
|
|
|
|