SPECS: totem.spec - added mozilla-firefox-plugin-totem subpackage, ...
aflinta
aflinta at pld-linux.org
Sat Sep 10 21:46:27 CEST 2005
Author: aflinta Date: Sat Sep 10 19:46:27 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added mozilla-firefox-plugin-totem subpackage, updated TODO, rel 3.1
---- Files affected:
SPECS:
totem.spec (1.64 -> 1.65)
---- Diffs:
================================================================
Index: SPECS/totem.spec
diff -u SPECS/totem.spec:1.64 SPECS/totem.spec:1.65
--- SPECS/totem.spec:1.64 Sat Sep 10 01:13:32 2005
+++ SPECS/totem.spec Sat Sep 10 21:46:22 2005
@@ -1,7 +1,7 @@
# $Revision$, $Date$
#
-# todo:
-# - mozilla plugin
+# TODO:
+# - Make choice to build plugin with firefox or mozilla or none?
#
# Conditional build
%bcond_with gstreamer # build with gstreamer instead xine-lib
@@ -16,12 +16,13 @@
Summary(pl): Odtwarzacz filmów dla GNOME 2 oparty na silniku gstreamer
Name: totem
Version: 1.2.0
-Release: 3
+Release: 3.1
License: GPL
Group: Applications/Multimedia
Source0: http://ftp.gnome.org/pub/gnome/sources/totem/1.2/%{name}-%{version}.tar.bz2
# Source0-md5: e07aded62a929779a4cd28c16fdb2efd
Patch0: %{name}-desktop.patch
+Patch1: %{name}-idl.patch
URL: http://www.hadess.net/totem.php3
BuildRequires: GConf2-devel
BuildRequires: autoconf
@@ -41,6 +42,7 @@
BuildRequires: libmusicbrainz-devel
BuildRequires: libtool
%{?with_nvtv:BuildRequires: libnvtvsimple-devel >= 0.4.5}
+BuildRequires: mozilla-firefox-devel
BuildRequires: nautilus-cd-burner-devel >= 2.12.0
BuildRequires: nautilus-devel >= 2.12.0
BuildRequires: pkgconfig
@@ -124,9 +126,23 @@
%description static -l pl
Statyczne biblioteki Totema.
+%package -n mozilla-firefox-plugin-totem
+Summary: Totem's plugin for Mozilla Firefox
+Summary(pl): Wtyczka Totema dla Mozilla Firefox
+Group: Libraries
+Requires: mozilla-firefox
+Requires: %{name} = %{version}-%{release}
+
+%description -n mozilla-firefox-plugin-totem
+Totem's plugin for Mozilla Firefox.
+
+%description -n mozilla-firefox-plugin-totem -l pl
+Wtyczka Totema dla Mozilla Firefox.
+
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
@@ -134,7 +150,7 @@
%{__autoconf}
%{__automake}
%configure \
- --disable-mozilla \
+ --enable-mozilla \
%{?with_nvtv:--enable-nvtv} \
%{?with_gstreamer:--enable-gstreamer}
@@ -147,6 +163,7 @@
DESTDIR=$RPM_BUILD_ROOT \
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla-firefox/plugins/*.{la,a}
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.{la,a}
rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
@@ -190,7 +207,7 @@
%files libs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libtotem-plparser.so.*.*.*
-%attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so.*
+%attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so
%files devel
%defattr(644,root,root,755)
@@ -203,12 +220,21 @@
%defattr(644,root,root,755)
%{_libdir}/libtotem-plparser.a
+%files -n mozilla-firefox-plugin-totem
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/totem-mozilla-viewer
+%attr(755,root,root) %{_libdir}/mozilla-firefox/plugins/*.so
+%{_libdir}/mozilla-firefox/plugins/*.xpt
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.65 2005/09/10 19:46:22 aflinta
+- added mozilla-firefox-plugin-totem subpackage, updated TODO, rel 3.1
+
Revision 1.64 2005/09/09 23:13:32 freetz
- disable nvtv on not supported archs, rel.3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/totem.spec?r1=1.64&r2=1.65&f=u
More information about the pld-cvs-commit
mailing list