--- /dev/null
+--- espeak-1.24-source/src/Makefile~ 2007-05-13 20:46:14.232597788 +0200
++++ espeak-1.24-source/src/Makefile 2007-05-13 20:47:22.647829868 +0200
+@@ -87,7 +87,7 @@
+ $(INSTALL) -m 755 $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)
+ # Install static library
+ $(INSTALL) -m 755 $(STATIC_LIB_NAME) $(DESTDIR)$(LIBDIR)
+- $(LN_SF) $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)/$(LIB_NAME).$(LIB_VERSION)
++ #$(LN_SF) $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)/$(LIB_NAME).$(LIB_VERSION)
+ $(LN_SF) $(LIB_NAME).$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/$(LIB_NAME)
+ # Install development headers
+ $(INSTALL) -pm 644 speak_lib.h $(DESTDIR)$(INCDIR)
Summary(pl.UTF-8): eSpeak - syntezator mowy dla języka angielskiego i innych
Name: espeak
Version: 1.24
-Release: 1
+Release: 2
License: GPL v2
Group: Applications
Source0: http://dl.sourceforge.net/espeak/%{name}-%{version}-source.zip
# Source0-md5: 6b00c634a18caca91e8c94ca36675304
+Patch0: %{name}-Makefile.patch
URL: http://espeak.sourceforge.net/
BuildRequires: libstdc++-devel
BuildRequires: portaudio-devel >= 19
%prep
%setup -q -n %{name}-%{version}-source
+%patch0 -p1
# remove pernicious headers to avoid using them during build instead of /usr/include/portaudio.h system header
rm -f src/portaudio{18,19,}.h