SPECS: speech-dispatcher.spec - added speech-dispatcher user to au...

twittner twittner at pld-linux.org
Fri Mar 7 23:21:23 CET 2008


Author: twittner                     Date: Fri Mar  7 22:21:23 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added speech-dispatcher user to audio group while installation
- added /var/log/speech-dispatcher directory
- use wildcard for listing speech-dispatcher modules (simpler and less error prone)
- rel. 1 (works with espeak and flite)

---- Files affected:
SPECS:
   speech-dispatcher.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/speech-dispatcher.spec
diff -u SPECS/speech-dispatcher.spec:1.9 SPECS/speech-dispatcher.spec:1.10
--- SPECS/speech-dispatcher.spec:1.9	Fri Mar  7 22:03:40 2008
+++ SPECS/speech-dispatcher.spec	Fri Mar  7 23:21:18 2008
@@ -12,7 +12,7 @@
 #Summary(pl.UTF-8):	-
 Name:		speech-dispatcher
 Version:	0.6.6
-Release:	0.1
+Release:	1
 License:	GPL v2
 Group:		Applications
 Source0:	http://www.freebsoft.org/pub/projects/speechd/%{name}-%{version}.tar.gz
@@ -105,7 +105,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/var/run/speech-dispatcher
+install -d $RPM_BUILD_ROOT/var/{log,run}/speech-dispatcher
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -118,7 +118,7 @@
 
 %pre
 %groupadd -g 223 %{name}
-%useradd -u 223 -g 223 -d /usr/share/empty -s /bin/false -c "%{name} user" %{name}
+%useradd -u 223 -g 223 -G audio -d /usr/share/empty -s /bin/false -c "%{name} user" %{name}
 
 %post
 /sbin/ldconfig
@@ -155,14 +155,12 @@
 %dir %{_sysconfdir}/speech-dispatcher/clients
 %dir %{_sysconfdir}/speech-dispatcher/modules
 %dir %{_libdir}/speech-dispatcher-modules
-%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_cicero
-%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_espeak
-%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_festival
-%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_generic
+%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_*
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/*.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/clients/*.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/*.conf
 %dir %attr(755,%{name},%{name}) /var/run/speech-dispatcher
+%dir %attr(755,%{name},%{name}) /var/log/speech-dispatcher
 %{_infodir}/spd-say.info*
 %lang(cs) %{_infodir}/speech-dispatcher-cs.info*
 %{_infodir}/speech-dispatcher.info*
@@ -194,6 +192,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2008-03-07 22:21:18  twittner
+- added speech-dispatcher user to audio group while installation
+- added /var/log/speech-dispatcher directory
+- use wildcard for listing speech-dispatcher modules (simpler and less error prone)
+- rel. 1 (works with espeak and flite)
+
 Revision 1.9  2008-03-07 21:03:40  twittner
 - added bcond descriptions
 - build with flite support
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/speech-dispatcher.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list