Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
speech-dispatcher
speech-dispatcher.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File speech-dispatcher.spec of Package speech-dispatcher
# # spec file for package speech-dispatcher # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: speech-dispatcher Version: 0.7.1 Release: 5 # FIXME missing backends: festival lite, ibmeci (ibm tts), dumbtts/ivona, nas # Almost all files are under GPLv2+, however src/c/clients/spdsend/spdsend.h is # licensed under GPLv2, which makes %%{_bindir}/spdsend GPLv2. License: GPL-2.0+ Summary: Device independent layer for speech synthesis Group: System/Daemons Url: http://www.freebsoft.org/pub/projects/speechd/ Source0: %{name}-%{version}.tar.bz2 # Init file Source1: speech-dispatcher.init # Logrotate file taken from Debian Source2: speech-dispatcher.logrotate # PATCH-FIX-UPSTREAM speech-dispatcher_paths+files.patch vuntz@opensuse.org -- Taken from Debian, use `speech-dispatcher' instead of `speechd' in paths Patch0: speech-dispatcher_paths+files.patch BuildRequires: alsa-devel BuildRequires: dotconf-devel BuildRequires: espeak-devel BuildRequires: glib2-devel BuildRequires: libao-devel BuildRequires: libpulse-devel BuildRequires: libsndfile-devel BuildRequires: python-setuptools BuildRequires: texinfo PreReq: %install_info_prereq Recommends: espeak Suggests: festival Suggests: logrotate Provides: speechd = %{version} Obsoletes: speechd < %{version} # In 12.1, with GNOME 3, gnome-speech is completely deprecated and # speech-dispatcher replaces it. We don't have a Provides since this is # really just about obsoleting at technology, not providing it. Obsoletes: gnome-speech <= 0.4.25 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description 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. 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 configure License: GPL-2.0+ Summary: Configuration tool for Speech Dispatcher Group: System/Daemons Requires: %{name} = %{version} Enhances: %{name} # spd-conf is in python %py_requires %description configure 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. 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. This package contains spd-conf, a configuration tool for Speech Dispatcher. %package module-espeak License: GPL-2.0+ Summary: ESpeak module for Speech Dispatcher Group: System/Daemons Requires: %{name} = %{version} Supplements: packageand(%{name}:espeak) %description module-espeak 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. 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. This package contains the espeak module. %package -n libspeechd2 License: GPL-2.0+ Summary: Device independent layer for speech synthesis - Client library Group: System/Libraries Recommends: %{name} %description -n libspeechd2 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. 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 -n libspeechd-devel License: GPL-2.0+ Summary: Device independent layer for speech synthesis - Development files Group: Development/Languages/C and C++ Requires: libspeechd2 = %{version} Provides: %{name}-devel = %{version} Provides: speechd-devel = %{version} Obsoletes: speechd-devel < %{version} %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. 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 -n python-speechd License: GPL-2.0+ Summary: Device independent layer for speech synthesis - Python Bindings Group: Development/Libraries/Python Recommends: %{name} Provides: speechd-python = %{version} Obsoletes: speechd-python < %{version} %py_requires %description -n python-speechd 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. 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. %prep %setup -q %patch0 -p1 %build %configure --disable-static \ --with-libao \ --with-alsa \ --with-pulse \ --without-flite \ --sysconfdir=%{_sysconfdir} make %{?jobs:-j%jobs} %install %makeinstall find %{buildroot} -type f -name "*.la" -delete -print # Create init.d files install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/speech-dispatcher install -d -m 0755 %{buildroot}%{_sbindir} ln -s %{_sysconfdir}/init.d/speech-dispatcher %{buildroot}%{_sbindir}/rcspeech-dispatcher # Create log dir. 0700 since the logs can contain user information. install -d -m 0700 %{buildroot}%{_localstatedir}/log/speech-dispatcher/ # Install logrotate script install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/speech-dispatcher # Rename certain generically named binaries mv %{buildroot}%{_bindir}/long_message %{buildroot}%{_bindir}/spd_long_message mv %{buildroot}%{_bindir}/run_test %{buildroot}%{_bindir}/spd_run_test # Remove config files for modules we don't support %{__rm} %{buildroot}%{_sysconfdir}/speech-dispatcher/modules/flite.conf %{__rm} %{buildroot}%{_sysconfdir}/speech-dispatcher/modules/ibmtts.conf %{__rm} %{buildroot}%{_sysconfdir}/speech-dispatcher/modules/ivona.conf # Remove config files that we don't need a second time %{__rm} -r %{buildroot}%{_datadir}/speech-dispatcher/conf/ # Remove %{_infodir}/dir file %{__rm} %{buildroot}%{_infodir}/dir %clean rm -rf %{buildroot} %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/spd-say.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/ssip.info.gz %preun %stop_on_removal speech-dispatcher %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/spd-say.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/ssip.info.gz %restart_on_update speech-dispatcher %insserv_cleanup %post -n libspeechd2 -p /sbin/ldconfig %postun -n libspeechd2 -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog NEWS README COPYING %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 %exclude %{_sysconfdir}/speech-dispatcher/modules/espeak.conf %{_bindir}/* %exclude %{_bindir}/spd-conf %{_datadir}/sounds/speech-dispatcher/ %dir %{_libdir}/speech-dispatcher %{_libdir}/speech-dispatcher/libsdaudio.so* # When adding a module, also stop removing its config file in %install %dir %{_libdir}/speech-dispatcher-modules %{_libdir}/speech-dispatcher-modules/sd_cicero %{_libdir}/speech-dispatcher-modules/sd_dummy %{_libdir}/speech-dispatcher-modules/sd_festival %{_libdir}/speech-dispatcher-modules/sd_generic %doc %{_infodir}/%{name}.info.gz %doc %{_infodir}/spd-say.info.gz %doc %{_infodir}/ssip.info.gz # logs %dir %attr(0700, root, root) %{_localstatedir}/log/speech-dispatcher/ %config(noreplace) %{_sysconfdir}/logrotate.d/speech-dispatcher # init.d files %config %{_sysconfdir}/init.d/speech-dispatcher %{_sbindir}/rcspeech-dispatcher %files configure %defattr(-,root,root,-) %{_bindir}/spd-conf %{python_sitearch}/speechd_config/ %files module-espeak %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/speech-dispatcher/modules/espeak.conf %{_libdir}/speech-dispatcher-modules/sd_espeak %files -n libspeechd2 %defattr(-,root,root,-) %{_libdir}/libspeechd.so.* %files -n libspeechd-devel %defattr(-,root,root,-) %{_includedir}/libspeechd.h %{_libdir}/*.so %files -n python-speechd %defattr(-,root,root,-) %{python_sitearch}/speechd/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor