Add support for espeak-ng, add speech-dispatcher-espeak-ng subpackage

This commit is contained in:
Ondřej Lysoněk 2018-01-29 16:17:39 +01:00
parent 643bccb85d
commit 648fcce50f

View File

@ -2,7 +2,7 @@
Name: speech-dispatcher
Version: 0.8.8
Release: 2%{?dist}
Release: 3%{?dist}
Summary: To provide a high-level device independent layer for speech synthesis
Group: System Environment/Libraries
@ -18,6 +18,7 @@ Source2: speech-dispatcherd.service
BuildRequires: alsa-lib-devel
BuildRequires: desktop-file-utils
BuildRequires: dotconf-devel
BuildRequires: espeak-ng-devel
BuildRequires: espeak-devel
BuildRequires: flite-devel
Buildrequires: glib2-devel
@ -91,6 +92,13 @@ Obsoletes: speech-dispatcher < 0.8.1-2
%description espeak
This package contains the espeak output module for Speech Dispatcher.
%package espeak-ng
Summary: Speech Dispatcher espeak-ng module
Requires: %{name}%{_isa} = %{version}-%{release}
%description espeak-ng
This package contains the espeak-ng output module for Speech Dispatcher.
%package festival
Summary: Speech Dispatcher festival module
Requires: %{name}%{_isa} = %{version}-%{release}
@ -128,6 +136,7 @@ tar xf %{SOURCE1}
--with-alsa --with-pulse --with-libao \
--without-oss --without-nas \
--with-flite \
--with-espeak-ng \
--sysconfdir=%{_sysconfdir} --with-default-audio-method=pulse
make %{?_smp_mflags} V=1
@ -230,6 +239,10 @@ fi
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/espeak.conf
%{_libdir}/speech-dispatcher-modules/sd_espeak
%files espeak-ng
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/espeak-ng.conf
%{_libdir}/speech-dispatcher-modules/sd_espeak-ng
%files festival
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/festival.conf
%{_libdir}/speech-dispatcher-modules/sd_festival
@ -242,6 +255,9 @@ fi
%{python3_sitearch}/speechd*
%changelog
* Mon Jan 29 2018 Ondřej Lysoněk <olysonek@redhat.com> - 0.8.8-3
- Add support for espeak-ng, add speech-dispatcher-espeak-ng subpackage
* Thu Jan 25 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.8.8-2
- include translations, pkgconfig support (#1538715)
- own %%_datadir/speech-dispatcher (#1480893)