rpms/mpdscribble/F-12 import.log, NONE, 1.1 mpdscribble.init.d, NONE, 1.1 mpdscribble.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
jaroslav
jaroslav at fedoraproject.org
Tue Nov 10 19:46:26 UTC 2009
- Previous message (by thread): rpms/pdftk/devel pdftk.spec,1.23,1.24
- Next message (by thread): rpms/f-spot/F-12 0003-use-system-Gnome.Keyring-if-available.patch, NONE, 1.1 .cvsignore, 1.24, 1.25 f-spot.spec, 1.96, 1.97 sources, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jaroslav
Update of /cvs/pkgs/rpms/mpdscribble/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21274/F-12
Modified Files:
.cvsignore sources
Added Files:
import.log mpdscribble.init.d mpdscribble.spec
Log Message:
Initial commit (#477542)
--- NEW FILE import.log ---
mpdscribble-0_18_1-1_fc12:F-12:mpdscribble-0.18.1-1.fc12.src.rpm:1257882294
--- NEW FILE mpdscribble.init.d ---
#!/bin/bash
#
# processname: mpdscribble
# description: mpdscribble
# chkconfig: - 85 15
. /etc/init.d/functions
RETVAL=0
prog=mpdscribble
executable=/usr/bin/$prog
lockfile=/var/lock/subsys/$prog
pidfile=/var/run/$prog.pid
[ -f /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
start() {
echo -n $"Starting $prog: "
daemon $executable --pidfile $pidfile 2>/dev/null
RETVAL=$?
[ $RETVAL -eq 0 ] && touch $lockfile
echo
}
stop() {
echo -n $"Stopping $prog: "
killproc -p $pidfile
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f $lockfile
echo
}
case "$1" in
start)
start
;;
stop)
stop
;;
reload|restart)
stop
start
RETVAL=$?
;;
condrestart)
if [ -f $lockfile ]; then
stop
start
fi
;;
status)
status -p $pidfile
RETVAL=$?
;;
*)
echo $"Usage: $0 {condrestart|start|stop|restart|reload|status}"
exit 1
esac
exit $RETVAL
--- NEW FILE mpdscribble.spec ---
Name: mpdscribble
Version: 0.18.1
Release: 1%{?dist}
Summary: A mpd client which submits information about tracks being played to Last.fm
Group: Applications/Multimedia
License: GPLv2+
URL: http://mpd.wikia.com/wiki/Client:Mpdscribble
Source0: http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
Source1: %{name}.init.d
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel libsoup-devel
Requires(post): chkconfig
Requires(preun): chkconfig
Requires(preun): initscripts
%description
mpdscribble is a music player daemon (mpd) client which submits information
about tracks being played to Last.fm (formerly audioscrobbler)
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
#init scripts
install -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ $1 = 1 ]; then
chkconfig --add %{name}
fi
%preun
if [ $1 = 0 ]; then
service %{name} stop > /dev/null 2>&1
/sbin/chkconfig --del %{name}
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%config(noreplace) %{_sysconfdir}/mpdscribble.conf
%{_bindir}/mpdscribble
%{_mandir}/man1/mpdscribble.1.gz
%{_sysconfdir}/rc.d/init.d/%{name}
%exclude %{_datadir}/doc/*
%changelog
* Mon Oct 26 2009 Jaroslaw Gorny <jaroslaw dot gorny at gmail dot com> - 0.18.1-1
- Version bumped to 0.18.1
- init-script added
* Tue Feb 03 2009 Jaroslaw Gorny <jaroslaw dot gorny at gmail dot com> - 0.16-1
- Version bumped to 0.16
- There's a systemwide config file now
* Sun Dec 21 2008 Jaroslaw Gorny <jaroslaw dot gorny at gmail dot com> - 0.13-1
- Initial RPM
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mpdscribble/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 31 Oct 2009 23:53:26 -0000 1.1
+++ .cvsignore 10 Nov 2009 19:46:25 -0000 1.2
@@ -0,0 +1 @@
+mpdscribble-0.18.1.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mpdscribble/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 31 Oct 2009 23:53:26 -0000 1.1
+++ sources 10 Nov 2009 19:46:25 -0000 1.2
@@ -0,0 +1 @@
+d95dba4cf40f1bd651f0da7f0f07db64 mpdscribble-0.18.1.tar.bz2
- Previous message (by thread): rpms/pdftk/devel pdftk.spec,1.23,1.24
- Next message (by thread): rpms/f-spot/F-12 0003-use-system-Gnome.Keyring-if-available.patch, NONE, 1.1 .cvsignore, 1.24, 1.25 f-spot.spec, 1.96, 1.97 sources, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list