rpms/gmusicbrowser/F-10 gmusicbrowser.spec, NONE, 1.1 sources, 1.1, 1.2

Remi Collet remi at fedoraproject.org
Sun Apr 12 18:46:01 UTC 2009


Author: remi

Update of /cvs/extras/rpms/gmusicbrowser/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11743

Modified Files:
	sources 
Added Files:
	gmusicbrowser.spec 
Log Message:
    import new package


--- NEW FILE gmusicbrowser.spec ---
Name:      gmusicbrowser
Summary:   Jukebox for large collections of music files
Version:   1.0.1
Release:   2%{?dist}
License:   GPLv3+
Group:     Applications/Multimedia

URL:       http://gmusicbrowser.sourceforge.net/
Source0:   http://squentin.free.fr/%{name}/%{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

# Fix Makefile to preserve Timestamp
sed -ie 's/install /install -p /' Makefile

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
* Sun Apr 12 2009 Remi Collet <Fedora at 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 at FamilleCollet.com> - 1.0.1-1
- Initial Fedora RPM from Quentin Sculo spec



Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gmusicbrowser/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Apr 2009 18:22:07 -0000	1.1
+++ sources	12 Apr 2009 18:45:31 -0000	1.2
@@ -0,0 +1 @@
+f088bc27f4c1ddfb46e441b879560398  gmusicbrowser-1.0.1.tar.gz




More information about the scm-commits mailing list