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