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