Name: festlex-cmu Summary: An American English lexicon and letter-to-sound rules Version: 0.4 Release: 0.2%{?dist} URL: http://www.speech.cs.cmu.edu/cgi-bin/cmudict Group: System Environment/Libraries License: MIT-style Source0: http://festvox.org/packed/festival/1.96/festlex_CMU.tar.gz Provides: festlex-CMU BuildRequires: festival-system BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch %description This package contains an American English Lexicon and letter-to-sound rules based on CMUDICT 0.4. Note that developers of the Festival text-to-speech system prefer this version to the 0.6 version of the CMU dictionary. %prep %setup -q -c -a0 # Too many subdirs... mv festival/lib/dicts/cmu/* . rmdir -p festival/lib/dicts/cmu %build make %install mkdir -p $RPM_BUILD_ROOT%{_datadir}/festival/lib/dicts/cmu # note I'm keeping cmudict-0.4.diff and cmudict_extensions.scm to # satisfy the "all changes clearly marked" part of the license -- these # are the changes. And yes, the ".out" file is the one actually used. # Sigh. for f in allowables.scm cmudict-0.4.diff cmudict-0.4.out \ cmudict_extensions.scm cmulex.scm cmu_lts_rules.scm; do install -m 644 $f $RPM_BUILD_ROOT%{_datadir}/festival/lib/dicts/cmu/ done %clean rm -rf $RPM_BUILD_ROOT %files %doc COPYING %dir %{_datadir}/festival %dir %{_datadir}/festival/lib %dir %{_datadir}/festival/lib/dicts %dir %{_datadir}/festival/lib/dicts/cmu %{_datadir}/festival/lib/dicts/cmu/allowables.scm %{_datadir}/festival/lib/dicts/cmu/cmudict_extensions.scm %{_datadir}/festival/lib/dicts/cmu/cmulex.scm %{_datadir}/festival/lib/dicts/cmu/cmu_lts_rules.scm %{_datadir}/festival/lib/dicts/cmu/cmudict-0.4.diff %{_datadir}/festival/lib/dicts/cmu/cmudict-0.4.out %changelog * Mon Jun 25 2007 Matthew Miller 0.4-0.2 - buildrequire festival-system * Wed Apr 4 2007 Matthew Miller 0.4-0.1 - split from festival package into its own subpackage - make noarch