Name: osdlyrics Version: 0.4.1 Release: 2%{?dist} Summary: Show on-screen lyrics with your favorite media players Group: Applications/Multimedia # src/ol_{md5,eggaccelerators}.{c,h} are LGPLv2+ # lib/chardetect is (MPL1.1 or GPLv2+ or LGPLv2+) # others are GPLv3+ License: GPLv3+ and LGPLv2+ and (MPLv1.1 or GPLv2+ or LGPLv2+) URL: http://code.google.com/p/osd-lyrics/ Source0: http://osd-lyrics.googlecode.com/files/%{name}-%{version}.tar.gz # http://code.google.com/p/osd-lyrics/issues/detail?id=232 Patch0: patch-autolaunch.diff BuildRequires: gtk2-devel, dbus-glib-devel, libcurl-devel, sqlite-devel BuildRequires: libnotify-devel, xmms2-devel, libmpd-devel, gettext-devel BuildRequires: libtool, intltool BuildRequires: desktop-file-utils %description Osd-lyrics is an on-screen lyrics displayer which can work with any one of the following media players: Amarok, Audacious, Banshee, Clementine, Deciber-audio-player, Exaile, Gmusicbrowser, Guayadeque, JuK, Listen, MOC, Muine, Quod Libet, MPD, Rhythmbox, Songbird, VLC and XMMS2. %prep %setup -q %patch0 -p1 %build %configure make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop %find_lang %{name} %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %doc AUTHORS COPYING ChangeLog NEWS* README* %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/%{name}* %{_datadir}/%{name}/ %changelog * Mon Aug 8 2011 Robin Lee - 0.4.1-2 - Apply an upstream patch to ignore %%f and %%U in player-launching commands - Validate the desktop entry file in %%install - Don't spread the supported player names to lines %%description * Mon Jul 25 2011 Robin Lee - 0.4.1-1 - Submit review request to Fedora