]> git.pld-linux.org Git - packages/amarok-script-copycover.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 17 Aug 2005 09:53:55 +0000 (09:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amarok-script-copycover.spec -> 1.1

amarok-script-copycover.spec [new file with mode: 0644]

diff --git a/amarok-script-copycover.spec b/amarok-script-copycover.spec
new file mode 100644 (file)
index 0000000..213c1b7
--- /dev/null
@@ -0,0 +1,44 @@
+%define                scriptname      copycover
+Summary:       CopyCover amaroK Script
+Name:          amarok-script-copycover
+Version:       1.6
+Release:       0.1
+Epoch:         0
+License:       GPL
+Group:         X11/Applications/Multimedia
+Source0:       http://download.kde.org/khotnewstuff/amarokscripts/downloads/22517-%{scriptname}.amarokscript.tar.bz2
+# Source0-md5: 58ef540f1ffee891ff4119c51b6cf7c6
+URL:           http://www.kde-apps.org/content/show.php?content=22517
+BuildRequires: sed >= 4.0
+Requires:      amarok >= 1.2.3
+Requires:      python >= 2.3
+Requires:      python-PyQt
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _scriptdir %{_datadir}/apps/amarok/scripts
+
+%description
+Copy the cover of current playing track to the song's dir. Does not
+overwrite existing images in this folder. The filenames can be
+configured with the "Configure" dialog. By default, it's the album's
+name, with spaces replaced by underscores.
+
+%prep
+%setup -q -n %{scriptname}
+sed -i -e '1s,#!/usr/bin/env python,#!%{_bindir}/python,' *.py
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
+cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_scriptdir}/%{scriptname}
+%{_scriptdir}/%{scriptname}/README
+%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.py
+%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.sh
This page took 0.086795 seconds and 4 git commands to generate.