diff --git a/speech-dispatcher.spec b/speech-dispatcher.spec index db94519..39f4d1d 100644 --- a/speech-dispatcher.spec +++ b/speech-dispatcher.spec @@ -1,6 +1,6 @@ Name: speech-dispatcher Version: 0.8.8 -Release: 1mamba +Release: 2mamba Summary: A high-level device independent layer for speech synthesis Group: System/Multimedia Vendor: openmamba @@ -14,25 +14,29 @@ Patch1: %{name}-0.8-enable_espeak_mbrola.patch Patch2: speech-dispatcher-0.8-pkgconfig-add-includedir.patch License: LGPL ## AUTOBUILDREQ-BEGIN -BuildRequires: festival BuildRequires: glibc-devel +BuildRequires: libXau-devel BuildRequires: libalsa-devel +BuildRequires: libao-devel BuildRequires: libaudio-devel BuildRequires: libdotconf-devel BuildRequires: libespeak-devel +BuildRequires: libflac-devel BuildRequires: libglib-devel -BuildRequires: libpython3-devel -BuildRequires: libsndfile-devel -## AUTOBUILDREQ-END -BuildRequires: libdotconf-devel >= 1.3 BuildRequires: libltdl-devel -BuildRequires: libao-devel +BuildRequires: libogg-devel +BuildRequires: libpcre-devel +BuildRequires: libpulseaudio-devel +BuildRequires: libsndfile-devel +BuildRequires: libvorbis-devel +## AUTOBUILDREQ-END Requires(post):%{__install_info} Obsoletes: opentts Provides: python-speech-dispatcher Requires: espeak Requires: espeak-mbrola Obsoletes: python-speech-dispatcher +Requires: libspeechd = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root # *** IBM TTS ECI library missing. Compiling without IBM TTS support! See INSTALL. @@ -51,16 +55,26 @@ Key features: What is a very high level GUI library to graphics, Speech Dispatcher is to speech synthesis. The application neither needs to talk to the devices directly nor to handle concurrent access, sound output and other tricky aspects of the speech subsystem. -%package devel +%package -n libspeechd +Group: Development/Libraries +Summary: Shared libraries provided by %{name} +Obsoletes: opentts-devel + +%description -n libspeechd +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 shared libraries. + +%package -n libspeechd-devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: libspeechd-devel +Obsoletes: %{name}-devel Obsoletes: opentts-devel -%description devel +%description -n libspeechd-devel 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 static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package -n python-%{name} Summary: Python wrapper for %{name} @@ -127,17 +141,7 @@ exit 0 %files -f %{name}.lang %defattr(-,root,root) -%dir %{_sysconfdir}/speech-dispatcher/ -%dir %{_sysconfdir}/speech-dispatcher/clients -%dir %{_sysconfdir}/speech-dispatcher/modules -%config(noreplace) %{_sysconfdir}/speech-dispatcher/speechd.conf -%config(noreplace) %{_sysconfdir}/speech-dispatcher/clients/*.conf -%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/*.conf %{_initrddir}/speech-dispatcherd -#%{_bindir}/clibrary* -#%{_bindir}/connection_recovery -#%{_bindir}/long_message -#%{_bindir}/run_test %{_bindir}/spd-conf %{_bindir}/spd-say %{_bindir}/spdsend @@ -151,15 +155,6 @@ exit 0 %{_datadir}/speech-dispatcher/conf/desktop/speechd.desktop %dir %{_datadir}/speech-dispatcher/conf/modules %{_datadir}/speech-dispatcher/conf/modules/*.conf -%dir %{_libdir}/speech-dispatcher-modules -%{_libdir}/speech-dispatcher-modules/sd_* -%{_libdir}/libspeechd.so.* -%dir %{_libdir}/speech-dispatcher -%{_libdir}/speech-dispatcher/spd_alsa.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 %{_datadir}/sounds/speech-dispatcher/*.wav %dir /var/log/speech-dispatcher %dir /var/run/speech-dispatcher @@ -168,9 +163,27 @@ exit 0 %{_infodir}/speech-dispatcher.info.* %{_infodir}/ssip.info.* %{python3_sitearch}/speechd* + +%files -n libspeechd +%defattr(-,root,root) +%dir %{_sysconfdir}/speech-dispatcher/ +%dir %{_sysconfdir}/speech-dispatcher/clients +%dir %{_sysconfdir}/speech-dispatcher/modules +%config(noreplace) %{_sysconfdir}/speech-dispatcher/speechd.conf +%config(noreplace) %{_sysconfdir}/speech-dispatcher/clients/*.conf +%config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/*.conf +%{_libdir}/libspeechd.so.* +%dir %{_libdir}/speech-dispatcher-modules +%{_libdir}/speech-dispatcher-modules/sd_* +%dir %{_libdir}/speech-dispatcher +%{_libdir}/speech-dispatcher/spd_alsa.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 %doc AUTHORS COPYING -%files devel +%files -n libspeechd-devel %defattr(-,root,root) %dir %{_includedir}/speech-dispatcher %{_includedir}/speech-dispatcher/*.h @@ -180,12 +193,15 @@ exit 0 %{_libdir}/speech-dispatcher/*.a %{_libdir}/speech-dispatcher/*.la %{_libdir}/pkgconfig/speech-dispatcher.pc -#%doc ChangeLog NEWS README TODO +%doc NEWS BUGS TODO #%files -n python-%{name} #%defattr(-,root,root) %changelog +* Sun Nov 19 2017 Silvan Calarco 0.8.8-2mamba +- added libspeechd and libspeechd-devel (obsoleting speech-dispatcher-devel) + * Sat Nov 18 2017 Automatic Build System 0.8.8-1mamba - automatic update by autodist