]>
Commit | Line | Data |
---|---|---|
3fc009a8 | 1 | # |
0336986d | 2 | # TODO: unpackaged files |
3 | # | |
2993c773 | 4 | # Conditional build: |
7548bd64 | 5 | %bcond_with gda # build without gda |
3fc009a8 | 6 | %bcond_without python # build without python support |
773d8485 | 7 | %bcond_with mono # build without mono scripting engine |
3fc009a8 | 8 | # |
07fc4f74 | 9 | %ifnarch %{ix86} %{x8664} alpha arm hppa ppc s390 sparc sparcv9 sparc64 |
1ab44806 JB |
10 | %undefine with_mono |
11 | %endif | |
d64a8ab5 | 12 | %include /usr/lib/rpm/macros.perl |
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 |
55e31eb7 | 21 | Version: 1.12.2 |
f1b8dde7 | 22 | Release: 2 |
e4865eaa | 23 | Epoch: 1 |
912eae70 | 24 | License: GPL v2+ |
27b9e6a7 | 25 | Group: X11/Applications |
55e31eb7 AF |
26 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.12/%{name}-%{version}.tar.xz |
27 | # Source0-md5: 711daa98da0138203fb2f8dc4dcddb3c | |
28 | Patch0: am13.patch | |
29 | Patch1: gsf.patch | |
5542a590 | 30 | URL: http://projects.gnome.org/gnumeric/ |
ffdeafe6 | 31 | BuildRequires: GConf2-devel >= 2.14.0 |
171e05ad | 32 | BuildRequires: ORBit2-devel >= 1:2.14.0 |
3fc009a8 | 33 | BuildRequires: autoconf >= 2.52 |
9a6c860b | 34 | BuildRequires: automake |
d67015db | 35 | BuildRequires: bison |
d67015db | 36 | BuildRequires: flex |
e4865eaa | 37 | BuildRequires: gettext-devel |
bb9c8c1d | 38 | BuildRequires: glib2-devel >= 1:2.12.0 |
171e05ad | 39 | BuildRequires: gnome-common >= 2.12.0 |
d0eef284 | 40 | BuildRequires: gtk+3-devel |
ffdeafe6 | 41 | BuildRequires: intltool >= 0.35 |
55e31eb7 | 42 | BuildRequires: libgoffice-devel >= 0.10.2 |
b85a3f2e | 43 | %if %{with gda} |
7548bd64 | 44 | BuildRequires: libgda4-devel >= 4.1.1 |
45 | BuildRequires: libgnomedb4-devel >= 3.99.6 | |
2a31e225 | 46 | %endif |
bb9c8c1d | 47 | BuildRequires: libglade2-devel >= 1:2.6.0 |
a2e70254 | 48 | BuildRequires: libgsf-devel >= 1.14.18 |
f42e3000 | 49 | BuildRequires: libtool |
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} |
98e55b80 | 53 | BuildRequires: pango-devel >= 1:1.13.4 |
045144c2 | 54 | BuildRequires: perl-base |
7548bd64 | 55 | BuildRequires: perl-devel |
2085f8d8 | 56 | BuildRequires: pkgconfig |
57 | BuildRequires: popt-devel | |
3fc009a8 | 58 | BuildRequires: psiconv-devel >= 0.9.3 |
98f8bc30 | 59 | BuildRequires: pxlib-devel |
7548bd64 | 60 | BuildRequires: rpm-perlprov |
b85a3f2e | 61 | %if %{with python} |
cf0433ba | 62 | BuildRequires: python-devel >= 2.2 |
d0eef284 | 63 | BuildRequires: python-pygobject3-devel |
cf0433ba | 64 | %endif |
07fc4f74 | 65 | BuildRequires: rpmbuild(macros) >= 1.213 |
2085f8d8 | 66 | BuildRequires: scrollkeeper |
b7c112fc | 67 | Requires(post,postun): desktop-file-utils |
68 | Requires(post,postun): scrollkeeper | |
7548bd64 | 69 | Requires(post,preun): GConf2 >= 2.14.0 |
7548bd64 | 70 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} |
6a82de0c PG |
71 | %if %{without gda} |
72 | Obsoletes: gnumeric-plugin-gdaif | |
73 | Obsoletes: gnumeric-plugin-gnomedb | |
74 | %endif | |
dab5e7ff | 75 | # sr@Latn vs. sr@latin |
76 | Conflicts: glibc-misc < 6:2.7 | |
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 |
d0eef284 | 114 | Requires: libgoffice >= 0.9.90 |
ffdeafe6 | 115 | |
116 | %description -n libspreadsheet | |
117 | libspreadsheet library. | |
118 | ||
2d80c63a | 119 | %description -n libspreadsheet -l pl.UTF-8 |
ffdeafe6 | 120 | Biblioteka libspreadsheet. |
121 | ||
122 | %package -n libspreadsheet-devel | |
123 | Summary: Header files for libspreadsheet library | |
f96dcb22 | 124 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libspreadsheet |
ffdeafe6 | 125 | Group: Development/Libraries |
126 | Requires: libspreadsheet = %{epoch}:%{version}-%{release} | |
127 | ||
128 | %description -n libspreadsheet-devel | |
7548bd64 | 129 | This is the package containing the header files for libspreadsheet |
130 | library. | |
ffdeafe6 | 131 | |
2d80c63a JR |
132 | %description -n libspreadsheet-devel -l pl.UTF-8 |
133 | Ten pakiet zawiera pliki nagłówkowe biblioteki libspreadsheet. | |
ffdeafe6 | 134 | |
773d8485 | 135 | # plugins - import/export |
136 | # applix | |
137 | %package plugin-applix | |
138 | Summary: Applix plugin | |
f96dcb22 | 139 | Summary(pl.UTF-8): Wtyczka Applix |
7548bd64 | 140 | Group: X11/Applications |
773d8485 | 141 | Requires: %{name} = %{epoch}:%{version}-%{release} |
142 | ||
143 | %description plugin-applix | |
144 | Imports Applix 4.[234] spreadsheets. | |
145 | ||
2d80c63a | 146 | %description plugin-applix -l pl.UTF-8 |
773d8485 | 147 | Importuje arkusze Applix w wersjach 4.[234]. |
148 | ||
7548bd64 | 149 | # data interchange format (DIF) |
773d8485 | 150 | %package plugin-dif |
151 | Summary: Data Interchange Format plugin | |
f96dcb22 | 152 | Summary(pl.UTF-8): Wtyczka Data Interchange Format |
7548bd64 | 153 | Group: X11/Applications |
773d8485 | 154 | Requires: %{name} = %{epoch}:%{version}-%{release} |
155 | ||
156 | %description plugin-dif | |
157 | Reads and writes information stored in the Data Interchange Format | |
158 | (*.dif). | |
159 | ||
2d80c63a | 160 | %description plugin-dif -l pl.UTF-8 |
7548bd64 | 161 | Odczytuje i zapisuje informacje w uniwersalnym formacie wymiany danych |
162 | (*.dif). | |
773d8485 | 163 | |
164 | # ms excel | |
165 | %package plugin-excel | |
166 | Summary: MS Excel (tm) plugin | |
f96dcb22 | 167 | Summary(pl.UTF-8): Wtyczka MS Excel (tm) |
7548bd64 | 168 | Group: X11/Applications |
773d8485 | 169 | Requires: %{name} = %{epoch}:%{version}-%{release} |
170 | ||
171 | %description plugin-excel | |
172 | Imports/exports MS Excel (tm) files. | |
173 | ||
2d80c63a | 174 | %description plugin-excel -l pl.UTF-8 |
773d8485 | 175 | Importuje/eksporuje pliki MS Excel (tm). |
176 | ||
5b3b7958 | 177 | # glpk |
178 | %package plugin-glpk | |
179 | Summary: GLPK plugin | |
180 | Summary(pl.UTF-8): Wtyczka GLPK | |
7548bd64 | 181 | Group: X11/Applications |
5b3b7958 | 182 | Requires: %{name} = %{epoch}:%{version}-%{release} |
183 | ||
184 | %description plugin-glpk | |
185 | Imports/exports GLPK files. | |
186 | ||
187 | %description plugin-glpk -l pl.UTF-8 | |
188 | Importuje/eksporuje pliki GLPK. | |
189 | ||
773d8485 | 190 | # html |
191 | %package plugin-html | |
192 | Summary: HTML plugin | |
f96dcb22 | 193 | Summary(pl.UTF-8): Wtyczka HTML |
7548bd64 | 194 | Group: X11/Applications |
773d8485 | 195 | Requires: %{name} = %{epoch}:%{version}-%{release} |
196 | ||
197 | %description plugin-html | |
198 | Imports/exports of HTML, TeX, DVI and roff formats. | |
199 | ||
2d80c63a | 200 | %description plugin-html -l pl.UTF-8 |
773d8485 | 201 | Importuje/eksportuje formaty HTML, TeX, DVI i roff. |
202 | ||
203 | # lotus 123 | |
204 | %package plugin-lotus123 | |
205 | Summary: Lotus 123 plugin | |
f96dcb22 | 206 | Summary(pl.UTF-8): Wtyczka Lotus 123 |
7548bd64 | 207 | Group: X11/Applications |
773d8485 | 208 | Requires: %{name} = %{epoch}:%{version}-%{release} |
209 | ||
210 | %description plugin-lotus123 | |
211 | Imports Lotus 123 files. | |
212 | ||
2d80c63a | 213 | %description plugin-lotus123 -l pl.UTF-8 |
773d8485 | 214 | Importuje pliki Lotusa 123. |
215 | ||
5b3b7958 | 216 | # lpsolve |
217 | %package plugin-lpsolve | |
218 | Summary: lpsolve plugin | |
219 | Summary(pl.UTF-8): Wtyczka lpsolve | |
7548bd64 | 220 | Group: X11/Applications |
5b3b7958 | 221 | Requires: %{name} = %{epoch}:%{version}-%{release} |
222 | ||
223 | %description plugin-lpsolve | |
224 | Imports lpsolve files. | |
225 | ||
226 | %description plugin-lpsolve -l pl.UTF-8 | |
227 | Importuje pliki lpsolve. | |
228 | ||
af72cb9c | 229 | # nlsolve |
230 | %package plugin-nlsolve | |
231 | Summary: nlsolve plugin | |
232 | Summary(pl.UTF-8): Wtyczka nlsolve | |
233 | Group: X11/Applications | |
234 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
235 | ||
236 | %description plugin-nlsolve | |
237 | Imports nlsolve files. | |
238 | ||
239 | %description plugin-nlsolve -l pl.UTF-8 | |
240 | Importuje pliki nlsolve. | |
241 | ||
773d8485 | 242 | # gnu oleo |
243 | %package plugin-gnuoleo | |
244 | Summary: GNU Oleo plugin | |
f96dcb22 | 245 | Summary(pl.UTF-8): Wtyczka GNU Oleo |
7548bd64 | 246 | Group: X11/Applications |
773d8485 | 247 | Requires: %{name} = %{epoch}:%{version}-%{release} |
248 | ||
249 | %description plugin-gnuoleo | |
250 | Imports GNU Oleo documents. | |
251 | ||
2d80c63a | 252 | %description plugin-gnuoleo -l pl.UTF-8 |
773d8485 | 253 | Importuje dokumenty GNU Oleo. |
254 | ||
255 | # openoffice | |
256 | %package plugin-openoffice | |
257 | Summary: OpenOffice.org plugin | |
f96dcb22 | 258 | Summary(pl.UTF-8): Wtyczka OpenOffice.org |
7548bd64 | 259 | Group: X11/Applications |
773d8485 | 260 | Requires: %{name} = %{epoch}:%{version}-%{release} |
261 | ||
262 | %description plugin-openoffice | |
263 | Imports/exports OpenOffice.org/StarOffice spreadsheets. | |
264 | ||
2d80c63a | 265 | %description plugin-openoffice -l pl.UTF-8 |
773d8485 | 266 | Importuje/eksportuje arkusze OpenOffice.org/StarOffice. |
267 | ||
98f8bc30 | 268 | # paradox |
269 | %package plugin-paradox | |
270 | Summary: Paradox plugin | |
f96dcb22 | 271 | Summary(pl.UTF-8): Wtyczka Paradox |
7548bd64 | 272 | Group: X11/Applications |
98f8bc30 | 273 | Requires: %{name} = %{epoch}:%{version}-%{release} |
274 | ||
275 | %description plugin-paradox | |
276 | Imports Paradox files. | |
277 | ||
2d80c63a | 278 | %description plugin-paradox -l pl.UTF-8 |
98f8bc30 | 279 | Importuje pliki w formacie Paradoxa. |
280 | ||
773d8485 | 281 | # plan perfect |
282 | %package plugin-planperfect | |
283 | Summary: Plan Perfect plugin | |
f96dcb22 | 284 | Summary(pl.UTF-8): Wtyczka Plan Perfect |
7548bd64 | 285 | Group: X11/Applications |
773d8485 | 286 | Requires: %{name} = %{epoch}:%{version}-%{release} |
287 | ||
288 | %description plugin-planperfect | |
289 | Imports Plan Perfect formatted documents. | |
290 | ||
2d80c63a | 291 | %description plugin-planperfect -l pl.UTF-8 |
773d8485 | 292 | Importuje dokumenty w formacie Plan Perfect. |
293 | ||
294 | # psiconv | |
295 | %package plugin-psiconv | |
296 | Summary: Psiconv plugin | |
f96dcb22 | 297 | Summary(pl.UTF-8): Wtyczka Psiconv |
7548bd64 | 298 | Group: X11/Applications |
773d8485 | 299 | Requires: %{name} = %{epoch}:%{version}-%{release} |
300 | ||
301 | %description plugin-psiconv | |
302 | Imports Psion 5 series Sheet files. | |
303 | ||
2d80c63a | 304 | %description plugin-psiconv -l pl.UTF-8 |
773d8485 | 305 | Importuje pliki arkuszy Psion serii 5. |
306 | ||
307 | # qpro | |
308 | %package plugin-qpro | |
309 | Summary: Quattro Pro(tm) plugin | |
f96dcb22 | 310 | Summary(pl.UTF-8): Wtyczka Quattro Pro(tm) |
7548bd64 | 311 | Group: X11/Applications |
773d8485 | 312 | Requires: %{name} = %{epoch}:%{version}-%{release} |
313 | ||
314 | %description plugin-qpro | |
315 | Imports Quattro Pro (tm) files. | |
316 | ||
2d80c63a | 317 | %description plugin-qpro -l pl.UTF-8 |
773d8485 | 318 | Importuje pliki Quattro Pro (tm). |
319 | ||
320 | # sc/xspread | |
321 | %package plugin-sc | |
322 | Summary: SC/XSpread plugin | |
f96dcb22 | 323 | Summary(pl.UTF-8): Wtyczka SC/XSpread |
7548bd64 | 324 | Group: X11/Applications |
773d8485 | 325 | Requires: %{name} = %{epoch}:%{version}-%{release} |
326 | ||
327 | %description plugin-sc | |
328 | Imports SC/XSpread files. | |
329 | ||
2d80c63a | 330 | %description plugin-sc -l pl.UTF-8 |
773d8485 | 331 | Importuje pliki SC/XSpread. |
332 | ||
333 | # sylk | |
334 | %package plugin-sylk | |
335 | Summary: MultiPlan (SYLK) plugin | |
f96dcb22 | 336 | Summary(pl.UTF-8): Wtyczka MultiPlan (SYLK) |
7548bd64 | 337 | Group: X11/Applications |
773d8485 | 338 | Requires: %{name} = %{epoch}:%{version}-%{release} |
339 | ||
340 | %description plugin-sylk | |
341 | Imports MultiPlan (SYLK) files. | |
342 | ||
2d80c63a | 343 | %description plugin-sylk -l pl.UTF-8 |
773d8485 | 344 | Importuje pliki MultiPlan (SYLK). |
345 | ||
346 | # xbase | |
347 | %package plugin-xbase | |
348 | Summary: XBase plugin | |
f96dcb22 | 349 | Summary(pl.UTF-8): Wtyczka Xbase |
7548bd64 | 350 | Group: X11/Applications |
773d8485 | 351 | Requires: %{name} = %{epoch}:%{version}-%{release} |
352 | ||
353 | %description plugin-xbase | |
354 | Imports Xbase files. | |
355 | ||
2d80c63a | 356 | %description plugin-xbase -l pl.UTF-8 |
773d8485 | 357 | Importuje pliki XBase. |
358 | ||
359 | # other plugins | |
360 | # gda | |
361 | %package plugin-gdaif | |
362 | Summary: Database plugin | |
f96dcb22 | 363 | Summary(pl.UTF-8): Wtyczka baz danych |
7548bd64 | 364 | Group: X11/Applications |
773d8485 | 365 | Requires: %{name} = %{epoch}:%{version}-%{release} |
366 | ||
367 | %description plugin-gdaif | |
368 | Database functions for retrieval of data from a database. | |
369 | ||
2d80c63a JR |
370 | %description plugin-gdaif -l pl.UTF-8 |
371 | Funkcje bazodanowe, pozwalające na pobieranie danych z baz danych. | |
773d8485 | 372 | |
373 | # gnome db | |
374 | %package plugin-gnomedb | |
375 | Summary: GNOME DB plugin | |
f96dcb22 | 376 | Summary(pl.UTF-8): Wtyczka GNOME DB |
7548bd64 | 377 | Group: X11/Applications |
773d8485 | 378 | Requires: %{name} = %{epoch}:%{version}-%{release} |
379 | Requires: gnumeric-plugin-gdaif | |
380 | ||
381 | %description plugin-gnomedb | |
382 | Gnumeric frontend for libgnomedb. | |
383 | ||
2d80c63a JR |
384 | %description plugin-gnomedb -l pl.UTF-8 |
385 | Nakładka Gnumerica na libgnomedb. | |
773d8485 | 386 | |
387 | # samples | |
388 | %package plugin-sample | |
389 | Summary: Sample plugins | |
f96dcb22 | 390 | Summary(pl.UTF-8): Przykładowe wtyczki |
7548bd64 | 391 | Group: X11/Applications |
773d8485 | 392 | Requires: %{name} = %{epoch}:%{version}-%{release} |
393 | ||
394 | %description plugin-sample | |
395 | Sample database and UI plugins. | |
396 | ||
2d80c63a JR |
397 | %description plugin-sample -l pl.UTF-8 |
398 | Przykładowe wtyczki bazy danych oraz interfejsu użytkownika. | |
773d8485 | 399 | |
400 | # perl/python stuff | |
401 | # perl-func/perl loader | |
402 | %package plugin-perl | |
403 | Summary: Perl plugin | |
d0eef284 | 404 | Summary(pl.UTF-8): Wtyczka Perla |
7548bd64 | 405 | Group: X11/Applications |
773d8485 | 406 | Requires: %{name} = %{epoch}:%{version}-%{release} |
407 | ||
408 | %description plugin-perl | |
409 | Sample Perl plugin providing some (useless) functions. | |
410 | ||
2d80c63a JR |
411 | %description plugin-perl -l pl.UTF-8 |
412 | Przykładowa wtyczka Perla dostarczająca różnych (bezużytecznych) | |
773d8485 | 413 | funkcji. |
414 | ||
415 | # perl-func/perl loader | |
416 | %package plugin-python | |
417 | Summary: Python plugin | |
d0eef284 | 418 | Summary(pl.UTF-8): Wtyczka Pythona |
7548bd64 | 419 | Group: X11/Applications |
773d8485 | 420 | Requires: %{name} = %{epoch}:%{version}-%{release} |
421 | Requires: python-modules | |
823c33a6 | 422 | Requires: python-pygtk-gtk |
773d8485 | 423 | |
424 | %description plugin-python | |
425 | Sample Python plugin providing some (useless) functions. | |
426 | ||
2d80c63a JR |
427 | %description plugin-python -l pl.UTF-8 |
428 | Przykładowa wtyczka Pythona, dostarczająca różnych (bezużytecznych) | |
773d8485 | 429 | funkcji. |
430 | ||
d0eef284 JR |
431 | # gnumeric support for goffice |
432 | %package plugin-goffice | |
433 | Summary: Gnumeric plugin for goffice | |
434 | Summary(pl.UTF-8): Wtyczka dla goffice | |
435 | Group: X11/Applications | |
436 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
437 | Requires: libgoffice >= 0.9.90 | |
438 | ||
439 | %description plugin-goffice | |
440 | Gnumeric plugin for goffice. | |
441 | ||
442 | %description plugin-goffice -l pl.UTF-8 | |
443 | Wtyczka dla goffice. | |
444 | ||
03a201fb | 445 | %prep |
3e614866 | 446 | %setup -q |
55e31eb7 AF |
447 | %patch0 -p1 |
448 | %patch1 -p1 | |
03a201fb | 449 | |
450 | %build | |
773d8485 | 451 | %{__gnome_doc_common} |
b0c91d4e | 452 | %{__glib_gettextize} |
453 | %{__intltoolize} | |
f42e3000 | 454 | %{__libtoolize} |
ef442457 | 455 | %{__aclocal} |
004c5b15 | 456 | %{__autoheader} |
457 | %{__autoconf} | |
458 | %{__automake} | |
3ae91ee9 | 459 | %configure \ |
460 | --disable-static \ | |
65f0d7de | 461 | --disable-silent-rules \ |
3fc009a8 | 462 | --with-psiconv \ |
1ab44806 | 463 | --with%{!?with_python:out}-python \ |
1ab44806 | 464 | --with%{!?with_mono:out}-mono \ |
d0eef284 | 465 | --with%{!?with_gda:out}-gda |
98fd4ddf | 466 | |
6173637b | 467 | %{__make} |
03a201fb | 468 | |
469 | %install | |
470 | rm -rf $RPM_BUILD_ROOT | |
03a201fb | 471 | |
e4865eaa | 472 | %{__make} install \ |
39bc417d | 473 | DESTDIR=$RPM_BUILD_ROOT \ |
7548bd64 | 474 | docdir=%{_datadir}/gnome/help/gnumeric/C \ |
b85a3f2e | 475 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
03a201fb | 476 | |
af72cb9c | 477 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnumeric/%{version}/plugins/*/*.la |
478 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
3fc009a8 | 479 | |
dab5e7ff | 480 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
481 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
5b3b7958 | 482 | |
9f615531 | 483 | %find_lang %{name} --with-gnome --all-name |
957d478d | 484 | |
03a201fb | 485 | %clean |
486 | rm -rf $RPM_BUILD_ROOT | |
487 | ||
18b176fc | 488 | %post |
d0eef284 | 489 | %glib_compile_schemas |
b0c91d4e | 490 | %update_desktop_database_post |
773d8485 | 491 | %scrollkeeper_update_post |
b0c91d4e | 492 | |
493 | %preun | |
d0eef284 | 494 | %glib_compile_schemas |
0b26a3da | 495 | |
3fc009a8 | 496 | %postun |
b0c91d4e | 497 | %scrollkeeper_update_postun |
498 | %update_desktop_database_postun | |
c58876d7 | 499 | |
ffdeafe6 | 500 | %post -n libspreadsheet -p /sbin/ldconfig |
501 | %postun -n libspreadsheet -p /sbin/ldconfig | |
502 | ||
957d478d | 503 | %files -f %{name}.lang |
4136323f | 504 | %defattr(644,root,root,755) |
136bb2ae | 505 | %doc AUTHORS ChangeLog NEWS README |
772fa905 | 506 | |
3ae91ee9 | 507 | %attr(755,root,root) %{_bindir}/* |
772fa905 | 508 | |
18b176fc | 509 | %dir %{_libdir}/gnumeric |
773d8485 | 510 | %dir %{_libdir}/gnumeric/%{version} |
511 | %dir %{_libdir}/gnumeric/%{version}/plugins | |
773d8485 | 512 | %dir %{_libdir}/gnumeric/%{version}/plugins/fn-* |
513 | %dir %{_libdir}/gnumeric/%{version}/plugins/mps | |
773d8485 | 514 | |
d0eef284 JR |
515 | %{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.dialogs.gschema.xml |
516 | %{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.gschema.xml | |
517 | %{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.plugin.gschema.xml | |
772fa905 | 518 | |
773d8485 | 519 | %{_libdir}/gnumeric/%{version}/plugins/fn-*/*.xml |
520 | %{_libdir}/gnumeric/%{version}/plugins/mps/*.xml | |
773d8485 | 521 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/fn-*/*.so |
522 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/mps/*.so | |
773d8485 | 523 | |
1fc634bc | 524 | %{_desktopdir}/*.desktop |
3fc009a8 | 525 | %{_pixmapsdir}/* |
b1222d2d | 526 | %{_iconsdir}/hicolor/*/apps/gnumeric.* |
772fa905 | 527 | %{_omf_dest_dir}/%{name} |
528 | ||
18b176fc AF |
529 | %dir %{_datadir}/gnumeric |
530 | %dir %{_datadir}/gnumeric/%{version}* | |
773d8485 | 531 | %{_datadir}/gnumeric/%{version}/*.xml |
532 | %{_datadir}/gnumeric/%{version}/autoformat-templates | |
773d8485 | 533 | %{_datadir}/gnumeric/%{version}/templates |
b1e8e3eb | 534 | |
3fc009a8 | 535 | %{_mandir}/man1/gnumeric.1* |
536 | %{_mandir}/man1/ssconvert.1* | |
55e31eb7 | 537 | %{_mandir}/man1/ssdiff.1* |
5b3b7958 | 538 | %{_mandir}/man1/ssgrep.1* |
773d8485 | 539 | %{_mandir}/man1/ssindex.1* |
540 | ||
ffdeafe6 | 541 | %files -n libspreadsheet |
542 | %defattr(644,root,root,755) | |
543 | %attr(755,root,root) %{_libdir}/lib*.so | |
544 | ||
545 | %files -n libspreadsheet-devel | |
546 | %defattr(644,root,root,755) | |
d0eef284 | 547 | %{_includedir}/libspreadsheet-1.12 |
ffdeafe6 | 548 | %{_pkgconfigdir}/*.pc |
549 | ||
773d8485 | 550 | # applix |
551 | %files plugin-applix | |
552 | %defattr(644,root,root,755) | |
553 | %dir %{_libdir}/gnumeric/%{version}/plugins/applix | |
554 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/applix/*.so | |
555 | %{_libdir}/gnumeric/%{version}/plugins/applix/*.xml | |
556 | ||
7548bd64 | 557 | # data interchange format (DIF) |
773d8485 | 558 | %files plugin-dif |
559 | %defattr(644,root,root,755) | |
560 | %dir %{_libdir}/gnumeric/%{version}/plugins/dif | |
561 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/dif/*.so | |
562 | %{_libdir}/gnumeric/%{version}/plugins/dif/*.xml | |
563 | ||
564 | # ms excel | |
565 | %files plugin-excel | |
566 | %defattr(644,root,root,755) | |
567 | %dir %{_libdir}/gnumeric/%{version}/plugins/excel | |
d0eef284 | 568 | %dir %{_libdir}/gnumeric/%{version}/plugins/excelplugins |
773d8485 | 569 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/excel/*.so |
d0eef284 | 570 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/excelplugins/*.so |
773d8485 | 571 | %{_libdir}/gnumeric/%{version}/plugins/excel/*.xml |
d0eef284 | 572 | %{_libdir}/gnumeric/%{version}/plugins/excelplugins/*.xml |
773d8485 | 573 | |
5b3b7958 | 574 | # glpk |
575 | %files plugin-glpk | |
576 | %defattr(644,root,root,755) | |
577 | %dir %{_libdir}/gnumeric/%{version}/plugins/glpk | |
578 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/glpk/*.so | |
579 | %{_libdir}/gnumeric/%{version}/plugins/glpk/*.xml | |
580 | ||
773d8485 | 581 | # html |
582 | %files plugin-html | |
583 | %defattr(644,root,root,755) | |
584 | %dir %{_libdir}/gnumeric/%{version}/plugins/html | |
585 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/html/*.so | |
586 | %{_libdir}/gnumeric/%{version}/plugins/html/*.xml | |
587 | ||
588 | # lotus 123 | |
589 | %files plugin-lotus123 | |
590 | %defattr(644,root,root,755) | |
591 | %dir %{_libdir}/gnumeric/%{version}/plugins/lotus | |
592 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/lotus/*.so | |
593 | %{_libdir}/gnumeric/%{version}/plugins/lotus/*.xml | |
594 | ||
5b3b7958 | 595 | # lpsolve |
596 | %files plugin-lpsolve | |
597 | %defattr(644,root,root,755) | |
598 | %dir %{_libdir}/gnumeric/%{version}/plugins/lpsolve | |
599 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/lpsolve/*.so | |
600 | %{_libdir}/gnumeric/%{version}/plugins/lpsolve/*.xml | |
601 | ||
af72cb9c | 602 | # nlsolve |
603 | %files plugin-nlsolve | |
604 | %defattr(644,root,root,755) | |
605 | %dir %{_libdir}/gnumeric/%{version}/plugins/nlsolve | |
606 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/nlsolve/*.so | |
607 | %{_libdir}/gnumeric/%{version}/plugins/nlsolve/*.xml | |
608 | ||
773d8485 | 609 | # gnu oleo |
610 | %files plugin-gnuoleo | |
611 | %defattr(644,root,root,755) | |
612 | %dir %{_libdir}/gnumeric/%{version}/plugins/oleo | |
613 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/oleo/*.so | |
614 | %{_libdir}/gnumeric/%{version}/plugins/oleo/*.xml | |
615 | ||
616 | # openoffice | |
617 | %files plugin-openoffice | |
618 | %defattr(644,root,root,755) | |
619 | %dir %{_libdir}/gnumeric/%{version}/plugins/openoffice | |
620 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/openoffice/*.so | |
621 | %{_libdir}/gnumeric/%{version}/plugins/openoffice/*.xml | |
622 | ||
98f8bc30 | 623 | # paradox |
624 | %files plugin-paradox | |
625 | %defattr(644,root,root,755) | |
626 | %dir %{_libdir}/gnumeric/%{version}/plugins/paradox | |
627 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/paradox/*.so | |
628 | %{_libdir}/gnumeric/%{version}/plugins/paradox/*.xml | |
629 | ||
773d8485 | 630 | # plan perfect |
631 | %files plugin-planperfect | |
632 | %defattr(644,root,root,755) | |
633 | %dir %{_libdir}/gnumeric/%{version}/plugins/plan_perfect | |
634 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/plan_perfect/*.so | |
635 | %{_libdir}/gnumeric/%{version}/plugins/plan_perfect/*.xml | |
636 | ||
637 | # psiconv | |
638 | %files plugin-psiconv | |
639 | %defattr(644,root,root,755) | |
640 | %dir %{_libdir}/gnumeric/%{version}/plugins/psiconv | |
641 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/psiconv/*.so | |
642 | %{_libdir}/gnumeric/%{version}/plugins/psiconv/*.xml | |
643 | ||
644 | # qpro | |
645 | %files plugin-qpro | |
646 | %defattr(644,root,root,755) | |
647 | %dir %{_libdir}/gnumeric/%{version}/plugins/qpro | |
648 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/qpro/*.so | |
649 | %{_libdir}/gnumeric/%{version}/plugins/qpro/*.xml | |
650 | ||
651 | # sc/xspread | |
652 | %files plugin-sc | |
653 | %defattr(644,root,root,755) | |
654 | %dir %{_libdir}/gnumeric/%{version}/plugins/sc | |
655 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sc/*.so | |
656 | %{_libdir}/gnumeric/%{version}/plugins/sc/*.xml | |
657 | ||
658 | # sylk | |
659 | %files plugin-sylk | |
660 | %defattr(644,root,root,755) | |
661 | %dir %{_libdir}/gnumeric/%{version}/plugins/sylk | |
662 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sylk/*.so | |
663 | %{_libdir}/gnumeric/%{version}/plugins/sylk/*.xml | |
664 | ||
665 | # xbase | |
666 | %files plugin-xbase | |
667 | %defattr(644,root,root,755) | |
668 | %dir %{_libdir}/gnumeric/%{version}/plugins/xbase | |
669 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/xbase/*.so | |
670 | %{_libdir}/gnumeric/%{version}/plugins/xbase/*.xml | |
671 | ||
672 | %if %{with gda} | |
673 | # gda | |
674 | %files plugin-gdaif | |
675 | %defattr(644,root,root,755) | |
0f22a724 | 676 | %dir %{_libdir}/gnumeric/%{version}/plugins/gdaif |
677 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/gdaif/*.so | |
678 | %{_libdir}/gnumeric/%{version}/plugins/gdaif/*.xml | |
773d8485 | 679 | |
680 | # gnome db | |
681 | %files plugin-gnomedb | |
682 | %defattr(644,root,root,755) | |
0f22a724 | 683 | %dir %{_libdir}/gnumeric/%{version}/plugins/gnome-db |
684 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/gnome-db/*.so | |
685 | %{_libdir}/gnumeric/%{version}/plugins/gnome-db/*.xml | |
773d8485 | 686 | %endif |
687 | ||
688 | # samples | |
689 | %files plugin-sample | |
690 | %defattr(644,root,root,755) | |
691 | %dir %{_libdir}/gnumeric/%{version}/plugins/sample_datasource | |
692 | %dir %{_libdir}/gnumeric/%{version}/plugins/uihello | |
693 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sample_datasource/*.so | |
694 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/uihello/*.so | |
695 | %{_libdir}/gnumeric/%{version}/plugins/sample_datasource/*.xml | |
696 | %{_libdir}/gnumeric/%{version}/plugins/uihello/*.xml | |
697 | ||
698 | # perl-func/perl loader | |
699 | %files plugin-perl | |
700 | %defattr(644,root,root,755) | |
701 | %dir %{_libdir}/gnumeric/%{version}/plugins/perl-* | |
702 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/perl-*/*.so | |
703 | %{_libdir}/gnumeric/%{version}/plugins/perl-*/*.pl | |
704 | %{_libdir}/gnumeric/%{version}/plugins/perl-*/*.xml | |
705 | ||
706 | # python-func/perl loader | |
707 | %if %{with python} | |
708 | %files plugin-python | |
709 | %defattr(644,root,root,755) | |
710 | %dir %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary | |
711 | %dir %{_libdir}/gnumeric/%{version}/plugins/py* | |
712 | %attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/py*/*.so | |
713 | %{_libdir}/gnumeric/%{version}/plugins/py*/*.py | |
714 | %{_libdir}/gnumeric/%{version}/plugins/py*/*.xml | |
715 | %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/glossary-po-header | |
716 | %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/*.py | |
717 | %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/*.xml | |
718 | %endif | |
d0eef284 JR |
719 | |
720 | %files plugin-goffice | |
721 | %defattr(644,root,root,755) | |
722 | %dir %{_libdir}/goffice/*/plugins/gnumeric | |
723 | %{_libdir}/goffice/*/plugins/gnumeric/*.xml | |
724 | %attr(755,root,root) %{_libdir}/goffice/*/plugins/gnumeric/*.so |