Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 3d90bf7bfd7040e480cfe3c11acb5728 > files > 2

gmpc-0.15.5.0-4mdv2009.0.src.rpm

Summary:	Gtk2 frontend for the mpd
Name:		gmpc
Version:	0.15.5.0
Release:	%mkrel 4
License:	GPLv2+
Group:		Sound
URL:		http://sarine.nl/gmpc/
Source:		http://download.qballcow.nl/%{name}-%{version}/%{name}-%{version}.tar.bz2
BuildRequires:	scrollkeeper
BuildRequires:	gtk2-devel
BuildRequires:	libglade2.0-devel
BuildRequires:	gnome-vfs2-devel
BuildRequires:	perl(XML::Parser) 
BuildRequires:	desktop-file-utils
BuildRequires:	libcurl-devel
BuildRequires:	libmpd-devel
Requires:	gnome-vfs2
BuildRoot: 	%{_tmppath}/%{name}-%{version}-buildroot

%description
GMPC is a frontend for the mpd (Music Player Daemon). 
It's focused on being fast and easy to use, while making 
optimal use of all the functions in mpd.

%package devel
Summary:        GMPC development files
Group:          Development/Other
Provides:       %{name}-devel = %{version}-%{release}
Requires:       %{name} = %{version}-%{release}

%description devel
GMPC development files.

%prep
%setup -q

%build
%configure2_5x \
	--with-curl=%{_prefix} \
	--enable-artist-browser \
	--disable-static

%make 

%install
rm -rf %{buildroot}
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std 

%find_lang %{name} --with-gnome

sed -i -e 's/^Icon=%{name}.png$/Icon=%{name}/g' %{buildroot}%{_datadir}/applications/*

desktop-file-install \
  --remove-category="Application" \
  --add-category="GTK" \
  --add-category="AudioVideo;Audio" \
  --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*

%if %mdkversion < 200900
%post
%{update_menus}
%endif

%if %mdkversion < 200900
%postun
%{clean_menus}
%endif

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_datadir}/pixmaps/*

%files devel
%dir %{_includedir}/gmpc
%{_includedir}/gmpc/*.h
%{_libdir}/pkgconfig/%{name}.pc


%changelog
* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.15.5.0-4mdv2009.0
+ Revision: 246265
- rebuild

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

* Mon Feb 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.15.5.0-2mdv2008.1
+ Revision: 170866
- rebuild
- fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake

* Thu Dec 27 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.15.5.0-1mdv2008.1
+ Revision: 138545
- do not hardcode icon extension in desktop file
- set explict version on libmpd-devel
- set explicit version on libmpd-devel
- new version
- new license policy

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Tue Jul 17 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.15.1-1mdv2008.0
+ Revision: 52921
- new version
- drop X-MandrivaLinux category

* Fri Jun 01 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.15.0-1mdv2008.0
+ Revision: 34383
- new version
- update url
- adjust buildrequires
- update description
- drop old menu style
- spec file clean


* Fri Feb 23 2007 Jérôme Soyer <saispo@mandriva.org> 0.14.0-1mdv2007.0
+ Revision: 125234
- Add BR
- New release 0.14.0
- Import gmpc

* Wed Sep 13 2006 Emmanuel Andry <eandry@mandriva.org> 0.11.2-4mdv2007.0
- works on gnome-vfs2 instead of gnome-vfs

* Mon Sep 11 2006 Emmanuel Andry <eandry@mandriva.org> 0.11.2-3mdv2007.0
- xdg menu

* Tue Nov 08 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.11.2-2mdk
- Fix BuildRequires
- %%mkrel

* Wed Oct 20 2004 Jerome Soyer <saispo@mandrake.org> 0.11.2-1mdk
- First Mandrake Release