diff options
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | gmusicbrowser.spec | 125 |
2 files changed, 133 insertions, 0 deletions
@@ -0,0 +1,8 @@ +gmusicbrowser +------------- + +Development version. + +fedora provides stable 1.0.x + + diff --git a/gmusicbrowser.spec b/gmusicbrowser.spec new file mode 100644 index 0000000..0ac5884 --- /dev/null +++ b/gmusicbrowser.spec @@ -0,0 +1,125 @@ +Name: gmusicbrowser +Summary: Jukebox for large collections of music files +Version: 1.1.5 +Release: 0.1%{?dist} +License: GPLv3+ +Group: Applications/Multimedia + +URL: http://gmusicbrowser.sourceforge.net/ +Source0: http://gmusicbrowser.org/download/%{name}-%{version}.tar.gz + +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: desktop-file-utils +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils + +# Optionnal Deps and not detected +Requires: perl(Gtk2::TrayIcon), perl(Locale::gettext) >= 1.04, perl(GStreamer) +Requires: vorbis-tools, flac123, alsa-utils +%if 0%{?fedora} >= 10 +Requires: perl(Gtk2::MozEmbed) +%endif + +# Only perl* retrieved which aren't needed +AutoProv: no + + +%description +Jukebox for large collections of music files +Uses gstreamer, mpg321/ogg123/flac123 or mplayer for playback +Main features : +- customizable window layouts +- artist/album lock : easily restrict playlist to current artist/album +- easy access to related songs (same artist/album/title) +- simple mass-tagging and mass-renaming +- support multiple genres for each song +- customizable labels can be set for each song +- filters with unlimited nesting of conditions +- customizable weighted random mode + + +%prep +%setup -q + +cat <<EOF > %{name}-req +#!/bin/sh +%{__perl_requires} $* |\ +sed -e '/perl(gmusicbrowser/d' -e '/perl(simple_http)/d' +EOF + +%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req +chmod +x %{__perl_requires} + + +%build +# Empty + + +%install +rm -rf %{buildroot} + +make install \ + prefix=%{_prefix} \ + DESTDIR=%{buildroot} + +rm -f %{buildroot}/%{_prefix}/lib/menu/gmusicbrowser + +desktop-file-install --vendor="" \ + --dir=%{buildroot}%{_datadir}/applications/ \ + %{buildroot}/%{_datadir}/applications/%{name}.desktop + +%find_lang %{name} + + +%clean +rm -rf %{buildroot} + + +%post +update-desktop-database &> /dev/null ||: + + +%postun +update-desktop-database &> /dev/null ||: + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README NEWS layout_doc.html +%{_bindir}/%{name} +%{_datadir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_mandir}/man1/%{name}* +%{_datadir}/icons/%{name}.png +%{_datadir}/icons/large/%{name}.png +%{_datadir}/icons/mini/%{name}.png + + +%changelog +* Wed Apr 21 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.1.5-0.1 +- update to development version 1.1.5 + +* Mon Feb 01 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.1.4-0.1 +- update to development version 1.1.4 + +* Sat Sep 26 2009 Remi Collet <Fedora@FamilleCollet.com> - 1.1.3-0.1 +- update to development version 1.1.3 + +* Sun Sep 06 2009 Remi Collet <Fedora@FamilleCollet.com> - 1.1.2-0.1 +- update to development version 1.1.2 + +* Sun Apr 26 2009 Remi Collet <Fedora@FamilleCollet.com> - 1.1.1-0.1 +- update to development version 1.1.1 + +* Sun Apr 12 2009 Remi Collet <Fedora@FamilleCollet.com> - 1.0.1-2 +- From review (#485961) +- preserve timestamp +- own all directory +- missing Requires +- fix license + +* Tue Feb 17 2009 Remi Collet <Fedora@FamilleCollet.com> - 1.0.1-1 +- Initial Fedora RPM from Quentin Sculo spec + |