2 # - could use QtRuby, Ruby/GTK or Ruby/Tk, but as only -tk was available on AC,
3 # used that dependency.
4 %define scriptname wiki_lyrics
5 Summary: A collection of lyrics scripts for amaroK
6 Summary(pl): Zestaw skryptów do tekstów utworów dla amaroKa
7 Name: amarok-script-wiki_lyrics
11 Group: X11/Applications/Multimedia
12 Source0: http://kde-apps.org/content/files/35151-%{scriptname}-%{version}.amarokscript.tar.bz2
13 # Source0-md5: 36ab13187af3c171b359d0e5756ff611
14 URL: http://www.lyriki.com/
15 BuildRequires: sed >= 4.0
16 Requires: amarok >= 1.4
17 Requires: ruby-modules >= 1.8
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _scriptdir %{_datadir}/apps/amarok/scripts
25 A collection of lyrics scripts to interface with various sites and,
26 optionally, submit content to Lyriki.com or LyricWiki.org (wikis for
27 lyrics). All of these scripts can query the other ones when they can't
28 provide the lyrics for a song.
31 - Lyriki (www.lyriki.com)
32 - LyricWiki (www.lyricwiki.org)
33 - AZ Lyrics (www.azlyrics.com)
34 - Jamendo (www.jamendo.com)
35 - Leos Lyrics (www.leoslyrics.com)
37 - Not Popular (www.notpopular.com)
38 - Sing365 (www.sing365.com)
39 - Terra Letras (letras.terra.com.br)
42 Zestaw wspó³pracuj±cych z ró¿nymi serwisami skryptów do pobierania
43 tekstów utworów i opcjonalnie umieszczania tre¶ci na Lyriki.com lub
44 LyricWiki.org (wiki dla tekstów utworów). Wszystkie te skrypty mog±
45 odpytywaæ inne je¶li nie znajd± tekstu piosenki.
48 - Lyriki (www.lyriki.com)
49 - LyricWiki (www.lyricwiki.org)
50 - AZ Lyrics (www.azlyrics.com)
51 - Jamendo (www.jamendo.com)
52 - Leos Lyrics (www.leoslyrics.com)
54 - Not Popular (www.notpopular.com)
55 - Sing365 (www.sing365.com)
56 - Terra Letras (letras.terra.com.br)
59 %setup -q -n %{scriptname}
63 %{__sed} -i -e '1s,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' *.rb
66 mv README *.spec *.rb pkg
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
71 cp -a pkg/* $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
79 %dir %{_scriptdir}/%{scriptname}
80 # README must be here in %files, not in %doc
81 %{_scriptdir}/%{scriptname}/README
82 %attr(755,root,root) %{_scriptdir}/%{scriptname}/*.rb
83 %{_scriptdir}/%{scriptname}/*.spec