SPECS: amarok-script-copycover.spec (NEW), amarok-script-lyricview...
glen
glen at pld-linux.org
Wed Aug 17 11:54:01 CEST 2005
Author: glen Date: Wed Aug 17 09:54:01 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
amarok-script-copycover.spec (NONE -> 1.1) (NEW), amarok-script-lyricviewer.spec (NONE -> 1.1) (NEW), template-amarok-script.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/amarok-script-copycover.spec
diff -u /dev/null SPECS/amarok-script-copycover.spec:1.1
--- /dev/null Wed Aug 17 11:54:01 2005
+++ SPECS/amarok-script-copycover.spec Wed Aug 17 11:53:55 2005
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+%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
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/08/17 09:53:55 glen
+- new
+
================================================================
Index: SPECS/amarok-script-lyricviewer.spec
diff -u /dev/null SPECS/amarok-script-lyricviewer.spec:1.1
--- /dev/null Wed Aug 17 11:54:01 2005
+++ SPECS/amarok-script-lyricviewer.spec Wed Aug 17 11:53:55 2005
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+%define scriptname lyricviewer
+Summary: Extended Lyric Support
+Name: amarok-script-lyricviewer
+Version: 0.2
+Release: 0.2
+Epoch: 0
+License: GPL
+Group: X11/Applications/Multimedia
+Source0: http://download.kde.org/khotnewstuff/amarokscripts/downloads/27109-%{scriptname}-%{version}.amarokscript.tar.gz
+# Source0-md5: 583def922138d183824eeae4b18ee16c
+Patch0: %{scriptname}-dcop.patch
+URL: http://www.kde-apps.org/content/show.php?content=27109
+BuildRequires: sed >= 4.0
+Requires: amarok
+Requires: html2text
+Requires: kdebase-kdialog
+Requires: kdelibs
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _scriptdir %{_datadir}/apps/amarok/scripts
+
+%description
+lyricviewer adds extended Lyric support into amarok. After fetching lyrics from
+the internet, you can view lyrics of any file that you have previously gotten
+lyrics for.
+
+This is an extension to the default of showing only the lyrics for currently
+playing song. This support viewing lyrics for multiple songs at once.
+
+%prep
+%setup -q -n %{scriptname}
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
+cp README *.sh $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG
+%dir %{_scriptdir}/%{scriptname}
+%{_scriptdir}/%{scriptname}/README
+%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.sh
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/08/17 09:53:55 glen
+- new
+
================================================================
Index: SPECS/template-amarok-script.spec
diff -u /dev/null SPECS/template-amarok-script.spec:1.1
--- /dev/null Wed Aug 17 11:54:01 2005
+++ SPECS/template-amarok-script.spec Wed Aug 17 11:53:55 2005
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%define scriptname TEMPLATE
+Summary: TEMPALTE amaroK Script
+Name: amarok-script-TEMPLATE
+Version: TEMPLATE
+Release: 0.1
+Epoch: 0
+License: GPL
+Group: X11/Applications/Multimedia
+Source0: http://download.kde.org/khotnewstuff/amarokscripts/downloads/XXX-%{scriptname}.amarokscript.tar.bz2
+# Source0-md5: -
+URL: http://www.kde-apps.org/content/show.php?content=XXXX
+#BuildRequires: sed >= 4.0
+# Please look README what package requires, including versions
+Requires: amarok
+#Requires: python >= 2.3
+#Requires: python-PyQt
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _scriptdir %{_datadir}/apps/amarok/scripts
+
+%description
+
+%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}
+# README must be here in %files, not in %doc
+%{_scriptdir}/%{scriptname}/README
+%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.py
+#%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.sh
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/08/17 09:53:55 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list