SPECS: mpdscribble.spec (NEW) - fresh, home brewed
czarny
czarny at pld-linux.org
Sun Jun 3 11:02:59 CEST 2007
Author: czarny Date: Sun Jun 3 09:02:59 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fresh, home brewed
---- Files affected:
SPECS:
mpdscribble.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/mpdscribble.spec
diff -u /dev/null SPECS/mpdscribble.spec:1.1
--- /dev/null Sun Jun 3 11:02:59 2007
+++ SPECS/mpdscribble.spec Sun Jun 3 11:02:54 2007
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+#
+# TODO:
+# - the author seazed to maintain this project, yet this is the only scrobbler for mpd I've found; look for s/b maintaining it
+#
+Summary: Scrobbler for mpd
+Summary(pl.UTF-8): Scrobbler dla mpd
+Name: mpdscribble
+Version: 0.2.12
+Release: 0.1
+License: GPL v2
+Group: Daemons
+Source0: http://www.frob.nl/projects/scribble/%{name}-%{version}.tar.gz
+# Source0-md5: 7f0e976e7a066df0ddf21f3f4041ef6a
+Source1: %{name}.init
+Source2: %{name}.sysconfig
+Source3: %{name}.conf
+URL: http://www.frob.nl/scribble.html
+BuildRequires: gcc
+BuildRequires: glib2-devel >= 2.0
+BuildRequires: libsoup-devel >= 2.2
+BuildRequires: pkgconfig
+Requires: mpd
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mpdscribble is a music player daemon client which submits information
+about tracks being played to audioscrobbler.
+
+%description -l pl.UTF-8
+Mpdscrible to klient demona odtwarzania muzyki, który wysyła
+informacje o odtwarzanych utworach do audioscrobblera.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d \
+ $RPM_BUILD_ROOT%{_sysconfdir}/mpdscribble \
+ $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig \
+ $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/mpdscribble
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/mpdscribble
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/mpdscribble
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/mpdscribble.1*
+%dir /etc/mpdscribble
+%config(noreplace) %verify(not md5 mtime size) /etc/mpdscribble/mpdscribble.conf
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/06/03 09:02:54 czarny
+- fresh, home brewed
+
================================================================
More information about the pld-cvs-commit
mailing list