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