Summary: The Festival speech sythesis system Summary(pl): System syntezy mowy Festival Name: festival Version: 1.4.2 Release: 2 License: GPL Group: Applications/Sound Source0: http://www.cstr.ed.ac.uk/download/festival/%{version}/%{name}-%{version}-release.tar.gz 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 Patch0: %{name}-config.patch URL: http://www.cstr.ed.ac.uk/projects/festival/ BuildRequires: speech_tools-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Festival offers a general framework for building speech synthesis systems as well as including examples of various modules. As a whole it offers full text to speech through a number APIs: from shell level, though a Scheme command interpreter, as a C++ library, from Java, and an Emacs interface. Festival is multi-lingual, though English is the most advanced. %description -l pl Festival jest platformą przeznaczoną do budowania systemów syntezy mowy oraz do łatwego testowania różnych modułów składających się na syntezator mowy. Można też używać programu jako maszynki czytającej pliki tekstowe. Festival jest wielojęzyczny, lecz język angielski jest najbardziej zaawansowany. %package devel Summary: Festival developement enviroment Summary(pl): Festival - środowidko rozwojowe Group: Applications/Sound %description devel 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 %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łosu us1,us2,us3 z pakietu mbrola. %prep %setup -q -n %{name} -b1 -b2 -b3 %patch0 -p1 %build %configure2_13 %{__make} \ CC="%{__cc}" \ CXX="%{__cxx}" \ 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}/lib/{voices/english,dicts},%{_libdir},%{_includedir}/%{name},%{_mandir}/man1} # bin install bin/festival_server* bin/text2wave $RPM_BUILD_ROOT%{_bindir} install src/main/festival{,_client} $RPM_BUILD_ROOT%{_bindir} # devel install src/lib/libFestival.a $RPM_BUILD_ROOT%{_libdir} install src/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name} # data cp -r lib config examples $RPM_BUILD_ROOT%{_datadir}/%{name} find $RPM_BUILD_ROOT%{_datadir}/%{name} -name Makefile -exec rm \{\} \; install doc/festival{,_client}.1 $RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc ACKNOWLEDGMENTS COPYING NEWS README %{_mandir}/man1/* %attr(755,root,root) %{_bindir}/* %dir %{_datadir}/%{name} %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/unknown_Linux %attr(755,root,root) %{_datadir}/%{name}/lib/etc/unknown_Linux/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 %defattr(644,root,root,755) %{_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