|
|
|
@ -1,17 +1,13 @@
|
|
|
|
|
%global githash1 g0b78dec
|
|
|
|
|
%global githash2 0d48631
|
|
|
|
|
%global githash3 9bf4356
|
|
|
|
|
|
|
|
|
|
Name: OpenImageIO
|
|
|
|
|
Version: 1.0.9
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 1.0.11
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Library for reading and writing images
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://sites.google.com/site/openimageio/home
|
|
|
|
|
|
|
|
|
|
Source0: https://download.github.com/%{name}-oiio-Release-%{version}-0-%{githash1}.tar.gz
|
|
|
|
|
Source0: https://github.com/%{name}/oiio/archive/oiio-Release-%{version}.tar.gz
|
|
|
|
|
# Images for test suite
|
|
|
|
|
#Source1: %{name}-oiio-images-%{githash3}.tar.gz
|
|
|
|
|
Source101: FindTBB.cmake
|
|
|
|
@ -39,7 +35,6 @@ BuildRequires: OpenColorIO-devel
|
|
|
|
|
%filter_setup
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
OpenImageIO is a library for reading and writing images, and a bunch of related
|
|
|
|
|
classes, utilities, and applications. Main features include:
|
|
|
|
@ -50,8 +45,24 @@ classes, utilities, and applications. Main features include:
|
|
|
|
|
PNM/PPM/PGM/PBM, Field3d.
|
|
|
|
|
- An ImageCache class that transparently manages a cache so that it can access
|
|
|
|
|
truly vast amounts of image data.
|
|
|
|
|
- A really nice image viewer, iv, also based on OpenImageIO classes (and so
|
|
|
|
|
will work with any formats for which plugins are available).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
|
Summary: Command line utilies for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
|
Command-line tools to minipulate and get information on images using the
|
|
|
|
|
%{name} library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package iv
|
|
|
|
|
Summary: %{name} based image viewer
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description iv
|
|
|
|
|
A really nice image viewer, iv, based on %{name} classes (and so will work with
|
|
|
|
|
any formats for which plugins are available).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
@ -64,7 +75,7 @@ Development files for package %{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-oiio-%{githash2}
|
|
|
|
|
%setup -q -n oiio-Release-%{version}
|
|
|
|
|
%patch0 -p1 -b .exttbb
|
|
|
|
|
%patch1 -p1 -b .tbbinc
|
|
|
|
|
%patch2 -p1 -b .ppc
|
|
|
|
@ -128,10 +139,18 @@ cp -a doc/*.1 %{buildroot}%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc CHANGES LICENSE
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_libdir}/libOpenImageIO.so.*
|
|
|
|
|
%{python_sitearch}/OpenImageIO.so
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
|
%exclude %{_bindir}/iv
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%exclude %{_mandir}/man1/iv.1.gz
|
|
|
|
|
%{_mandir}/man1/*.1.gz
|
|
|
|
|
|
|
|
|
|
%files iv
|
|
|
|
|
%{_bindir}/iv
|
|
|
|
|
%{_mandir}/man1/iv.1.gz
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc src/doc/*.pdf
|
|
|
|
@ -140,6 +159,12 @@ cp -a doc/*.1 %{buildroot}%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jan 23 2013 Rex Dieter <rdieter@fedoraproject.org> 1.0.11-2
|
|
|
|
|
- rebuild (libwebp)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 17 2013 Richard Shaw <hobbes1069@gmail.com> - 1.0.11-1
|
|
|
|
|
- Update to latest upstream patch release.
|
|
|
|
|
|
|
|
|
|
* Sat Sep 22 2012 Richard Shaw <hobbes1069@gmail.com> - 1.0.9-1
|
|
|
|
|
- Update to latest upstream release.
|
|
|
|
|
|
|
|
|
|