%define name gmusicbrowser %define version 1.0.1 %define shortversion %version %define release %mkrel 1 Name: %{name} Summary: Jukebox for collections of music files Version: %{version} Release: %{release} Epoch: 1 Source: http://squentin.free.fr/gmusicbrowser/%{name}-%{shortversion}.tar.gz URL: http://squentin.free.fr/gmusicbrowser/gmusicbrowser.html License: GPLv3+ Group: Sound BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: imagemagick desktop-file-utils Requires: perl-Gtk2 >= 1.090 Requires: perl-GStreamer >= 0.06 Requires: gstreamer0.10-plugins-good Requires: gstreamer0.10-plugins-ugly Requires: gstreamer0.10-flac Requires: perl-Gtk2-TrayIcon Requires: perl-Gtk2-MozEmbed BuildArch: noarch Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %define _requires_exceptions perl\(simple_http\) %description An open-source jukebox for large collections of mp3/ogg/flac files. * fast even with 10,000s of songs (developed with over 16000 songs on a duron800) * powerful browser which doesn't interfere with the playlist * artist/album lock : easily restrict playlist to current artist/album * easy access to songs related to the currently playing song o songs from the same album o album(s) from the same artist(s) o songs with same title (other versions, covers, ...) * support ogg vorbis, mp3 and flac files (and mpc with gstreamer) * fully featured tag editor (support all id3 versions, limited support for APE & lyrics3 tags) * simple mass-tagging and mass-renaming * support multiple genres for a song * support multiple artists for each song by separating them with '&' * customizable named 'flags' can be set for each song (ex : bootleg, live, -'s favorites, ...) * filter history in the browser window * filters with unlimited nesting of conditions * customizable weighted random mode (based on rating, last time played, flag, ...) * tray icon, with tip window * customizable window layouts * plugin system (experimental), included plugins : o nowplaying (to update an external program when the playing song changes) o last.fm o fetch cover from google image o simple lyrics o MozEmbed : use the mozilla engine to display wikipedia artist page and search lyrics with google %prep %setup -qn %{name}-%{shortversion} %install rm -rf %{buildroot} make install prefix=%{buildroot}%{_prefix} desktop-file-install --vendor="" \ --add-category="GTK;Player" \ --dir %{buildroot}%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/applications/* rm -rf %{buildroot}%{datadir}/doc/%{name}-%{shortversion} rm -rf %{buildroot}/%{_menudir} %find_lang %{name} %post %{update_desktop_database} %postun %{clean_desktop_database} %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %{_docdir}/* %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/*.desktop %{_mandir}/man1/* %{_miconsdir}/%{name}.png %{_iconsdir}/%{name}.png %{_liconsdir}/%{name}.png %changelog * Sun Jan 04 2009 Jérôme Soyer <saispo@mandriva.org> 1:1.0.1-1mdv2009.1 + Revision: 324390 - New upstream release + Oden Eriksson <oeriksson@mandriva.com> - lowercase ImageMagick * Sun Jul 27 2008 Funda Wang <fundawang@mandriva.org> 1:1.0-1mdv2009.0 + Revision: 250358 - update to new version 1.0 * Sat May 03 2008 Funda Wang <fundawang@mandriva.org> 1:0.964-1mdv2009.0 + Revision: 200569 - New version 0.964 * Thu May 01 2008 Funda Wang <fundawang@mandriva.org> 1:0.963-1mdv2009.0 + Revision: 199914 - New version 0.963 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Nov 17 2007 Funda Wang <fundawang@mandriva.org> 1:0.962-2mdv2008.1 + Revision: 109267 - rebuild for new lzma * Tue Oct 30 2007 Jérôme Soyer <saispo@mandriva.org> 1:0.962-1mdv2008.1 + Revision: 103819 - Add Epoch - New release * Thu Jul 12 2007 Funda Wang <fundawang@mandriva.org> 0.9600-1mdv2008.0 + Revision: 51512 - New version * Tue May 15 2007 Per Ãyvind Karlsen <peroyvind@mandriva.org> 0.9550-2mdv2008.0 + Revision: 26845 - bah, wrong buildrequires - fix buildrequires - fix bogus perl requires (fixes #26888) - Import gmusicbrowser * Thu Aug 24 2006 Jerome Soyer <saispo@mandriva.org> 0.9550-1mdv2007.0 - New release 0.955 * Sat Mar 4 2006 Austin Acton <austin@mandriva.org> 0.949-1mdk - initial package