Remove rpath

(cherry picked from commit 7f00963de496ab1e851be6c07353e730117e93e5)
This commit is contained in:
starlet-dx 2024-08-13 17:38:20 +08:00 committed by openeuler-sync-bot
parent f70e9a88f0
commit cf3936f6ae

View File

@ -1,6 +1,6 @@
Name: speech-dispatcher
Version: 0.11.5
Release: 1
Release: 2
Summary: Common high-level interface to speech synthesis
License: GPL-2.0-or-later and LGPL-2.1-only or LGPL-2.0-only
URL: http://devel.freebsoft.org/speechd
@ -12,6 +12,7 @@ Patch0001: 0001-Remove-pyxdg-dependency.patch
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: pulseaudio-libs-devel python3-devel python3-setuptools texinfo systemd gcc gcc-c++ make
BuildRequires: chrpath
Provides: speech-dispatcher-utils = %{version}-%{release}
Obsoletes: speech-dispatcher-utils < %{version}-%{release}
Requires: python3-speechd = %{version}-%{release} speech-dispatcher-espeak-ng
@ -103,6 +104,7 @@ mv %{buildroot}%{_datadir}/speech-dispatcher/conf/modules/* %{buildroot}%{_sysco
install -d -m 0700 %{buildroot}%{_localstatedir}/log/speech-dispatcher/
desktop-file-validate %{buildroot}/%{_datadir}/speech-dispatcher/conf/desktop/speechd.desktop
sed 's/# AudioOutputMethod "pulse,alsa"/AudioOutputMethod "pulse,alsa"/' %{buildroot}%{_sysconfdir}/speech-dispatcher/speechd.conf
chrpath -d %{buildroot}/%{_bindir}/spd-say
%pre espeak-ng
espeak_ng_conf=%{_sysconfdir}/speech-dispatcher/modules/espeak-ng.conf
if [ 0$1 -eq 1 -a ! -f $espeak_ng_conf ]; then
@ -183,6 +185,9 @@ fi
%{python3_sitearch}/speechd*
%changelog
* Tue Aug 13 2024 yaoxin <yao_xin001@hoperun.com> - 0.11.5-2
- Remove rpath
* Thu Sep 28 2023 wulei <wu_lei@hoperun.com> - 0.11.5-1
- Update to 0.11.5