]> git.pld-linux.org Git - packages/speech-dispatcher.git/commitdiff
- added speech-dispatcher user to audio group while installation
authortwittner <twittner@pld-linux.org>
Fri, 7 Mar 2008 22:21:18 +0000 (22:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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)

Changed files:
    speech-dispatcher.spec -> 1.10

speech-dispatcher.spec

index b8d923576457db5ad5340901ae3c573a3ef2ea5e..a0193a96ec60d7d481339cef3d58eb078fb9ae85 100644 (file)
@@ -11,7 +11,7 @@ Summary:      A device independent layer for speech synthesis
 #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
@@ -104,7 +104,7 @@ with Speech Dispatcher.
 %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
@@ -117,7 +117,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
@@ -154,14 +154,12 @@ fi
 %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*
This page took 0.519223 seconds and 4 git commands to generate.