]>
Commit | Line | Data |
---|---|---|
3fc009a8 | 1 | # |
2993c773 | 2 | # Conditional build: |
58fbc0fe JB |
3 | %bcond_without gda # GDA support |
4 | %bcond_with gnomedb # GNOMEDB support | |
5 | %bcond_without python # Python support | |
6 | %bcond_with guile # Guile support [disabled upstream as experimental] | |
7 | %bcond_with mono # mono scripting engine [disabled upstream as experimental] | |
3fc009a8 | 8 | # |
58fbc0fe | 9 | %ifnarch %{ix86} %{x8664} %{arm} aarch64 ia64 mips ppc ppc64 s390x sparc sparcv9 sparc64 |
1ab44806 JB |
10 | %undefine with_mono |
11 | %endif | |
d64a8ab5 | 12 | %include /usr/lib/rpm/macros.perl |
dda2cd30 | 13 | Summary: The GNOME spreadsheet |
f96dcb22 ER |
14 | Summary(es.UTF-8): La hoja de cálculo del GNOME |
15 | Summary(pl.UTF-8): Arkusz kalkulacyjny GNOME | |
16 | Summary(pt_BR.UTF-8): A planilha do GNOME | |
17 | Summary(ru.UTF-8): Электронные таблицы для GNOME | |
18 | Summary(uk.UTF-8): Електронні таблиці для GNOME | |
19 | Summary(zh_CN.UTF-8): Linux下的Excel -- GNOME电子表格 | |
dda2cd30 | 20 | Name: gnumeric |
58fbc0fe JB |
21 | Version: 1.12.45 |
22 | Release: 1 | |
e4865eaa | 23 | Epoch: 1 |
912eae70 | 24 | License: GPL v2+ |
27b9e6a7 | 25 | Group: X11/Applications |
55e31eb7 | 26 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.12/%{name}-%{version}.tar.xz |
58fbc0fe JB |
27 | # Source0-md5: 7a7095573fd748f56cd2fc6e4b6acb69 |
28 | Patch0: %{name}-po.patch | |
29 | Patch1: %{name}-gnomedb.patch | |
30 | URL: http://www.gnumeric.org/ | |
31 | BuildRequires: autoconf >= 2.54 | |
9a6c860b | 32 | BuildRequires: automake |
d67015db | 33 | BuildRequires: bison |
d67015db | 34 | BuildRequires: flex |
58fbc0fe | 35 | BuildRequires: gcc >= 5:3.2 |
91e6bbc8 | 36 | BuildRequires: gettext-tools |
58fbc0fe JB |
37 | BuildRequires: glib2-devel >= 1:2.40.0 |
38 | BuildRequires: gobject-introspection-devel >= 1.0.0 | |
39 | BuildRequires: gtk+3-devel >= 3.8.7 | |
40 | %{?with_guile:BuildRequires: guile-devel >= 1.5} | |
ffdeafe6 | 41 | BuildRequires: intltool >= 0.35 |
58fbc0fe JB |
42 | BuildRequires: itstool |
43 | BuildRequires: libgoffice-devel >= 0.10.42 | |
44 | %{?with_gda:BuildRequires: libgda5-devel >= 5.0.0} | |
bb9c8c1d | 45 | BuildRequires: libglade2-devel >= 1:2.6.0 |
58fbc0fe JB |
46 | BuildRequires: libgsf-devel >= 1.14.33 |
47 | BuildRequires: libtool >= 2:2.2.6 | |
ffdeafe6 | 48 | BuildRequires: libxml2-devel >= 1:2.6.26 |
773d8485 | 49 | # disabled by default - still experimental |
3fc009a8 | 50 | %{?with_mono:BuildRequires: mono-devel >= 1.0.0} |
58fbc0fe | 51 | BuildRequires: pango-devel >= 1:1.24.0 |
045144c2 | 52 | BuildRequires: perl-base |
7548bd64 | 53 | BuildRequires: perl-devel |
58fbc0fe | 54 | BuildRequires: pkgconfig >= 1:0.18 |
2085f8d8 | 55 | BuildRequires: popt-devel |
3fc009a8 | 56 | BuildRequires: psiconv-devel >= 0.9.3 |
58fbc0fe | 57 | BuildRequires: pxlib-devel >= 0.4.0 |
7548bd64 | 58 | BuildRequires: rpm-perlprov |
b85a3f2e | 59 | %if %{with python} |
58fbc0fe JB |
60 | BuildRequires: python-devel >= 1:2.7 |
61 | BuildRequires: python-pygobject3-devel >= 3.0.0 | |
cf0433ba | 62 | %endif |
07fc4f74 | 63 | BuildRequires: rpmbuild(macros) >= 1.213 |
58fbc0fe JB |
64 | BuildRequires: yelp-tools |
65 | BuildRequires: zlib-devel | |
b7c112fc | 66 | Requires(post,postun): desktop-file-utils |
7548bd64 | 67 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} |
6a82de0c PG |
68 | %if %{without gda} |
69 | Obsoletes: gnumeric-plugin-gdaif | |
58fbc0fe JB |
70 | %endif |
71 | %if %{without gnomedb} | |
6a82de0c PG |
72 | Obsoletes: gnumeric-plugin-gnomedb |
73 | %endif | |
99820d32 | 74 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
03a201fb | 75 | |
76 | %description | |
27b9e6a7 | 77 | GNOME based spreadsheet. Gnumeric is a spreadsheet program for GNOME. |
78 | This program is intended to be a replacement for a commercial | |
79 | spreadsheet, so quite a bit of work has gone into the program. If you | |
80 | are familiar with Excel, you should be ready to use Gnumeric. We have | |
81 | tried to clone all of the good features and stay as compatible as | |
82 | possible with Excel in terms of usability. | |
03a201fb | 83 | |
2d80c63a JR |
84 | %description -l es.UTF-8 |
85 | Gnumeric es un programa de hoja de cálculo para GNOME. Este programa | |
86 | procura ser reemplazar los programas comerciales, así que ha gozado | |
87 | bastante esfuerzo. Si conoce Excel, debería estar preparado para usar | |
b85a3f2e | 88 | Gnumeric. Intentamos clonar todas las buenas cualidades y seguir lo |
2d80c63a | 89 | más compatible que fuera posible, en cuanto a la usabilidad. |
ca3cfba7 | 90 | |
2d80c63a JR |
91 | %description -l pl.UTF-8 |
92 | Bazujący na GNOME arkusz kalkulacyjny. Jeśli znasz arkusz Excel to | |
93 | jesteś gotów na używanie Gnumerica. Staraliśmy się sklonować wszystkie | |
94 | dobre cechy i być kompatybilnym z Excelem w sensie użyteczności. | |
cde30a00 | 95 | |
2d80c63a | 96 | %description -l pt_BR.UTF-8 |
ca3cfba7 | 97 | Este pacote instala a planilha do GNOME, que foi feita para substituir |
2d80c63a JR |
98 | qualquer planilha comercial, pois uma quantidade razoável de trabalho |
99 | foi (e está sendo) colocada para torná-la a melhor possível. | |
ca3cfba7 | 100 | |
2d80c63a JR |
101 | %description -l ru.UTF-8 |
102 | Gnumeric - это программа электронных таблиц для GNOME. | |
95c351bf | 103 | |
2d80c63a JR |
104 | %description -l uk.UTF-8 |
105 | Gnumeric - це програма електронних таблиць для GNOME. | |
95c351bf | 106 | |
ffdeafe6 | 107 | %package -n libspreadsheet |
108 | Summary: libspreadsheet library | |
f96dcb22 | 109 | Summary(pl.UTF-8): Biblioteka libspreadsheet |
ffdeafe6 | 110 | Group: Libraries |
58fbc0fe JB |
111 | Requires: glib2 >= 1:2.40.0 |
112 | Requires: gtk+3 >= 3.8.7 | |
113 | Requires: libgoffice >= 0.10.42 | |
114 | Requires: libgsf >= 1.14.33 | |
115 | Requires: libxml2 >= 1:2.6.26 | |
ffdeafe6 | 116 | |
117 | %description -n libspreadsheet | |
118 | libspreadsheet library. | |
119 | ||
2d80c63a | 120 | %description -n libspreadsheet -l pl.UTF-8 |
ffdeafe6 | 121 | Biblioteka libspreadsheet. |
122 | ||
123 | %package -n libspreadsheet-devel | |
124 | Summary: Header files for libspreadsheet library | |
f96dcb22 | 125 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libspreadsheet |
ffdeafe6 | 126 | Group: Development/Libraries |
127 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} | |
58fbc0fe JB |
128 | Requires: glib2-devel >= 1:2.40.0 |
129 | Requires: gtk+3-devel >= 3.8.7 | |
130 | Requires: libgoffice-devel >= 0.10.42 | |
131 | Requires: libgsf-devel >= 1.14.33 | |
132 | Requires: libxml2-devel >= 1:2.6.26 | |
ffdeafe6 | 133 | |
134 | %description -n libspreadsheet-devel | |
7548bd64 | 135 | This is the package containing the header files for libspreadsheet |
136 | library. | |
ffdeafe6 | 137 | |
2d80c63a JR |
138 | %description -n libspreadsheet-devel -l pl.UTF-8 |
139 | Ten pakiet zawiera pliki nagłówkowe biblioteki libspreadsheet. | |
ffdeafe6 | 140 | |
773d8485 | 141 | # plugins - import/export |
142 | # applix | |
143 | %package plugin-applix | |
144 | Summary: Applix plugin | |
f96dcb22 | 145 | Summary(pl.UTF-8): Wtyczka Applix |
7548bd64 | 146 | Group: X11/Applications |
773d8485 | 147 | Requires: %{name} = %{epoch}:%{version}-%{release} |
148 | ||
149 | %description plugin-applix | |
150 | Imports Applix 4.[234] spreadsheets. | |
151 | ||
2d80c63a | 152 | %description plugin-applix -l pl.UTF-8 |
773d8485 | 153 | Importuje arkusze Applix w wersjach 4.[234]. |
154 | ||
7548bd64 | 155 | # data interchange format (DIF) |
773d8485 | 156 | %package plugin-dif |
157 | Summary: Data Interchange Format plugin | |
f96dcb22 | 158 | Summary(pl.UTF-8): Wtyczka Data Interchange Format |
7548bd64 | 159 | Group: X11/Applications |
773d8485 | 160 | Requires: %{name} = %{epoch}:%{version}-%{release} |
161 | ||
162 | %description plugin-dif | |
163 | Reads and writes information stored in the Data Interchange Format | |
164 | (*.dif). | |
165 | ||
2d80c63a | 166 | %description plugin-dif -l pl.UTF-8 |
7548bd64 | 167 | Odczytuje i zapisuje informacje w uniwersalnym formacie wymiany danych |
168 | (*.dif). | |
773d8485 | 169 | |
170 | # ms excel | |
171 | %package plugin-excel | |
172 | Summary: MS Excel (tm) plugin | |
f96dcb22 | 173 | Summary(pl.UTF-8): Wtyczka MS Excel (tm) |
7548bd64 | 174 | Group: X11/Applications |
773d8485 | 175 | Requires: %{name} = %{epoch}:%{version}-%{release} |
58fbc0fe | 176 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} |
773d8485 | 177 | |
178 | %description plugin-excel | |
179 | Imports/exports MS Excel (tm) files. | |
180 | ||
2d80c63a | 181 | %description plugin-excel -l pl.UTF-8 |
773d8485 | 182 | Importuje/eksporuje pliki MS Excel (tm). |
183 | ||
5b3b7958 | 184 | # glpk |
185 | %package plugin-glpk | |
186 | Summary: GLPK plugin | |
187 | Summary(pl.UTF-8): Wtyczka GLPK | |
7548bd64 | 188 | Group: X11/Applications |
5b3b7958 | 189 | Requires: %{name} = %{epoch}:%{version}-%{release} |
190 | ||
191 | %description plugin-glpk | |
192 | Imports/exports GLPK files. | |
193 | ||
194 | %description plugin-glpk -l pl.UTF-8 | |
195 | Importuje/eksporuje pliki GLPK. | |
196 | ||
773d8485 | 197 | # html |
198 | %package plugin-html | |
199 | Summary: HTML plugin | |
f96dcb22 | 200 | Summary(pl.UTF-8): Wtyczka HTML |
7548bd64 | 201 | Group: X11/Applications |
773d8485 | 202 | Requires: %{name} = %{epoch}:%{version}-%{release} |
203 | ||
204 | %description plugin-html | |
205 | Imports/exports of HTML, TeX, DVI and roff formats. | |
206 | ||
2d80c63a | 207 | %description plugin-html -l pl.UTF-8 |
773d8485 | 208 | Importuje/eksportuje formaty HTML, TeX, DVI i roff. |
209 | ||
210 | # lotus 123 | |
211 | %package plugin-lotus123 | |
212 | Summary: Lotus 123 plugin | |
f96dcb22 | 213 | Summary(pl.UTF-8): Wtyczka Lotus 123 |
7548bd64 | 214 | Group: X11/Applications |
773d8485 | 215 | Requires: %{name} = %{epoch}:%{version}-%{release} |
216 | ||
217 | %description plugin-lotus123 | |
218 | Imports Lotus 123 files. | |
219 | ||
2d80c63a | 220 | %description plugin-lotus123 -l pl.UTF-8 |
773d8485 | 221 | Importuje pliki Lotusa 123. |
222 | ||
5b3b7958 | 223 | # lpsolve |
224 | %package plugin-lpsolve | |
225 | Summary: lpsolve plugin | |
226 | Summary(pl.UTF-8): Wtyczka lpsolve | |
7548bd64 | 227 | Group: X11/Applications |
5b3b7958 | 228 | Requires: %{name} = %{epoch}:%{version}-%{release} |
229 | ||
230 | %description plugin-lpsolve | |
231 | Imports lpsolve files. | |
232 | ||
233 | %description plugin-lpsolve -l pl.UTF-8 | |
234 | Importuje pliki lpsolve. | |
235 | ||
af72cb9c | 236 | # nlsolve |
237 | %package plugin-nlsolve | |
238 | Summary: nlsolve plugin | |
239 | Summary(pl.UTF-8): Wtyczka nlsolve | |
240 | Group: X11/Applications | |
241 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
242 | ||
243 | %description plugin-nlsolve | |
244 | Imports nlsolve files. | |
245 | ||
246 | %description plugin-nlsolve -l pl.UTF-8 | |
247 | Importuje pliki nlsolve. | |
248 | ||
773d8485 | 249 | # gnu oleo |
250 | %package plugin-gnuoleo | |
251 | Summary: GNU Oleo plugin | |
f96dcb22 | 252 | Summary(pl.UTF-8): Wtyczka GNU Oleo |
7548bd64 | 253 | Group: X11/Applications |
773d8485 | 254 | Requires: %{name} = %{epoch}:%{version}-%{release} |
255 | ||
256 | %description plugin-gnuoleo | |
257 | Imports GNU Oleo documents. | |
258 | ||
2d80c63a | 259 | %description plugin-gnuoleo -l pl.UTF-8 |
773d8485 | 260 | Importuje dokumenty GNU Oleo. |
261 | ||
262 | # openoffice | |
263 | %package plugin-openoffice | |
264 | Summary: OpenOffice.org plugin | |
f96dcb22 | 265 | Summary(pl.UTF-8): Wtyczka OpenOffice.org |
7548bd64 | 266 | Group: X11/Applications |
773d8485 | 267 | Requires: %{name} = %{epoch}:%{version}-%{release} |
268 | ||
269 | %description plugin-openoffice | |
270 | Imports/exports OpenOffice.org/StarOffice spreadsheets. | |
271 | ||
2d80c63a | 272 | %description plugin-openoffice -l pl.UTF-8 |
773d8485 | 273 | Importuje/eksportuje arkusze OpenOffice.org/StarOffice. |
274 | ||
98f8bc30 | 275 | # paradox |
276 | %package plugin-paradox | |
277 | Summary: Paradox plugin | |
f96dcb22 | 278 | Summary(pl.UTF-8): Wtyczka Paradox |
7548bd64 | 279 | Group: X11/Applications |
98f8bc30 | 280 | Requires: %{name} = %{epoch}:%{version}-%{release} |
281 | ||
282 | %description plugin-paradox | |
283 | Imports Paradox files. | |
284 | ||
2d80c63a | 285 | %description plugin-paradox -l pl.UTF-8 |
98f8bc30 | 286 | Importuje pliki w formacie Paradoxa. |
287 | ||
773d8485 | 288 | # plan perfect |
289 | %package plugin-planperfect | |
290 | Summary: Plan Perfect plugin | |
f96dcb22 | 291 | Summary(pl.UTF-8): Wtyczka Plan Perfect |
7548bd64 | 292 | Group: X11/Applications |
773d8485 | 293 | Requires: %{name} = %{epoch}:%{version}-%{release} |
294 | ||
295 | %description plugin-planperfect | |
296 | Imports Plan Perfect formatted documents. | |
297 | ||
2d80c63a | 298 | %description plugin-planperfect -l pl.UTF-8 |
773d8485 | 299 | Importuje dokumenty w formacie Plan Perfect. |
300 | ||
301 | # psiconv | |
302 | %package plugin-psiconv | |
303 | Summary: Psiconv plugin | |
f96dcb22 | 304 | Summary(pl.UTF-8): Wtyczka Psiconv |
7548bd64 | 305 | Group: X11/Applications |
773d8485 | 306 | Requires: %{name} = %{epoch}:%{version}-%{release} |
307 | ||
308 | %description plugin-psiconv | |
309 | Imports Psion 5 series Sheet files. | |
310 | ||
2d80c63a | 311 | %description plugin-psiconv -l pl.UTF-8 |
773d8485 | 312 | Importuje pliki arkuszy Psion serii 5. |
313 | ||
314 | # qpro | |
315 | %package plugin-qpro | |
316 | Summary: Quattro Pro(tm) plugin | |
f96dcb22 | 317 | Summary(pl.UTF-8): Wtyczka Quattro Pro(tm) |
7548bd64 | 318 | Group: X11/Applications |
773d8485 | 319 | Requires: %{name} = %{epoch}:%{version}-%{release} |
320 | ||
321 | %description plugin-qpro | |
322 | Imports Quattro Pro (tm) files. | |
323 | ||
2d80c63a | 324 | %description plugin-qpro -l pl.UTF-8 |
773d8485 | 325 | Importuje pliki Quattro Pro (tm). |
326 | ||
327 | # sc/xspread | |
328 | %package plugin-sc | |
329 | Summary: SC/XSpread plugin | |
f96dcb22 | 330 | Summary(pl.UTF-8): Wtyczka SC/XSpread |
7548bd64 | 331 | Group: X11/Applications |
773d8485 | 332 | Requires: %{name} = %{epoch}:%{version}-%{release} |
333 | ||
334 | %description plugin-sc | |
335 | Imports SC/XSpread files. | |
336 | ||
2d80c63a | 337 | %description plugin-sc -l pl.UTF-8 |
773d8485 | 338 | Importuje pliki SC/XSpread. |
339 | ||
340 | # sylk | |
341 | %package plugin-sylk | |
342 | Summary: MultiPlan (SYLK) plugin | |
f96dcb22 | 343 | Summary(pl.UTF-8): Wtyczka MultiPlan (SYLK) |
7548bd64 | 344 | Group: X11/Applications |
773d8485 | 345 | Requires: %{name} = %{epoch}:%{version}-%{release} |
346 | ||
347 | %description plugin-sylk | |
348 | Imports MultiPlan (SYLK) files. | |
349 | ||
2d80c63a | 350 | %description plugin-sylk -l pl.UTF-8 |
773d8485 | 351 | Importuje pliki MultiPlan (SYLK). |
352 | ||
353 | # xbase | |
354 | %package plugin-xbase | |
355 | Summary: XBase plugin | |
f96dcb22 | 356 | Summary(pl.UTF-8): Wtyczka Xbase |
7548bd64 | 357 | Group: X11/Applications |
773d8485 | 358 | Requires: %{name} = %{epoch}:%{version}-%{release} |
359 | ||
360 | %description plugin-xbase | |
361 | Imports Xbase files. | |
362 | ||
2d80c63a | 363 | %description plugin-xbase -l pl.UTF-8 |
773d8485 | 364 | Importuje pliki XBase. |
365 | ||
366 | # other plugins | |
367 | # gda | |
368 | %package plugin-gdaif | |
369 | Summary: Database plugin | |
f96dcb22 | 370 | Summary(pl.UTF-8): Wtyczka baz danych |
7548bd64 | 371 | Group: X11/Applications |
773d8485 | 372 | Requires: %{name} = %{epoch}:%{version}-%{release} |
373 | ||
374 | %description plugin-gdaif | |
375 | Database functions for retrieval of data from a database. | |
376 | ||
2d80c63a JR |
377 | %description plugin-gdaif -l pl.UTF-8 |
378 | Funkcje bazodanowe, pozwalające na pobieranie danych z baz danych. | |
773d8485 | 379 | |
380 | # gnome db | |
381 | %package plugin-gnomedb | |
382 | Summary: GNOME DB plugin | |
f96dcb22 | 383 | Summary(pl.UTF-8): Wtyczka GNOME DB |
7548bd64 | 384 | Group: X11/Applications |
773d8485 | 385 | Requires: %{name} = %{epoch}:%{version}-%{release} |
386 | Requires: gnumeric-plugin-gdaif | |
58fbc0fe | 387 | Requires: /usr/bin/gnome-database-properties-4.0 |
773d8485 | 388 | |
389 | %description plugin-gnomedb | |
58fbc0fe | 390 | Gnumeric frontend for GNOME DB configuration tool. |
773d8485 | 391 | |
2d80c63a | 392 | %description plugin-gnomedb -l pl.UTF-8 |
58fbc0fe | 393 | Interfejs Gnumerica do narzędzia konfiguracyjnego GNOME DB. |
773d8485 | 394 | |
395 | # samples | |
396 | %package plugin-sample | |
397 | Summary: Sample plugins | |
f96dcb22 | 398 | Summary(pl.UTF-8): Przykładowe wtyczki |
7548bd64 | 399 | Group: X11/Applications |
773d8485 | 400 | Requires: %{name} = %{epoch}:%{version}-%{release} |
401 | ||
402 | %description plugin-sample | |
403 | Sample database and UI plugins. | |
404 | ||
2d80c63a JR |
405 | %description plugin-sample -l pl.UTF-8 |
406 | Przykładowe wtyczki bazy danych oraz interfejsu użytkownika. | |
773d8485 | 407 | |
408 | # perl/python stuff | |
409 | # perl-func/perl loader | |
410 | %package plugin-perl | |
411 | Summary: Perl plugin | |
d0eef284 | 412 | Summary(pl.UTF-8): Wtyczka Perla |
7548bd64 | 413 | Group: X11/Applications |
773d8485 | 414 | Requires: %{name} = %{epoch}:%{version}-%{release} |
415 | ||
416 | %description plugin-perl | |
417 | Sample Perl plugin providing some (useless) functions. | |
418 | ||
2d80c63a JR |
419 | %description plugin-perl -l pl.UTF-8 |
420 | Przykładowa wtyczka Perla dostarczająca różnych (bezużytecznych) | |
773d8485 | 421 | funkcji. |
422 | ||
58fbc0fe | 423 | # python-func/python loader |
773d8485 | 424 | %package plugin-python |
425 | Summary: Python plugin | |
d0eef284 | 426 | Summary(pl.UTF-8): Wtyczka Pythona |
7548bd64 | 427 | Group: X11/Applications |
773d8485 | 428 | Requires: %{name} = %{epoch}:%{version}-%{release} |
429 | Requires: python-modules | |
773d8485 | 430 | |
431 | %description plugin-python | |
432 | Sample Python plugin providing some (useless) functions. | |
433 | ||
2d80c63a JR |
434 | %description plugin-python -l pl.UTF-8 |
435 | Przykładowa wtyczka Pythona, dostarczająca różnych (bezużytecznych) | |
773d8485 | 436 | funkcji. |
437 | ||
d0eef284 JR |
438 | # gnumeric support for goffice |
439 | %package plugin-goffice | |
440 | Summary: Gnumeric plugin for goffice | |
441 | Summary(pl.UTF-8): Wtyczka dla goffice | |
442 | Group: X11/Applications | |
443 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
58fbc0fe JB |
444 | Requires: libgoffice >= 0.10.42 |
445 | Requires: libgsf >= 1.14.33 | |
446 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} | |
d0eef284 JR |
447 | |
448 | %description plugin-goffice | |
449 | Gnumeric plugin for goffice. | |
450 | ||
451 | %description plugin-goffice -l pl.UTF-8 | |
452 | Wtyczka dla goffice. | |
453 | ||
03a201fb | 454 | %prep |
3e614866 | 455 | %setup -q |
55e31eb7 | 456 | %patch0 -p1 |
58fbc0fe JB |
457 | # actually libgnomedb is not required to build gnomedb plugin |
458 | # ... but it expects gnome-database-properties-4.0 tool, which no longer exists | |
459 | #patch1 -p1 | |
03a201fb | 460 | |
461 | %build | |
b0c91d4e | 462 | %{__glib_gettextize} |
463 | %{__intltoolize} | |
f42e3000 | 464 | %{__libtoolize} |
58fbc0fe | 465 | %{__aclocal} -I m4 |
004c5b15 | 466 | %{__autoconf} |
58fbc0fe | 467 | %{__autoheader} |
004c5b15 | 468 | %{__automake} |
3ae91ee9 | 469 | %configure \ |
65f0d7de | 470 | --disable-silent-rules \ |
58fbc0fe JB |
471 | --with-gda%{!?with_gda:=no} \ |
472 | --with-guile%{!?with_guile:=no} \ | |
473 | --with-mono%{!?with_mono:=no} \ | |
3fc009a8 | 474 | --with-psiconv \ |
58fbc0fe | 475 | --with-python%{!?with_python:=no} |
98fd4ddf | 476 | |
6173637b | 477 | %{__make} |
03a201fb | 478 | |
479 | %install | |
480 | rm -rf $RPM_BUILD_ROOT | |
03a201fb | 481 | |
e4865eaa | 482 | %{__make} install \ |
58fbc0fe | 483 | DESTDIR=$RPM_BUILD_ROOT |
03a201fb | 484 | |
58fbc0fe | 485 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libspreadsheet.la |
af72cb9c | 486 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnumeric/%{version}/plugins/*/*.la |
58fbc0fe | 487 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/goffice/*/plugins/gnumeric/*.la |
5b3b7958 | 488 | |
58fbc0fe JB |
489 | # "gnumeric-%{version}" and "gnumeric-%{version}-functions" po domains |
490 | # "gnumeric" help domain | |
9f615531 | 491 | %find_lang %{name} --with-gnome --all-name |
957d478d | 492 | |
03a201fb | 493 | %clean |
494 | rm -rf $RPM_BUILD_ROOT | |
495 | ||
18b176fc | 496 | %post |
d0eef284 | 497 | %glib_compile_schemas |
b0c91d4e | 498 | %update_desktop_database_post |
0b26a3da | 499 | |
3fc009a8 | 500 | %postun |
58fbc0fe | 501 | %glib_compile_schemas |
b0c91d4e | 502 | %update_desktop_database_postun |
c58876d7 | 503 | |
ffdeafe6 | 504 | %post -n libspreadsheet -p /sbin/ldconfig |
505 | %postun -n libspreadsheet -p /sbin/ldconfig | |
506 | ||
957d478d | 507 | %files -f %{name}.lang |
4136323f | 508 | %defattr(644,root,root,755) |
136bb2ae | 509 | %doc AUTHORS ChangeLog NEWS README |
772fa905 | 510 | |
58fbc0fe JB |
511 | %attr(755,root,root) %{_bindir}/gnumeric |
512 | %attr(755,root,root) %{_bindir}/gnumeric-%{version} | |
513 | %attr(755,root,root) %{_bindir}/ssconvert | |
514 | %attr(755,root,root) %{_bindir}/ssdiff | |
515 | %attr(755,root,root) %{_bindir}/ssgrep | |
516 | %attr(755,root,root) %{_bindir}/ssindex | |
772fa905 | 517 | |
18b176fc | 518 | %dir %{_libdir}/gnumeric |
773d8485 | 519 | %dir %{_libdir}/gnumeric/%{version} |
520 | %dir %{_libdir}/gnumeric/%{version}/plugins | |
773d8485 | 521 | %dir %{_libdir}/gnumeric/%{version}/plugins/fn-* |
58fbc0fe JB |
522 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/fn-*/*.so |
523 | %{_libdir}/gnumeric/%{version}/plugins/fn-*/plugin.xml | |
773d8485 | 524 | %dir %{_libdir}/gnumeric/%{version}/plugins/mps |
58fbc0fe JB |
525 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/mps/mps.so |
526 | %{_libdir}/gnumeric/%{version}/plugins/mps/plugin.xml | |
773d8485 | 527 | |
58fbc0fe | 528 | %{_datadir}/appdata/gnumeric.appdata.xml |
d0eef284 JR |
529 | %{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.dialogs.gschema.xml |
530 | %{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.gschema.xml | |
531 | %{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.plugin.gschema.xml | |
772fa905 | 532 | |
58fbc0fe JB |
533 | %{_desktopdir}/gnumeric.desktop |
534 | %{_pixmapsdir}/gnumeric | |
535 | %{_pixmapsdir}/gnome-application-vnd.lotus-1-2-3.png | |
536 | %{_pixmapsdir}/gnome-application-x-applix-spreadsheet.png | |
537 | %{_pixmapsdir}/gnome-application-x-generic-spreadsheet.png | |
538 | %{_pixmapsdir}/gnome-application-x-gnumeric.png | |
539 | %{_pixmapsdir}/gnome-application-x-xls.png | |
540 | %{_pixmapsdir}/win32-gnumeric.ico | |
541 | %{_iconsdir}/hicolor/*x*/apps/gnumeric.png | |
772fa905 | 542 | |
18b176fc | 543 | %dir %{_datadir}/gnumeric |
58fbc0fe JB |
544 | %dir %{_datadir}/gnumeric/%{version} |
545 | %{_datadir}/gnumeric/%{version}/Gnumeric-embed.xml | |
773d8485 | 546 | %{_datadir}/gnumeric/%{version}/autoformat-templates |
773d8485 | 547 | %{_datadir}/gnumeric/%{version}/templates |
b1e8e3eb | 548 | |
3fc009a8 | 549 | %{_mandir}/man1/gnumeric.1* |
550 | %{_mandir}/man1/ssconvert.1* | |
55e31eb7 | 551 | %{_mandir}/man1/ssdiff.1* |
5b3b7958 | 552 | %{_mandir}/man1/ssgrep.1* |
773d8485 | 553 | %{_mandir}/man1/ssindex.1* |
554 | ||
ffdeafe6 | 555 | %files -n libspreadsheet |
556 | %defattr(644,root,root,755) | |
58fbc0fe | 557 | %attr(755,root,root) %{_libdir}/libspreadsheet-%{version}.so |
ffdeafe6 | 558 | |
559 | %files -n libspreadsheet-devel | |
560 | %defattr(644,root,root,755) | |
58fbc0fe | 561 | %attr(755,root,root) %{_libdir}/libspreadsheet.so |
d0eef284 | 562 | %{_includedir}/libspreadsheet-1.12 |
58fbc0fe | 563 | %{_pkgconfigdir}/libspreadsheet-1.12.pc |
ffdeafe6 | 564 | |
773d8485 | 565 | # applix |
566 | %files plugin-applix | |
567 | %defattr(644,root,root,755) | |
568 | %dir %{_libdir}/gnumeric/%{version}/plugins/applix | |
58fbc0fe JB |
569 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/applix/applix.so |
570 | %{_libdir}/gnumeric/%{version}/plugins/applix/plugin.xml | |
773d8485 | 571 | |
7548bd64 | 572 | # data interchange format (DIF) |
773d8485 | 573 | %files plugin-dif |
574 | %defattr(644,root,root,755) | |
575 | %dir %{_libdir}/gnumeric/%{version}/plugins/dif | |
58fbc0fe JB |
576 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/dif/dif.so |
577 | %{_libdir}/gnumeric/%{version}/plugins/dif/plugin.xml | |
773d8485 | 578 | |
579 | # ms excel | |
580 | %files plugin-excel | |
581 | %defattr(644,root,root,755) | |
582 | %dir %{_libdir}/gnumeric/%{version}/plugins/excel | |
58fbc0fe JB |
583 | # R: zlib |
584 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/excel/excel.so | |
585 | %{_libdir}/gnumeric/%{version}/plugins/excel/plugin.xml | |
d0eef284 | 586 | %dir %{_libdir}/gnumeric/%{version}/plugins/excelplugins |
58fbc0fe JB |
587 | # R: libspreadsheet libgoffice |
588 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/excelplugins/plugin.so | |
589 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/excelplugins/xlcall32.so | |
590 | %{_libdir}/gnumeric/%{version}/plugins/excelplugins/plugin.xml | |
591 | ||
592 | %if %{with gda} | |
593 | # gda | |
594 | %files plugin-gdaif | |
595 | %defattr(644,root,root,755) | |
596 | %dir %{_libdir}/gnumeric/%{version}/plugins/gdaif | |
597 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/gdaif/gdaif.so | |
598 | %{_libdir}/gnumeric/%{version}/plugins/gdaif/plugin.xml | |
599 | %{_libdir}/gnumeric/%{version}/plugins/gdaif/ui.xml | |
600 | %endif | |
601 | ||
602 | %if %{with gnomedb} | |
603 | # gnome db | |
604 | %files plugin-gnomedb | |
605 | %defattr(644,root,root,755) | |
606 | %dir %{_libdir}/gnumeric/%{version}/plugins/gnome-db | |
607 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/gnome-db/gnomedb.so | |
608 | %{_libdir}/gnumeric/%{version}/plugins/gnome-db/plugin.xml | |
609 | %endif | |
773d8485 | 610 | |
5b3b7958 | 611 | # glpk |
612 | %files plugin-glpk | |
613 | %defattr(644,root,root,755) | |
614 | %dir %{_libdir}/gnumeric/%{version}/plugins/glpk | |
58fbc0fe JB |
615 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/glpk/glpk.so |
616 | %{_libdir}/gnumeric/%{version}/plugins/glpk/plugin.xml | |
5b3b7958 | 617 | |
773d8485 | 618 | # html |
619 | %files plugin-html | |
620 | %defattr(644,root,root,755) | |
621 | %dir %{_libdir}/gnumeric/%{version}/plugins/html | |
58fbc0fe JB |
622 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/html/html.so |
623 | %{_libdir}/gnumeric/%{version}/plugins/html/plugin.xml | |
773d8485 | 624 | |
625 | # lotus 123 | |
626 | %files plugin-lotus123 | |
627 | %defattr(644,root,root,755) | |
628 | %dir %{_libdir}/gnumeric/%{version}/plugins/lotus | |
58fbc0fe JB |
629 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/lotus/lotus.so |
630 | %{_libdir}/gnumeric/%{version}/plugins/lotus/plugin.xml | |
773d8485 | 631 | |
5b3b7958 | 632 | # lpsolve |
633 | %files plugin-lpsolve | |
634 | %defattr(644,root,root,755) | |
635 | %dir %{_libdir}/gnumeric/%{version}/plugins/lpsolve | |
58fbc0fe JB |
636 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/lpsolve/lpsolve.so |
637 | %{_libdir}/gnumeric/%{version}/plugins/lpsolve/plugin.xml | |
5b3b7958 | 638 | |
af72cb9c | 639 | # nlsolve |
640 | %files plugin-nlsolve | |
641 | %defattr(644,root,root,755) | |
642 | %dir %{_libdir}/gnumeric/%{version}/plugins/nlsolve | |
58fbc0fe JB |
643 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/nlsolve/nlsolve.so |
644 | %{_libdir}/gnumeric/%{version}/plugins/nlsolve/plugin.xml | |
af72cb9c | 645 | |
773d8485 | 646 | # gnu oleo |
647 | %files plugin-gnuoleo | |
648 | %defattr(644,root,root,755) | |
649 | %dir %{_libdir}/gnumeric/%{version}/plugins/oleo | |
58fbc0fe JB |
650 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/oleo/oleo.so |
651 | %{_libdir}/gnumeric/%{version}/plugins/oleo/plugin.xml | |
773d8485 | 652 | |
653 | # openoffice | |
654 | %files plugin-openoffice | |
655 | %defattr(644,root,root,755) | |
656 | %dir %{_libdir}/gnumeric/%{version}/plugins/openoffice | |
58fbc0fe JB |
657 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/openoffice/openoffice.so |
658 | %{_libdir}/gnumeric/%{version}/plugins/openoffice/plugin.xml | |
773d8485 | 659 | |
98f8bc30 | 660 | # paradox |
661 | %files plugin-paradox | |
662 | %defattr(644,root,root,755) | |
663 | %dir %{_libdir}/gnumeric/%{version}/plugins/paradox | |
58fbc0fe JB |
664 | # R: pxlib |
665 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/paradox/paradox.so | |
666 | %{_libdir}/gnumeric/%{version}/plugins/paradox/plugin.xml | |
98f8bc30 | 667 | |
773d8485 | 668 | # plan perfect |
669 | %files plugin-planperfect | |
670 | %defattr(644,root,root,755) | |
671 | %dir %{_libdir}/gnumeric/%{version}/plugins/plan_perfect | |
58fbc0fe JB |
672 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/plan_perfect/plan_perfect.so |
673 | %{_libdir}/gnumeric/%{version}/plugins/plan_perfect/plugin.xml | |
773d8485 | 674 | |
675 | # psiconv | |
676 | %files plugin-psiconv | |
677 | %defattr(644,root,root,755) | |
678 | %dir %{_libdir}/gnumeric/%{version}/plugins/psiconv | |
58fbc0fe JB |
679 | # R: psiconv |
680 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/psiconv/psiconv.so | |
681 | %{_libdir}/gnumeric/%{version}/plugins/psiconv/plugin.xml | |
773d8485 | 682 | |
683 | # qpro | |
684 | %files plugin-qpro | |
685 | %defattr(644,root,root,755) | |
686 | %dir %{_libdir}/gnumeric/%{version}/plugins/qpro | |
58fbc0fe JB |
687 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/qpro/qpro.so |
688 | %{_libdir}/gnumeric/%{version}/plugins/qpro/plugin.xml | |
773d8485 | 689 | |
690 | # sc/xspread | |
691 | %files plugin-sc | |
692 | %defattr(644,root,root,755) | |
693 | %dir %{_libdir}/gnumeric/%{version}/plugins/sc | |
58fbc0fe JB |
694 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sc/sc.so |
695 | %{_libdir}/gnumeric/%{version}/plugins/sc/plugin.xml | |
773d8485 | 696 | |
697 | # sylk | |
698 | %files plugin-sylk | |
699 | %defattr(644,root,root,755) | |
700 | %dir %{_libdir}/gnumeric/%{version}/plugins/sylk | |
58fbc0fe JB |
701 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sylk/sylk.so |
702 | %{_libdir}/gnumeric/%{version}/plugins/sylk/plugin.xml | |
773d8485 | 703 | |
704 | # xbase | |
705 | %files plugin-xbase | |
706 | %defattr(644,root,root,755) | |
707 | %dir %{_libdir}/gnumeric/%{version}/plugins/xbase | |
58fbc0fe JB |
708 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/xbase/xbase.so |
709 | %{_libdir}/gnumeric/%{version}/plugins/xbase/plugin.xml | |
773d8485 | 710 | |
711 | # samples | |
712 | %files plugin-sample | |
713 | %defattr(644,root,root,755) | |
714 | %dir %{_libdir}/gnumeric/%{version}/plugins/sample_datasource | |
58fbc0fe JB |
715 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sample_datasource/sample_datasource.so |
716 | %{_libdir}/gnumeric/%{version}/plugins/sample_datasource/plugin.xml | |
773d8485 | 717 | %dir %{_libdir}/gnumeric/%{version}/plugins/uihello |
58fbc0fe JB |
718 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/uihello/plugin.so |
719 | %{_libdir}/gnumeric/%{version}/plugins/uihello/hello.xml | |
720 | %{_libdir}/gnumeric/%{version}/plugins/uihello/plugin.xml | |
773d8485 | 721 | |
722 | # perl-func/perl loader | |
723 | %files plugin-perl | |
724 | %defattr(644,root,root,755) | |
58fbc0fe JB |
725 | %dir %{_libdir}/gnumeric/%{version}/plugins/perl-func |
726 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/perl-func/perl_func.pl | |
727 | %{_libdir}/gnumeric/%{version}/plugins/perl-func/plugin.xml | |
728 | %dir %{_libdir}/gnumeric/%{version}/plugins/perl-loader | |
729 | # R: perl-libs | |
730 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/perl-loader/perl_loader.so | |
731 | %{_libdir}/gnumeric/%{version}/plugins/perl-loader/plugin.xml | |
732 | ||
733 | # python-func/python loader | |
773d8485 | 734 | %if %{with python} |
735 | %files plugin-python | |
736 | %defattr(644,root,root,755) | |
737 | %dir %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary | |
773d8485 | 738 | %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/glossary-po-header |
58fbc0fe JB |
739 | %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/gnome_glossary.py |
740 | %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/plugin.xml | |
741 | %dir %{_libdir}/gnumeric/%{version}/plugins/py-func | |
742 | %{_libdir}/gnumeric/%{version}/plugins/py-func/py_func.py | |
743 | %{_libdir}/gnumeric/%{version}/plugins/py-func/plugin.xml | |
744 | %dir %{_libdir}/gnumeric/%{version}/plugins/python-loader | |
745 | # R: python-libs | |
746 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/python-loader/python_loader.so | |
747 | %{_libdir}/gnumeric/%{version}/plugins/python-loader/plugin.xml | |
748 | %{_libdir}/gnumeric/%{version}/plugins/python-loader/ui-console-menu.xml | |
773d8485 | 749 | %endif |
d0eef284 JR |
750 | |
751 | %files plugin-goffice | |
752 | %defattr(644,root,root,755) | |
58fbc0fe JB |
753 | %dir %{_libdir}/goffice/0.10/plugins/gnumeric |
754 | %attr(755,root,root) %{_libdir}/goffice/0.10/plugins/gnumeric/gnumeric.so | |
755 | %{_libdir}/goffice/0.10/plugins/gnumeric/plugin.xml |