!9 Upgrade to version 0.11.4

From: @chen-jan 
Reviewed-by: @wu-leilei 
Signed-off-by: @wu-leilei
This commit is contained in:
openeuler-ci-bot 2023-07-26 03:46:20 +00:00 committed by Gitee
commit ecbacdc18f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 9 additions and 15 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,13 +1,14 @@
Name: speech-dispatcher Name: speech-dispatcher
Version: 0.11.1 Version: 0.11.4
Release: 1 Release: 1
Summary: Common high-level interface to speech synthesis Summary: Common high-level interface to speech synthesis
License: GPLv2+ and GPLv2 License: GPL-2.0-or-later and LGPL-2.1-only or LGPL-2.0-only
URL: http://devel.freebsoft.org/speechd URL: http://devel.freebsoft.org/speechd
Source0: https://github.com/brailcom/speechd/releases/download/%{version}/speech-dispatcher-%{version}.tar.gz Source0: https://github.com/brailcom/speechd/releases/download/%{version}/speech-dispatcher-%{version}.tar.gz
Source1: http://www.freebsoft.org/pub/projects/sound-icons/sound-icons-0.1.tar.gz Source1: http://www.freebsoft.org/pub/projects/sound-icons/sound-icons-0.1.tar.gz
Source2: speech-dispatcherd.service
Patch0001: 0001-Remove-pyxdg-dependency.patch Patch0001: 0001-Remove-pyxdg-dependency.patch
BuildRequires: alsa-lib-devel desktop-file-utils dotconf-devel espeak-ng-devel flite-devel BuildRequires: alsa-lib-devel desktop-file-utils dotconf-devel espeak-ng-devel flite-devel
BuildRequires: glib2-devel intltool libao-devel libtool-ltdl-devel libsndfile-devel BuildRequires: glib2-devel intltool libao-devel libtool-ltdl-devel libsndfile-devel
BuildRequires: pulseaudio-libs-devel python3-devel python3-setuptools texinfo systemd gcc gcc-c++ make BuildRequires: pulseaudio-libs-devel python3-devel python3-setuptools texinfo systemd gcc gcc-c++ make
@ -83,7 +84,7 @@ tar xf %{SOURCE1}
%build %build
%configure --with-alsa --with-pulse --with-libao --without-oss --without-nas --with-flite --without-espeak \ %configure --with-alsa --with-pulse --with-libao --without-oss --without-nas --with-flite --without-espeak \
--with-espeak-ng --sysconfdir=%{_sysconfdir} --with-default-audio-method=pulse \ --with-espeak-ng --sysconfdir=%{_sysconfdir} --with-default-audio-method=pulse \
--with-kali=no --with-baratinoo=no --with-voxin=no \ --with-kali=no --with-baratinoo=no --with-voxin=no --with-ibmtts=no --disable-static \
--with-module-bindir=%{_libdir}/speech-dispatcher-modules/ --with-module-bindir=%{_libdir}/speech-dispatcher-modules/
%make_build V=1 %make_build V=1
@ -91,7 +92,6 @@ tar xf %{SOURCE1}
%install %install
%make_install %make_install
install -d %{buildroot}%{_unitdir} install -d %{buildroot}%{_unitdir}
install -p -m 0644 %SOURCE2 %{buildroot}%{_unitdir}/
install -p -m 0644 sound-icons-0.1/* %{buildroot}%{_datadir}/sounds/speech-dispatcher/ install -p -m 0644 sound-icons-0.1/* %{buildroot}%{_datadir}/sounds/speech-dispatcher/
%find_lang speech-dispatcher %find_lang speech-dispatcher
%delete_la_and_a %delete_la_and_a
@ -140,7 +140,7 @@ if [ $1 = 0 ]; then
fi fi
%files -f speech-dispatcher.lang %files -f speech-dispatcher.lang
%license COPYING.LGPL COPYING.GPL-2 COPYING.GPL-3 %license COPYING.LGPL
%doc NEWS README.md %doc NEWS README.md
%dir %{_sysconfdir}/speech-dispatcher/{clients,modules} %dir %{_sysconfdir}/speech-dispatcher/{clients,modules}
%config(noreplace) %{_sysconfdir}/speech-dispatcher/speechd.conf %config(noreplace) %{_sysconfdir}/speech-dispatcher/speechd.conf
@ -183,6 +183,9 @@ fi
%{python3_sitearch}/speechd* %{python3_sitearch}/speechd*
%changelog %changelog
* Tue Jul 25 2023 chenchen <chen_aka_jan@163.com> - 0.11.4-1
- Upgrade to version 0.11.4
* Mon May 23 2022 wulei <wulei80@h-partners.com> - 0.11.1-1 * Mon May 23 2022 wulei <wulei80@h-partners.com> - 0.11.1-1
- Update package - Update package

View File

@ -1,9 +0,0 @@
[Unit]
Description=Common high-level interface to speech synthesis.
[Service]
Type=forking
ExecStart=/usr/bin/speech-dispatcher -d
[Install]
WantedBy=multi-user.target