Name: gmpc Summary: GNOME frontend for the MPD Version: 0.13.0 Release: 1%{?dist} License: GPL Group: Applications/Multimedia URL: http://musicpd.org/?page=gmpc Source0: http://mercury.chem.pitt.edu/~shank/gmpc-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: scrollkeeper, gtk2-devel, libglade2-devel BuildRequires: gettext, gnome-vfs2-devel, desktop-file-utils BuildRequires: libmpd-devel >= 0.12.0 %description Gmpc is a GNOME client for the Music Player Daemon Features : * Support for loading/saving playlists. * File Browser * Browser based on ID3 information. (on artist and albums) * Search * Current playlist viewer with search. * ID3 information * Lots more %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT #export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} # desktop files mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install --vendor fedora \ --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category X-Fedora \ $RPM_BUILD_ROOT%{_datadir}/applications/gmpc.desktop #%post #export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` #gconftool-2 --makefile-install-rule \ # %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null #%preun #export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` #gconftool-2 --makefile-uninstall-rule \ # %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || : %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README %{_bindir}/%name %{_datadir}/applications/*.desktop %{_datadir}/%{name} %{_datadir}/pixmaps/* %{_includedir}/gmpc %{_libdir}/pkgconfig/gmpc.pc %changelog * Mon Mar 27 2006 0.13.0-1 Jan "Yenya" Kasprzak - update to gmpc-0.13.0 * Wed Feb 22 2006 Aurelien Bompard 0.11.2-3 - rebuild for FC5 * Fri Apr 7 2005 Michael Schwendt - rebuilt * Fri Nov 05 2004 Aurelien Bompard 0:0.11.2-0.fdr.1 - initial Fedora release (from Mandrake)