# Source0-md5: 8d9c41cff3a8fbef8d0c835c65600e65
Patch0: %{name}-desktop.patch
Patch1: %{name}-mht.patch
+Patch2: eds-libebook.patch
URL: http://www.abisource.com/
BuildRequires: aiksaurus-gtk-devel >= 1.2.1
BuildRequires: autoconf
BuildRequires: cairo-devel
BuildRequires: enchant-devel >= 1.2.6
BuildRequires: eps-devel
+BuildRequires: evolution-data-server-devel
BuildRequires: fontconfig-devel >= 1:2.3.95
BuildRequires: fribidi-devel >= 0.10.4
BuildRequires: glib2-devel >= 1:2.12.1
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__aclocal} -I .
--disable-static \
--enable-clipart \
--enable-plugins=auto \
- --enable-printing \
- --enable-scripting \
- --enable-templates \
- --enable-threads \
- --with-libxml2 \
- --with-pspell \
- --with-sys-wv
+ --enable-templates
%{__make}
--- /dev/null
+--- abiword-3.0.0/src/text/ptbl/xp/pd_DocumentRDF.cpp~ 2013-04-07 15:53:03.000000000 +0200
++++ abiword-3.0.0/src/text/ptbl/xp/pd_DocumentRDF.cpp 2014-10-18 21:41:42.371972410 +0200
+@@ -1884,7 +1884,7 @@
+
+ #ifdef WITH_EVOLUTION_DATA_SERVER
+ extern "C" {
+- #include <libebook/e-book.h>
++ #include <libebook/libebook.h>
+ };
+
+ static std::string get( EVCard* c, const char* v )