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