]> git.pld-linux.org Git - packages/festival.git/blob - festival.spec
- en1-mbrola package
[packages/festival.git] / festival.spec
1 Summary:        The Festival speech sythesis system
2 Summary(pl):    System syntezy mowy Festival
3 Name:           festival
4 Version:        1.4.2
5 Release:        3
6 License:        GPL
7 Group:          Applications/Sound
8 Source0:        http://www.cstr.ed.ac.uk/download/festival/%{version}/%{name}-%{version}-release.tar.gz
9 Source1:        http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_us1.tar.gz
10 Source2:        http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_us2.tar.gz
11 Source3:        http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_us3.tar.gz
12 Source4:        http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_en1.tar.gz
13 Patch0:         %{name}-config.patch
14 URL:            http://www.cstr.ed.ac.uk/projects/festival/
15 BuildRequires:  speech_tools-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Festival offers a general framework for building speech synthesis
20 systems as well as including examples of various modules. As a whole
21 it offers full text to speech through a number APIs: from shell level,
22 though a Scheme command interpreter, as a C++ library, from Java, and
23 an Emacs interface. Festival is multi-lingual, though English is the
24 most advanced.
25
26 %description -l pl
27 Festival jest platform± przeznaczon± do budowania systemów syntezy
28 mowy oraz do ³atwego testowania ró¿nych modu³ów sk³adaj±cych siê na
29 syntezator mowy. Mo¿na te¿ u¿ywaæ programu jako maszynki czytaj±cej
30 pliki tekstowe. Festival jest wielojêzyczny, lecz jêzyk angielski jest
31 najbardziej zaawansowany.
32
33 %package devel
34 Summary:        Festival developement enviroment
35 Summary(pl):    Festival - ¶rodowidko rozwojowe
36 Group:          Applications/Sound
37
38 %description devel
39 Festival developement enviroment.
40
41 %description devel -l pl
42 Festival - ¶rodowisko rozwojowe.
43
44 %package voices-english-mbrola-us
45 Summary:        Festival's files for voices us1, us2, us3
46 Summary(pl):    Pliki Festival do g³osów us1, us2, us3
47 Group:          Applications/Sound
48 Requires:       mbrola
49
50 %description voices-english-mbrola-us
51 Files needed to use us1, us2, us3 voices from mbrola packages.
52
53 %description voices-english-mbrola-us -l pl
54 Pliki potrzebne do u¿ycia g³osów us1, us2, us3 z pakietu mbrola.
55
56 %package voices-english-mbrola-en
57 Summary:        Festival's files for voice en1
58 Summary(pl):    Pliki Festival do g³osu en1
59 Group:          Applications/Sound
60 Requires:       mbrola
61
62 %description voices-english-mbrola-en
63 Files needed to use en1 voice from mbrola packages.
64
65 %description voices-english-mbrola-en -l pl
66 Pliki potrzebne do u¿ycia g³osu en1 z pakietu mbrola.
67
68 %prep
69 %setup -q -n %{name} -b1 -b2 -b3 -b4
70 %patch0 -p1
71
72 %build
73 %configure2_13
74 %{__make} \
75         CC="%{__cc}" \
76         CXX="%{__cxx}" \
77         OPTIMISE_CCFLAGS="%{rpmcflags}" \
78         OPTIMISE_CXXFLAGS="%{rpmcflags}" \
79         OPTIMISE_LINK="%{rpmldflags}" \
80         REQUIRED_LIBDEPS=
81 # REQUIRED_LIBDPES is workaround not to need static speech_tools libraries
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/lib/{voices/english,dicts},%{_libdir},%{_includedir}/%{name},%{_mandir}/man1}
86
87 # bin
88 install bin/festival_server* bin/text2wave $RPM_BUILD_ROOT%{_bindir}
89 install src/main/festival{,_client} $RPM_BUILD_ROOT%{_bindir}
90
91 # devel
92 install src/lib/libFestival.a $RPM_BUILD_ROOT%{_libdir}
93 install src/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
94
95 # data
96 cp -r lib config examples $RPM_BUILD_ROOT%{_datadir}/%{name}
97 find $RPM_BUILD_ROOT%{_datadir}/%{name} -name Makefile -exec rm \{\} \;
98
99 install doc/festival{,_client}.1 $RPM_BUILD_ROOT%{_mandir}/man1
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files
105 %defattr(644,root,root,755)
106 %doc ACKNOWLEDGMENTS COPYING NEWS README
107 %{_mandir}/man1/*
108 %attr(755,root,root) %{_bindir}/*
109 %dir %{_datadir}/%{name}
110 %dir %{_datadir}/%{name}/lib
111 %dir %{_datadir}/%{name}/lib/dicts
112 %dir %{_datadir}/%{name}/lib/voices
113 %dir %{_datadir}/%{name}/lib/voices/english
114 %dir %{_datadir}/%{name}/lib/etc
115 %dir %{_datadir}/%{name}/lib/etc/unknown_Linux
116 %attr(755,root,root) %{_datadir}/%{name}/lib/etc/unknown_Linux/audsp
117 %{_datadir}/%{name}/lib/etc/email_filter
118 %{_datadir}/%{name}/lib/*.scm
119 %{_datadir}/%{name}/lib/Sable.v0_2.dtd
120 %{_datadir}/%{name}/lib/festival.el
121 %{_datadir}/%{name}/lib/sable-latin.ent
122 %{_datadir}/%{name}/lib/scfg_wsj_wp20.gram
123 %{_datadir}/%{name}/lib/sec.*.ngrambin
124 %{_datadir}/%{name}/lib/speech.properties
125 %{_datadir}/%{name}/examples
126
127 %files devel
128 %defattr(644,root,root,755)
129 %{_includedir}/%{name}
130 %{_libdir}/*
131 %{_datadir}/%{name}/config
132
133 %files voices-english-mbrola-us
134 %defattr(644,root,root,755)
135 %{_datadir}/%{name}/lib/voices/english/us1_mbrola
136 %{_datadir}/%{name}/lib/voices/english/us2_mbrola
137 %{_datadir}/%{name}/lib/voices/english/us3_mbrola
138
139 %files voices-english-mbrola-en
140 %defattr(644,root,root,755)
141 %{_datadir}/%{name}/lib/voices/english/en1_mbrola
This page took 0.103929 seconds and 3 git commands to generate.