1 |
Name: abiword |
Name: abiword |
2 |
Summary: Lean and fast full-featured word processor |
Summary: Lean and fast full-featured word processor |
3 |
Version: 2.8.6 |
Version: 2.8.6 |
4 |
Release: %mkrel 1 |
Release: %mkrel 2 |
5 |
Group: Office |
Group: Office |
6 |
URL: http://www.abisource.com/ |
URL: http://www.abisource.com/ |
7 |
License: GPLv2+ |
License: GPLv2+ |
8 |
Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz |
Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz |
|
Patch0: abiword-2.8.0-linkage.patch |
|
9 |
Patch1: abiword-2.8.2-fix-build.patch |
Patch1: abiword-2.8.2-fix-build.patch |
10 |
|
Patch2: abiword-2.8.6-libwpd.patch |
11 |
BuildRoot: %_tmppath/%name-%version-buildroot |
BuildRoot: %_tmppath/%name-%version-buildroot |
12 |
BuildRequires: bison |
BuildRequires: bison |
13 |
BuildRequires: desktop-file-utils |
BuildRequires: desktop-file-utils |
40 |
BuildRequires: ots-devel |
BuildRequires: ots-devel |
41 |
BuildRequires: link-grammar-devel >= 4.2.1 |
BuildRequires: link-grammar-devel >= 4.2.1 |
42 |
BuildRequires: aiksaurusgtk-devel |
BuildRequires: aiksaurusgtk-devel |
43 |
|
BuildRequires: t1lib-devel |
44 |
|
|
45 |
Obsoletes: abiword-plugin-abicollab < 2.7.2 |
Obsoletes: abiword-plugin-abicollab < 2.7.2 |
46 |
Obsoletes: abiword-plugin-abicommand < 2.7.2 |
Obsoletes: abiword-plugin-abicommand < 2.7.2 |
82 |
|
|
83 |
%prep |
%prep |
84 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
|
%patch0 -p0 |
|
85 |
%patch1 -p0 |
%patch1 -p0 |
86 |
|
%patch2 -p0 -b .libwpd |
|
# needed by patch0 |
|
|
libtoolize --copy --force |
|
|
autoreconf |
|
87 |
|
|
88 |
%build |
%build |
89 |
%define Werror_cflags %nil |
%define Werror_cflags %nil |
90 |
enable_dynamic=yes %configure2_5x \ |
%configure --disable-static --enable-dynamic --enable-plugins --enable-clipart --enable-templates |
|
--disable-static \ |
|
|
--enable-default-plugins \ |
|
|
--enable-emacs-keybinding \ |
|
|
--enable-vi-keybinding \ |
|
|
--enable-clipart \ |
|
|
--enable-templates \ |
|
|
--enable-collab-backend-xmpp \ |
|
|
--enable-collab-backend-tcp \ |
|
|
--enable-collab-backend-sugar \ |
|
|
--enable-collab-backend-service \ |
|
|
--with-gio \ |
|
|
--with-goffice \ |
|
|
--with-gucharmap \ |
|
|
--with-inter7eps \ |
|
|
--with-libtidy \ |
|
|
--enable-plugins="wml goffice freetranslation latex eml gimp mif loadbindings babelfish wpg openxml mswrite wordperfect mathview urldict presentation pdb psion collab google paint hancom xslfo opendocument openwriter t602 iscii wmf ots command sdw gdict opml clarisworks kword pdf grammar passepartout applix aiksaurus wikipedia hrtext s5 docbook" |
|
91 |
%make |
%make |
92 |
|
|
93 |
%install |
%install |