]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
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 | |
9 | # | |
10 | %ifnarch %{ix86} %{x8664} %{arm} aarch64 ia64 mips ppc ppc64 s390x sparc sparcv9 sparc64 | |
11 | %undefine with_mono | |
12 | %endif | |
13 | Summary: The GNOME spreadsheet | |
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电子表格 | |
20 | Name: gnumeric | |
21 | Version: 1.12.52 | |
22 | Release: 2 | |
23 | Epoch: 1 | |
24 | License: GPL v2+ | |
25 | Group: X11/Applications | |
26 | Source0: https://download.gnome.org/sources/gnumeric/1.12/%{name}-%{version}.tar.xz | |
27 | # Source0-md5: 3652c0a3bcfc6f90b0c3a3b8715a57fa | |
28 | Patch0: %{name}-gnomedb.patch | |
29 | URL: http://www.gnumeric.org/ | |
30 | BuildRequires: autoconf >= 2.54 | |
31 | BuildRequires: automake | |
32 | BuildRequires: bison | |
33 | BuildRequires: flex | |
34 | BuildRequires: gcc >= 5:3.2 | |
35 | BuildRequires: gettext-tools | |
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} | |
40 | BuildRequires: intltool >= 0.35 | |
41 | BuildRequires: itstool | |
42 | BuildRequires: libgoffice-devel >= 0.10.51 | |
43 | %if %{with gda} | |
44 | BuildRequires: libgda6-devel >= 6.0.0 | |
45 | BuildRequires: libgda6-ui-devel >= 6.0.0 | |
46 | %endif | |
47 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
48 | BuildRequires: libgsf-devel >= 1.14.33 | |
49 | BuildRequires: libtool >= 2:2.2.6 | |
50 | BuildRequires: libxml2-devel >= 1:2.6.26 | |
51 | # disabled by default - still experimental | |
52 | %{?with_mono:BuildRequires: mono-devel >= 1.0.0} | |
53 | BuildRequires: pango-devel >= 1:1.24.0 | |
54 | BuildRequires: perl-base | |
55 | BuildRequires: perl-devel | |
56 | BuildRequires: pkgconfig >= 1:0.18 | |
57 | BuildRequires: popt-devel | |
58 | %{?with_psiconv:BuildRequires: psiconv-devel >= 0.9.3} | |
59 | BuildRequires: pxlib-devel >= 0.4.0 | |
60 | BuildRequires: rpm-perlprov | |
61 | %if %{with python} | |
62 | BuildRequires: python3-devel >= 1:2.7 | |
63 | BuildRequires: python3-pygobject3-devel >= 3.0.0 | |
64 | %endif | |
65 | BuildRequires: rpmbuild(macros) >= 1.213 | |
66 | BuildRequires: tar >= 1:1.22 | |
67 | BuildRequires: xz | |
68 | BuildRequires: yelp-tools | |
69 | BuildRequires: zlib-devel | |
70 | Requires(post,postun): desktop-file-utils | |
71 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} | |
72 | %if %{without gda} | |
73 | Obsoletes: gnumeric-plugin-gdaif < 1:%{version} | |
74 | %endif | |
75 | %if %{without gnomedb} | |
76 | Obsoletes: gnumeric-plugin-gnomedb < 1:%{version} | |
77 | %endif | |
78 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
79 | ||
80 | %description | |
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. | |
87 | ||
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 | |
92 | Gnumeric. Intentamos clonar todas las buenas cualidades y seguir lo | |
93 | más compatible que fuera posible, en cuanto a la usabilidad. | |
94 | ||
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. | |
99 | ||
100 | %description -l pt_BR.UTF-8 | |
101 | Este pacote instala a planilha do GNOME, que foi feita para substituir | |
102 | qualquer planilha comercial, pois uma quantidade razoável de trabalho | |
103 | foi (e está sendo) colocada para torná-la a melhor possível. | |
104 | ||
105 | %description -l ru.UTF-8 | |
106 | Gnumeric - это программа электронных таблиц для GNOME. | |
107 | ||
108 | %description -l uk.UTF-8 | |
109 | Gnumeric - це програма електронних таблиць для GNOME. | |
110 | ||
111 | %package -n libspreadsheet | |
112 | Summary: libspreadsheet library | |
113 | Summary(pl.UTF-8): Biblioteka libspreadsheet | |
114 | Group: Libraries | |
115 | Requires: glib2 >= 1:2.40.0 | |
116 | Requires: gtk+3 >= 3.8.7 | |
117 | Requires: libgoffice >= 0.10.51 | |
118 | Requires: libgsf >= 1.14.33 | |
119 | Requires: libxml2 >= 1:2.6.26 | |
120 | ||
121 | %description -n libspreadsheet | |
122 | libspreadsheet library. | |
123 | ||
124 | %description -n libspreadsheet -l pl.UTF-8 | |
125 | Biblioteka libspreadsheet. | |
126 | ||
127 | %package -n libspreadsheet-devel | |
128 | Summary: Header files for libspreadsheet library | |
129 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libspreadsheet | |
130 | Group: Development/Libraries | |
131 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} | |
132 | Requires: glib2-devel >= 1:2.40.0 | |
133 | Requires: gtk+3-devel >= 3.8.7 | |
134 | Requires: libgoffice-devel >= 0.10.51 | |
135 | Requires: libgsf-devel >= 1.14.33 | |
136 | Requires: libxml2-devel >= 1:2.6.26 | |
137 | ||
138 | %description -n libspreadsheet-devel | |
139 | This is the package containing the header files for libspreadsheet | |
140 | library. | |
141 | ||
142 | %description -n libspreadsheet-devel -l pl.UTF-8 | |
143 | Ten pakiet zawiera pliki nagłówkowe biblioteki libspreadsheet. | |
144 | ||
145 | # plugins - import/export | |
146 | # applix | |
147 | %package plugin-applix | |
148 | Summary: Applix plugin | |
149 | Summary(pl.UTF-8): Wtyczka Applix | |
150 | Group: X11/Applications | |
151 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
152 | ||
153 | %description plugin-applix | |
154 | Imports Applix 4.[234] spreadsheets. | |
155 | ||
156 | %description plugin-applix -l pl.UTF-8 | |
157 | Importuje arkusze Applix w wersjach 4.[234]. | |
158 | ||
159 | # data interchange format (DIF) | |
160 | %package plugin-dif | |
161 | Summary: Data Interchange Format plugin | |
162 | Summary(pl.UTF-8): Wtyczka Data Interchange Format | |
163 | Group: X11/Applications | |
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 | ||
170 | %description plugin-dif -l pl.UTF-8 | |
171 | Odczytuje i zapisuje informacje w uniwersalnym formacie wymiany danych | |
172 | (*.dif). | |
173 | ||
174 | # ms excel | |
175 | %package plugin-excel | |
176 | Summary: MS Excel (tm) plugin | |
177 | Summary(pl.UTF-8): Wtyczka MS Excel (tm) | |
178 | Group: X11/Applications | |
179 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
180 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} | |
181 | ||
182 | %description plugin-excel | |
183 | Imports/exports MS Excel (tm) files. | |
184 | ||
185 | %description plugin-excel -l pl.UTF-8 | |
186 | Importuje/eksporuje pliki MS Excel (tm). | |
187 | ||
188 | # glpk | |
189 | %package plugin-glpk | |
190 | Summary: GLPK plugin | |
191 | Summary(pl.UTF-8): Wtyczka GLPK | |
192 | Group: X11/Applications | |
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 | ||
201 | # html | |
202 | %package plugin-html | |
203 | Summary: HTML plugin | |
204 | Summary(pl.UTF-8): Wtyczka HTML | |
205 | Group: X11/Applications | |
206 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
207 | ||
208 | %description plugin-html | |
209 | Imports/exports of HTML, TeX, DVI and roff formats. | |
210 | ||
211 | %description plugin-html -l pl.UTF-8 | |
212 | Importuje/eksportuje formaty HTML, TeX, DVI i roff. | |
213 | ||
214 | # lotus 123 | |
215 | %package plugin-lotus123 | |
216 | Summary: Lotus 123 plugin | |
217 | Summary(pl.UTF-8): Wtyczka Lotus 123 | |
218 | Group: X11/Applications | |
219 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
220 | ||
221 | %description plugin-lotus123 | |
222 | Imports Lotus 123 files. | |
223 | ||
224 | %description plugin-lotus123 -l pl.UTF-8 | |
225 | Importuje pliki Lotusa 123. | |
226 | ||
227 | # lpsolve | |
228 | %package plugin-lpsolve | |
229 | Summary: lpsolve plugin | |
230 | Summary(pl.UTF-8): Wtyczka lpsolve | |
231 | Group: X11/Applications | |
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 | ||
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 | ||
253 | # gnu oleo | |
254 | %package plugin-gnuoleo | |
255 | Summary: GNU Oleo plugin | |
256 | Summary(pl.UTF-8): Wtyczka GNU Oleo | |
257 | Group: X11/Applications | |
258 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
259 | ||
260 | %description plugin-gnuoleo | |
261 | Imports GNU Oleo documents. | |
262 | ||
263 | %description plugin-gnuoleo -l pl.UTF-8 | |
264 | Importuje dokumenty GNU Oleo. | |
265 | ||
266 | # openoffice | |
267 | %package plugin-openoffice | |
268 | Summary: OpenOffice.org plugin | |
269 | Summary(pl.UTF-8): Wtyczka OpenOffice.org | |
270 | Group: X11/Applications | |
271 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
272 | ||
273 | %description plugin-openoffice | |
274 | Imports/exports OpenOffice.org/StarOffice spreadsheets. | |
275 | ||
276 | %description plugin-openoffice -l pl.UTF-8 | |
277 | Importuje/eksportuje arkusze OpenOffice.org/StarOffice. | |
278 | ||
279 | # paradox | |
280 | %package plugin-paradox | |
281 | Summary: Paradox plugin | |
282 | Summary(pl.UTF-8): Wtyczka Paradox | |
283 | Group: X11/Applications | |
284 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
285 | ||
286 | %description plugin-paradox | |
287 | Imports Paradox files. | |
288 | ||
289 | %description plugin-paradox -l pl.UTF-8 | |
290 | Importuje pliki w formacie Paradoxa. | |
291 | ||
292 | # plan perfect | |
293 | %package plugin-planperfect | |
294 | Summary: Plan Perfect plugin | |
295 | Summary(pl.UTF-8): Wtyczka Plan Perfect | |
296 | Group: X11/Applications | |
297 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
298 | ||
299 | %description plugin-planperfect | |
300 | Imports Plan Perfect formatted documents. | |
301 | ||
302 | %description plugin-planperfect -l pl.UTF-8 | |
303 | Importuje dokumenty w formacie Plan Perfect. | |
304 | ||
305 | # psiconv | |
306 | %package plugin-psiconv | |
307 | Summary: Psiconv plugin | |
308 | Summary(pl.UTF-8): Wtyczka Psiconv | |
309 | Group: X11/Applications | |
310 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
311 | ||
312 | %description plugin-psiconv | |
313 | Imports Psion 5 series Sheet files. | |
314 | ||
315 | %description plugin-psiconv -l pl.UTF-8 | |
316 | Importuje pliki arkuszy Psion serii 5. | |
317 | ||
318 | # qpro | |
319 | %package plugin-qpro | |
320 | Summary: Quattro Pro(tm) plugin | |
321 | Summary(pl.UTF-8): Wtyczka Quattro Pro(tm) | |
322 | Group: X11/Applications | |
323 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
324 | ||
325 | %description plugin-qpro | |
326 | Imports Quattro Pro (tm) files. | |
327 | ||
328 | %description plugin-qpro -l pl.UTF-8 | |
329 | Importuje pliki Quattro Pro (tm). | |
330 | ||
331 | # sc/xspread | |
332 | %package plugin-sc | |
333 | Summary: SC/XSpread plugin | |
334 | Summary(pl.UTF-8): Wtyczka SC/XSpread | |
335 | Group: X11/Applications | |
336 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
337 | ||
338 | %description plugin-sc | |
339 | Imports SC/XSpread files. | |
340 | ||
341 | %description plugin-sc -l pl.UTF-8 | |
342 | Importuje pliki SC/XSpread. | |
343 | ||
344 | # sylk | |
345 | %package plugin-sylk | |
346 | Summary: MultiPlan (SYLK) plugin | |
347 | Summary(pl.UTF-8): Wtyczka MultiPlan (SYLK) | |
348 | Group: X11/Applications | |
349 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
350 | ||
351 | %description plugin-sylk | |
352 | Imports MultiPlan (SYLK) files. | |
353 | ||
354 | %description plugin-sylk -l pl.UTF-8 | |
355 | Importuje pliki MultiPlan (SYLK). | |
356 | ||
357 | # xbase | |
358 | %package plugin-xbase | |
359 | Summary: XBase plugin | |
360 | Summary(pl.UTF-8): Wtyczka Xbase | |
361 | Group: X11/Applications | |
362 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
363 | ||
364 | %description plugin-xbase | |
365 | Imports Xbase files. | |
366 | ||
367 | %description plugin-xbase -l pl.UTF-8 | |
368 | Importuje pliki XBase. | |
369 | ||
370 | # other plugins | |
371 | # gda | |
372 | %package plugin-gdaif | |
373 | Summary: Database plugin | |
374 | Summary(pl.UTF-8): Wtyczka baz danych | |
375 | Group: X11/Applications | |
376 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
377 | ||
378 | %description plugin-gdaif | |
379 | Database functions for retrieval of data from a database. | |
380 | ||
381 | %description plugin-gdaif -l pl.UTF-8 | |
382 | Funkcje bazodanowe, pozwalające na pobieranie danych z baz danych. | |
383 | ||
384 | # gnome db | |
385 | %package plugin-gnomedb | |
386 | Summary: GNOME DB plugin | |
387 | Summary(pl.UTF-8): Wtyczka GNOME DB | |
388 | Group: X11/Applications | |
389 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
390 | Requires: gnumeric-plugin-gdaif | |
391 | Requires: /usr/bin/gnome-database-properties-4.0 | |
392 | ||
393 | %description plugin-gnomedb | |
394 | Gnumeric frontend for GNOME DB configuration tool. | |
395 | ||
396 | %description plugin-gnomedb -l pl.UTF-8 | |
397 | Interfejs Gnumerica do narzędzia konfiguracyjnego GNOME DB. | |
398 | ||
399 | # samples | |
400 | %package plugin-sample | |
401 | Summary: Sample plugins | |
402 | Summary(pl.UTF-8): Przykładowe wtyczki | |
403 | Group: X11/Applications | |
404 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
405 | ||
406 | %description plugin-sample | |
407 | Sample database and UI plugins. | |
408 | ||
409 | %description plugin-sample -l pl.UTF-8 | |
410 | Przykładowe wtyczki bazy danych oraz interfejsu użytkownika. | |
411 | ||
412 | # perl/python stuff | |
413 | # perl-func/perl loader | |
414 | %package plugin-perl | |
415 | Summary: Perl plugin | |
416 | Summary(pl.UTF-8): Wtyczka Perla | |
417 | Group: X11/Applications | |
418 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
419 | ||
420 | %description plugin-perl | |
421 | Sample Perl plugin providing some (useless) functions. | |
422 | ||
423 | %description plugin-perl -l pl.UTF-8 | |
424 | Przykładowa wtyczka Perla dostarczająca różnych (bezużytecznych) | |
425 | funkcji. | |
426 | ||
427 | # python-func/python loader | |
428 | %package plugin-python | |
429 | Summary: Python plugin | |
430 | Summary(pl.UTF-8): Wtyczka Pythona | |
431 | Group: X11/Applications | |
432 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
433 | Requires: python-modules | |
434 | ||
435 | %description plugin-python | |
436 | Sample Python plugin providing some (useless) functions. | |
437 | ||
438 | %description plugin-python -l pl.UTF-8 | |
439 | Przykładowa wtyczka Pythona, dostarczająca różnych (bezużytecznych) | |
440 | funkcji. | |
441 | ||
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} | |
448 | Requires: libgoffice >= 0.10.51 | |
449 | Requires: libgsf >= 1.14.33 | |
450 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} | |
451 | ||
452 | %description plugin-goffice | |
453 | Gnumeric plugin for goffice. | |
454 | ||
455 | %description plugin-goffice -l pl.UTF-8 | |
456 | Wtyczka dla goffice. | |
457 | ||
458 | %prep | |
459 | %setup -q | |
460 | # actually libgnomedb is not required to build gnomedb plugin | |
461 | # ... but it expects gnome-database-properties-4.0 tool, which no longer exists | |
462 | #patch0 -p1 | |
463 | ||
464 | %build | |
465 | %{__glib_gettextize} | |
466 | %{__intltoolize} | |
467 | %{__libtoolize} | |
468 | %{__aclocal} -I m4 | |
469 | %{__autoconf} | |
470 | %{__autoheader} | |
471 | %{__automake} | |
472 | %configure \ | |
473 | PYTHON=%{__python3} \ | |
474 | --disable-silent-rules \ | |
475 | --with-gda%{!?with_gda:=no} \ | |
476 | %{?with_guile:--with-guile} \ | |
477 | %{?with_mono:--with-mono} \ | |
478 | %{!?with_psiconv:--without-psiconv} \ | |
479 | --with-python%{!?with_python:=no} | |
480 | ||
481 | %{__make} | |
482 | ||
483 | %install | |
484 | rm -rf $RPM_BUILD_ROOT | |
485 | ||
486 | %{__make} install \ | |
487 | DESTDIR=$RPM_BUILD_ROOT | |
488 | ||
489 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libspreadsheet.la | |
490 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnumeric/%{version}/plugins/*/*.la | |
491 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/goffice/*/plugins/gnumeric/*.la | |
492 | ||
493 | # "gnumeric-%{version}" and "gnumeric-%{version}-functions" po domains | |
494 | # "gnumeric" help domain | |
495 | %find_lang %{name} --with-gnome --all-name | |
496 | ||
497 | %clean | |
498 | rm -rf $RPM_BUILD_ROOT | |
499 | ||
500 | %post | |
501 | %glib_compile_schemas | |
502 | %update_desktop_database_post | |
503 | ||
504 | %postun | |
505 | %glib_compile_schemas | |
506 | %update_desktop_database_postun | |
507 | ||
508 | %post -n libspreadsheet -p /sbin/ldconfig | |
509 | %postun -n libspreadsheet -p /sbin/ldconfig | |
510 | ||
511 | %files -f %{name}.lang | |
512 | %defattr(644,root,root,755) | |
513 | %doc AUTHORS ChangeLog NEWS README | |
514 | ||
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 | |
521 | ||
522 | %dir %{_libdir}/gnumeric | |
523 | %dir %{_libdir}/gnumeric/%{version} | |
524 | %dir %{_libdir}/gnumeric/%{version}/plugins | |
525 | %dir %{_libdir}/gnumeric/%{version}/plugins/fn-* | |
526 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/fn-*/*.so | |
527 | %{_libdir}/gnumeric/%{version}/plugins/fn-*/plugin.xml | |
528 | %dir %{_libdir}/gnumeric/%{version}/plugins/mps | |
529 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/mps/mps.so | |
530 | %{_libdir}/gnumeric/%{version}/plugins/mps/plugin.xml | |
531 | ||
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 | |
535 | %{_datadir}/metainfo/gnumeric.appdata.xml | |
536 | ||
537 | %{_desktopdir}/gnumeric.desktop | |
538 | %{_iconsdir}/hicolor/*x*/apps/gnumeric.png | |
539 | ||
540 | %dir %{_datadir}/gnumeric | |
541 | %dir %{_datadir}/gnumeric/%{version} | |
542 | %{_datadir}/gnumeric/%{version}/Gnumeric-embed.xml | |
543 | %{_datadir}/gnumeric/%{version}/autoformat-templates | |
544 | %{_datadir}/gnumeric/%{version}/templates | |
545 | ||
546 | %{_mandir}/man1/gnumeric.1* | |
547 | %{_mandir}/man1/ssconvert.1* | |
548 | %{_mandir}/man1/ssdiff.1* | |
549 | %{_mandir}/man1/ssgrep.1* | |
550 | %{_mandir}/man1/ssindex.1* | |
551 | ||
552 | %files -n libspreadsheet | |
553 | %defattr(644,root,root,755) | |
554 | %attr(755,root,root) %{_libdir}/libspreadsheet-%{version}.so | |
555 | ||
556 | %files -n libspreadsheet-devel | |
557 | %defattr(644,root,root,755) | |
558 | %attr(755,root,root) %{_libdir}/libspreadsheet.so | |
559 | %{_includedir}/libspreadsheet-1.12 | |
560 | %{_pkgconfigdir}/libspreadsheet-1.12.pc | |
561 | ||
562 | # applix | |
563 | %files plugin-applix | |
564 | %defattr(644,root,root,755) | |
565 | %dir %{_libdir}/gnumeric/%{version}/plugins/applix | |
566 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/applix/applix.so | |
567 | %{_libdir}/gnumeric/%{version}/plugins/applix/plugin.xml | |
568 | ||
569 | # data interchange format (DIF) | |
570 | %files plugin-dif | |
571 | %defattr(644,root,root,755) | |
572 | %dir %{_libdir}/gnumeric/%{version}/plugins/dif | |
573 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/dif/dif.so | |
574 | %{_libdir}/gnumeric/%{version}/plugins/dif/plugin.xml | |
575 | ||
576 | # ms excel | |
577 | %files plugin-excel | |
578 | %defattr(644,root,root,755) | |
579 | %dir %{_libdir}/gnumeric/%{version}/plugins/excel | |
580 | # R: zlib | |
581 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/excel/excel.so | |
582 | %{_libdir}/gnumeric/%{version}/plugins/excel/plugin.xml | |
583 | %dir %{_libdir}/gnumeric/%{version}/plugins/excelplugins | |
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 | |
594 | # R: libgda6 libgda6-ui | |
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 | |
608 | ||
609 | # glpk | |
610 | %files plugin-glpk | |
611 | %defattr(644,root,root,755) | |
612 | %dir %{_libdir}/gnumeric/%{version}/plugins/glpk | |
613 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/glpk/glpk.so | |
614 | %{_libdir}/gnumeric/%{version}/plugins/glpk/plugin.xml | |
615 | ||
616 | # html | |
617 | %files plugin-html | |
618 | %defattr(644,root,root,755) | |
619 | %dir %{_libdir}/gnumeric/%{version}/plugins/html | |
620 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/html/html.so | |
621 | %{_libdir}/gnumeric/%{version}/plugins/html/plugin.xml | |
622 | ||
623 | # lotus 123 | |
624 | %files plugin-lotus123 | |
625 | %defattr(644,root,root,755) | |
626 | %dir %{_libdir}/gnumeric/%{version}/plugins/lotus | |
627 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/lotus/lotus.so | |
628 | %{_libdir}/gnumeric/%{version}/plugins/lotus/plugin.xml | |
629 | ||
630 | # lpsolve | |
631 | %files plugin-lpsolve | |
632 | %defattr(644,root,root,755) | |
633 | %dir %{_libdir}/gnumeric/%{version}/plugins/lpsolve | |
634 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/lpsolve/lpsolve.so | |
635 | %{_libdir}/gnumeric/%{version}/plugins/lpsolve/plugin.xml | |
636 | ||
637 | # nlsolve | |
638 | %files plugin-nlsolve | |
639 | %defattr(644,root,root,755) | |
640 | %dir %{_libdir}/gnumeric/%{version}/plugins/nlsolve | |
641 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/nlsolve/nlsolve.so | |
642 | %{_libdir}/gnumeric/%{version}/plugins/nlsolve/plugin.xml | |
643 | ||
644 | # gnu oleo | |
645 | %files plugin-gnuoleo | |
646 | %defattr(644,root,root,755) | |
647 | %dir %{_libdir}/gnumeric/%{version}/plugins/oleo | |
648 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/oleo/oleo.so | |
649 | %{_libdir}/gnumeric/%{version}/plugins/oleo/plugin.xml | |
650 | ||
651 | # openoffice | |
652 | %files plugin-openoffice | |
653 | %defattr(644,root,root,755) | |
654 | %dir %{_libdir}/gnumeric/%{version}/plugins/openoffice | |
655 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/openoffice/openoffice.so | |
656 | %{_libdir}/gnumeric/%{version}/plugins/openoffice/plugin.xml | |
657 | ||
658 | # paradox | |
659 | %files plugin-paradox | |
660 | %defattr(644,root,root,755) | |
661 | %dir %{_libdir}/gnumeric/%{version}/plugins/paradox | |
662 | # R: pxlib | |
663 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/paradox/paradox.so | |
664 | %{_libdir}/gnumeric/%{version}/plugins/paradox/plugin.xml | |
665 | ||
666 | # plan perfect | |
667 | %files plugin-planperfect | |
668 | %defattr(644,root,root,755) | |
669 | %dir %{_libdir}/gnumeric/%{version}/plugins/plan_perfect | |
670 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/plan_perfect/plan_perfect.so | |
671 | %{_libdir}/gnumeric/%{version}/plugins/plan_perfect/plugin.xml | |
672 | ||
673 | # psiconv | |
674 | %if %{with psiconv} | |
675 | %files plugin-psiconv | |
676 | %defattr(644,root,root,755) | |
677 | %dir %{_libdir}/gnumeric/%{version}/plugins/psiconv | |
678 | # R: psiconv | |
679 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/psiconv/psiconv.so | |
680 | %{_libdir}/gnumeric/%{version}/plugins/psiconv/plugin.xml | |
681 | %endif | |
682 | ||
683 | # qpro | |
684 | %files plugin-qpro | |
685 | %defattr(644,root,root,755) | |
686 | %dir %{_libdir}/gnumeric/%{version}/plugins/qpro | |
687 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/qpro/qpro.so | |
688 | %{_libdir}/gnumeric/%{version}/plugins/qpro/plugin.xml | |
689 | ||
690 | # sc/xspread | |
691 | %files plugin-sc | |
692 | %defattr(644,root,root,755) | |
693 | %dir %{_libdir}/gnumeric/%{version}/plugins/sc | |
694 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sc/sc.so | |
695 | %{_libdir}/gnumeric/%{version}/plugins/sc/plugin.xml | |
696 | ||
697 | # sylk | |
698 | %files plugin-sylk | |
699 | %defattr(644,root,root,755) | |
700 | %dir %{_libdir}/gnumeric/%{version}/plugins/sylk | |
701 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sylk/sylk.so | |
702 | %{_libdir}/gnumeric/%{version}/plugins/sylk/plugin.xml | |
703 | ||
704 | # xbase | |
705 | %files plugin-xbase | |
706 | %defattr(644,root,root,755) | |
707 | %dir %{_libdir}/gnumeric/%{version}/plugins/xbase | |
708 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/xbase/xbase.so | |
709 | %{_libdir}/gnumeric/%{version}/plugins/xbase/plugin.xml | |
710 | ||
711 | # samples | |
712 | %files plugin-sample | |
713 | %defattr(644,root,root,755) | |
714 | %dir %{_libdir}/gnumeric/%{version}/plugins/sample_datasource | |
715 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sample_datasource/sample_datasource.so | |
716 | %{_libdir}/gnumeric/%{version}/plugins/sample_datasource/plugin.xml | |
717 | %dir %{_libdir}/gnumeric/%{version}/plugins/uihello | |
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 | |
721 | ||
722 | # perl-func/perl loader | |
723 | %files plugin-perl | |
724 | %defattr(644,root,root,755) | |
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 | |
734 | %if %{with python} | |
735 | %files plugin-python | |
736 | %defattr(644,root,root,755) | |
737 | %dir %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary | |
738 | %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/glossary-po-header | |
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 | |
749 | %endif | |
750 | ||
751 | %files plugin-goffice | |
752 | %defattr(644,root,root,755) | |
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 |