]> git.pld-linux.org Git - packages/festival.git/blob - festival.spec
- chmod +x audsp
[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:        1
6 License:        GPL
7 Group:          Applications/Sound
8 Source0:        http://www.cstr.ed.ac.uk/download/festival/%{version}/%{name}-%{version}-release.tar.gz
9 Patch0:         %{name}-config.patch
10 URL:            http://www.cstr.ed.ac.uk/projects/festival/
11 BuildRequires:  speech_tools-static
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Festival offers a general framework for building speech synthesis
16 systems as well as including examples of various modules. As a whole
17 it offers full text to speech through a number APIs: from shell level,
18 though a Scheme command interpreter, as a C++ library, from Java, and
19 an Emacs interface. Festival is multi-lingual, though English is the
20 most advanced.
21
22 %description -l pl
23 Festival jest platform± przeznaczon± do budowania systemów syntezy
24 mowy oraz do ³atwego testowania ró¿nych modu³ów sk³adaj±cych siê na
25 syntezator mowy. Mo¿na te¿ u¿ywaæ programu jako maszynki czytaj±cej
26 pliki tekstowe. Festival jest wielojêzyczny, lecz jêzyk angielski jest
27 najbardziej zaawansowany.
28
29 %package devel
30 Summary:        Festival developement enviroment
31 Summary(pl):    Festival - ¶rodowidko rozwojowe
32 Group:          Applications/Sound
33
34 %description devel
35 Festival developement enviroment.
36
37 %description devel -l pl
38 Festival - ¶rodowisko rozwojowe.
39
40 %prep
41 %setup -q -n %{name}
42 %patch0 -p1
43
44 %build
45 %configure2_13
46 %{__make} \
47         CC="%{__cc}" \
48         CXX="%{__cxx}" \
49         CFLAGS="%{rpmcflags}" \
50         LDFLAGS="%{rpmldflags}"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/lib/{voices/english,dicts},%{_libdir},%{_includedir}/%{name},%{_mandir}/man1}
55
56 # bin
57 install bin/festival_server* bin/text2wave $RPM_BUILD_ROOT%{_bindir}
58 install src/main/festival{,_client} $RPM_BUILD_ROOT%{_bindir}
59
60 # devel
61 install src/lib/libFestival.a $RPM_BUILD_ROOT%{_libdir}
62 install src/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
63
64 # data
65 cp -r lib config examples $RPM_BUILD_ROOT%{_datadir}/%{name}
66 find $RPM_BUILD_ROOT%{_datadir}/%{name} -name Makefile -exec rm \{\} \;
67
68 install doc/festival{,_client}.1 $RPM_BUILD_ROOT%{_mandir}/man1
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc ACKNOWLEDGMENTS COPYING NEWS README
76 %{_mandir}/man1/*
77 %attr(755,root,root) %{_bindir}/*
78 %dir %{_datadir}/%{name}
79 %dir %{_datadir}/%{name}/lib
80 %dir %{_datadir}/%{name}/lib/dicts
81 %dir %{_datadir}/%{name}/lib/voices
82 %dir %{_datadir}/%{name}/lib/voices/english
83 %dir %{_datadir}/%{name}/lib/etc
84 %dir %{_datadir}/%{name}/lib/etc/unknown_Linux
85 %attr(755,root,root) %{_datadir}/%{name}/lib/etc/unknown_Linux/audsp
86 %{_datadir}/%{name}/lib/etc/email_filter
87 %{_datadir}/%{name}/lib/*.scm
88 %{_datadir}/%{name}/lib/Sable.v0_2.dtd
89 %{_datadir}/%{name}/lib/festival.el
90 %{_datadir}/%{name}/lib/sable-latin.ent
91 %{_datadir}/%{name}/lib/scfg_wsj_wp20.gram
92 %{_datadir}/%{name}/lib/sec.*.ngrambin
93 %{_datadir}/%{name}/lib/speech.properties
94 %{_datadir}/%{name}/examples
95
96 %files devel
97 %defattr(644,root,root,755)
98 %{_includedir}/%{name}
99 %{_libdir}/*
100 %{_datadir}/%{name}/config
This page took 0.054489 seconds and 3 git commands to generate.