]>
Commit | Line | Data |
---|---|---|
2182fafe ER |
1 | %define scriptname lyricviewer |
2 | Summary: Extended Lyric Support | |
b1d1e20e | 3 | Summary(pl.UTF-8): Rozszerzona obsługa tekstów piosenek |
2182fafe ER |
4 | Name: amarok-script-lyricviewer |
5 | Version: 0.2 | |
6 | Release: 0.2 | |
7 | Epoch: 0 | |
8 | License: GPL | |
9 | Group: X11/Applications/Multimedia | |
10 | Source0: http://download.kde.org/khotnewstuff/amarokscripts/downloads/27109-%{scriptname}-%{version}.amarokscript.tar.gz | |
11 | # Source0-md5: 583def922138d183824eeae4b18ee16c | |
12 | Patch0: %{scriptname}-dcop.patch | |
13 | URL: http://www.kde-apps.org/content/show.php?content=27109 | |
14 | BuildRequires: sed >= 4.0 | |
15 | Requires: amarok | |
16 | Requires: html2text | |
17 | Requires: kdebase-kdialog | |
18 | Requires: kdelibs | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %define _scriptdir %{_datadir}/apps/amarok/scripts | |
23 | ||
24 | %description | |
186cd8a2 JB |
25 | lyricviewer adds extended Lyric support into amarok. After fetching |
26 | lyrics from the Internet, you can view lyrics of any file that you | |
27 | have previously gotten lyrics for. | |
2182fafe | 28 | |
186cd8a2 JB |
29 | This is an extension to the default of showing only the lyrics for |
30 | currently playing song. This support viewing lyrics for multiple songs | |
31 | at once. | |
32 | ||
93ed1899 JR |
33 | %description -l pl.UTF-8 |
34 | lyricviewer dodaje rozszerzoną obsługę tekstów piosenek do amaroka. | |
35 | Po pobraniu tekstów z Internetu można oglądać teksty dowolnego utworu, | |
36 | którego tekst został uprzednio ściągnięty. | |
186cd8a2 | 37 | |
93ed1899 JR |
38 | Jest to rozszerzenie dla domyślnego pokazywania tylko tekstu aktualnie |
39 | odtwarzanego utworu. Ten skrypt obsługuje oglądanie tekstów wielu | |
40 | piosenek jednocześnie. | |
2182fafe ER |
41 | |
42 | %prep | |
43 | %setup -q -n %{scriptname} | |
44 | %patch0 -p1 | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname} | |
49 | cp README *.sh $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname} | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc CHANGELOG | |
57 | %dir %{_scriptdir}/%{scriptname} | |
58 | %{_scriptdir}/%{scriptname}/README | |
59 | %attr(755,root,root) %{_scriptdir}/%{scriptname}/*.sh |