Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
asterisk18-googletts
> asterisk-googletts.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File asterisk-googletts.spec of Package asterisk18-googletts
%define astver 18 %define pkg asterisk %define myname googletts Name: %{pkg}%{astver}-%{myname} Version: 0.6 Release: 1 Url: http://zaf.github.io/asterisk-googletts/ Summary: Text to speech for asterisk using google translate License: GPLv2 Group: Productivity/Telephony/Servers Source0: %{pkg}-%{myname}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: sox BuildRequires: mpg123 BuildRequires: perl BuildRequires: perl-libwww-perl BuildRequires: asterisk%{astver} Requires: sox Requires: mpg123 Requires: perl Requires: perl-libwww-perl Requires: asterisk%{astver} %description This script makes use of Google's translate text to speech service in order to render text to speech and play it back to the user. It supports a variety of different languages (See README for a complete list), local caching of the voice data and also supports 8kHz or 16kHz sample rates to provide the best possible sound quality along with the use of wideband codecs. Authors: -------- Lefteris Zafiris <zaf.000@gmail.com> %prep %setup -q -n %{pkg}-%{myname}-%{version} %build %install %__install -D -m0755 googletts.agi %{buildroot}/var/lib/asterisk/agi-bin/googletts.agi %__install -D -m0755 cli/googletts-cli.pl %{buildroot}%{_bindir}/googletts-cli.pl %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc ChangeLog README %{_bindir}/googletts-cli.pl %defattr(-,asterisk,asterisk) /var/lib/asterisk/agi-bin/googletts.agi %changelog