]> git.pld-linux.org Git - packages/amarok-script-xulremote.git/blob - amarok-script-xulremote.spec
- pl
[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 Summary(pl.UTF-8):      Sterowanie amaroKiem z dowolnej przeglądarki Firefox w sieci
4 Name:           amarok-script-%{scriptname}
5 Version:        1.0
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Multimedia
9 Source0:        http://dl.sourceforge.net/xul-amarok/xulremote-%{version}.amarokscript.tar.gz
10 # Source0-md5:  6f0ceb519bf9e91ce6785610a75680a1
11 URL:            http://kde-apps.org/content/show.php?content=23630
12 BuildRequires:  sed >= 4.0
13 Requires:       amarok > 1.3
14 Requires:       kdebindings-python-dcop
15 Requires:       python >= 2.3
16 Requires:       python-PyQt
17 Suggests:       mozilla-firefox >= 1.5
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _scriptdir %{_datadir}/apps/amarok/scripts
22
23 %description
24 An Firefox extension to use amaroK from your network. You can control
25 the player, browse your collection and manage the playlist.
26
27 AmaroK XUL Remote is an amaroK script that allows you to control
28 amaroK from any Firefox browser on your network.
29
30 To install the Firefox extension, open in Firefox
31 <http://amarok_host:8888/>, and install the extension.
32
33 %description -l pl.UTF-8
34 Rozszerzenie Firefoksa do używania amaroKa z sieci. Pozwala sterować
35 odtwarzaczem, przeglądać kolekcję muzyki i zarządzać listą
36 odtwarzania.
37
38 AmaroK XUL Remote to skrypt amaroKa pozwalający na sterowanie
39 amaroKiem z dowolnej przeglądarki Firefox w sieci.
40
41 Aby zainstalować rozszerzenie Firefoksa, należy otworzyć w Firefoksie
42 adres <http://host_z_amarokiem:8888/> i zainstalować rozszerzenie.
43
44 %prep
45 %setup -q -n %{scriptname}
46 %{__sed} -i -e 's,\r$,,' README
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_scriptdir}/%{scriptname},%{_xuldir}}
51 cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %dir %{_scriptdir}/%{scriptname}
59 # README must be here in %files, not in %doc
60 %{_scriptdir}/%{scriptname}/README
61 %{_scriptdir}/%{scriptname}/Changelog
62
63 %{_scriptdir}/%{scriptname}/*.spec
64 %{_scriptdir}/%{scriptname}/*.ui
65 %{_scriptdir}/%{scriptname}/*.xpi
66 %{_scriptdir}/%{scriptname}/Amarok.py
67 %{_scriptdir}/%{scriptname}/AmarokHTTPServer.py
68 %{_scriptdir}/%{scriptname}/XULremoteConfigDialog.py
69
70 # Do not mark any other file executable than the main script as amarok thinks
71 # it's a plugin frontend.
72 %attr(755,root,root) %{_scriptdir}/%{scriptname}/XulRemote.py
This page took 0.07103 seconds and 4 git commands to generate.