Add OpenImageIO as build requirement to build additional command line tools.
Fixes BZ#1038860.
This commit is contained in:
parent
d7bf8f2205
commit
e4417db49b
|
@ -11,7 +11,7 @@
|
|||
|
||||
Name: OpenColorIO
|
||||
Version: 1.0.9
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Enables color transforms and image display across graphics apps
|
||||
|
||||
License: BSD
|
||||
|
@ -27,7 +27,11 @@ BuildRequires: cmake28
|
|||
BuildRequires: cmake
|
||||
%endif
|
||||
BuildRequires: help2man
|
||||
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
|
||||
BuildRequires: python-devel
|
||||
|
@ -44,7 +48,7 @@ BuildRequires: tinyxml-devel
|
|||
BuildRequires: lcms2-devel
|
||||
BuildRequires: yaml-cpp-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-jinja2
|
||||
#BuildRequires: python-pygments
|
||||
|
@ -59,6 +63,14 @@ solutions, OCIO is geared towards motion-picture post production, with an
|
|||
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
|
||||
BuildArch: noarch
|
||||
Summary: API Documentation for %{name}
|
||||
|
@ -80,7 +92,6 @@ Development libraries and headers for %{name}.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .yaml3
|
||||
|
||||
# Remove what bundled libraries
|
||||
rm -f ext/lcms*
|
||||
|
@ -135,13 +146,15 @@ mv %{buildroot}%{_docdir}/%{name}/* _tmpdoc/
|
|||
|
||||
%files
|
||||
%doc ChangeLog LICENSE README
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.so.*
|
||||
%dir %{_datadir}/ocio
|
||||
%{_datadir}/ocio/setup_ocio.sh
|
||||
%{_mandir}/man1/*
|
||||
%{python_sitearch}/*.so
|
||||
|
||||
%files tools
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%files doc
|
||||
%doc _tmpdoc/*
|
||||
|
||||
|
@ -153,6 +166,10 @@ mv %{buildroot}%{_docdir}/%{name}/* _tmpdoc/
|
|||
|
||||
|
||||
%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
|
||||
- Update to latest upstream release.
|
||||
|
||||
|
|
Loading…
Reference in New Issue