SPECS: mpd.spec - move beta to release - use macros - fix useradd macro - m...

wiget wiget at pld-linux.org
Sun Dec 21 13:35:15 CET 2008


Author: wiget                        Date: Sun Dec 21 12:35:15 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move beta to release
- use macros
- fix useradd macro
- more docs

---- Files affected:
SPECS:
   mpd.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/mpd.spec
diff -u SPECS/mpd.spec:1.22 SPECS/mpd.spec:1.23
--- SPECS/mpd.spec:1.22	Sat Dec 20 21:55:17 2008
+++ SPECS/mpd.spec	Sun Dec 21 13:35:10 2008
@@ -2,12 +2,13 @@
 # TODO:
 # - add dir to store playlists and songs DB
 # - add logrotate
+%define beta beta3
 Summary:	Music Player Daemon
 Summary(hu.UTF-8):	Music Player Daemon
 Summary(pl.UTF-8):	Music Player Daemon - demon odtwarzający muzykę
 Name:		mpd
-Version:	0.14_beta3
-Release:	1
+Version:	0.14
+Release:	0.%{beta}.1
 License:	GPL v2+
 Group:		Applications/Multimedia
 Source0:	http://downloads.sourceforge.net/musicpd/mpd-0.14_beta3.tar.bz2
@@ -63,7 +64,7 @@
 frontendów albo często restartujących X.
 
 %prep
-%setup -q -n %{name}-0.14~beta3
+%setup -q -n %{name}-%{version}~%{beta}
 
 %build
 # ac_cv_* hacks to avoid unwanted linking
@@ -88,7 +89,7 @@
 
 %pre
 %groupadd -g 204 mpd
-%useradd -u 204 -r -d /home/services/mpd -s /bin/false -g audio -G mpd
+%useradd -u 204 -r -d /home/services/mpd -s /bin/false -c "Music Player Daemon (MPD) user" -g audio -G mpd mpd
 
 %post
 /sbin/chkconfig --add mpd
@@ -108,7 +109,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README TODO doc/mpdconf.example UPGRADING
+%doc AUTHORS NEWS README TODO doc/mpdconf.example UPGRADING doc/protocol.html
 %attr(755,root,root) %{_bindir}/*
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mpd.conf
 %attr(754,root,root) /etc/rc.d/init.d/mpd
@@ -121,6 +122,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2008/12/21 12:35:10  wiget
+- move beta to release
+- use macros
+- fix useradd macro
+- more docs
+
 Revision 1.22  2008/12/20 20:55:17  aredridel
 - 0.14_beta3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mpd.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list