X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=amarok-script-wiki_lyrics.spec;h=dadedee5a87f7f2ea757262c8f4cc2bad05599b2;hb=refs%2Fheads%2Fmaster;hp=3e1252e8080ea9c52d5fc445fb9243c3fde635d8;hpb=ef734215e6180c497abf52f16437bc403187089c;p=packages%2Famarok-script-wiki_lyrics.git diff --git a/amarok-script-wiki_lyrics.spec b/amarok-script-wiki_lyrics.spec index 3e1252e..dadedee 100644 --- a/amarok-script-wiki_lyrics.spec +++ b/amarok-script-wiki_lyrics.spec @@ -3,16 +3,17 @@ # used that dependency. %define scriptname wiki_lyrics Summary: A collection of lyrics scripts for amaroK +Summary(pl.UTF-8): Zestaw skryptów do tekstów utworów dla amaroKa Name: amarok-script-wiki_lyrics -Version: 0.9.1 -Release: 0.1 -License: GPL +Version: 0.13.4 +Release: 1 +License: GPL v2+ Group: X11/Applications/Multimedia -Source0: http://kde-apps.org/content/files/35151-%{scriptname}-%{version}.amarokscript.tar.bz2 -# Source0-md5: 36ab13187af3c171b359d0e5756ff611 -URL: http://www.lyriki.com/ +Source0: http://www.kde-apps.org/CONTENT/content-files/35151-wiki_lyrics-%{version}.amarokscript.tar.bz2 +# Source0-md5: 1e4dd829737dae47e259056002c9a322 +URL: http://www.lyriki.com/Help:Wiki-Lyrics_Script BuildRequires: sed >= 4.0 -Requires: amarok >= 1.4 +Requires: amarok-scripts >= 1.4 Requires: ruby-modules >= 1.8 Requires: ruby-tk BuildArch: noarch @@ -27,39 +28,96 @@ 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) +- Lyriki +- LyricWiki +- AZ Lyrics +- Baidu MP3 +- Dark Lyrics +- Giitaayan +- Jamendo +- Leos Lyrics +- Lyrc +- Lyrics Download +- Lyrics Mania +- Not Popular +- Seek Lyrics +- Sing365 +- Terra Letras + +%description -l pl.UTF-8 +Zestaw współpracujących z różnymi serwisami skryptów do pobierania +tekstów utworów i opcjonalnie umieszczania treści na Lyriki.com lub +LyricWiki.org (wiki dla tekstów utworów). Wszystkie te skrypty mogą +odpytywać inne jeśli nie znajdą tekstu piosenki. + +Obsługiwane serwisy: +- Lyriki +- LyricWiki +- AZ Lyrics +- Baidu MP3 +- Dark Lyrics +- Giitaayan +- Jamendo +- Leos Lyrics +- Lyrc +- Lyrics Download +- Lyrics Mania +- Not Popular +- Seek Lyrics +- Sing365 +- Terra Letras %prep %setup -q -n %{scriptname} -rm -f *.bat -rm -f *.kdev* +rm *.kdev* +rm -rf win tests +rm {docs,amarok}/COPYING # GPL v2 +rm i18n/README # note about when editing files -%{__sed} -i -e '1s,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' *.rb +%{__sed} -i -e '1s,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' *.rb amarok/*.rb cli/*.rb -mkdir pkg -mv README *.spec *.rb pkg +# ELF 32-bit LSB executable, Intel 80386 +# TODO: package separately if it's really needed +rm -f itrans/itrans %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname} -cp -a pkg/* $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname} +cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname} +rm -rf $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}/docs %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc ChangeLog TODO +%doc docs/ChangeLog docs/TODO docs/HOWTO.txt docs/README %dir %{_scriptdir}/%{scriptname} + +%{_scriptdir}/%{scriptname}/*.rb + +%dir %{_scriptdir}/%{scriptname}/cli +%{_scriptdir}/%{scriptname}/cli/*.rb + +%dir %{_scriptdir}/%{scriptname}/gui +%{_scriptdir}/%{scriptname}/gui/*.rb + +%dir %{_scriptdir}/%{scriptname}/i18n +%{_scriptdir}/%{scriptname}/i18n/*.rb + +%dir %{_scriptdir}/%{scriptname}/utils +%{_scriptdir}/%{scriptname}/utils/*.rb + +%dir %{_scriptdir}/%{scriptname}/itrans +%{_scriptdir}/%{scriptname}/itrans/* + +%dir %{_scriptdir}/%{scriptname}/amarok # README must be here in %files, not in %doc -%{_scriptdir}/%{scriptname}/README -%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.rb -%{_scriptdir}/%{scriptname}/*.spec +# also only one script should be executable, or amarok will attempt to think the others are also plugins +%attr(755,root,root) %{_scriptdir}/%{scriptname}/amarok/wikilyrics.rb +%{_scriptdir}/%{scriptname}/amarok/README +%{_scriptdir}/%{scriptname}/amarok/amarok.rb +%{_scriptdir}/%{scriptname}/amarok/pluginadapter.rb +%{_scriptdir}/%{scriptname}/amarok/plugins.rb +%{_scriptdir}/%{scriptname}/amarok/wikipluginadapter.rb +%{_scriptdir}/%{scriptname}/amarok/*.spec