Add OpenImageIO as build requirement to build additional command line tools.

Fixes BZ#1038860.
This commit is contained in:
Richard M. Shaw 2014-01-13 14:54:16 -06:00
parent 0e4683a0ca
commit abf66a8dcf
1 changed files with 24 additions and 5 deletions

View File

@ -11,13 +11,13 @@
Name: OpenColorIO Name: OpenColorIO
Version: 1.0.9 Version: 1.0.9
Release: 1%{?dist} Release: 2%{?dist}
Summary: Enables color transforms and image display across graphics apps Summary: Enables color transforms and image display across graphics apps
License: BSD License: BSD
URL: http://opencolorio.org/ URL: http://opencolorio.org/
# Github archive was generated on the fly using the following URL: # Github archive was generated on the fly using the following URL:
# https://github.com/imageworks/OpenColorIO/tarball/v1.0.8 # https://github.com/imageworks/OpenColorIO/tarball/v1.0.9
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
Patch0: OpenColorIO-yaml_cpp3.patch Patch0: OpenColorIO-yaml_cpp3.patch
@ -30,6 +30,11 @@ BuildRequires: cmake
BuildRequires: help2man BuildRequires: help2man
BuildRequires: python-markupsafe BuildRequires: python-markupsafe
# WARNING: OpenColorIO and OpenImageIO are cross dependent.
# If an ABI incompatible update is done in one, the other also needs to be
# rebuilt.
BuildRequires: OpenImageIO-devel
# Libraries # Libraries
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: mesa-libGL-devel mesa-libGLU-devel BuildRequires: mesa-libGL-devel mesa-libGLU-devel
@ -45,7 +50,7 @@ BuildRequires: tinyxml-devel
BuildRequires: lcms2-devel BuildRequires: lcms2-devel
BuildRequires: yaml-cpp03-devel >= 0.3.0 BuildRequires: yaml-cpp03-devel >= 0.3.0
# The following bundled projects are only used for document generation. # The following bundled projects are only used for document generation.
#BuildRequires: python-docutils #BuildRequires: python-docutils
#BuildRequires: python-jinja2 #BuildRequires: python-jinja2
#BuildRequires: python-pygments #BuildRequires: python-pygments
@ -60,6 +65,14 @@ solutions, OCIO is geared towards motion-picture post production, with an
emphasis on visual effects and animation color pipelines. emphasis on visual effects and animation color pipelines.
%package tools
Summary: Command line tools for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tools
Command line tools for %{name}.
%package doc %package doc
BuildArch: noarch BuildArch: noarch
Summary: API Documentation for %{name} Summary: API Documentation for %{name}
@ -136,13 +149,15 @@ mv %{buildroot}%{_docdir}/%{name}/* _tmpdoc/
%files %files
%doc ChangeLog LICENSE README %doc ChangeLog LICENSE README
%{_bindir}/*
%{_libdir}/*.so.* %{_libdir}/*.so.*
%dir %{_datadir}/ocio %dir %{_datadir}/ocio
%{_datadir}/ocio/setup_ocio.sh %{_datadir}/ocio/setup_ocio.sh
%{_mandir}/man1/*
%{python_sitearch}/*.so %{python_sitearch}/*.so
%files tools
%{_bindir}/*
%{_mandir}/man1/*
%files doc %files doc
%doc _tmpdoc/* %doc _tmpdoc/*
@ -154,6 +169,10 @@ mv %{buildroot}%{_docdir}/%{name}/* _tmpdoc/
%changelog %changelog
* Mon Jan 13 2014 Richard Shaw <hobbes1069@gmail.com> - 1.0.9-2
- Add OpenImageIO as build requirement to build additional command line tools.
Fixes BZ#1038860.
* Wed Nov 6 2013 Richard Shaw <hobbes1069@gmail.com> - 1.0.9-1 * Wed Nov 6 2013 Richard Shaw <hobbes1069@gmail.com> - 1.0.9-1
- Update to latest upstream release. - Update to latest upstream release.