]>
Commit | Line | Data |
---|---|---|
a4760670 | 1 | # TODO: wordperfect support with libwpd 0.10, libwp[gs] 0.3 |
3c4c44c5 | 2 | # |
a4760670 JB |
3 | %bcond_without evolution # Evolution Data Server for contacts and calendar |
4 | %bcond_without champlain # champlain maps display support | |
5 | %bcond_with gda # libgda (1.x) support | |
66b35e7f | 6 | %bcond_without goffice # goffice plugin |
a4760670 JB |
7 | %bcond_with gnomevfs # gnome-vfs support (GTK+ 2.x only) |
8 | %bcond_with gtk2 # GTK+ 2.x instead of 3.x | |
9 | %bcond_without introspection # GObject introspection | |
10 | %bcond_without ots # Open Text Summarizer plugin | |
11 | %bcond_without redland # redland/raptor libraries | |
77a8de10 | 12 | %bcond_with psiconv # psiconv / psion plugin |
66b35e7f | 13 | %bcond_with wordperfect # wordperfect plugin |
3c4c44c5 | 14 | # |
4cf15153 | 15 | %define mver 3.0 |
7ef7e24a | 16 | # |
a4760670 JB |
17 | %if %{without gtk2} |
18 | %undefine with_gnomevfs | |
19 | %endif | |
a611d325 | 20 | Summary: Multi-platform word processor |
86960f12 | 21 | Summary(pl.UTF-8): Wieloplatformowy procesor tekstu |
c3f4081b | 22 | Name: abiword |
3fd2f1d1 | 23 | Version: 3.0.5 |
1da977a0 | 24 | Release: 2 |
b28f7fb4 | 25 | Epoch: 1 |
b0dc3a26 | 26 | License: GPL v2+ |
51e13fb3 | 27 | Group: X11/Applications/Editors |
ddb70578 | 28 | Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz |
3fd2f1d1 | 29 | # Source0-md5: a8f218b711450e4ccae43a0522e0e806 |
6a6cef20 | 30 | Patch0: %{name}-desktop.patch |
09b649fe | 31 | Patch1: %{name}-mht.patch |
988d24be | 32 | Patch2: %{name}-librevenge.patch |
a4760670 JB |
33 | Patch6: %{name}-tidy.patch |
34 | Patch7: %{name}-asio.patch | |
c3f4081b | 35 | URL: http://www.abisource.com/ |
9d4ea0ce | 36 | BuildRequires: aiksaurus-gtk-devel >= 1.2.1 |
a4760670 JB |
37 | BuildRequires: autoconf >= 2.50 |
38 | BuildRequires: automake >= 1:1.9 | |
39 | BuildRequires: boost-devel >= 1.40.0 | |
a611d325 | 40 | BuildRequires: bzip2-devel |
a4760670 JB |
41 | BuildRequires: cairo-devel >= 1.10 |
42 | BuildRequires: dbus-glib-devel >= 0.70 | |
9d4ea0ce | 43 | BuildRequires: enchant-devel >= 1.2.6 |
fa84db45 | 44 | BuildRequires: eps-devel |
a4760670 | 45 | %{?with_evolution:BuildRequires: evolution-data-server-devel >= 3.6} |
9d4ea0ce | 46 | BuildRequires: fontconfig-devel >= 1:2.3.95 |
19dec3f5 | 47 | BuildRequires: fribidi-devel >= 0.10.4 |
7ef7e24a | 48 | BuildRequires: glib2-devel >= 1:2.12.1 |
a4760670 JB |
49 | BuildRequires: gnutls-devel |
50 | %{?with_introspection:BuildRequires: gobject-introspection-devel >= 1.0.0} | |
51 | %if %{with gtk2} | |
b4359816 | 52 | BuildRequires: gtk+2-devel >= 2:2.12.0 |
a4760670 JB |
53 | %else |
54 | BuildRequires: gtk+3-devel >= 3.0.8 | |
55 | %endif | |
9d4ea0ce | 56 | BuildRequires: gtkmathview-devel >= 0.7.6 |
a4760670 JB |
57 | # libchamplain-gtk compiler with matching GTK+ version |
58 | %{?with_champlain:BuildRequires: libchamplain-devel >= 0.12} | |
198ec40e | 59 | %if %{with gda} |
667379a3 | 60 | BuildRequires: libgda-devel >= 1:1.2.4-16 |
198ec40e | 61 | BuildRequires: libgnomedb-devel >= 1:1.2.0 |
198ec40e | 62 | %endif |
a4760670 JB |
63 | %{?with_goffice:BuildRequires: libgoffice-devel >= 0.10.2} |
64 | BuildRequires: libgcrypt-devel >= 1.4.5 | |
65 | BuildRequires: libgsf-devel >= 1.14.18 | |
66 | BuildRequires: libical-devel >= 0.46 | |
a611d325 | 67 | BuildRequires: libjpeg-devel |
3c4c44c5 | 68 | BuildRequires: libpng-devel |
988d24be | 69 | BuildRequires: librevenge-devel |
b4359816 | 70 | BuildRequires: librsvg-devel >= 1:2.16.0 |
a4760670 | 71 | BuildRequires: libsoup-devel >= 2.4 |
66b35e7f | 72 | BuildRequires: libstdc++-devel >= 6:4.7 |
a4760670 | 73 | BuildRequires: libtool >= 2:1.5 |
2dbf8c49 | 74 | BuildRequires: libwmf-devel >= 2:0.2.8.4 |
66b35e7f JB |
75 | %{?with_wordperfect:BuildRequires: libwpd-devel >= 0.9.0} |
76 | %{?with_wordperfect:BuildRequires: libwpg-devel >= 0.2.0} | |
77 | %{?with_wordperfect:BuildRequires: libwps-devel >= 0.2.0} | |
9d4ea0ce | 78 | BuildRequires: libxml2-devel >= 1:2.6.26 |
a4760670 | 79 | BuildRequires: libxslt-devel |
66b35e7f | 80 | BuildRequires: link-grammar-devel >= 5.1.0 |
a4760670 | 81 | BuildRequires: loudmouth-devel >= 1.3.2 |
ef3f3840 | 82 | %{?with_ots:BuildRequires: ots-devel >= 0.5.0} |
b4359816 | 83 | BuildRequires: pango-devel |
82f7c507 | 84 | BuildRequires: perl-devel |
a4760670 | 85 | BuildRequires: pkgconfig >= 1:0.9.0 |
3c4c44c5 | 86 | BuildRequires: popt-devel |
77a8de10 | 87 | %{?with_psiconv:BuildRequires: psiconv-devel >= 0.9.6} |
a4760670 JB |
88 | %{?with_introspection:BuildRequires: python >= 2} |
89 | %{?with_introspection:BuildRequires: python-pygobject3 >= 3} | |
90 | %{?with_redland:BuildRequires: rasqal-devel >= 0.9.17} | |
0bcd8c6f | 91 | BuildRequires: readline-devel |
a4760670 JB |
92 | %{?with_redland:BuildRequires: redland-devel >= 1.0.10} |
93 | BuildRequires: rpmbuild(macros) >= 1.219 | |
b0dc3a26 | 94 | BuildRequires: sed >= 4.0 |
a4760670 JB |
95 | BuildRequires: tidy-devel |
96 | BuildRequires: telepathy-glib-devel >= 0.14.5 | |
9d4ea0ce | 97 | BuildRequires: wv-devel >= 1.2.1 |
a4760670 | 98 | BuildRequires: zlib-devel |
6bca5794 | 99 | Requires(post,postun): desktop-file-utils |
a4760670 JB |
100 | Requires: cairo >= 1.10 |
101 | Requires: enchant >= 1.2.6 | |
102 | %{?with_evolution:Requires: evolution-data-server-libs >= 3.6} | |
103 | Requires: fontconfig >= 1:2.3.95 | |
104 | Requires: fribidi >= 0.10.4 | |
105 | Requires: glib2 >= 1:2.12.1 | |
106 | %if %{with gtk2} | |
107 | Requires: gtk+2 >= 2:2.12.0 | |
108 | %else | |
109 | Requires: gtk+3 >= 3.0.8 | |
110 | %endif | |
111 | %{?with_champlain:Requires: libchamplain >= 0.12} | |
112 | Requires: libgcrypt >= 1.4.5 | |
113 | %{?with_goffice:Requires: libgoffice >= 0.10.2} | |
114 | Requires: libgsf >= 1.14.18 | |
115 | Requires: libical >= 0.46 | |
116 | Requires: librsvg >= 1:2.16.0 | |
117 | Requires: libxml2 >= 1:2.6.26 | |
118 | %{?with_redland:Requires: rasqal >= 0.9.17} | |
119 | %{?with_redland:Requires: redland >= 1.0.10} | |
120 | Requires: wv >= 1.2.1 | |
a3d1fb9e JB |
121 | Obsoletes: abiword-plugin-applix < 1:2.8 |
122 | Obsoletes: abiword-plugin-babelfish < 1:2.8 | |
123 | Obsoletes: abiword-plugin-bmp < 1:2.8 | |
124 | Obsoletes: abiword-plugin-bz2 < 1:2.8 | |
125 | Obsoletes: abiword-plugin-capi < 1:2.8 | |
126 | Obsoletes: abiword-plugin-clarisworks < 1:2.8 | |
127 | Obsoletes: abiword-plugin-coquille < 1:2.4 | |
128 | Obsoletes: abiword-plugin-dash < 1:2.8 | |
129 | Obsoletes: abiword-plugin-docbook < 1:2.8 | |
130 | Obsoletes: abiword-plugin-eml < 1:2.8 | |
131 | Obsoletes: abiword-plugin-freetranslation < 1:2.8 | |
132 | %{!?with_gda:Obsoletes: abiword-plugin-gda < %{epoch}:%{version}-%{release}} | |
133 | Obsoletes: abiword-plugin-gdict < 1:2.8 | |
134 | Obsoletes: abiword-plugin-gdkpixbuf < 1:2.2 | |
135 | Obsoletes: abiword-plugin-gimp < 1:2.8 | |
136 | %{!?with_goffice:Obsoletes: abiword-plugin-goffice < %{epoch}:%{version}-%{release}} | |
137 | Obsoletes: abiword-plugin-google < 1:2.8 | |
138 | Obsoletes: abiword-plugin-gypsython < 1:2.4 | |
139 | Obsoletes: abiword-plugin-hancom < 1:2.8 | |
140 | Obsoletes: abiword-plugin-hrtext < 1:2.8 | |
141 | Obsoletes: abiword-plugin-iscii < 1:2.8 | |
142 | Obsoletes: abiword-plugin-jpeg < 1:2.8 | |
143 | Obsoletes: abiword-plugin-kword < 1:2.8 | |
144 | Obsoletes: abiword-plugin-magick < 1:2.2 | |
145 | Obsoletes: abiword-plugin-mif < 1:2.8 | |
146 | Obsoletes: abiword-plugin-mswrite < 1:2.8 | |
147 | Obsoletes: abiword-plugin-nroff < 1:2.8 | |
148 | Obsoletes: abiword-plugin-opendocument < 1:2.8 | |
149 | Obsoletes: abiword-plugin-openwritter < 1:2.8 | |
150 | Obsoletes: abiword-plugin-palmdoc < 1:2.8 | |
151 | Obsoletes: abiword-plugin-passepartout < 1:2.8 | |
152 | Obsoletes: abiword-plugin-pdf < 1:2.8 | |
153 | %{!?with_psiconv:Obsoletes: abiword-plugin-psion < %{epoch}:%{version}-%{release}} | |
154 | Obsoletes: abiword-plugin-referee < 1:2.4 | |
155 | Obsoletes: abiword-plugin-rsvg < 1:2.8 | |
156 | Obsoletes: abiword-plugin-scripthappy < 1:2.8 | |
157 | Obsoletes: abiword-plugin-sdw < 1:2.8 | |
158 | Obsoletes: abiword-plugin-t602 < 1:2.8 | |
159 | Obsoletes: abiword-plugin-urldict < 1:2.8 | |
160 | Obsoletes: abiword-plugin-wikipedia < 1:2.8 | |
161 | %{!?with_wordperfect:Obsoletes: abiword-plugin-wordperfect < %{epoch}:%{version}-%{release}} | |
162 | Obsoletes: abiword-plugin-wml < 1:2.8 | |
163 | Obsoletes: abiword-plugin-xhtml < 1:2.8 | |
164 | Obsoletes: abiword-plugin-xslfo < 1:2.8 | |
165 | Obsoletes: abiword-plugins-impexp < 1:2.2 | |
166 | Obsoletes: abiword-plugins-tools < 1:2.2 | |
c3f4081b | 167 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
168 | ||
c3f4081b | 169 | %description |
a611d325 | 170 | AbiWord is a multi-platform word processor with a GTK+ interface on |
171 | the UNIX platform. | |
c3f4081b | 172 | |
54c3bfed | 173 | %description -l pl.UTF-8 |
f740e878 JB |
174 | AbiWord jest wieloplatformowym procesorem tekstu z interfejsem GTK+ na |
175 | platformie UNIX. | |
a611d325 | 176 | |
35318bc6 JB |
177 | %package devel |
178 | Summary: Files for AbiWord plugins development | |
179 | Summary(pl.UTF-8): Pliki do tworzenia wtyczek dla AbiWorda | |
180 | Group: Development/Libraries | |
181 | # doesn't require base | |
182 | ||
183 | %description devel | |
184 | Files for AbiWord plugins development. | |
185 | ||
186 | %description devel -l pl.UTF-8 | |
187 | Pliki do tworzenia wtyczek dla AbiWorda. | |
188 | ||
a4760670 JB |
189 | %package -n python-abiword |
190 | Summary: Python GObject binding for AbiWord library | |
191 | Summary(pl.UTF-8): Wiązanie Pythona i GObject do biblioteki AbiWorda | |
192 | Group: Libraries/Python | |
193 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
194 | Requires: python-pygobject3 >= 3 | |
195 | ||
196 | %description -n python-abiword | |
197 | Python GObject binding for AbiWord library. | |
198 | ||
199 | %description -n python-abiword -l pl.UTF-8 | |
200 | Wiązanie Pythona i GObject do biblioteki AbiWorda. | |
201 | ||
3c4c44c5 | 202 | # plugins - tools |
3c4c44c5 | 203 | %package plugin-aiksaurus |
204 | Summary: AbiWord Aiksaurus plugin | |
86960f12 | 205 | Summary(pl.UTF-8): Wtyczka AbiWorda Aiksaurus |
51e13fb3 | 206 | Group: X11/Applications/Editors |
3c4c44c5 | 207 | Requires: %{name} = %{epoch}:%{version}-%{release} |
a4760670 | 208 | Requires: aiksaurus-gtk >= 1.2.1 |
3c4c44c5 | 209 | |
210 | %description plugin-aiksaurus | |
211 | Allows to use Aiksaurus thesaurus. | |
212 | ||
54c3bfed JR |
213 | %description plugin-aiksaurus -l pl.UTF-8 |
214 | Wtyczka ta pozwala na użycie Aiksaurusa - słownika wyrazów | |
d4b82311 | 215 | bliskoznacznych. |
3c4c44c5 | 216 | |
06c8551c SS |
217 | %package plugin-collab |
218 | Summary: Remote collaborate for AbiWord | |
0f194ed2 | 219 | Summary(pl.UTF-8): Zdalna współpraca dla AbiWorda |
51e13fb3 | 220 | Group: X11/Applications/Editors |
06c8551c | 221 | Requires: %{name} = %{epoch}:%{version}-%{release} |
a4760670 JB |
222 | Requires: dbus-glib >= 0.70 |
223 | Requires: loudmouth >= 1.3.2 | |
224 | Requires: telepathy-glib >= 0.14.5 | |
1da977a0 | 225 | Requires: telepathy-mission-control |
06c8551c SS |
226 | |
227 | %description plugin-collab | |
228 | Allows to collaborate with a remote user. | |
229 | ||
416c0cd6 | 230 | %description plugin-collab -l pl.UTF-8 |
8bfeb9e8 | 231 | Wtyczka pozwalająca na współpracę z innym użytkownikiem przez sieć. |
06c8551c | 232 | |
3c4c44c5 | 233 | %package plugin-command |
234 | Summary: AbiWord command line control | |
86960f12 | 235 | Summary(pl.UTF-8): Konrolowanie AbiWorda z linii poleceń |
51e13fb3 | 236 | Group: X11/Applications/Editors |
3c4c44c5 | 237 | Requires: %{name} = %{epoch}:%{version}-%{release} |
238 | ||
239 | %description plugin-command | |
240 | Allows command line control of AbiWord. | |
241 | ||
54c3bfed JR |
242 | %description plugin-command -l pl.UTF-8 |
243 | Wtyczka ta pozwala na kontrolowanie AbiWorda z poziomu linii poleceń. | |
3c4c44c5 | 244 | |
3c4c44c5 | 245 | %package plugin-gda |
246 | Summary: AbiWord GDA plugin | |
86960f12 | 247 | Summary(pl.UTF-8): Wtyczka AbiWorda dla GDA |
51e13fb3 | 248 | Group: X11/Applications/Editors |
3c4c44c5 | 249 | Requires: %{name} = %{epoch}:%{version}-%{release} |
7ef7e24a | 250 | Requires: gnome-database-access-properties >= 1:1.2.1 |
a4760670 JB |
251 | Requires: libgda >= 1:1.2.4-16 |
252 | Requires: libgnomedb >= 1:1.2.0 | |
3c4c44c5 | 253 | |
254 | %description plugin-gda | |
255 | Allows access to any database provided by libgda. | |
256 | ||
54c3bfed JR |
257 | %description plugin-gda -l pl.UTF-8 |
258 | Wtyczka ta pozwala na połączenie z dowolną bazą danych dostarczaną za | |
259 | pośrednictwem libgda. | |
3c4c44c5 | 260 | |
e4d2027a PZ |
261 | %package plugin-goffice |
262 | Summary: GNOME Office plugin | |
86960f12 | 263 | Summary(pl.UTF-8): Wtyczka GNOME Office |
51e13fb3 | 264 | Group: X11/Applications/Editors |
e4d2027a | 265 | Requires: %{name} = %{epoch}:%{version}-%{release} |
a4760670 | 266 | Requires: libgoffice >= 0.10.2 |
d32717a1 | 267 | |
e4d2027a | 268 | %description plugin-goffice |
6bca5794 | 269 | Allows to share GNOME Office objects between GOffice appplications. |
d32717a1 | 270 | |
54c3bfed JR |
271 | %description plugin-goffice -l pl.UTF-8 |
272 | Pozwala na współdzielenie obiektów GNOME Office pomiędzy jego | |
e4d2027a | 273 | aplikacjami. |
d32717a1 | 274 | |
d32717a1 | 275 | %package plugin-mathview |
276 | Summary: AbiWord MathView plugin | |
86960f12 | 277 | Summary(pl.UTF-8): Wtyczka MAthView dla AbiWorda |
51e13fb3 | 278 | Group: X11/Applications/Editors |
3c4c44c5 | 279 | Requires: %{name} = %{epoch}:%{version}-%{release} |
a4760670 | 280 | Requires: gtkmathview-devel >= 0.7.6 |
3c4c44c5 | 281 | |
d32717a1 | 282 | %description plugin-mathview |
283 | MathML or LaTeX style equation inserting and editing. | |
3c4c44c5 | 284 | |
54c3bfed JR |
285 | %description plugin-mathview -l pl.UTF-8 |
286 | Pozwala na wstawianie i edycję równań w stylu MathML lub LaTeX. | |
3c4c44c5 | 287 | |
3c4c44c5 | 288 | %package plugin-ots |
289 | Summary: AbiWord OTS plugin | |
86960f12 | 290 | Summary(pl.UTF-8): Wtyczka OTS dla Abiworda |
51e13fb3 | 291 | Group: X11/Applications/Editors |
3c4c44c5 | 292 | Requires: %{name} = %{epoch}:%{version}-%{release} |
a4760670 | 293 | Requires: ots >= 0.5.0 |
3c4c44c5 | 294 | |
295 | %description plugin-ots | |
296 | Create document summaries. | |
297 | ||
54c3bfed JR |
298 | %description plugin-ots -l pl.UTF-8 |
299 | Wtyczka ta służy do tworzenia podsumowania dokumentu. | |
3c4c44c5 | 300 | |
3c4c44c5 | 301 | # plugins import - export |
3c4c44c5 | 302 | %package plugin-latex |
303 | Summary: AbiWord LaTeX plugin | |
86960f12 | 304 | Summary(pl.UTF-8): Wtyczka LaTeX dla Abiworda |
51e13fb3 | 305 | Group: X11/Applications/Editors |
3c4c44c5 | 306 | Requires: %{name} = %{epoch}:%{version}-%{release} |
307 | ||
308 | %description plugin-latex | |
309 | LaTeX export. | |
310 | ||
54c3bfed JR |
311 | %description plugin-latex -l pl.UTF-8 |
312 | Wtyczka ta służy do eksportu do LaTeXa. | |
3c4c44c5 | 313 | |
65a28f86 AM |
314 | %package plugin-link-grammar |
315 | Summary: AbiWord Link Grammar plugin | |
86960f12 | 316 | Summary(pl.UTF-8): Wtyczka Gramatyki dla Abiworda |
51e13fb3 | 317 | Group: X11/Applications/Editors |
65a28f86 | 318 | Requires: %{name} = %{epoch}:%{version}-%{release} |
66b35e7f | 319 | Requires: link-grammar >= 5.1.0 |
65a28f86 AM |
320 | |
321 | %description plugin-link-grammar | |
322 | AbiWord Link Grammar plugin. | |
323 | ||
54c3bfed | 324 | %description plugin-link-grammar -l pl.UTF-8 |
65a28f86 AM |
325 | Wtyczka Gramatyki dla Abiworda. |
326 | ||
3c4c44c5 | 327 | %package plugin-psion |
328 | Summary: AbiWord Psion plugin | |
86960f12 | 329 | Summary(pl.UTF-8): Wtyczka Psion dla Abiworda |
51e13fb3 | 330 | Group: X11/Applications/Editors |
3c4c44c5 | 331 | Requires: %{name} = %{epoch}:%{version}-%{release} |
a4760670 | 332 | Requires: psiconv >= 0.9.6 |
3c4c44c5 | 333 | |
334 | %description plugin-psion | |
335 | Import/export Psion files. | |
336 | ||
54c3bfed JR |
337 | %description plugin-psion -l pl.UTF-8 |
338 | Wtyczka ta służy do importu/eksportu plików Psiona. | |
3c4c44c5 | 339 | |
3c4c44c5 | 340 | %package plugin-wmf |
341 | Summary: AbiWord WMF plugin | |
86960f12 | 342 | Summary(pl.UTF-8): Wtyczka WMF dla Abiworda |
51e13fb3 | 343 | Group: X11/Applications/Editors |
3c4c44c5 | 344 | Requires: %{name} = %{epoch}:%{version}-%{release} |
a4760670 | 345 | Requires: libwmf >= 2:0.2.8.4 |
3c4c44c5 | 346 | |
347 | %description plugin-wmf | |
348 | View Windows Metafiles. | |
349 | ||
54c3bfed JR |
350 | %description plugin-wmf -l pl.UTF-8 |
351 | Wtyczka ta służy do wyświetlania plików typu Windows Metafile. | |
3c4c44c5 | 352 | |
3c4c44c5 | 353 | %package plugin-wordperfect |
354 | Summary: AbiWord WordPerfect plugin | |
86960f12 | 355 | Summary(pl.UTF-8): Wtyczka WordPerfect dla Abiworda |
51e13fb3 | 356 | Group: X11/Applications/Editors |
3c4c44c5 | 357 | Requires: %{name} = %{epoch}:%{version}-%{release} |
358 | ||
359 | %description plugin-wordperfect | |
360 | Import/export Corel WordPerfect files. | |
361 | ||
54c3bfed JR |
362 | %description plugin-wordperfect -l pl.UTF-8 |
363 | Wtyczka ta służy do importu/eksportu plików w formacie Corel | |
d4b82311 | 364 | WordPerfect. |
3c4c44c5 | 365 | |
a611d325 | 366 | %package clipart |
ee4c9b58 | 367 | Summary: AbiWord Clipart |
86960f12 | 368 | Summary(pl.UTF-8): Cliparty dla AbiWorda |
51e13fb3 | 369 | Group: X11/Applications/Editors |
3c6ec2da | 370 | Requires: %{name} = %{epoch}:%{version}-%{release} |
f740e878 | 371 | |
a611d325 | 372 | %description clipart |
373 | This is the clipart portfolio used by AbiWord. | |
b28f7fb4 | 374 | |
54c3bfed JR |
375 | %description clipart -l pl.UTF-8 |
376 | Jest to teczka clipartów używanych przez AbiWorda. | |
f740e878 | 377 | |
c3f4081b | 378 | %prep |
b4359816 | 379 | %setup -q |
0f3032cf | 380 | %patch0 -p1 |
0cf209bf | 381 | %patch1 -p1 |
988d24be | 382 | %patch2 -p0 |
a4760670 JB |
383 | %patch6 -p1 |
384 | %patch7 -p1 | |
ca657490 | 385 | |
c3f4081b | 386 | %build |
a4760670 | 387 | %{__libtoolize} |
b4359816 | 388 | %{__aclocal} -I . |
3c4c44c5 | 389 | %{__autoconf} |
a4760670 JB |
390 | %{__autoheader} |
391 | %{__automake} | |
a611d325 | 392 | %configure \ |
a4760670 | 393 | --disable-silent-rules \ |
cd9e5e60 | 394 | --disable-static \ |
b4359816 | 395 | --enable-clipart \ |
a4760670 | 396 | %{?with_introspection:--enable-introspection} \ |
b4359816 | 397 | --enable-plugins=auto \ |
a4760670 JB |
398 | --enable-templates \ |
399 | --with-champlain%{!?with_champlain:=no} \ | |
400 | --with-evolution-data-server%{!?with_evolution:=no} \ | |
401 | --with-gnomevfs%{!?with_gnomevfs:=no} \ | |
402 | --with-goffice%{!?with_goffice:=no} \ | |
403 | %{?with_gtk2:--with-gtk2} \ | |
404 | --with-redland%{!?with_redland:=no} | |
7ef7e24a | 405 | |
a611d325 | 406 | %{__make} |
407 | ||
c3f4081b | 408 | %install |
409 | rm -rf $RPM_BUILD_ROOT | |
513846f5 | 410 | |
58291f49 | 411 | %{__make} install \ |
988d24be | 412 | DESTDIR=$RPM_BUILD_ROOT |
a611d325 | 413 | |
3c4c44c5 | 414 | # Remove useless files |
a4760670 JB |
415 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/abiword-%{mver}/plugins/*.la |
416 | # obsoleted by pkg-config | |
417 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
418 | ||
419 | %if %{with introspection} | |
420 | %py_postclean | |
421 | %endif | |
a7e0aea6 | 422 | |
c3f4081b | 423 | %clean |
424 | rm -rf $RPM_BUILD_ROOT | |
425 | ||
3c4c44c5 | 426 | %post |
9b2bf80a | 427 | %update_desktop_database_post |
6a7a2dfb | 428 | %update_icon_cache hicolor |
3c4c44c5 | 429 | |
430 | %postun | |
9b2bf80a | 431 | %update_desktop_database_postun |
6a7a2dfb | 432 | %update_icon_cache hicolor |
3c4c44c5 | 433 | |
9e2ecadc | 434 | %files |
c3f4081b | 435 | %defattr(644,root,root,755) |
a4760670 | 436 | %attr(755,root,root) %{_bindir}/abiword |
b4359816 | 437 | %attr(755,root,root) %{_libdir}/libabiword-%{mver}.so |
a4760670 JB |
438 | %if %{with introspection} |
439 | %{_libdir}/girepository-1.0/Abi-%{mver}.typelib | |
440 | %endif | |
07447132 SS |
441 | %dir %{_libdir}/abiword-%{mver} |
442 | %dir %{_libdir}/abiword-%{mver}/plugins | |
2c759294 | 443 | %dir %{_datadir}/abiword-%{mver} |
35318bc6 | 444 | %{_datadir}/abiword-%{mver}/Presentation.xml |
35318bc6 | 445 | %{_datadir}/abiword-%{mver}/readme.abw |
58291f49 | 446 | %{_datadir}/abiword-%{mver}/readme.txt |
58291f49 | 447 | %{_datadir}/abiword-%{mver}/system.profile* |
a4760670 JB |
448 | %{_datadir}/abiword-%{mver}/certs |
449 | %{_datadir}/abiword-%{mver}/mime-info | |
450 | %{_datadir}/abiword-%{mver}/omml_xslt | |
451 | %{_datadir}/abiword-%{mver}/strings | |
58291f49 | 452 | %{_datadir}/abiword-%{mver}/templates |
b4359816 | 453 | %{_datadir}/abiword-%{mver}/ui |
1eb22952 | 454 | %{_datadir}/abiword-%{mver}/xsltml |
3fd2f1d1 JB |
455 | %{_datadir}/appdata/abiword.appdata.xml |
456 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.AbiCollab.service | |
a4760670 | 457 | %{_desktopdir}/abiword.desktop |
988d24be | 458 | %{_iconsdir}/hicolor/*/apps/abiword.* |
198ec40e | 459 | %{_mandir}/man1/abiword.1* |
3c4c44c5 | 460 | |
b4359816 PZ |
461 | # These don't add any additional dependencies so there's no reason to split |
462 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/applix.so | |
463 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/babelfish.so | |
464 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/bmp.so | |
465 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/clarisworks.so | |
466 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/docbook.so | |
467 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/eml.so | |
4cf15153 | 468 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/epub.so |
b4359816 PZ |
469 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/freetranslation.so |
470 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/garble.so | |
471 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/gdict.so | |
472 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/gimp.so | |
473 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/google.so | |
474 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/hancom.so | |
475 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/hrtext.so | |
476 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/iscii.so | |
477 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/kword.so | |
478 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/loadbindings.so | |
479 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/mht.so | |
480 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/mif.so | |
481 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/mswrite.so | |
482 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/opml.so | |
483 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/opendocument.so | |
484 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/openwriter.so | |
485 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/openxml.so | |
486 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/paint.so | |
487 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/passepartout.so | |
488 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/pdb.so | |
489 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/pdf.so | |
490 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/presentation.so | |
491 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/s5.so | |
492 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/sdw.so | |
493 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/t602.so | |
494 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/urldict.so | |
495 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wikipedia.so | |
496 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wml.so | |
b4359816 | 497 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/xslfo.so |
bd2afbe5 | 498 | |
35318bc6 JB |
499 | %files devel |
500 | %defattr(644,root,root,755) | |
501 | %{_includedir}/abiword-%{mver} | |
a4760670 JB |
502 | %if %{with introspection} |
503 | %{_datadir}/gir-1.0/Abi-3.0.gir | |
504 | %endif | |
35318bc6 JB |
505 | %{_pkgconfigdir}/abiword-%{mver}.pc |
506 | ||
a4760670 JB |
507 | %if %{with introspection} |
508 | %files -n python-abiword | |
509 | %defattr(644,root,root,755) | |
510 | %{py_sitedir}/gi/overrides/Abi.py[co] | |
511 | %endif | |
512 | ||
6bca5794 | 513 | %files plugin-aiksaurus |
3c4c44c5 | 514 | %defattr(644,root,root,755) |
b4359816 | 515 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/aiksaurus.so |
988d24be JR |
516 | %attr(755,root,root) %{_libdir}/libAiksaurusGtk3--export-dynamic.so |
517 | %attr(755,root,root) %{_libdir}/libAiksaurusGtk3.so | |
3c4c44c5 | 518 | |
06c8551c SS |
519 | %files plugin-collab |
520 | %defattr(644,root,root,755) | |
b4359816 | 521 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/collab.so |
1da977a0 | 522 | %{_datadir}/telepathy/clients/AbiCollab.client |
06c8551c | 523 | |
3c4c44c5 | 524 | %files plugin-command |
525 | %defattr(644,root,root,755) | |
b4359816 | 526 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/command.so |
3c4c44c5 | 527 | |
65a28f86 | 528 | %if %{with gda} |
3c4c44c5 | 529 | %files plugin-gda |
530 | %defattr(644,root,root,755) | |
b4359816 | 531 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/gda.so |
65a28f86 | 532 | %endif |
3c4c44c5 | 533 | |
fecbf0d2 | 534 | %if %{with goffice} |
e4d2027a PZ |
535 | %files plugin-goffice |
536 | %defattr(644,root,root,755) | |
b4359816 | 537 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/goffice.so |
fecbf0d2 | 538 | %endif |
d32717a1 | 539 | |
d32717a1 | 540 | %files plugin-mathview |
3c4c44c5 | 541 | %defattr(644,root,root,755) |
b4359816 | 542 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/mathview.so |
3c4c44c5 | 543 | |
58291f49 | 544 | %if %{with ots} |
3c4c44c5 | 545 | %files plugin-ots |
546 | %defattr(644,root,root,755) | |
b4359816 | 547 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/ots.so |
58291f49 | 548 | %endif |
3c4c44c5 | 549 | |
3c4c44c5 | 550 | %files plugin-latex |
551 | %defattr(644,root,root,755) | |
b4359816 | 552 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/latex.so |
3c4c44c5 | 553 | |
65a28f86 AM |
554 | %files plugin-link-grammar |
555 | %defattr(644,root,root,755) | |
b4359816 | 556 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/grammar.so |
d32717a1 | 557 | |
77a8de10 | 558 | %if %{with psiconv} |
3c4c44c5 | 559 | %files plugin-psion |
560 | %defattr(644,root,root,755) | |
b4359816 | 561 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/psion.so |
77a8de10 | 562 | %endif |
3c4c44c5 | 563 | |
564 | %files plugin-wmf | |
565 | %defattr(644,root,root,755) | |
b4359816 | 566 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wmf.so |
3c4c44c5 | 567 | |
66b35e7f JB |
568 | %if %{with wordperfect} |
569 | %files plugin-wordperfect | |
570 | %defattr(644,root,root,755) | |
571 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wordperfect.so | |
572 | %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wpg.so | |
573 | %endif | |
a7e0aea6 | 574 | |
a611d325 | 575 | %files clipart |
576 | %defattr(644,root,root,755) | |
da1031c8 | 577 | %{_datadir}/abiword-%{mver}/clipart |