frei0r-plugins: Move OpenCV plugins to a subpackage

For the F19 live DVD we have cheese -> gnome-video-effects
->frei0r-plugins -> opencv, the last being 31M on disk (20 of which,
appallingly, is XML).  opencv is only used for the face-detection
plugins in frei0r.  The only other consumer of frei0r-plugins in the OS
is pitivi, and neither it nor g-v-e uses the face-detection plugins.

Move them to a subpackage to break the dep chain.

Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2013-05-06 10:48:16 -04:00
parent 80c1fb03de
commit 3a3f606ba2

View File

@ -1,13 +1,12 @@
Name: frei0r-plugins Name: frei0r-plugins
Version: 1.3 Version: 1.3
Release: 9%{?dist} Release: 10%{?dist}
Summary: Frei0r - a minimalist plugin API for video effects Summary: Frei0r - a minimalist plugin API for video effects
Group: System Environment/Libraries Group: System Environment/Libraries
License: GPLv2+ License: GPLv2+
URL: http://www.piksel.org/frei0r URL: http://www.piksel.org/frei0r
Source0: http://propirate.net/frei0r/frei0r-plugins-%{version}.tar.gz Source0: http://propirate.net/frei0r/frei0r-plugins-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gavl-devel >= 0.2.3 BuildRequires: gavl-devel >= 0.2.3
BuildRequires: opencv-devel >= 1.0.0 BuildRequires: opencv-devel >= 1.0.0
@ -18,6 +17,14 @@ It is a minimalist plugin API for video sources and filters. The behavior of
the effects can be controlled from the host by simple parameters. The intent is the effects can be controlled from the host by simple parameters. The intent is
to solve the recurring re-implementation or adaptation issue of standard effect to solve the recurring re-implementation or adaptation issue of standard effect
%package opencv
Summary: Frei0r plugins using OpenCV
Group: System Environment/License
Requires: %{name} = %{version}-%{release}
%description opencv
Frei0r plugins that use the OpenCV computer vision framework.
%package -n frei0r-devel %package -n frei0r-devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
@ -53,14 +60,24 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING README TODO %doc AUTHORS COPYING README TODO
%dir %{_libdir}/frei0r-1 %dir %{_libdir}/frei0r-1
%exclude %{_libdir}/frei0r-1/facebl0r.so
%exclude %{_libdir}/frei0r-1/facedetect.so
%{_libdir}/frei0r-1/*.so %{_libdir}/frei0r-1/*.so
%files opencv
%defattr(-,root,root,-)
%{_libdir}/frei0r-1/facebl0r.so
%{_libdir}/frei0r-1/facedetect.so
%files -n frei0r-devel %files -n frei0r-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/frei0r.h %{_includedir}/frei0r.h
%{_libdir}/pkgconfig/frei0r.pc %{_libdir}/pkgconfig/frei0r.pc
%changelog %changelog
* Mon May 06 2013 Adam Jackson <ajax@redhat.com> 1.3-10
- Move OpenCV plugins to a subpackage
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild