]> git.pld-linux.org Git - packages/amarok-script-xulremote.git/blob - amarok-script-xulremote.spec
- tested, xul is installed from amarok host manually
[packages/amarok-script-xulremote.git] / amarok-script-xulremote.spec
1 %define         scriptname      xulremote
2 Summary:        Control amaroK from any Firefox browser on your network
3 Name:           amarok-script-%{scriptname}
4 Version:        1.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Multimedia
8 Source0:        http://dl.sourceforge.net/xul-amarok/xulremote-%{version}.amarokscript.tar.gz
9 # Source0-md5:  6f0ceb519bf9e91ce6785610a75680a1
10 URL:            http://linux.softpedia.com/get/Multimedia/Audio/amaroK-Scripts/amaroK-XUL-Remote-9555.shtml
11 BuildRequires:  sed >= 4.0
12 Requires:       amarok > 1.3
13 Requires:       kdebindings-python-dcop
14 Requires:       python >= 2.3
15 Requires:       python-PyQt
16 Suggests:       mozilla-firefox >= 1.5
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _scriptdir %{_datadir}/apps/amarok/scripts
21
22 %description
23 An Firefox extension to use amaroK from your network. You can control
24 the player, browse your collection and manage the playlist.
25
26 AmaroK XUL Remote is an amaroK script that allows you to control
27 amaroK from any Firefox browser on your network.
28
29 To install the Firefox extension, open in Firefox
30 <http://amarok_host:8888>, and install the extension.
31
32 %prep
33 %setup -q -n %{scriptname}
34 %{__sed} -i -e 's,\r$,,' README
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_scriptdir}/%{scriptname},%{_xuldir}}
39 cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
40
41 %clean
42 rm -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
50
51 %{_scriptdir}/%{scriptname}/*.spec
52 %{_scriptdir}/%{scriptname}/*.ui
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.06916 seconds and 3 git commands to generate.