X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=festival.spec;h=67f716bf4802b8ae31f4639258cfae20669e96fa;hb=7e06206eda318b8814c024ab8a9458293b6015b9;hp=07357ecaebdeda8956e4352e24308eadaeb116fa;hpb=7f8236b8ba9866d701c1ec41315244e2ba750481;p=packages%2Ffestival.git diff --git a/festival.spec b/festival.spec index 07357ec..67f716b 100644 --- a/festival.spec +++ b/festival.spec @@ -1,17 +1,26 @@ Summary: The Festival speech sythesis system -Summary(pl): System syntezy g³osu Festival +Summary(pl): System syntezy mowy Festival Name: festival Version: 1.4.2 -Release: 1 +Release: 4 License: GPL Group: Applications/Sound Source0: http://www.cstr.ed.ac.uk/download/festival/%{version}/%{name}-%{version}-release.tar.gz -#Source1: ftp://voruta.ek.univ.gda.pl:21/emacspeak/festival_polish_voice.tgz +Source1: http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_us1.tar.gz +Source2: http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_us2.tar.gz +Source3: http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_us3.tar.gz +Source4: http://www.cstr.ed.ac.uk/download/festival/%{version}/festvox_en1.tar.gz Patch0: %{name}-config.patch URL: http://www.cstr.ed.ac.uk/projects/festival/ -BuildRequires: speech_tools-static +BuildRequires: speech_tools-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%ifarch alpha +%define fostype alpha_Linux +%else +%define fostype unknown_Linux +%endif + %description Festival offers a general framework for building speech synthesis systems as well as including examples of various modules. As a whole @@ -38,22 +47,49 @@ Festival developement enviroment. %description devel -l pl Festival - ¶rodowisko rozwojowe. +%package voices-english-mbrola-us +Summary: Festival's files for voices us1, us2, us3 +Summary(pl): Pliki Festival do g³osów us1, us2, us3 +Group: Applications/Sound +Requires: mbrola + +%description voices-english-mbrola-us +Files needed to use us1, us2, us3 voices from mbrola packages. + +%description voices-english-mbrola-us -l pl +Pliki potrzebne do u¿ycia g³osów us1, us2, us3 z pakietu mbrola. + +%package voices-english-mbrola-en +Summary: Festival's files for voice en1 +Summary(pl): Pliki Festival do g³osu en1 +Group: Applications/Sound +Requires: mbrola + +%description voices-english-mbrola-en +Files needed to use en1 voice from mbrola packages. + +%description voices-english-mbrola-en -l pl +Pliki potrzebne do u¿ycia g³osu en1 z pakietu mbrola. + %prep -%setup -q -n %{name} +%setup -q -n %{name} -b1 -b2 -b3 -b4 %patch0 -p1 %build +cp -f /usr/share/automake/config.* . %configure2_13 %{__make} \ CC="%{__cc}" \ CXX="%{__cxx}" \ - CFLAGS="%{rpmcflags}" \ - LDFLAGS="%{rpmldflags}" - + OPTIMISE_CCFLAGS="%{rpmcflags}" \ + OPTIMISE_CXXFLAGS="%{rpmcflags}" \ + OPTIMISE_LINK="%{rpmldflags}" \ + REQUIRED_LIBDEPS= +# REQUIRED_LIBDPES is workaround not to need static speech_tools libraries %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_libdir},%{_includedir}/%{name},%{_mandir}/man1} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/lib/{voices/english,dicts},%{_libdir},%{_includedir}/%{name},%{_mandir}/man1} # bin install bin/festival_server* bin/text2wave $RPM_BUILD_ROOT%{_bindir} @@ -78,7 +114,21 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/* %attr(755,root,root) %{_bindir}/* %dir %{_datadir}/%{name} -%{_datadir}/%{name}/lib +%dir %{_datadir}/%{name}/lib +%dir %{_datadir}/%{name}/lib/dicts +%dir %{_datadir}/%{name}/lib/voices +%dir %{_datadir}/%{name}/lib/voices/english +%dir %{_datadir}/%{name}/lib/etc +%dir %{_datadir}/%{name}/lib/etc/%{fostype} +%attr(755,root,root) %{_datadir}/%{name}/lib/etc/%{fostype}/audsp +%{_datadir}/%{name}/lib/etc/email_filter +%{_datadir}/%{name}/lib/*.scm +%{_datadir}/%{name}/lib/Sable.v0_2.dtd +%{_datadir}/%{name}/lib/festival.el +%{_datadir}/%{name}/lib/sable-latin.ent +%{_datadir}/%{name}/lib/scfg_wsj_wp20.gram +%{_datadir}/%{name}/lib/sec.*.ngrambin +%{_datadir}/%{name}/lib/speech.properties %{_datadir}/%{name}/examples %files devel @@ -86,3 +136,13 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/%{name} %{_libdir}/* %{_datadir}/%{name}/config + +%files voices-english-mbrola-us +%defattr(644,root,root,755) +%{_datadir}/%{name}/lib/voices/english/us1_mbrola +%{_datadir}/%{name}/lib/voices/english/us2_mbrola +%{_datadir}/%{name}/lib/voices/english/us3_mbrola + +%files voices-english-mbrola-en +%defattr(644,root,root,755) +%{_datadir}/%{name}/lib/voices/english/en1_mbrola