]> git.pld-linux.org Git - packages/amarok-script-wiki_lyrics.git/blame - amarok-script-wiki_lyrics.spec
- update URL
[packages/amarok-script-wiki_lyrics.git] / amarok-script-wiki_lyrics.spec
CommitLineData
0d35f347
ER
1# NOTE
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
5Summary: A collection of lyrics scripts for amaroK
6Name: amarok-script-wiki_lyrics
7Version: 0.9.1
8Release: 0.1
9License: GPL
10Group: X11/Applications/Multimedia
11Source0: http://kde-apps.org/content/files/35151-%{scriptname}-%{version}.amarokscript.tar.bz2
12# Source0-md5: 36ab13187af3c171b359d0e5756ff611
ef734215 13URL: http://www.lyriki.com/
0d35f347
ER
14BuildRequires: sed >= 4.0
15Requires: amarok >= 1.4
16Requires: ruby-modules >= 1.8
17Requires: ruby-tk
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%define _scriptdir %{_datadir}/apps/amarok/scripts
22
23%description
24A collection of lyrics scripts to interface with various sites and,
25optionally, submit content to Lyriki.com or LyricWiki.org (wikis for
26lyrics). All of these scripts can query the other ones when they can't
27provide the lyrics for a song.
28
29Supported sites:
30- Lyriki (www.lyriki.com)
31- LyricWiki (www.lyricwiki.org)
32- AZ Lyrics (www.azlyrics.com)
33- Jamendo (www.jamendo.com)
34- Leos Lyrics (www.leoslyrics.com)
35- Lyrc (lyrc.com.ar)
36- Not Popular (www.notpopular.com)
37- Sing365 (www.sing365.com)
38- Terra Letras (letras.terra.com.br)
39
40%prep
41%setup -q -n %{scriptname}
42rm -f *.bat
43rm -f *.kdev*
44
45%{__sed} -i -e '1s,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' *.rb
46
47mkdir pkg
48mv README *.spec *.rb pkg
49
50%install
51rm -rf $RPM_BUILD_ROOT
52install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
53cp -a pkg/* $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc ChangeLog TODO
61%dir %{_scriptdir}/%{scriptname}
62# README must be here in %files, not in %doc
63%{_scriptdir}/%{scriptname}/README
64%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.rb
65%{_scriptdir}/%{scriptname}/*.spec
This page took 0.088804 seconds and 4 git commands to generate.