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