From 3a3f606ba2d88d1e27c07c13b59ff39af96e51b7 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 6 May 2013 10:48:16 -0400 Subject: [PATCH] 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 --- frei0r-plugins.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/frei0r-plugins.spec b/frei0r-plugins.spec index 9e37205..908bdcf 100644 --- a/frei0r-plugins.spec +++ b/frei0r-plugins.spec @@ -1,13 +1,12 @@ Name: frei0r-plugins Version: 1.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Frei0r - a minimalist plugin API for video effects Group: System Environment/Libraries License: GPLv2+ URL: http://www.piksel.org/frei0r 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: 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 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 Summary: Development files for %{name} Group: Development/Libraries @@ -53,14 +60,24 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc AUTHORS COPYING README TODO %dir %{_libdir}/frei0r-1 +%exclude %{_libdir}/frei0r-1/facebl0r.so +%exclude %{_libdir}/frei0r-1/facedetect.so %{_libdir}/frei0r-1/*.so +%files opencv +%defattr(-,root,root,-) +%{_libdir}/frei0r-1/facebl0r.so +%{_libdir}/frei0r-1/facedetect.so + %files -n frei0r-devel %defattr(-,root,root,-) %{_includedir}/frei0r.h %{_libdir}/pkgconfig/frei0r.pc %changelog +* Mon May 06 2013 Adam Jackson 1.3-10 +- Move OpenCV plugins to a subpackage + * Wed Feb 13 2013 Fedora Release Engineering - 1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild