]> git.pld-linux.org Git - packages/amarok-script-xulremote.git/blame - amarok-script-xulremote.spec
- new
[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
5Release: 0.1
6License: GPL
7Group: X11/Applications/Multimedia
8Source0: http://dl.sourceforge.net/xul-amarok/xulremote-%{version}.amarokscript.tar.gz
9# Source0-md5: 6f0ceb519bf9e91ce6785610a75680a1
10URL: http://linux.softpedia.com/get/Multimedia/Audio/amaroK-Scripts/amaroK-XUL-Remote-9555.shtml
11BuildRequires: sed >= 4.0
12Requires: amarok > 1.3
13Requires: kdebindings-python-dcop
14Requires: python >= 2.3
15Requires: python-PyQt
16# Requires: Firefox deer park (tested 1.5 beta1)
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%define _scriptdir %{_datadir}/apps/amarok/scripts
21#%define _xuldir %{_datadir}/xulrunner
22%define _xuldir %{_scriptdir}/%{scriptname}/xul
23
24%description
25An Firefox extension to use amaroK from your network. You can control
26the player, browse your collection and manage the playlist.
27
28AmaroK XUL Remote is an amaroK script that allows you to control
29amaroK from any Firefox browser on your network.
30
31%prep
32%setup -q -n %{scriptname}
33%{__sed} -i -e 's,\r$,,' README
34
35%install
36rm -rf $RPM_BUILD_ROOT
37install -d $RPM_BUILD_ROOT{%{_scriptdir}/%{scriptname},%{_xuldir}}
38cp -a *.py *.ui XulRemote.spec $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
39cp -a README Changelog $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
40cp -a xul-amarok.xpi $RPM_BUILD_ROOT%{_xuldir}
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%dir %{_scriptdir}/%{scriptname}
48# README must be here in %files, not in %doc
49%{_scriptdir}/%{scriptname}/README
50%{_scriptdir}/%{scriptname}/Changelog
51%{_scriptdir}/%{scriptname}/*.spec
52%{_scriptdir}/%{scriptname}/*.ui
53%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.py
54#%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.sh
55
56%{_xuldir}
This page took 0.066641 seconds and 4 git commands to generate.