Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562386
en ru br
ALT Linux repos
S:2.0.95-alt1
5.0: 1.96-alt1
4.1: 1.96-alt1
4.0: 1.96-alt1

Group :: Sound
RPM: festlex_CMU

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

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