SPECS: amarok-script-xulremote.spec - tested, xul is installed fro...
glen
glen at pld-linux.org
Wed Nov 14 10:14:13 CET 2007
Author: glen Date: Wed Nov 14 09:14:13 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- tested, xul is installed from amarok host manually
---- Files affected:
SPECS:
amarok-script-xulremote.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/amarok-script-xulremote.spec
diff -u SPECS/amarok-script-xulremote.spec:1.1 SPECS/amarok-script-xulremote.spec:1.2
--- SPECS/amarok-script-xulremote.spec:1.1 Wed Nov 14 09:58:27 2007
+++ SPECS/amarok-script-xulremote.spec Wed Nov 14 10:14:08 2007
@@ -3,7 +3,7 @@
Summary: Control amaroK from any Firefox browser on your network
Name: amarok-script-%{scriptname}
Version: 1.0
-Release: 0.1
+Release: 1
License: GPL
Group: X11/Applications/Multimedia
Source0: http://dl.sourceforge.net/xul-amarok/xulremote-%{version}.amarokscript.tar.gz
@@ -14,13 +14,11 @@
Requires: kdebindings-python-dcop
Requires: python >= 2.3
Requires: python-PyQt
-# Requires: Firefox deer park (tested 1.5 beta1)
+Suggests: mozilla-firefox >= 1.5
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _scriptdir %{_datadir}/apps/amarok/scripts
-#%define _xuldir %{_datadir}/xulrunner
-%define _xuldir %{_scriptdir}/%{scriptname}/xul
%description
An Firefox extension to use amaroK from your network. You can control
@@ -29,6 +27,9 @@
AmaroK XUL Remote is an amaroK script that allows you to control
amaroK from any Firefox browser on your network.
+To install the Firefox extension, open in Firefox
+<http://amarok_host:8888>, and install the extension.
+
%prep
%setup -q -n %{scriptname}
%{__sed} -i -e 's,\r$,,' README
@@ -36,9 +37,7 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_scriptdir}/%{scriptname},%{_xuldir}}
-cp -a *.py *.ui XulRemote.spec $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
-cp -a README Changelog $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
-cp -a xul-amarok.xpi $RPM_BUILD_ROOT%{_xuldir}
+cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -49,12 +48,17 @@
# README must be here in %files, not in %doc
%{_scriptdir}/%{scriptname}/README
%{_scriptdir}/%{scriptname}/Changelog
+
%{_scriptdir}/%{scriptname}/*.spec
%{_scriptdir}/%{scriptname}/*.ui
-%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.py
-#%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.sh
-
-%{_xuldir}
+%{_scriptdir}/%{scriptname}/*.xpi
+%{_scriptdir}/%{scriptname}/Amarok.py
+%{_scriptdir}/%{scriptname}/AmarokHTTPServer.py
+%{_scriptdir}/%{scriptname}/XULremoteConfigDialog.py
+
+# Do not mark any other file executable than the main script as amarok thinks
+# it's a plugin frontend.
+%attr(755,root,root) %{_scriptdir}/%{scriptname}/XulRemote.py
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -62,6 +66,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2007-11-14 09:14:08 glen
+- tested, xul is installed from amarok host manually
+
Revision 1.1 2007-11-14 08:58:27 glen
- new
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/amarok-script-xulremote.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list