]> git.pld-linux.org Git - packages/amarok-script-wiki_lyrics.git/commitdiff
- new, also known as lyriki-lyrics
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 22 Jan 2007 17:12:06 +0000 (17:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amarok-script-wiki_lyrics.spec -> 1.1

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

diff --git a/amarok-script-wiki_lyrics.spec b/amarok-script-wiki_lyrics.spec
new file mode 100644 (file)
index 0000000..1612361
--- /dev/null
@@ -0,0 +1,65 @@
+# 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
This page took 0.094741 seconds and 4 git commands to generate.