From e62234e08d6cf2e2997927bf8f3279487e9d23a4 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Fri, 6 Jan 2006 22:32:41 +0000 Subject: [PATCH] - add the mozplugin subpackage --- totem.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/totem.spec b/totem.spec index 5f1dbf4..b596d2b 100644 --- a/totem.spec +++ b/totem.spec @@ -33,6 +33,14 @@ Totem is simple movie player for the Gnome desktop. It features a simple playlist, a full-screen mode, seek and volume controls, as well as a pretty complete keyboard navigation. +%package mozplugin +Summary: Mozilla plugin for Totem +Group: Applications/Internet + +%description mozplugin +Totem is simple movie player for the Gnome desktop. The mozilla plugin +for totem allows totem to be embeded into a web browser. + %package devel Summary: Libraries/include files for Totem. Group: Development/Libraries @@ -56,7 +64,7 @@ applications with Totem's plparser library. %build autoreconf -export MOZILLA_PLUGINDIR=%{_libdir}/mozilla/plugins +export MOZILLA_PLUGINDIR=%{_libdir}/mozilla %configure --enable-gstreamer=0.10 --disable-lirc --disable-vanity --enable-mozilla --disable-nvtv #apparently someone forgot to autogen before disting 0.99.17 :) @@ -78,6 +86,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/*.a +rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/*.la %clean rm -rf $RPM_BUILD_ROOT @@ -114,6 +124,10 @@ done %{_mandir}/man1/%{name}.1* %{_mandir}/man1/totem-video-thumbnailer.1.gz +%files mozplugin +%defattr(-, root, root) +%{_libdir}/mozilla/plugins/* + %files devel %defattr(-, root, root) %{_includedir}/%{name}/1/plparser