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