Update to latest upstream release.

- Move python bindings to their own subpackage.
This commit is contained in:
Richard M. Shaw 2015-12-02 12:47:03 -06:00
parent b9f52c958c
commit b9ab72ae78

View File

@ -56,6 +56,14 @@ classes, utilities, and applications. Main features include:
truly vast amounts of image data.
%package -n python-%{name}
Summary: Python 2 bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n python-%{name}
Python bindings for %{name}.
%package utils
Summary: Command line utilities for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -137,14 +145,13 @@ cp -a src/doc/*.1 %{buildroot}%{_mandir}/man1
%files
%if 0%{?rhel} || 0%{?fedora} < 21
%doc LICENSE
%else
%{!?_licensedir:%global license %doc}
%license LICENSE
%endif
%doc CHANGES
%{_libdir}/libOpenImageIO.so.*
%{_libdir}/libOpenImageIO_Util.so.*
%files -n python-%{name}
%{python_sitearch}/OpenImageIO.so
%files utils
@ -167,6 +174,7 @@ cp -a src/doc/*.1 %{buildroot}%{_mandir}/man1
%changelog
* Wed Dec 2 2015 Richard Shaw <hobbes1069@gmail.com> - 1.5.21-1
- Update to latest upstream release.
- Move python bindings to their own subpackage.
* Thu Oct 22 2015 Richard Shaw <hobbes1069@gmail.com> - 1.5.20-2
- Rebuild for updated pugixml.