]> git.pld-linux.org Git - packages/amarok-script-copycover.git/blame - amarok-script-copycover.spec
- tabs in preamble
[packages/amarok-script-copycover.git] / amarok-script-copycover.spec
CommitLineData
7088fd5b
ER
1%define scriptname copycover
2Summary: CopyCover amaroK Script
e6c5c4f6 3Summary(pl.UTF-8): Skrypt CopyCover dla amaroKa
7088fd5b
ER
4Name: amarok-script-copycover
5Version: 1.6
6Release: 0.1
7Epoch: 0
8License: GPL
9Group: X11/Applications/Multimedia
10Source0: http://download.kde.org/khotnewstuff/amarokscripts/downloads/22517-%{scriptname}.amarokscript.tar.bz2
11# Source0-md5: 58ef540f1ffee891ff4119c51b6cf7c6
12URL: http://www.kde-apps.org/content/show.php?content=22517
13BuildRequires: sed >= 4.0
14Requires: amarok >= 1.2.3
15Requires: python >= 2.3
16Requires: python-PyQt
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%define _scriptdir %{_datadir}/apps/amarok/scripts
21
22%description
23Copy the cover of current playing track to the song's dir. Does not
24overwrite existing images in this folder. The filenames can be
25configured with the "Configure" dialog. By default, it's the album's
26name, with spaces replaced by underscores.
27
c581f97d
JR
28%description -l pl.UTF-8
29Skrypt kopiujący okładkę aktualnie odtwarzanej ścieżki do katalogu z
30utworem. Nie nadpisuje istniejących obrazków w folderze. Nazwy plików
31mogą być konfigurowane w oknie dialogowym "Configure". Domyślnie jest
32to nazwa albumu ze spacjami zamienionymi na podkreślenia.
8ba502e0 33
7088fd5b
ER
34%prep
35%setup -q -n %{scriptname}
36sed -i -e '1s,#!/usr/bin/env python,#!%{_bindir}/python,' *.py
37
38%install
39rm -rf $RPM_BUILD_ROOT
40install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
41cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%dir %{_scriptdir}/%{scriptname}
49%{_scriptdir}/%{scriptname}/README
50%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.py
51%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.sh
This page took 0.058669 seconds and 4 git commands to generate.