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