packages: speech-dispatcher/speech-dispatcher.spec, speech-dispatcher/speec...
qboosh
qboosh at pld-linux.org
Thu Apr 19 18:57:15 CEST 2012
Author: qboosh Date: Thu Apr 19 16:57:15 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- added config patch not to enable espeak module in default config
- added module-{espeak,flite,ibmtts,ivona} subpackages
---- Files affected:
packages/speech-dispatcher:
speech-dispatcher.spec (1.28 -> 1.29) , speech-dispatcher-config.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/speech-dispatcher/speech-dispatcher.spec
diff -u packages/speech-dispatcher/speech-dispatcher.spec:1.28 packages/speech-dispatcher/speech-dispatcher.spec:1.29
--- packages/speech-dispatcher/speech-dispatcher.spec:1.28 Wed Apr 18 19:35:56 2012
+++ packages/speech-dispatcher/speech-dispatcher.spec Thu Apr 19 18:57:09 2012
@@ -1,14 +1,14 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_with ibmtts # commercial, proprietary IBM TTS synthesizer support
-%bcond_without flite # flite synthetizer support
-%bcond_without espeak # espeak synthetizer support
-%bcond_without nas # NAS audio output support
+%bcond_with ibmtts # commercial, proprietary IBM TTS synthetizer support
+%bcond_without espeak # eSpeak synthetizer support
+%bcond_without flite # Flite synthetizer support
+%bcond_without ivona # Ivona synthetizer support
%bcond_without alsa # ALSA audio output supprot
+%bcond_without nas # NAS audio output support
%bcond_without pulseaudio # pulse audio output support
%bcond_without static_libs # don't build static libraries
-%bcond_without ivona # don't build ivona support
#
Summary: A device independent layer for speech synthesis
Summary(pl.UTF-8): Niezależna od urządzenia warstwa obsługująca syntezę mowy
@@ -24,6 +24,7 @@
Source3: %{name}.tmpfiles
Patch0: %{name}-info.patch
Patch1: pulse.patch
+Patch2: %{name}-config.patch
URL: http://www.freebsoft.org/
%{?with_alsa:BuildRequires: alsa-lib-devel}
BuildRequires: autoconf
@@ -67,6 +68,54 @@
Speech Dispatcher zapewnia niezależną od urządzenia warstwę
obsługującą syntezę mowy.
+%package module-espeak
+Summary: eSpeak synthetizer module for Speech Dispatcher
+Summary(pl.UTF-8): Moduł syntezatora eSpeak dla Speech Dispatchera
+Group: Applications/Sound
+Requires: %{name} = %{version}-%{release}
+
+%description module-espeak
+eSpeak synthetizer module for Speech Dispatcher.
+
+%description module-espeak -l pl.UTF-8
+Moduł syntezatora eSpeak dla Speech Dispatchera.
+
+%package module-flite
+Summary: Flite synthetizer module for Speech Dispatcher
+Summary(pl.UTF-8): Moduł syntezatora Flite dla Speech Dispatchera
+Group: Applications/Sound
+Requires: %{name} = %{version}-%{release}
+
+%description module-flite
+Flite synthetizer module for Speech Dispatcher.
+
+%description module-flite -l pl.UTF-8
+Moduł syntezatora Flite dla Speech Dispatchera.
+
+%package module-ibmtts
+Summary: IBM TTS synthetizer module for Speech Dispatcher
+Summary(pl.UTF-8): Moduł syntezatora IBM TTS dla Speech Dispatchera
+Group: Applications/Sound
+Requires: %{name} = %{version}-%{release}
+
+%description module-ibmtts
+IBM TTS synthetizer module for Speech Dispatcher.
+
+%description module-ibmtts -l pl.UTF-8
+Moduł syntezatora IBM TTS dla Speech Dispatchera.
+
+%package module-ivona
+Summary: Ivona synthetizer module for Speech Dispatcher
+Summary(pl.UTF-8): Moduł syntezatora Ivona dla Speech Dispatchera
+Group: Applications/Sound
+Requires: %{name} = %{version}-%{release}
+
+%description module-ivona
+Ivona synthetizer module for Speech Dispatcher.
+
+%description module-ivona -l pl.UTF-8
+Moduł syntezatora Ivona dla Speech Dispatchera.
+
%package libs
Summary: Speech Dispatcher client library
Summary(pl.UTF-8): Biblioteka kliencka Speech Dispatchera
@@ -125,6 +174,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}
@@ -211,20 +261,8 @@
%dir %{_libdir}/speech-dispatcher-modules
%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_cicero
%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_dummy
-%if %{with espeak}
-%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_espeak
-%endif
%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_festival
-%if %{with flite}
-%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_flite
-%endif
%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_generic
-%if %{with ibmtts}
-%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_ibmtts
-%endif
-%if %{with ivona}
-%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_ivona
-%endif
%{_datadir}/speech-dispatcher
%{_datadir}/sounds/speech-dispatcher
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/speechd.conf
@@ -235,11 +273,7 @@
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/epos-generic.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/espeak-generic.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/espeak-mbrola-generic.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/espeak.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/festival.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/flite.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/ibmtts.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/ivona.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/llia_phon-generic.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/swift-generic.conf
%dir %attr(755,%{name},%{name}) /var/run/speech-dispatcher
@@ -249,6 +283,34 @@
%{_infodir}/speech-dispatcher.info*
%{_infodir}/ssip.info*
+%if %{with espeak}
+%files module-espeak
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_espeak
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/espeak.conf
+%endif
+
+%if %{with flite}
+%files module-flite
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_flite
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/flite.conf
+%endif
+
+%if %{with ibmtts}
+%files module-ibmtts
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_ibmtts
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/ibmtts.conf
+%endif
+
+%if %{with ivona}
+%files module-ivona
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/speech-dispatcher-modules/sd_ivona
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/speech-dispatcher/modules/ivona.conf
+%endif
+
%files libs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libspeechd.so.*.*.*
@@ -279,6 +341,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.29 2012/04/19 16:57:09 qboosh
+- added config patch not to enable espeak module in default config
+- added module-{espeak,flite,ibmtts,ivona} subpackages
+
Revision 1.28 2012/04/18 17:35:56 qboosh
- glib2, libao, libsndfile dependencies
================================================================
Index: packages/speech-dispatcher/speech-dispatcher-config.patch
diff -u /dev/null packages/speech-dispatcher/speech-dispatcher-config.patch:1.1
--- /dev/null Thu Apr 19 18:57:15 2012
+++ packages/speech-dispatcher/speech-dispatcher-config.patch Thu Apr 19 18:57:09 2012
@@ -0,0 +1,11 @@
+--- speech-dispatcher-0.7.1/config/speechd.conf.orig 2010-09-10 10:23:54.000000000 +0200
++++ speech-dispatcher-0.7.1/config/speechd.conf 2012-04-19 18:22:31.531394055 +0200
+@@ -206,7 +206,7 @@
+ # - configuration is the path to the config file of this module,
+ # either relative (to etc/speechd/modules/) or absolute
+
+-AddModule "espeak" "sd_espeak" "espeak.conf"
++#AddModule "espeak" "sd_espeak" "espeak.conf"
+ AddModule "festival" "sd_festival" "festival.conf"
+ #AddModule "flite" "sd_flite" "flite.conf"
+ #AddModule "ivona" "sd_ivona" "ivona.conf"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/speech-dispatcher/speech-dispatcher.spec?r1=1.28&r2=1.29
More information about the pld-cvs-commit
mailing list