# Source4-md5: 66e3bc07751d7e31826185649c5ada5a
Patch0: %{name}-config.patch
Patch1: %{name}-asterisk.patch
+Patch2: %{name}-gcc33.patch
URL: http://www.cstr.ed.ac.uk/projects/festival/
BuildRequires: automake
BuildRequires: speech_tools-devel
%setup -q -n %{name} -b1 -b2 -b3 -b4
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
cp -f /usr/share/automake/config.* .
%{__perl} -pi -e 's,^EST=.*,EST=%{_libdir}/speech_tools,' config/config.in
%{__make} \
CC="%{__cc}" \
CXX="%{__cxx}" \
+ ECHO_N=/bin/printf \
OPTIMISE_CCFLAGS="%{rpmcflags}" \
OPTIMISE_CXXFLAGS="%{rpmcflags}" \
OPTIMISE_LINK="%{rpmldflags}" \
- REQUIRED_LIBDEPS=
+ REQUIRED_LIBDEPS=
# REQUIRED_LIBDPES is workaround not to need static speech_tools libraries
%install