1 |
Name: abiword |
2 |
Summary: Lean and fast full-featured word processor |
3 |
Version: 2.9.2 |
4 |
Release: %mkrel 1 |
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 |
Patch0: abiword-2.9.2-glib.patch |
10 |
Patch1: abiword-2.9.2-libpng15.patch |
11 |
BuildRequires: bison |
12 |
BuildRequires: desktop-file-utils |
13 |
BuildRequires: pkgconfig(aiksaurus-1.0) |
14 |
BuildRequires: pkgconfig(cairo-pdf) |
15 |
BuildRequires: pkgconfig(cairo-ps) |
16 |
BuildRequires: pkgconfig(dbus-glib-1) >= 0.70 |
17 |
BuildRequires: pkgconfig(enchant) >= 1.2.0 |
18 |
BuildRequires: pkgconfig(fribidi) >= 0.10.4 |
19 |
BuildRequires: pkgconfig(gaiksaurus-1.0) |
20 |
BuildRequires: pkgconfig(gio-2.0) |
21 |
BuildRequires: pkgconfig(glib-2.0) |
22 |
BuildRequires: pkgconfig(glib-2.0) >= 2.6.0 |
23 |
BuildRequires: pkgconfig(gnutls) |
24 |
BuildRequires: pkgconfig(gobject-2.0) >= 2.6.0 |
25 |
BuildRequires: pkgconfig(gthread-2.0) >= 2.6.0 |
26 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.8 |
27 |
BuildRequires: pkgconfig(gtk+-unix-print-3.0) |
28 |
BuildRequires: pkgconfig(libebook-1.2) |
29 |
BuildRequires: pkgconfig(libecal-1.2) |
30 |
BuildRequires: pkgconfig(libgoffice-0.10) |
31 |
BuildRequires: pkgconfig(libgsf-1) >= 1.12 |
32 |
BuildRequires: pkgconfig(libgsf-1) >= 1.14.4 |
33 |
BuildRequires: pkgconfig(libical) >= 0.46 |
34 |
BuildRequires: pkgconfig(libots-1) >= 0.5.0 |
35 |
BuildRequires: pkgconfig(libpng) |
36 |
BuildRequires: pkgconfig(librsvg-2.0) >= 2.16.0 |
37 |
BuildRequires: pkgconfig(libsoup-2.4) |
38 |
BuildRequires: pkgconfig(libwpd-0.9) >= 0.9.0 |
39 |
BuildRequires: pkgconfig(libwpd-stream-0.9) >= 0.9.0 |
40 |
BuildRequires: pkgconfig(libwpg-0.2) >= 0.2.0 |
41 |
BuildRequires: pkgconfig(libwps-0.2) >= 0.1.0 |
42 |
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.0 |
43 |
BuildRequires: pkgconfig(link-grammar) >= 4.2.1 |
44 |
BuildRequires: pkgconfig(loudmouth-1.0) >= 1.3.2 |
45 |
BuildRequires: pkgconfig(mathview-frontend-libxml2) >= 0.7.5 |
46 |
BuildRequires: pkgconfig(pangocairo) |
47 |
BuildRequires: pkgconfig(telepathy-glib) >= 0.14.5 |
48 |
BuildRequires: pkgconfig(wv-1.0) >= 1.2.0 |
49 |
BuildRequires: boost-devel |
50 |
BuildRequires: libgcrypt-devel |
51 |
BuildRequires: libjpeg-devel |
52 |
BuildRequires: libpsiconv-devel |
53 |
BuildRequires: libwmf-devel |
54 |
|
55 |
Obsoletes: abiword-plugin-abicollab < 2.7.2 |
56 |
Obsoletes: abiword-plugin-abicommand < 2.7.2 |
57 |
Obsoletes: abiword-plugin-abigimp < 2.7.2 |
58 |
Obsoletes: abiword-plugin-abigoffice < 2.7.2 |
59 |
Obsoletes: abiword-plugin-abigrammar < 2.7.2 |
60 |
Obsoletes: abiword-plugin-abimathview < 2.7.2 |
61 |
Obsoletes: abiword-plugin-abipsion < 2.7.2 |
62 |
Obsoletes: abiword-plugin-aiksaurus < 2.7.2 |
63 |
Obsoletes: abiword-plugin-babelfish < 2.7.2 |
64 |
Obsoletes: abiword-plugin-freetranslation < 2.7.2 |
65 |
Obsoletes: abiword-plugin-google < 2.7.2 |
66 |
Obsoletes: abiword-plugin-graphics < 2.7.2 |
67 |
Obsoletes: abiword-plugin-impexp < 2.7.2 |
68 |
Obsoletes: abiword-plugin-ots < 2.7.2 |
69 |
Obsoletes: abiword-plugin-shell < 2.7.2 |
70 |
Obsoletes: abiword-plugin-urldict < 2.7.2 |
71 |
Obsoletes: abiword-plugin-wikipedia < 2.7.2 |
72 |
Obsoletes: abiword-plugin-gdict < 2.7.2 |
73 |
Obsoletes: %{_lib}abiword < 2.7.2 |
74 |
|
75 |
Suggests: abiword-doc |
76 |
|
77 |
%description |
78 |
AbiWord is a cross-platform, open source, lean and fast full-featured word |
79 |
processor. It works on Most Unix systems, Microsoft Windows and Mac OS X. |
80 |
|
81 |
Abiword with the GNOME front-end is part of the GNOME Office Suite. |
82 |
See http://www.gnomeoffice.org for details. |
83 |
|
84 |
%package devel |
85 |
Summary: Devel files for Abiword |
86 |
Group: Development/Other |
87 |
Requires: %{name} = %{version} |
88 |
|
89 |
%description devel |
90 |
This pacakage contains devel files for Abiword, mainly header files |
91 |
and pkg files. |
92 |
|
93 |
%prep |
94 |
%setup -q -n %{name}-%{version} |
95 |
%patch0 -p0 |
96 |
%patch1 -p0 |
97 |
|
98 |
%build |
99 |
%define Werror_cflags %nil |
100 |
%configure2_5x --disable-static --enable-plugins --enable-clipart --enable-templates |
101 |
%make |
102 |
|
103 |
%install |
104 |
rm -fr %buildroot |
105 |
%makeinstall_std |
106 |
|
107 |
find %buildroot -name *.la|xargs rm |
108 |
|
109 |
desktop-file-install --vendor="" \ |
110 |
--remove-category="X-Red-Hat-Base" \ |
111 |
--dir %buildroot%{_datadir}/applications \ |
112 |
%buildroot%{_datadir}/applications/%name.desktop |
113 |
|
114 |
%clean |
115 |
rm -fr %buildroot |
116 |
|
117 |
%files |
118 |
%{_bindir}/abiword |
119 |
%{_datadir}/abiword* |
120 |
%{_libdir}/libabiword*.so |
121 |
%{_libdir}/abiword-* |
122 |
%{_mandir}/man1/abiword.1.* |
123 |
%{_datadir}/applications/*.desktop |
124 |
%{_iconsdir}/*.png |
125 |
|
126 |
%files devel |
127 |
%{_includedir}/* |
128 |
%{_libdir}/pkgconfig/*.pc |