SPECS: browser-plugin-swfdec.spec - builds now
wrobell
wrobell at pld-linux.org
Thu Mar 22 00:46:06 CET 2007
Author: wrobell Date: Wed Mar 21 23:46:06 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- builds now
---- Files affected:
SPECS:
browser-plugin-swfdec.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/browser-plugin-swfdec.spec
diff -u SPECS/browser-plugin-swfdec.spec:1.2 SPECS/browser-plugin-swfdec.spec:1.3
--- SPECS/browser-plugin-swfdec.spec:1.2 Wed Mar 21 17:12:34 2007
+++ SPECS/browser-plugin-swfdec.spec Thu Mar 22 00:46:00 2007
@@ -2,7 +2,7 @@
# TODO
# - browser plugins v2 (see template-browser-plugin.spec)
%define _realname swfdec-mozilla
-%define _pluginname kaffeineplugin
+%define _pluginname libswfdecmozilla
Summary: Flash player for webbrowsers
Summary(pl.UTF-8): Odtwarzacz plików w formacie Flash dla przeglądarek internetowych
Name: browser-plugin-swfdec
@@ -12,6 +12,7 @@
Group: X11/Applications/Multimedia
Source0: http://swfdec.freedesktop.org/download/swfdec-mozilla/0.4/%{_realname}-%{version}.tar.gz
# Source0-md5: 55de4eb6d2b7820c56eac3520c8f1734
+Patch0: %{name}-xulrunner.patch
URL: http://swfdec.freedesktop.org/wiki/
BuildRequires: swfdec-devel >= 0.4.2
BuildRequires: rpmbuild(macros) >= 1.236
@@ -22,7 +23,7 @@
%define _plugindir %{_libdir}/browser-plugins
# use macro, otherwise extra LF inserted along with the ifarch
-%define browsers mozilla, mozilla-firefox, mozilla-firefox-bin, konqueror, opera, seamonkey
+%define browsers xulrunner, mozilla, mozilla-firefox, mozilla-firefox-bin, konqueror, opera, seamonkey
%description
This package delivers a video/audio player plugin for web browsers.
@@ -37,12 +38,15 @@
%prep
%setup -q -n %{_realname}-%{version}
+%patch0 -p1
%build
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
%{__automake}
+CPPFLAGS="-I%{_includedir}/xulrunner"
+export CPPFLAGS
%configure \
--disable-static \
--prefix=%{_plugindir}
@@ -50,13 +54,20 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_plugindir}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+mv $RPM_BUILD_ROOT%{_libdir}/xulrunner/plugins/*.so $RPM_BUILD_ROOT%{_plugindir}
+rm -rf $RPM_BUILD_ROOT%{_libdir}/xulrunner
+
%clean
rm -rf $RPM_BUILD_ROOT
+%triggerin -- xulrunner
+%nsplugin_install -d %{_libdir}/xulrunner/plugins %{_pluginname}.so
+
%triggerin -- mozilla-firefox
%nsplugin_install -d %{_libdir}/mozilla-firefox/plugins %{_pluginname}.so
@@ -104,6 +115,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2007/03/21 23:46:00 wrobell
+- builds now
+
Revision 1.2 2007/03/21 16:12:34 glen
- todo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/browser-plugin-swfdec.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list