Patch2: %{name}-libwpd.patch
Patch3: %{name}-link.patch
Patch4: %{name}-libpng15.patch
+Patch5: glib.patch
URL: http://www.abisource.com/
BuildRequires: aiksaurus-gtk-devel >= 1.2.1
BuildRequires: autoconf
BuildRequires: gtkmathview-devel >= 0.7.6
BuildRequires: gucharmap-devel >= 1.7.0
%if %{with gda}
-BuildRequires: libgda-devel >= 1:1.2.3
+BuildRequires: libgda-devel >= 1:1.2.4-16
BuildRequires: libgnomedb-devel >= 1:1.2.0
%else
Obsoletes: abiword-plugin-gda
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
# use generic icon name
%{__sed} -i -e 's|abiword_48.png|abiword.png|' Makefile.am
--- /dev/null
+--- abiword-2.8.6/src/af/util/xp/ut_go_file.h.wiget 2012-03-29 15:50:57.933517971 +0200
++++ abiword-2.8.6/src/af/util/xp/ut_go_file.h 2012-03-29 15:51:06.500184500 +0200
+@@ -31,7 +31,6 @@
+
+ #include <glib.h>
+ #include <gsf/gsf.h>
+-#include <glib/gerror.h>
+ #include <time.h>
+
+ G_BEGIN_DECLS