1 Summary: The Festival speech sythesis system
2 Summary(pl): System syntezy mowy Festival
6 License: BSD-like (except for festival.el, which is on GPL)
7 Group: Applications/Sound
8 Source0: http://www.cstr.ed.ac.uk/download/festival/%{version}/%{name}-%{version}-release.tar.gz
9 # Source0-md5: 4a46160fdda29188e0c4ee51b41c5695
10 Source1: http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_us1.tar.gz
11 # Source1-md5: d0c3e727003e715a65daf01003101813
12 Source2: http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_us2.tar.gz
13 # Source2-md5: fbcc8baacbff3aa2aaaf5a93701bb5e0
14 Source3: http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_us3.tar.gz
15 # Source3-md5: 06dbfe2edaab6ffa31deeaf522e0c33e
16 Source4: http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_en1.tar.gz
17 # Source4-md5: 66e3bc07751d7e31826185649c5ada5a
18 Patch0: %{name}-config.patch
19 Patch1: %{name}-asterisk.patch
20 Patch2: %{name}-gcc33.patch
21 URL: http://www.cstr.ed.ac.uk/projects/festival/
22 BuildRequires: automake
23 BuildRequires: speech_tools-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define fostype alpha_Linux
29 %define fostype unknown_Linux
33 Festival offers a general framework for building speech synthesis
34 systems as well as including examples of various modules. As a whole
35 it offers full text to speech through a number APIs: from shell level,
36 though a Scheme command interpreter, as a C++ library, from Java, and
37 an Emacs interface. Festival is multi-lingual, though English is the
41 Festival jest platform± przeznaczon± do budowania systemów syntezy
42 mowy oraz do ³atwego testowania ró¿nych modu³ów sk³adaj±cych siê na
43 syntezator mowy. Mo¿na te¿ u¿ywaæ programu jako maszynki czytaj±cej
44 pliki tekstowe. Festival jest wielojêzyczny, lecz jêzyk angielski jest
45 najbardziej zaawansowany.
48 Summary: Festival developement enviroment
49 Summary(pl): Festival - ¶rodowidko rozwojowe
50 Group: Applications/Sound
53 Festival developement enviroment.
55 %description devel -l pl
56 Festival - ¶rodowisko rozwojowe.
58 %package voices-english-mbrola-us
59 Summary: Festival's files for voices us1, us2, us3
60 Summary(pl): Pliki Festival do g³osów us1, us2, us3
61 Group: Applications/Sound
64 %description voices-english-mbrola-us
65 Files needed to use us1, us2, us3 voices from mbrola packages.
67 %description voices-english-mbrola-us -l pl
68 Pliki potrzebne do u¿ycia g³osów us1, us2, us3 z pakietu mbrola.
70 %package voices-english-mbrola-en
71 Summary: Festival's files for voice en1
72 Summary(pl): Pliki Festival do g³osu en1
73 Group: Applications/Sound
76 %description voices-english-mbrola-en
77 Files needed to use en1 voice from mbrola packages.
79 %description voices-english-mbrola-en -l pl
80 Pliki potrzebne do u¿ycia g³osu en1 z pakietu mbrola.
83 %setup -q -n %{name} -b1 -b2 -b3 -b4
89 cp -f /usr/share/automake/config.* .
90 %{__perl} -pi -e 's,^EST=.*,EST=%{_libdir}/speech_tools,' config/config.in
95 ECHO_N='printf "%%s"' \
96 OPTIMISE_CCFLAGS="%{rpmcflags}" \
97 OPTIMISE_CXXFLAGS="%{rpmcflags}" \
98 OPTIMISE_LINK="%{rpmldflags}" \
100 # REQUIRED_LIBDPES is workaround not to need static speech_tools libraries
103 rm -rf $RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/lib/{voices/english,dicts},%{_libdir},%{_includedir}/%{name},%{_mandir}/man1}
107 install bin/festival_server* bin/text2wave $RPM_BUILD_ROOT%{_bindir}
108 install src/main/festival{,_client} $RPM_BUILD_ROOT%{_bindir}
111 install src/lib/libFestival.a $RPM_BUILD_ROOT%{_libdir}
112 install src/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
115 cp -r lib config examples $RPM_BUILD_ROOT%{_datadir}/%{name}
116 find $RPM_BUILD_ROOT%{_datadir}/%{name} -name Makefile -exec rm \{\} \;
118 install doc/festival{,_client}.1 $RPM_BUILD_ROOT%{_mandir}/man1
121 rm -rf $RPM_BUILD_ROOT
124 %defattr(644,root,root,755)
125 %doc ACKNOWLEDGMENTS COPYING NEWS README
127 %attr(755,root,root) %{_bindir}/*
128 %dir %{_datadir}/%{name}
129 %dir %{_datadir}/%{name}/lib
130 %dir %{_datadir}/%{name}/lib/dicts
131 %dir %{_datadir}/%{name}/lib/voices
132 %dir %{_datadir}/%{name}/lib/voices/english
133 %dir %{_datadir}/%{name}/lib/etc
134 %dir %{_datadir}/%{name}/lib/etc/%{fostype}
135 %attr(755,root,root) %{_datadir}/%{name}/lib/etc/%{fostype}/audsp
136 %{_datadir}/%{name}/lib/etc/email_filter
137 %{_datadir}/%{name}/lib/*.scm
138 %{_datadir}/%{name}/lib/Sable.v0_2.dtd
139 %{_datadir}/%{name}/lib/festival.el
140 %{_datadir}/%{name}/lib/sable-latin.ent
141 %{_datadir}/%{name}/lib/scfg_wsj_wp20.gram
142 %{_datadir}/%{name}/lib/sec.*.ngrambin
143 %{_datadir}/%{name}/lib/speech.properties
144 %{_datadir}/%{name}/examples
147 %defattr(644,root,root,755)
148 %{_includedir}/%{name}
150 %{_datadir}/%{name}/config
152 %files voices-english-mbrola-us
153 %defattr(644,root,root,755)
154 %{_datadir}/%{name}/lib/voices/english/us1_mbrola
155 %{_datadir}/%{name}/lib/voices/english/us2_mbrola
156 %{_datadir}/%{name}/lib/voices/english/us3_mbrola
158 %files voices-english-mbrola-en
159 %defattr(644,root,root,755)
160 %{_datadir}/%{name}/lib/voices/english/en1_mbrola