1 |
Name: abiword |
2 |
Summary: Lean and fast full-featured word processor |
3 |
Version: 2.8.6 |
4 |
Release: %mkrel 5 |
5 |
Group: Office |
6 |
URL: http://www.abisource.com/ |
7 |
License: GPLv2+ |
8 |
Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz |
9 |
Patch1: abiword-2.8.2-fix-build.patch |
10 |
Patch2: abiword-2.8.6-libwpd.patch |
11 |
BuildRequires: bison |
12 |
BuildRequires: desktop-file-utils |
13 |
BuildRequires: libglade2-devel |
14 |
BuildRequires: goffice-devel >= 0.7.7 |
15 |
BuildRequires: fribidi-devel >= 0.10.4 |
16 |
BuildRequires: glib2-devel >= 2.6.0 |
17 |
BuildRequires: libgsf-1-devel >= 1.14.9 |
18 |
BuildRequires: wv-devel >= 1.2.0 |
19 |
BuildRequires: enchant-devel >= 1.2.0 |
20 |
BuildRequires: gnome-vfs2-devel >= 2.2.0 |
21 |
BuildRequires: gucharmap-devel |
22 |
BuildRequires: cairo-devel |
23 |
BuildRequires: gtk+2-devel >= 2.12.0 |
24 |
BuildRequires: librsvg2-devel >= 2.16.0 |
25 |
BuildRequires: libxslt-devel |
26 |
BuildRequires: libwpg-devel >= 0.1.0 |
27 |
BuildRequires: libwpd-devel >= 0.8.0 |
28 |
BuildRequires: libwps-devel >= 0.1.0 |
29 |
BuildRequires: readline-devel |
30 |
BuildRequires: gtkmathview-devel >= 0.7.5 |
31 |
BuildRequires: libpsiconv-devel |
32 |
BuildRequires: libxml2-devel >= 2.4.0 |
33 |
BuildRequires: loudmouth-devel >= 1.0.1 |
34 |
BuildRequires: dbus-glib-devel >= 0.70 |
35 |
BuildRequires: libsoup-2.4-devel |
36 |
BuildRequires: libwmf-devel |
37 |
BuildRequires: boost-devel >= 1.33.0 |
38 |
BuildRequires: asio |
39 |
BuildRequires: ots-devel |
40 |
BuildRequires: link-grammar-devel >= 4.2.1 |
41 |
BuildRequires: aiksaurusgtk-devel |
42 |
BuildRequires: t1lib-devel |
43 |
|
44 |
Obsoletes: abiword-plugin-abicollab < 2.7.2 |
45 |
Obsoletes: abiword-plugin-abicommand < 2.7.2 |
46 |
Obsoletes: abiword-plugin-abigimp < 2.7.2 |
47 |
Obsoletes: abiword-plugin-abigoffice < 2.7.2 |
48 |
Obsoletes: abiword-plugin-abigrammar < 2.7.2 |
49 |
Obsoletes: abiword-plugin-abimathview < 2.7.2 |
50 |
Obsoletes: abiword-plugin-abipsion < 2.7.2 |
51 |
Obsoletes: abiword-plugin-aiksaurus < 2.7.2 |
52 |
Obsoletes: abiword-plugin-babelfish < 2.7.2 |
53 |
Obsoletes: abiword-plugin-freetranslation < 2.7.2 |
54 |
Obsoletes: abiword-plugin-google < 2.7.2 |
55 |
Obsoletes: abiword-plugin-graphics < 2.7.2 |
56 |
Obsoletes: abiword-plugin-impexp < 2.7.2 |
57 |
Obsoletes: abiword-plugin-ots < 2.7.2 |
58 |
Obsoletes: abiword-plugin-shell < 2.7.2 |
59 |
Obsoletes: abiword-plugin-urldict < 2.7.2 |
60 |
Obsoletes: abiword-plugin-wikipedia < 2.7.2 |
61 |
Obsoletes: abiword-plugin-gdict < 2.7.2 |
62 |
Obsoletes: %{_lib}abiword < 2.7.2 |
63 |
|
64 |
Suggests: abiword-doc |
65 |
|
66 |
%description |
67 |
AbiWord is a cross-platform, open source, lean and fast full-featured word |
68 |
processor. It works on Most Unix systems, Microsoft Windows and Mac OS X. |
69 |
|
70 |
Abiword with the GNOME front-end is part of the GNOME Office Suite. |
71 |
See http://www.gnomeoffice.org for details. |
72 |
|
73 |
%package devel |
74 |
Summary: Devel files for Abiword |
75 |
Group: Development/Other |
76 |
Requires: %{name} = %{version} |
77 |
|
78 |
%description devel |
79 |
This pacakage contains devel files for Abiword, mainly header files |
80 |
and pkg files. |
81 |
|
82 |
%prep |
83 |
%setup -q -n %{name}-%{version} |
84 |
%patch1 -p0 |
85 |
%patch2 -p0 -b .libwpd |
86 |
|
87 |
%build |
88 |
%define Werror_cflags %nil |
89 |
%configure2_5x --disable-static --enable-plugins --enable-clipart --enable-templates |
90 |
%make |
91 |
|
92 |
%install |
93 |
rm -fr %buildroot |
94 |
%makeinstall_std |
95 |
|
96 |
find %buildroot -name *.la|xargs rm |
97 |
|
98 |
desktop-file-install --vendor="" \ |
99 |
--remove-category="X-Red-Hat-Base" \ |
100 |
--dir %buildroot%{_datadir}/applications \ |
101 |
%buildroot%{_datadir}/applications/%name.desktop |
102 |
|
103 |
%clean |
104 |
rm -fr %buildroot |
105 |
|
106 |
%files |
107 |
%defattr(-,root,root) |
108 |
%{_bindir}/abiword |
109 |
%{_datadir}/abiword-2.8 |
110 |
%{_libdir}/libabiword-2.8.so |
111 |
%dir %{_libdir}/abiword-2.8 |
112 |
%dir %{_libdir}/abiword-2.8/plugins |
113 |
%{_libdir}/abiword-2.8/plugins/*.so |
114 |
%{_mandir}/man1/abiword.1.* |
115 |
%{_datadir}/applications/*.desktop |
116 |
%{_iconsdir}/*.png |
117 |
|
118 |
%files devel |
119 |
%defattr(-,root,root) |
120 |
%{_includedir}/abiword-2.8 |
121 |
%{_libdir}/pkgconfig/abiword-2.8.pc |
122 |
|
123 |
|