/[packages]/cauldron/festlex/current/SPECS/festlex.spec
ViewVC logotype

Contents of /cauldron/festlex/current/SPECS/festlex.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 99273 - (show annotations) (download)
Mon May 16 15:35:24 2011 UTC (12 years, 11 months ago) by ahmad
File size: 1896 byte(s)
SILENT: drop the buildroot declaration
1 %define name festlex
2 %define version 1.4.3
3 %define release %mkrel 10
4
5 Name: %name
6 Summary: Voices for Festival - a free speech synthesizer
7 Version: %{version}
8 Release: %release
9 License: BSD
10 Group: Sound
11 URL: http://www.cstr.ed.ac.uk/projects/festival/
12 BuildArch: noarch
13
14 ### DICTIONARIES
15 # Generic English dictionary
16 Source100: ftp://ftp.cstr.ed.ac.uk/pub/festival/%{version}/festlex_POSLEX.tar.bz2
17 # American English dictionary
18 Source101: ftp://ftp.cstr.ed.ac.uk/pub/festival/%{version}/festlex_CMU.tar.bz2
19
20 %description
21 Festival is a general multi-lingual speech synthesis system developed
22 at CSTR. It offers a full text to speech system with various APIs, as
23 well as an environment for development and research of speech synthesis
24 techniques. It is written in C++ with a Scheme-based command interpreter
25 for general control.
26
27 This package contains dictionaries for use with Festival
28
29
30 %package POSLEX
31 Group: Sound
32 Summary: Festival Speech Lexicons for Engish
33 Provides: festival-lexicons
34
35 %description POSLEX
36 Part of speech lexicons and ngram from English. Required by all
37 British and American English voices.
38
39 %package CMU
40 Group: Sound
41 Summary: CMU dictionary in Festival form
42 Provides: festival-dictionary
43 Provides: festival-dictionary-en_US
44 Requires: festlex-POSLEX
45
46 %description CMU
47 CMU dictionary in Festival form, required for American English voices.
48
49 %prep
50 rm -rf $RPM_BUILD_ROOT
51
52 %setup -T -c -q -a 100 -a 101
53
54 %build
55
56 #cd festival/lib/dicts/cmu
57 #make
58 #cd ../../..
59
60 %install
61 mkdir -p $RPM_BUILD_ROOT%_datadir/festival
62 cp -a festival/lib/dicts $RPM_BUILD_ROOT%_datadir/festival
63
64 rm -f $RPM_BUILD_ROOT/%{_datadir}/festival/dicts/COPYING.poslex
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files POSLEX
70 %defattr(-,root,root)
71 %_datadir/festival/dicts/wsj*
72 %doc festival/lib/dicts/COPYING.poslex
73
74 %files CMU
75 %defattr(-,root,root)
76 %_datadir/festival/dicts/cmu
77 %doc festival/lib/dicts/cmu/COPYING

  ViewVC Help
Powered by ViewVC 1.1.30