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