Репозиторий Sisyphus
Последнее обновление: 16 июля 2019 | Пакетов: 17682 | Посещений: 14326797
en ru br
Репозитории ALT
S:2.0.95-alt1
5.1: 1.96-alt1
4.1: 1.96-alt1
4.0: 1.96-alt1
www.altlinux.org/Changes

Группа :: Звук
Пакет: festlex_CMU

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# with custom words added to this lex
%def_with custom

Name: festlex_CMU
Version: 2.0.95
Release: alt1
Group: Sound
Copyright: X11-style
URL: http://www.cstr.ed.ac.uk/projects/festival.html
Packager: Igor Vlasenko <viy at altlinux.org>
Summary: CMU Americal English Lexicon for Festival
Requires: festival
BuildArch: noarch
#Source0: http://www.cstr.ed.ac.uk/downloads/festival/1.95/festlex_CMU.tar.gz
Source0:http://festvox.org/packed/festival/2.0.95/festlex_CMU.tar.gz
#Source0: http://www.speech.cs.cmu.edu/awb/fftest/festlex_CMU.tar.gz

# CMU-redhat.patch contains illegal sound ii1 :(

# %name-0.4-redhat-alt-fixed.patch is properly fixed CMU-redhat.
Patch0: %name-0.4-redhat-alt-fixed.patch
Patch1: %name-0.4-2.0.95-alt-Makefile.patch
%{?_with_custom:BuildRequires: festival}

%description
American English Lexicon based on CMUDICT 0.4 and surround rules.

%prep
%setup -q -c
%if_with custom
%patch0 -p1
%patch1 -p1
%endif

%build
%if_with custom
pushd festival/lib/dicts/cmu
make ESTDIR=/
%endif

%install
DICT_DIR=$RPM_BUILD_ROOT/usr/share/festival/dicts

cd festival

install -d $DICT_DIR/cmu
install -m 644 lib/dicts/cmu/cmulex.scm $DICT_DIR/cmu
install -m 644 lib/dicts/cmu/cmu_lts_rules.scm $DICT_DIR/cmu
install -m 644 lib/dicts/cmu/cmudict-0.4.out $DICT_DIR/cmu

%clean

%files
%defattr(-,root,root)
/usr/share/festival/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin