Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37682991
en ru br
ALT Linux repos
S:1.48.04-alt3
5.0: 1.44.05-alt0.M50.1
4.1: 1.44.05-alt0.M41.2
4.0: 1.44.05-alt0.M40.1

Group :: Sound
RPM: espeak

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 


Name: espeak
Version: 1.44.05
Release: alt0.M50.1
Packager: Michael Pozhidaev <msp at altlinux.org>

Summary:%name is a software speech synthesizer for English and other languages
Summary(ru_RU.UTF-8): Программный синтезатор речи для английского и других языков
Group: Sound
License: %gpl3plus
URL:http://espeak.sourceforge.net

# Automatically added by buildreq on Fri Aug 21 2009

BuildRequires: gcc-c++ unzip

BuildRequires: rpm-build-licenses libportaudio2-devel

Source: %name-%version-source.zip
Source1: %name-ru
Source2: russian_data.zip
Source3: %name-dict.mak

Patch1: espeak-1.39-alt-portaudio.patch

%description
%name is a software text-to-speech tool. It produces speech in enlish
and other languages. Currently it contains the preliminary
implementation of Russian text processing. It uses a different
synthesis method from other open source TTS engines, and sounds quite
different.  It's perhaps not as natural or "smooth", but the
articulation clearer and easier to listen to for long periods.

%description -l ru_RU.UTF-8
Espeak - программный синтезатор речи, подготовленный разработчиком из
Великобритании - Джонатаном Даддингтоном. В основе этого синтезатора
лежат наиболее удачные алгоритмы других свободных разработок. Espeak
способен синтезировать речь на анг. и других языках. Поддержка
русского языка присутствует в начальном варианте.

%package -n lib%name
License: %gpl3plus
Summary: This is a shared library which contains the espeak's text to speech engine
Summary(ru_RU.UTF-8): Динамически подключаемая библиотека с реализацией системы синтеза речи espeak
Group: Sound
Requires: %name-data = %version-%release
%description -n lib%name
This package contains the shared library with text-to-speech
engine. This library is used in 'speak' TTS tool.

%description -l ru_RU.UTF-8 -n lib%name
Динамически подключаемая библиотека, содержащая
реализацию синтеза речи проекта espeak.

%package -n lib%name-devel
Summary: Library headers for libespeak
License: %gpl3plus
Group: Development/C++
Requires: lib%name = %version-%release

%description -n lib%name-devel
Library headers for libespeak.
Install this package if you want
to build applications with libespeak.

%package data
Group: Sound
Summary: Data files used to generate speech by espeak
Summary(ru_RU.UTF-8): Вспомогательные данные для работы синтезатора espeak
BuildArch: noarch
License: %gpl3plus

%description data
This package contains  architecture-independent
data used by espeak speech synthesizer.

%description -l ru_RU.UTF-8 data
Вспомогательные данные о языках, используемые
в работе синтезатором%name.

%prep
%setup -q -n %name-%version-source
#%patch1 -p1
# To enable portaudio19 and newer using instead of portaudio18;
%__rm -f ./src/portaudio.h
%__mv ./src/portaudio19.h ./src/portaudio.h

%build
cp %SOURCE2 ./
unzip russian_data.zip
mv russian_data/ru_listx dictsource/
cd src
cp %SOURCE3 ./dict.mak
make -f dict.mak
cd ../dictsource
../src/speak --compile=ru
cd ../src
make clean
%make_build CXXFLAGS="%optflags"
cd ..

%install
cd src
make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%_libdir install
cd ..

%files
%_bindir/*
%doc ChangeLog.txt docs License.txt ReadMe

%files data
%_datadir/espeak-data

%files -n lib%name
%_libdir/libespeak.so.*

%files -n lib%name-devel
%_includedir/*
%_libdir/libespeak.a
%_libdir/libespeak.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin