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