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