rebuilt with espeak-ng-support [release 0.9.1-3mamba;Mon Nov 04 2019]
This commit is contained in:
parent
b73f73e8b6
commit
66a4946973
@ -1,6 +1,6 @@
|
|||||||
Name: speech-dispatcher
|
Name: speech-dispatcher
|
||||||
Version: 0.9.1
|
Version: 0.9.1
|
||||||
Release: 1mamba
|
Release: 3mamba
|
||||||
Summary: A high-level device independent layer for speech synthesis
|
Summary: A high-level device independent layer for speech synthesis
|
||||||
Group: System/Multimedia
|
Group: System/Multimedia
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -16,32 +16,28 @@ Patch2: speech-dispatcher-0.8-pkgconfig-add-includedir.patch
|
|||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libXau-devel
|
|
||||||
BuildRequires: libalsa-devel
|
BuildRequires: libalsa-devel
|
||||||
BuildRequires: libao-devel
|
BuildRequires: libao-devel
|
||||||
BuildRequires: libaudio-devel
|
|
||||||
BuildRequires: libdotconf-devel
|
BuildRequires: libdotconf-devel
|
||||||
BuildRequires: libespeak-devel
|
BuildRequires: libespeak-ng-devel
|
||||||
BuildRequires: libflac-devel
|
BuildRequires: libflac-devel
|
||||||
BuildRequires: libgcc
|
|
||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libltdl-devel
|
BuildRequires: libltdl-devel
|
||||||
BuildRequires: libogg-devel
|
BuildRequires: libogg-devel
|
||||||
BuildRequires: libpcre-devel
|
|
||||||
BuildRequires: libpulseaudio-devel
|
BuildRequires: libpulseaudio-devel
|
||||||
|
BuildRequires: libpython-devel
|
||||||
BuildRequires: libsndfile-devel
|
BuildRequires: libsndfile-devel
|
||||||
BuildRequires: libstdc++6-devel
|
|
||||||
BuildRequires: libvorbis-devel
|
BuildRequires: libvorbis-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python-xdg-py36
|
BuildRequires: python-xdg-py36
|
||||||
Requires(post):%{__install_info}
|
Requires(post):%{__install_info}
|
||||||
Obsoletes: opentts
|
Obsoletes: opentts
|
||||||
Provides: python-speech-dispatcher
|
Provides: python-speech-dispatcher
|
||||||
#Requires: espeak
|
Requires: espeak-ng
|
||||||
#Requires: espeak-mbrola
|
|
||||||
Obsoletes: python-speech-dispatcher
|
Obsoletes: python-speech-dispatcher
|
||||||
Requires: libspeechd = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: libspeechd = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: python-speechd = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: python-speechd = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: speech-dispatcher-espeak-ng = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
# *** IBM TTS ECI library missing. Compiling without IBM TTS support! See INSTALL.
|
# *** IBM TTS ECI library missing. Compiling without IBM TTS support! See INSTALL.
|
||||||
@ -91,6 +87,33 @@ Requires: python-xdg-py36
|
|||||||
%description -n python-speechd
|
%description -n python-speechd
|
||||||
Contains Python language bindings for developing Python applications that use %{name}.
|
Contains Python language bindings for developing Python applications that use %{name}.
|
||||||
|
|
||||||
|
%package espeak-ng
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: espeak-ng module for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description espeak-ng
|
||||||
|
The goal of Speech Dispatcher project is to provide a high-level device independent layer for speech synthesis through a simple, stable and well documented interface.
|
||||||
|
This package contains the espeak-ng module.
|
||||||
|
|
||||||
|
%package festival
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: festival module for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description festival
|
||||||
|
The goal of Speech Dispatcher project is to provide a high-level device independent layer for speech synthesis through a simple, stable and well documented interface.
|
||||||
|
This package contains the festival module.
|
||||||
|
|
||||||
|
%package flite
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: flite module for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description flite
|
||||||
|
The goal of Speech Dispatcher project is to provide a high-level device independent layer for speech synthesis through a simple, stable and well documented interface.
|
||||||
|
This package contains the flite module.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n speechd-%{version}
|
%setup -q -n speechd-%{version}
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
@ -107,7 +130,21 @@ _EOF
|
|||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
PYTHON=%{__python36}
|
PYTHON=%{__python36} \
|
||||||
|
--disable-static \
|
||||||
|
--with-alsa \
|
||||||
|
--with-pulse \
|
||||||
|
--with-libao \
|
||||||
|
--with-espeak-ng \
|
||||||
|
--without-espeak \
|
||||||
|
--without-oss \
|
||||||
|
--without-nas \
|
||||||
|
--with-kali=no \
|
||||||
|
--with-baratinoo=no \
|
||||||
|
--with-ibmtts=no \
|
||||||
|
--with-default-audio-method=pulse
|
||||||
|
|
||||||
|
# --with-flite \
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
@ -120,7 +157,10 @@ install -d -m0755 \
|
|||||||
|
|
||||||
#install -D -m0755 %{S:1} %{buildroot}%{_initrddir}/speech-dispatcherd
|
#install -D -m0755 %{S:1} %{buildroot}%{_initrddir}/speech-dispatcherd
|
||||||
|
|
||||||
cp src/modules/lib*.so %{buildroot}%{_libdir}/speech-dispatcher/
|
#cp src/modules/lib*.so %{buildroot}%{_libdir}/speech-dispatcher/
|
||||||
|
|
||||||
|
rm -f %{buildroot}%{_libdir}/speech-dispatcher/*.la
|
||||||
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -129,25 +169,15 @@ cp src/modules/lib*.so %{buildroot}%{_libdir}/speech-dispatcher/
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%systemd_post speech_dispatcherd
|
%systemd_post speech-dispatcherd
|
||||||
#if [ $1 -eq 1 ]; then
|
|
||||||
# /sbin/chkconfig --add speech-dispatcherd
|
|
||||||
# /sbin/service speech-dispatcherd start >/dev/null 2>&1
|
|
||||||
#elif [ $1 -gt 1 ]; then
|
|
||||||
# /sbin/service speech-dispatcherd restart >/dev/null 2>&1
|
|
||||||
#fi
|
|
||||||
%install_info spd-say.info
|
%install_info spd-say.info
|
||||||
%install_info speech-dispatcher-cs.info
|
%install_info speech-dispatcher-cs.info
|
||||||
%install_info speech-dispatcher.info
|
%install_info speech-dispatcher.info
|
||||||
%install_info ssip.info
|
%install_info ssip.info
|
||||||
exit 0
|
:
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun speech_dispatcherd
|
%systemd_preun speech-dispatcherd
|
||||||
#if [ $1 -eq 1 ]; then
|
|
||||||
# /sbin/service speech-dispatcherd stop >/dev/null 2>&1
|
|
||||||
# /sbin/chkconfig --del speech-dispatcherd
|
|
||||||
#fi
|
|
||||||
%uninstall_info spd-say.info
|
%uninstall_info spd-say.info
|
||||||
%uninstall_info speech-dispatcher-cs.info
|
%uninstall_info speech-dispatcher-cs.info
|
||||||
%uninstall_info speech-dispatcher.info
|
%uninstall_info speech-dispatcher.info
|
||||||
@ -156,7 +186,7 @@ exit 0
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%systemd_postun speech_dispatcherd
|
%systemd_postun_with_restart speech-dispatcherd
|
||||||
:
|
:
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@ -167,6 +197,9 @@ exit 0
|
|||||||
%config(noreplace) %{_sysconfdir}/speech-dispatcher/speechd.conf
|
%config(noreplace) %{_sysconfdir}/speech-dispatcher/speechd.conf
|
||||||
%config(noreplace) %{_sysconfdir}/speech-dispatcher/clients/*.conf
|
%config(noreplace) %{_sysconfdir}/speech-dispatcher/clients/*.conf
|
||||||
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/*.conf
|
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/*.conf
|
||||||
|
%exclude %{_sysconfdir}/speech-dispatcher/modules/espeak*.conf
|
||||||
|
%exclude %{_sysconfdir}/speech-dispatcher/modules/festival.conf
|
||||||
|
%exclude %{_sysconfdir}/speech-dispatcher/modules/flite.conf
|
||||||
%{_bindir}/spd-conf
|
%{_bindir}/spd-conf
|
||||||
%{_bindir}/spd-say
|
%{_bindir}/spd-say
|
||||||
%{_bindir}/spdsend
|
%{_bindir}/spdsend
|
||||||
@ -194,17 +227,31 @@ exit 0
|
|||||||
%{_infodir}/ssip.info.*
|
%{_infodir}/ssip.info.*
|
||||||
%doc COPYING.GPL-2 COPYING.GPL-3
|
%doc COPYING.GPL-2 COPYING.GPL-3
|
||||||
|
|
||||||
|
%files espeak-ng
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/espeak-ng.conf
|
||||||
|
%{_libdir}/speech-dispatcher-modules/sd_espeak-ng
|
||||||
|
|
||||||
|
%files festival
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/festival.conf
|
||||||
|
%{_libdir}/speech-dispatcher-modules/sd_festival
|
||||||
|
|
||||||
|
%files flite
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/flite.conf
|
||||||
|
#%{_libdir}/speech-dispatcher-modules/sd_flite
|
||||||
|
|
||||||
%files -n libspeechd
|
%files -n libspeechd
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libspeechd.so.*
|
%{_libdir}/libspeechd.so.*
|
||||||
%dir %{_libdir}/speech-dispatcher-modules
|
%dir %{_libdir}/speech-dispatcher-modules
|
||||||
%{_libdir}/speech-dispatcher-modules/sd_*
|
%{_libdir}/speech-dispatcher-modules/sd_cicero
|
||||||
|
%{_libdir}/speech-dispatcher-modules/sd_dummy
|
||||||
|
%{_libdir}/speech-dispatcher-modules/sd_generic
|
||||||
%dir %{_libdir}/speech-dispatcher
|
%dir %{_libdir}/speech-dispatcher
|
||||||
%{_libdir}/speech-dispatcher/lib*.so
|
|
||||||
%{_libdir}/speech-dispatcher/spd_alsa.so
|
%{_libdir}/speech-dispatcher/spd_alsa.so
|
||||||
%{_libdir}/speech-dispatcher/spd_libao.so
|
%{_libdir}/speech-dispatcher/spd_libao.so
|
||||||
%{_libdir}/speech-dispatcher/spd_nas.so
|
|
||||||
%{_libdir}/speech-dispatcher/spd_oss.so
|
|
||||||
%{_libdir}/speech-dispatcher/spd_pulse.so
|
%{_libdir}/speech-dispatcher/spd_pulse.so
|
||||||
%doc AUTHORS COPYING.LGPL
|
%doc AUTHORS COPYING.LGPL
|
||||||
|
|
||||||
@ -213,10 +260,6 @@ exit 0
|
|||||||
%dir %{_includedir}/speech-dispatcher
|
%dir %{_includedir}/speech-dispatcher
|
||||||
%{_includedir}/speech-dispatcher/*.h
|
%{_includedir}/speech-dispatcher/*.h
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/lib*.a
|
|
||||||
%{_libdir}/lib*.la
|
|
||||||
%{_libdir}/speech-dispatcher/*.a
|
|
||||||
%{_libdir}/speech-dispatcher/*.la
|
|
||||||
%{_libdir}/pkgconfig/speech-dispatcher.pc
|
%{_libdir}/pkgconfig/speech-dispatcher.pc
|
||||||
%doc NEWS BUGS TODO
|
%doc NEWS BUGS TODO
|
||||||
|
|
||||||
@ -225,6 +268,12 @@ exit 0
|
|||||||
%{python36_sitearch}/speechd*
|
%{python36_sitearch}/speechd*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-3mamba
|
||||||
|
- rebuilt with espeak-ng-support
|
||||||
|
|
||||||
|
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-2mamba
|
||||||
|
- require espeak-ng instead of espeak and espeak-mbrola
|
||||||
|
|
||||||
* Mon May 13 2019 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
* Mon May 13 2019 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user