SPECS: amarok-script-wiki_lyrics.spec (NEW) - new, also known as l...

glen glen at pld-linux.org
Mon Jan 22 18:12:11 CET 2007


Author: glen                         Date: Mon Jan 22 17:12:11 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, also known as lyriki-lyrics

---- Files affected:
SPECS:
   amarok-script-wiki_lyrics.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/amarok-script-wiki_lyrics.spec
diff -u /dev/null SPECS/amarok-script-wiki_lyrics.spec:1.1
--- /dev/null	Mon Jan 22 18:12:11 2007
+++ SPECS/amarok-script-wiki_lyrics.spec	Mon Jan 22 18:12:06 2007
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+# NOTE
+# - could use QtRuby, Ruby/GTK or Ruby/Tk, but as only -tk was available on AC,
+#   used that dependency.
+%define		scriptname	wiki_lyrics
+Summary:	A collection of lyrics scripts for amaroK
+Name:		amarok-script-wiki_lyrics
+Version:	0.9.1
+Release:	0.1
+License:	GPL
+Group:		X11/Applications/Multimedia
+Source0:	http://kde-apps.org/content/files/35151-%{scriptname}-%{version}.amarokscript.tar.bz2
+# Source0-md5:	36ab13187af3c171b359d0e5756ff611
+URL:		http://kde-apps.org/content/show.php?content=35151
+BuildRequires:	sed >= 4.0
+Requires:	amarok >= 1.4
+Requires:	ruby-modules >= 1.8
+Requires:	ruby-tk
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_scriptdir %{_datadir}/apps/amarok/scripts
+
+%description
+A collection of lyrics scripts to interface with various sites and,
+optionally, submit content to Lyriki.com or LyricWiki.org (wikis for
+lyrics). All of these scripts can query the other ones when they can't
+provide the lyrics for a song.
+
+Supported sites:
+- Lyriki (www.lyriki.com)
+- LyricWiki (www.lyricwiki.org)
+- AZ Lyrics (www.azlyrics.com)
+- Jamendo (www.jamendo.com)
+- Leos Lyrics (www.leoslyrics.com)
+- Lyrc (lyrc.com.ar)
+- Not Popular (www.notpopular.com)
+- Sing365 (www.sing365.com)
+- Terra Letras (letras.terra.com.br)
+
+%prep
+%setup -q -n %{scriptname}
+rm -f *.bat
+rm -f *.kdev*
+
+%{__sed} -i -e '1s,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' *.rb
+
+mkdir pkg
+mv README *.spec *.rb pkg
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
+cp -a pkg/* $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog TODO
+%dir %{_scriptdir}/%{scriptname}
+# README must be here in %files, not in %doc
+%{_scriptdir}/%{scriptname}/README
+%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.rb
+%{_scriptdir}/%{scriptname}/*.spec
+
+%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  2007/01/22 17:12:06  glen
+- new, also known as lyriki-lyrics
+
================================================================


More information about the pld-cvs-commit mailing list