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 |
BuildRequires: bison |
10 |
BuildRequires: desktop-file-utils |
11 |
BuildRequires: pkgconfig(aiksaurus-1.0) |
12 |
BuildRequires: pkgconfig(cairo-pdf) |
13 |
BuildRequires: pkgconfig(cairo-ps) |
14 |
BuildRequires: pkgconfig(enchant) >= 1.2.0 |
15 |
BuildRequires: pkgconfig(fribidi) >= 0.10.4 |
16 |
BuildRequires: pkgconfig(gaiksaurus-1.0) |
17 |
BuildRequires: pkgconfig(gio-2.0) |
18 |
BuildRequires: pkgconfig(glib-2.0) |
19 |
BuildRequires: pkgconfig(glib-2.0) >= 2.6.0 |
20 |
BuildRequires: pkgconfig(gobject-2.0) >= 2.6.0 |
21 |
BuildRequires: pkgconfig(gthread-2.0) >= 2.6.0 |
22 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.8 |
23 |
BuildRequires: pkgconfig(gtk+-unix-print-3.0) |
24 |
BuildRequires: pkgconfig(libgoffice-0.10) |
25 |
BuildRequires: pkgconfig(libgsf-1) >= 1.12 |
26 |
BuildRequires: pkgconfig(libgsf-1) >= 1.14.4 |
27 |
BuildRequires: pkgconfig(libical) >= 0.46 |
28 |
BuildRequires: pkgconfig(libots-1) >= 0.5.0 |
29 |
BuildRequires: pkgconfig(libpng) |
30 |
BuildRequires: pkgconfig(librsvg-2.0) >= 2.16.0 |
31 |
BuildRequires: pkgconfig(libwpd-0.9) >= 0.9.0 |
32 |
BuildRequires: pkgconfig(libwpd-stream-0.9) >= 0.9.0 |
33 |
BuildRequires: pkgconfig(libwpg-0.2) >= 0.2.0 |
34 |
BuildRequires: pkgconfig(libwps-0.2) >= 0.1.0 |
35 |
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.0 |
36 |
BuildRequires: pkgconfig(link-grammar) >= 4.2.1 |
37 |
BuildRequires: pkgconfig(mathview-frontend-libxml2) >= 0.7.5 |
38 |
BuildRequires: pkgconfig(pangocairo) |
39 |
BuildRequires: pkgconfig(wv-1.0) >= 1.2.0 |
40 |
BuildRequires: boost-devel |
41 |
BuildRequires: libgcrypt-devel |
42 |
BuildRequires: libjpeg-devel |
43 |
BuildRequires: libpsiconv-devel |
44 |
BuildRequires: libwmf-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 |
|
87 |
%build |
88 |
%define Werror_cflags %nil |
89 |
%configure2_5x --disable-static --enable-plugins --enable-clipart --enable-templates |
90 |
%make |
91 |
|
92 |
%install |
93 |
rm -fr %buildroot |
94 |
%makeinstall_std |
95 |
|
96 |
find %buildroot -name *.la|xargs rm |
97 |
|
98 |
desktop-file-install --vendor="" \ |
99 |
--remove-category="X-Red-Hat-Base" \ |
100 |
--dir %buildroot%{_datadir}/applications \ |
101 |
%buildroot%{_datadir}/applications/%name.desktop |
102 |
|
103 |
%clean |
104 |
rm -fr %buildroot |
105 |
|
106 |
%files |
107 |
%defattr(-,root,root) |
108 |
%{_bindir}/abiword |
109 |
%{_datadir}/abiword-2.8 |
110 |
%{_libdir}/libabiword-2.8.so |
111 |
%dir %{_libdir}/abiword-2.8 |
112 |
%dir %{_libdir}/abiword-2.8/plugins |
113 |
%{_libdir}/abiword-2.8/plugins/*.so |
114 |
%{_mandir}/man1/abiword.1.* |
115 |
%{_datadir}/applications/*.desktop |
116 |
%{_iconsdir}/*.png |
117 |
|
118 |
%files devel |
119 |
%defattr(-,root,root) |
120 |
%{_includedir}/abiword-2.8 |
121 |
%{_libdir}/pkgconfig/abiword-2.8.pc |
122 |
|
123 |
|