]> git.pld-linux.org Git - packages/amarok-script-xulremote.git/blame - amarok-script-xulremote.spec
- URL from xpi package
[packages/amarok-script-xulremote.git] / amarok-script-xulremote.spec
CommitLineData
cbfcee8f
ER
1%define scriptname xulremote
2Summary: Control amaroK from any Firefox browser on your network
3Name: amarok-script-%{scriptname}
4Version: 1.0
8bc7e730 5Release: 1
cbfcee8f
ER
6License: GPL
7Group: X11/Applications/Multimedia
8Source0: http://dl.sourceforge.net/xul-amarok/xulremote-%{version}.amarokscript.tar.gz
9# Source0-md5: 6f0ceb519bf9e91ce6785610a75680a1
11e96cbf 10URL: http://kde-apps.org/content/show.php?content=23630
cbfcee8f
ER
11BuildRequires: sed >= 4.0
12Requires: amarok > 1.3
13Requires: kdebindings-python-dcop
14Requires: python >= 2.3
15Requires: python-PyQt
8bc7e730 16Suggests: mozilla-firefox >= 1.5
cbfcee8f
ER
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%define _scriptdir %{_datadir}/apps/amarok/scripts
cbfcee8f
ER
21
22%description
23An Firefox extension to use amaroK from your network. You can control
24the player, browse your collection and manage the playlist.
25
26AmaroK XUL Remote is an amaroK script that allows you to control
27amaroK from any Firefox browser on your network.
28
8bc7e730
ER
29To install the Firefox extension, open in Firefox
30<http://amarok_host:8888>, and install the extension.
31
cbfcee8f
ER
32%prep
33%setup -q -n %{scriptname}
34%{__sed} -i -e 's,\r$,,' README
35
36%install
37rm -rf $RPM_BUILD_ROOT
38install -d $RPM_BUILD_ROOT{%{_scriptdir}/%{scriptname},%{_xuldir}}
8bc7e730 39cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
cbfcee8f
ER
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%dir %{_scriptdir}/%{scriptname}
47# README must be here in %files, not in %doc
48%{_scriptdir}/%{scriptname}/README
49%{_scriptdir}/%{scriptname}/Changelog
8bc7e730 50
cbfcee8f
ER
51%{_scriptdir}/%{scriptname}/*.spec
52%{_scriptdir}/%{scriptname}/*.ui
8bc7e730
ER
53%{_scriptdir}/%{scriptname}/*.xpi
54%{_scriptdir}/%{scriptname}/Amarok.py
55%{_scriptdir}/%{scriptname}/AmarokHTTPServer.py
56%{_scriptdir}/%{scriptname}/XULremoteConfigDialog.py
57
58# Do not mark any other file executable than the main script as amarok thinks
59# it's a plugin frontend.
60%attr(755,root,root) %{_scriptdir}/%{scriptname}/XulRemote.py
This page took 0.107285 seconds and 4 git commands to generate.