Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > by-pkgid > e3a87cf8bbd3147d716e445698b45c01 > files > 3

mpdscribble-0.17-1mdv2009.1.src.rpm

Summary:	mpdscribble is a music player daemon client which submits information about tracks being played to Last.fm (formerly audioscrobbler)
Name:		mpdscribble
Version:	0.17
Release:	%mkrel 1
License:	GPLv2+
Group:		Sound
Url:		http://mpd.wikia.com/wiki/Client:Mpdscribble
Source0:	http://downloads.sourceforge.net/musicpd/mpdscribble-0.17.tar.bz2
Patch0:		mpdscribble-0.17-format-not-a-string-literal.patch
Requires:	mpd
Requires:	libsoup-2.4_1
BuildRequires:	libsoup-2.4-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
Mpdscribble is a music player daemon client which submits information about
tracks being played to Last.fm (formerly audioscrobbler), with the following
features:
* written in C, consumes very little memory and CPU
* full support for MPD's "idle" mode
* last.fm protocol 1.2 (including "now playing") supports seeking, crossfading,
* repeated songs 

%prep
%setup -q
%patch0 -p1

%build
%configure
%make

%install
rm -rf %{buildroot}
%makeinstall_std

mkdir -p %{buildroot}/var/cache/mpdscribble/
touch %{buildroot}/var/cache/mpdscribble/cache

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README AUTHORS COPYING NEWS
%{_bindir}/mpdscribble
%{_mandir}/*/*
%{_sysconfdir}/mpdscribble.conf
%attr(0600,mpd,audio) %dir /var/cache/mpdscribble
%attr(0600,mpd,audio) /var/cache/mpdscribble/cache




%changelog
* Wed Mar 18 2009 Eugeni Dodonov <eugeni@mandriva.com> 0.17-1mdv2009.1
+ Revision: 357401
- Fixed summary.
- Fixed license.
- import mpdscribble