/[packages]/cauldron/libreoffice/current/SPECS/libreoffice.spec
ViewVC logotype

Contents of /cauldron/libreoffice/current/SPECS/libreoffice.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 658731 - (show annotations) (download)
Thu Jul 31 16:56:18 2014 UTC (5 years, 8 months ago) by tv
File size: 74684 byte(s)
kill doble BRs (SILENT)

1 # download path contains version without the last (fourth) digit
2 %define libo_version 4.3.0
3 # Should contain .alphaX / .betaX, if this is pre-release (actually
4 # pre-RC) version. The pre-release string is part of tarball file names,
5 # so we need a way to define it easily at one place.
6 %define libo_prerelease %nil
7 %define vendoroption --with-vendor="Mageia"
8 # rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF
9 %define __jar_repack %{nil}
10 %define Werror_cflags %nil
11 # make it easier to download sources from pre-release site
12 %define source_url http://dev-builds.libreoffice.org/pre-releases/src
13 #define source_url http://download.documentfoundation.org/libreoffice/src/%libo_version
14 # URL for external projects' tarballs
15 %define external_url http://dev-www.libreoffice.org/src/
16
17 # get english only and no-langpacks for a faster smoketest build
18 # fedpkg compile/install/local/mockbuild does not handle --without ATM,
19 # so it is necessary to change this to bcond_with to achieve the same
20 # effect
21 %bcond_without langpacks
22
23 # remove workdir at the end of %%build, to allow build on space-constrained machines
24 %ifarch s390 s390x
25 %bcond_without smallbuild
26 %else
27 %bcond_with smallbuild
28 %endif
29
30 # generated by %%langpack definitions
31 %global langpack_langs %{nil}
32
33 %global bundling_options %{nil}
34
35 %global build_gtk3 1
36 %global build_kde 1
37 %define system_boost 1
38
39 %define with_mergedlibs 0
40 %define _requires_exceptions libjawt.so\\|libmyspell.so\\|libstlport_gcc.so\\|libmono.so\\|mono\\|devel(libstlport_gcc)\\|libxmlreader.so\\|libcomphelp4gcc3.so\\|devel(libreglo)\\|devel(libxmlreaderlo)\\|devel(libreglo(64bit))\\|devel(libxmlreaderlo(64bit))\\|devel(libunoidllo)\\|devel(libunoidllo(64bit))
41
42 %define _provides_exceptions libsndfile.so\\|libportaudio.so\\|libdb-4.2.so\\|libdb_java-4.2.so\\|libmyspell.so\\|libstlport_gcc.so\\|librdf.so.0\\|libraptor.so.1\\|libxmlsec1-nss.so.1\\|libxmlsec1.so.1
43
44 %define _enable_debug_packages 0
45
46 Summary: Free Software Productivity Suite
47 Name: libreoffice
48 Version: %{libo_version}.4
49 Release: %mkrel 1%{?libo_prerelease}
50 License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0
51 Group: Office/Suite
52 URL: http://www.libreoffice.org/
53
54 Source0: %{source_url}/libreoffice-%{version}%{?libo_prerelease}.tar.xz
55 Source1: %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}.tar.xz
56 Source2: %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}.tar.xz
57 Source3: http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
58 Source4: libreoffice-multiliblauncher.sh
59 Source5: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
60 Source6: %{external_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
61 Source7: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
62 Source8: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
63
64 #Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose
65 #backwards compatability.
66 Source9: %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
67
68 # build tools
69 BuildRequires: autoconf
70 BuildRequires: automake
71 BuildRequires: bc
72 BuildRequires: binutils
73 BuildRequires: bison
74 BuildRequires: desktop-file-utils
75 BuildRequires: doxygen
76 BuildRequires: findutils
77 BuildRequires: flex
78 BuildRequires: gcc-c++
79 BuildRequires: git
80 BuildRequires: gperf
81 BuildRequires: icu
82 BuildRequires: make
83 BuildRequires: perl(Archive::Zip)
84 BuildRequires: perl(Digest::MD5)
85 BuildRequires: ucpp
86 # (tv) for xmllint:
87 BuildRequires: libxml2-utils
88 BuildRequires: zip
89
90 # libs / headers - common
91 BuildRequires: cups-devel
92 BuildRequires: pkgconfig(expat)
93 BuildRequires: fontpackages-devel
94 BuildRequires: hyphen-devel
95 BuildRequires: libicu-devel
96 BuildRequires: lpsolve-devel
97 BuildRequires: openldap-devel
98 BuildRequires: pam-devel
99 BuildRequires: pkgconfig(cppunit)
100 BuildRequires: pkgconfig(dbus-glib-1)
101 BuildRequires: pkgconfig(evolution-data-server-1.2)
102 BuildRequires: pkgconfig(freetype2)
103 %if %{build_gtk3}
104 BuildRequires: gtk+3-devel
105 %endif
106 BuildRequires: pkgconfig(gconf-2.0)
107 BuildRequires: pkgconfig(glu)
108 BuildRequires: pkgconfig(gtk+-2.0)
109 BuildRequires: pkgconfig(hunspell)
110 %if %{build_kde}
111 BuildRequires: kdelibs4-devel
112 %endif
113 BuildRequires: pkgconfig(ice)
114 BuildRequires: pkgconfig(libcurl)
115 BuildRequires: pkgconfig(libidn)
116 BuildRequires: pkgconfig(libxml-2.0)
117 BuildRequires: pkgconfig(libxslt)
118 BuildRequires: pkgconfig(neon)
119 BuildRequires: pkgconfig(nss)
120 BuildRequires: pkgconfig(poppler)
121 BuildRequires: pkgconfig(redland)
122 BuildRequires: pkgconfig(sane-backends)
123 BuildRequires: pkgconfig(xext)
124 BuildRequires: pkgconfig(xinerama)
125 BuildRequires: pkgconfig(xt)
126 BuildRequires: pkgconfig(zlib)
127 BuildRequires: unixODBC-devel
128 BuildRequires: vigra-devel
129
130 BuildRequires: pkgconfig(libcdr-0.1)
131 # libs / headers - conditional
132 BuildRequires: firebird-devel
133 BuildRequires: firebird-server-common
134 BuildRequires: glm-devel
135 BuildRequires: kdelibs4-devel
136 BuildRequires: pkgconfig(glew)
137 BuildRequires: pkgconfig(libabw-0.1)
138 BuildRequires: pkgconfig(libcdr-0.1)
139 BuildRequires: pkgconfig(libcmis-0.4)
140 BuildRequires: pkgconfig(libe-book-0.1)
141 BuildRequires: pkgconfig(libeot)
142 BuildRequires: pkgconfig(libetonyek-0.1)
143 BuildRequires: pkgconfig(libfreehand-0.1)
144 BuildRequires: pkgconfig(libmspub-0.1)
145 BuildRequires: pkgconfig(libmwaw-0.3)
146 BuildRequires: pkgconfig(libodfgen-0.1)
147 BuildRequires: pkgconfig(liborcus-0.8)
148 BuildRequires: pkgconfig(librevenge-0.0)
149 BuildRequires: pkgconfig(libvisio-0.1)
150 BuildRequires: pkgconfig(libwpd-0.10)
151 BuildRequires: pkgconfig(libwpg-0.3)
152 BuildRequires: pkgconfig(libwps-0.3)
153 BuildRequires: pkgconfig(mdds)
154
155 %if 0%{?system_boost}
156 BuildRequires: boost-devel
157 %endif
158 BuildRequires: pkgconfig(graphite2)
159 BuildRequires: pkgconfig(harfbuzz)
160 BuildRequires: pkgconfig(lcms2)
161 BuildRequires: pkgconfig(libclucene-core)
162 BuildRequires: pkgconfig(libexttextcat)
163 BuildRequires: pkgconfig(liblangtag)
164 BuildRequires: pkgconfig(mythes)
165 BuildRequires: pkgconfig(poppler-cpp)
166 BuildRequires: postgresql-devel
167
168 # libs / headers - special cases
169 BuildRequires: pkgconfig(gstreamer-1.0)
170 BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
171
172 BuildRequires: libjpeg-devel
173
174 BuildRequires: pkgconfig(bluez)
175 BuildRequires: pkgconfig(python3)
176 BuildRequires: rsync
177
178 # java stuff
179 BuildRequires: ant
180 BuildRequires: ant-apache-regexp
181 BuildRequires: apache-commons-codec
182 BuildRequires: apache-commons-lang
183 BuildRequires: bsh
184 BuildRequires: hsqldb
185 BuildRequires: java-devel
186 BuildRequires: jakarta-commons-httpclient
187 BuildRequires: junit
188 BuildRequires: pentaho-reporting-flow-engine
189
190 # fonts needed for unit tests
191 BuildRequires: fonts-ttf-liberation
192
193 # libreoffice metapackage requires all of the programs
194 Requires: %{name}-base = %{version}
195 Requires: %{name}-calc = %{version}
196 Requires: %{name}-draw = %{version}
197 Requires: %{name}-impress = %{version}
198 Requires: %{name}-math = %{version}
199 Suggests: %{name}-pdfimport
200 Requires: %{name}-writer = %{version}
201 Provides: openoffice.org = 1:%{version}-%{release}
202
203 # Fedora patches
204 # not upstreamed
205 Patch0: openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch
206 # not upstreamed
207 Patch1: openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch
208 # not upstreamed
209 Patch2: libreoffice-installfix.patch
210 # patches 7-11 are RHEL specific @RH/FC
211 # not upstreamed
212 Patch10: 0001-Resolves-rhbz-1035092-no-shortcut-key-for-Italian-To.patch
213 # not upstreamed
214 Patch11: 0001-disable-firebird-unit-test.patch
215 # not upstreamed
216 Patch12: 0001-never-run-autogen.sh.patch
217 # not upstreamed
218 Patch13: 0001-add-X-TryExec-entries-to-desktop-files.patch
219 # not upstreamed
220 Patch14: 0001-disable-PSD-import-test-which-deadlocks-on-ARM.patch
221 Patch15: 0001-rhbz-1111216-allow-to-export-an-empty-sheet-to-PDF.patch
222 Patch16: 0001-allow-build-with-icu-4.2.patch
223 Patch17: 0001-avoid-problems-detecting-HTML-files-with-.xls-ext.patch
224 Patch18: 0001-scrolling-very-slow-in-calc.patch
225 Patch19: 0001-Related-rhbz-1117853-nStartPara-of-EE_PARA_NOT_FOUND.patch
226 Patch20: 0001-Resolves-fdo-81487-pasting-into-outline-view-crashes.patch
227 Patch21: 0001-fdo-81113-always-run-the-actual-detection.patch
228 Patch22: 0001-Resolves-i125289-do-apply-possible-changed-GraphicSt.patch
229 Patch23: 0001-rhbz-1121254-reload-font-list-from-shell-on-change.patch
230
231 #Mageia Patch
232
233 %define instdir %{_libdir}
234 %define baseinstdir %{instdir}/libreoffice
235 %define ureinstdir %{baseinstdir}/ure
236 %define sdkinstdir %{baseinstdir}/sdk
237 %define fontname opensymbol
238
239 %description
240 LibreOffice is an Open Source, community-developed, office productivity suite.
241 It includes the key desktop applications, such as a word processor,
242 spreadsheet, presentation manager, formula editor and drawing program, with a
243 user interface and feature set similar to other office suites. Sophisticated
244 and flexible, LibreOffice also works transparently with a variety of file
245 formats, including Microsoft Office File Formats.
246
247
248 %package filters
249 Summary: All import / export filters
250 Group: Office/Utilities
251 Requires: %{name}-calc = %{version}-%{release}
252 Requires: %{name}-core = %{version}-%{release}
253 Requires: %{name}-draw = %{version}-%{release}
254 Requires: %{name}-graphicfilter = %{version}-%{release}
255 Requires: %{name}-impress = %{version}-%{release}
256 Requires: %{name}-math = %{version}-%{release}
257 Requires: %{name}-ure = %{version}-%{release}
258 Requires: %{name}-writer = %{version}-%{release}
259 Requires: %{name}-xsltfilter = %{version}-%{release}
260
261 %description filters
262 Metapackage to pull in all subpackages that contain import or export
263 filters.
264
265 %package core
266 Summary: Core modules for LibreOffice
267 Group: Office/Utilities
268 Requires: %{name}-%{fontname}-fonts = %{version}-%{release}
269 Requires: %{name}-ure = %{version}-%{release}
270 Requires: fonts-ttf-liberation
271 Requires: fonts-ttf-dejavu
272 Requires: google-crosextra-caladea-fonts, google-crosextra-carlito-fonts
273 Requires: hunspell
274 Requires: hyphen >= 2.4
275 Suggests: hyphen-en
276 Suggests: autocorr-en
277 Suggests: hunspell-en
278 Requires: libexttextcat
279 Requires: %name-langpack = %version-%release
280 Provides: openoffice.org-core = 1:%version-%release
281 Provides: openoffice.org-common = 1:%version-%release
282 Provides: openoffice.org-filter-binfilter = 1:%version-%release
283 Provides: openoffice.org-help-en_US = 1:%version-%release
284 Provides: openoffice.org-help-en_GB = 1:%version-%release
285 Obsoletes: libreoffice-langpack-ms < 1:3.3.99.1
286 Obsoletes: libreoffice-langpack-ur < 1:3.3.99.1
287 Provides: libreoffice-style-tango = %{version}-%{release}
288 Provides: libreoffice-style-oxygen = %{version}-%{release}
289 Conflicts: %name-ure < 3.3.2.2-7
290 Obsoletes: libreoffice-binfilter < 4.0.0.0
291 Obsoletes: libreoffice-javafilter < 4.1.0.0
292 Obsoletes: autocorr-eu < 1:4.0.1.2
293 Obsoletes: libreoffice-testtools < 3.4.99.1
294 Conflicts: %name-gdb-debug-support < 3.6.0-0.beta2.1
295
296 %description core
297 The shared core libraries and support files for LibreOffice.
298
299
300 %package pyuno
301 Summary: Python support for LibreOffice
302 Group: Development/Python
303 Requires: %{name}-core = %{version}-%{release}
304 Requires: %{name}-ure = %{version}-%{release}
305 Requires: python3
306 Requires(pre): %{name}-core
307 Requires(post): %{name}-core
308 Requires(preun): %{name}-core
309 Requires(postun): %{name}-core
310 Provides: openoffice.org-pyuno = 1:%version-%release
311 Conflicts: libreoffice-core < %version
312
313 %description pyuno
314 Python bindings for the LibreOffice UNO component model. Allows scripts both
315 external to LibreOffice and within the internal LibreOffice scripting framework
316 to be written in python.
317
318
319 %package base
320 Summary: Database front-end for LibreOffice
321 Group: Databases
322 Requires: postgresql-jdbc
323 Requires: %{name}-ure = %{version}-%{release}
324 Requires: %{name}-core = %{version}-%{release}
325 Requires: %{name}-calc = %{version}-%{release}
326 Suggests: %{name}-java-common = %{version}-%release
327 Obsoletes: %{name}-report-builder < 1:4.1.0.0
328 Provides: openoffice.org-base = 1:%version-%release
329 Provides: openoffice.org-style = 1:%version-%release
330 Provides: openoffice.org-style-crystal = 1:%version-%release
331 Provides: openoffice.org-style-oxygen = 1:%version-%release
332
333 %description base
334 GUI database front-end for LibreOffice. Allows creation and management of
335 databases through a GUI.
336
337
338 %package report-builder
339 Summary: Create database reports from LibreOffice
340 Group: Databases
341 Requires: pentaho-reporting-flow-engine
342 Requires: %{name}-base = %{version}-%{release}
343 Requires(pre): %{name}-core
344 Requires(post): %{name}-core
345 Requires(preun): %{name}-core
346 Requires(postun): %{name}-core
347
348 %description report-builder
349 Creates database reports from LibreOffice databases. The report builder can
350 define group and page headers as well as group, page footers and calculation
351 fields to accomplish complex database reports.
352
353
354 %package bsh
355 Summary: BeanShell support for LibreOffice
356 Group: Development/Java
357 Requires: bsh
358 Requires: %{name}-core = %{version}-%{release}
359 Requires(pre): %{name}-core
360 Requires(post): %{name}-core
361 Requires(preun): %{name}-core
362 Requires(postun): %{name}-core
363 Provides: openoffice.org-bsh < 1:%version-%release
364
365 %description bsh
366 Support BeanShell scripts in LibreOffice.
367
368
369 %package rhino
370 Summary: JavaScript support for LibreOffice
371 Group: Development/Java
372 Requires: %{name}-core = %{version}-%{release}
373 Requires(pre): %{name}-core
374 Requires(post): %{name}-core
375 Requires(preun): %{name}-core
376 Requires(postun): %{name}-core
377
378
379 %description rhino
380 Support JavaScript scripts in LibreOffice.
381
382
383 %package wiki-publisher
384 Summary: Create Wiki articles on MediaWiki servers with LibreOffice
385 Group: Office/Utilities
386 Requires: apache-commons-codec, jakarta-commons-httpclient
387 Requires: apache-commons-lang, apache-commons-logging
388 Requires: %{name}-writer = %{version}-%{release}
389 Requires(pre): %{name}-core
390 Requires(post): %{name}-core
391 Requires(preun): %{name}-core
392 Requires(postun): %{name}-core
393
394 %description wiki-publisher
395 The Wiki Publisher enables you to create Wiki articles on MediaWiki servers
396 without having to know the syntax of the MediaWiki markup language. Publish
397 your new and existing documents transparently with writer to a wiki page.
398
399 %package nlpsolver
400 Summary: Non-linear solver engine for LibreOffice Calc
401 Group: Office/Utilities
402 Requires: %{name}-calc = %{version}-%{release}
403 Requires(pre): %{name}-core
404 Requires(post): %{name}-core
405 Requires(preun): %{name}-core
406 Requires(postun): %{name}-core
407
408 %description nlpsolver
409 A non-linear solver engine for Calc as an alternative to the default linear
410 programming model when more complex, nonlinear programming is required.
411
412 %package ogltrans
413 Summary: 3D OpenGL slide transitions for LibreOffice
414 Group: Office/Utilities
415 Requires: %{name}-impress = %{version}-%{release}
416 Requires(pre): %{name}-core
417
418 %description ogltrans
419 OpenGL Transitions enable 3D slide transitions to be used in LibreOffice.
420 Requires good quality 3D support for your graphics card for best experience.
421
422 %package pdfimport
423 Summary: PDF Importer for LibreOffice Draw
424 Group: Office/Utilities
425 Requires: %{name}-draw = %{version}-%{release}
426 Requires(pre): %{name}-core
427 Requires(post): %{name}-core
428 Requires(preun): %{name}-core
429 Requires(postun): %{name}-core
430
431 %description pdfimport
432 The PDF Importer imports PDF into drawing documents to preserve layout
433 and enable basic editing of PDF documents.
434
435
436 %package %{fontname}-fonts
437 Summary: LibreOffice dingbats font
438 Group: System/Fonts/True type
439 Requires: fontpackages-filesystem
440 BuildArch: noarch
441
442 %description %{fontname}-fonts
443 A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and
444 mathematical symbols.
445
446
447 %package writer
448 Summary: LibreOffice Word Processor Application
449 Group: Office/Word processor
450 Requires: %{name}-core = %{version}-%{release}
451 Requires: %{name}-ure = %{version}-%{release}
452 Provides: openoffice.org-writer = 1:%{version}-%{release}
453 Provides: openoffice.org-writer2latex = 1:%{version}-%{release}
454 Provides: openoffice.org-writer2xhtml = 1:%{version}-%{release}
455
456 %description writer
457 The LibreOffice Word Processor application.
458
459
460 %package emailmerge
461 Summary: Email mail-merge component for LibreOffice
462 Group: Networking/Mail
463 Requires: %{name}-writer = %{version}-%{release}
464 Requires: %{name}-pyuno = %{version}-%{release}
465
466 %description emailmerge
467 Enables the LibreOffice writer module to mail-merge to email.
468
469
470 %package calc
471 Summary: LibreOffice Spreadsheet Application
472 Group: Office/Spreadsheet
473 Requires: %{name}-core = %{version}-%{release}
474 Requires: %{name}-ure = %{version}-%{release}
475
476 %description calc
477 The LibreOffice Spreadsheet application.
478
479
480 %package draw
481 Summary: LibreOffice Drawing Application
482 Group: Graphics/Editors and Converters
483 Requires: %{name}-core = %{version}-%{release}
484 Requires: %{name}-ure = %{version}-%{release}
485 Requires: %{name}-pdfimport = %{version}-%{release}
486 Requires: %{name}-graphicfilter = %{version}-%{release}
487 provides: openoffice.org-draw = 1:%{version}-%{release}
488
489 %description draw
490 The LibreOffice Drawing Application.
491
492
493 %package impress
494 Summary: LibreOffice Presentation Application
495 Group: Office/Utilities
496 Requires: %{name}-core = %{version}-%{release}
497 Requires: %{name}-ure = %{version}-%{release}
498 Requires: %{name}-ogltrans = %{version}-%{release}
499 %rename %{name}-presenter-minimizer = %{version}-%{release}
500 %rename %{name}-presenter-screen = %{version}-%{release}
501 Provides: openoffice.org-impress = 1:%{version}-%{release}
502
503 %description impress
504 The LibreOffice Presentation Application.
505
506
507 %package math
508 Summary: LibreOffice Equation Editor Application
509 Group: Sciences/Mathematics
510 Requires: %{name}-core = %{version}-%{release}
511 Requires: %{name}-ure = %{version}-%{release}
512
513 %description math
514 The LibreOffice Equation Editor Application.
515
516
517 %package graphicfilter
518 Summary: LibreOffice Extra Graphic filters
519 Group: Office/Utilities
520 Requires: %{name}-ure = %{version}-%{release}
521 Requires: %{name}-core = %{version}-%{release}
522
523 %description graphicfilter
524 The graphicfilter module for LibreOffice provides graphic filters, e.g. svg and
525 flash filters.
526
527
528 %package xsltfilter
529 Summary: Optional xsltfilter module for LibreOffice
530 Group: Office/Utilities
531 Requires: %{name}-core = %{version}-%{release}
532
533 %description xsltfilter
534 The xsltfilter module for LibreOffice, provides additional docbook and
535 xhtml export transforms. Install this to enable docbook export.
536
537
538 %package postgresql
539 Summary: PostgreSQL connector for LibreOffice
540 Group: Office/Utilities
541 Requires: %{name}-base = %{version}-%{release}
542 Requires: postgresql-libs
543
544 %description postgresql
545 A PostgreSQL connector for the database front-end for LibreOffice. Allows
546 creation and management of PostgreSQL databases through a GUI.
547
548
549 %package ure
550 Summary: UNO Runtime Environment
551 Group: Development/Other
552 Requires: unzip
553 Suggests: %name-java-common = %version-%release
554 Conflicts: libreoffice-core <= 3.3.2.2-5
555
556 %description ure
557 UNO is the component model of LibreOffice. UNO offers interoperability between
558 programming languages, other components models and hardware architectures,
559 either in process or over process boundaries, in the Intranet as well as in the
560 Internet. UNO components may be implemented in and accessed from any
561 programming language for which a UNO implementation (AKA language binding) and
562 an appropriate bridge or adapter exists
563
564
565 %package java-common
566 Group: Office/Utilities
567 Summary: LibreOffice office suite Java support arch. independent files
568 Requires: %{name}-core = %{version}-%{release}
569 #Requires: %{name}-common = %{version}-%{release}
570 Requires: jre
571 Conflicts: %name-core < 3.3.2.2-8
572 Provides: openoffice.org-java-common = 1:%version-%release
573
574 %description java-common
575 LibreOffice is a full-featured office productivity suite that provides a
576 near drop-in replacement for Microsoft(R) Office.
577
578 This package contains the architecture-independent files of the Java support
579 for Libreoffice (Java classes, scripts, config snippets).
580
581 Also contains the Libreoffice Office Bean for embedding Libreoffice in
582 custom Java applications.
583
584
585 %package sdk
586 Summary: Software Development Kit for LibreOffice
587 Group: Development/Other
588 Requires: %{name}-ure = %{version}-%{release}
589 Requires: %{name}-core = %{version}-%{release}
590 Requires: unzip, java-devel
591
592 %description sdk
593 The LibreOffice SDK is an add-on for the LibreOffice office suite. It provides
594 the necessary tools for programming using the LibreOffice APIs and for creating
595 extensions (UNO components) for LibreOffice. To set the build environment for
596 building against the sdk use %{sdkinstdir}/setsdkenv_unix.sh.
597
598
599 %package sdk-doc
600 Summary: Software Development Kit documentation for LibreOffice
601 Group: Development/Other
602 Requires: %{name}-sdk = %{version}-%{release}
603
604 %description sdk-doc
605 This provides documentation for programming using the LibreOffice APIs
606 and examples of creating extensions (UNO components) for LibreOffice.
607
608
609 %package headless
610 Summary: LibreOffice Headless plug-in
611 Group: Development/Other
612 Requires: %{name}-ure = %{version}-%{release}
613 Requires: %{name}-core = %{version}-%{release}
614
615 %description headless
616 A plug-in for LibreOffice that enables it to function without an X server.
617 It implements the -headless command line option and allows LibreOffice to be
618 used as a backend server for e.g. document conversion.
619
620
621 %package glade
622 Summary: Support for creating LibreOffice dialogs in glade
623 Group: Development/GNOME and GTK+
624 Requires: %{name}-ure = %{version}-%{release}
625 Requires: %{name}-core = %{version}-%{release}
626 Requires: %mklibname gladeui 1 11
627
628 %description glade
629 %{name}-glade contains a catalog of LibreOffice-specific widgets for
630 glade and ui-previewer tool to check the visual appearance of dialogs.
631
632 %package librelogo
633 Summary: LibreLogo scripting language
634 Group: Office/Utilities
635 Requires: %{name}-writer = %{version}-%{release}
636 Requires: %{name}-pyuno = %{version}-%{release}
637
638 %description librelogo
639 Enables LibreLogo scripting in Writer. LibreLogo is a Logo-like
640 programming language with interactive vectorgraphics for education and
641 DTP.
642
643 %if %{build_kde}
644 %package kde
645 Summary: LibreOffice KDE integration plug-in
646 Group: Graphical desktop/KDE
647 Requires: %{name}-core = %{version}-%{release}
648 Provides: openoffice.org-kde4 = 1:%version-%release
649
650 %description kde
651 A plug-in for LibreOffice that enables integration into the KDE desktop environment.
652 %endif
653
654 %package appdata
655 Summary: AppData support for LibreOffice
656 Group: Office/Utilities
657 License: CC0
658 BuildArch: noarch
659
660 %description appdata
661 %{name}-appdata contains the AppData definition file for LibreOffice.
662
663
664 %if 0%{?_enable_debug_packages}
665
666 %define debug_package %{nil}
667 %global __debug_package 1
668
669 %package debuginfo
670 Summary: Debug information for package %{name}
671 Group: Development/Debug
672 AutoReqProv: 0
673 Requires: libreoffice-core = %{version}-%{release}
674 Requires: libreoffice-gdb-debug-support = %{version}-%{release}
675
676 %description debuginfo
677 This package provides debug information for package %{name}.
678 Debug information is useful when developing applications that use this
679 package or when debugging this package.
680
681
682 %files debuginfo -f debugfiles.list
683
684 %package gdb-debug-support
685 Summary: Additional support for debugging with gdb
686 Group: Development/Other
687 Requires: gdb
688 AutoReqProv: 0
689
690 %description gdb-debug-support
691 This package provides gdb pretty printers for package %{name}.
692
693
694 %files gdb-debug-support
695 %{_datadir}/gdb/auto-load%{baseinstdir}
696 %{_datadir}/libreoffice/gdb
697
698 %endif
699
700 %define _langpack_common() \
701 %{baseinstdir}/program/resource/*%{1}.res \
702 %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/%{1}.zip \
703 %{baseinstdir}/share/config/soffice.cfg/*/ui/res/%{1}.zip \
704 %{baseinstdir}/share/template/%{1} \
705 %{baseinstdir}/share/registry/Langpack-%{1}.xcd \
706 %{baseinstdir}/share/registry/res/registry_%{1}.xcd \
707 %{baseinstdir}/share/registry/res/fcfg_langpack_%{1}.xcd \
708 %{nil}
709
710 # Defines a language pack subpackage.
711 #
712 # It's necessary to define language code (-l) and language name (-n).
713 # Additionally, it's possible
714 # * to require autocorr, hunspell, hyphen or mythes package or font for
715 # given language,
716 # * to obsolete openoffice.org-langpack package,
717 # * to provide libreoffice-langpack-loc package, where loc is glibc
718 # locale--this is necessary for urpmi to pick it automatically,
719 # * to require other, unrelated, packages,
720 # * to specify file serving as file list.
721 # For these, lower case character argument takes an argument specifying
722 # language, upper case character argument uses language from -l.
723 #
724 # All remaining arguments are considered to be files and added to the file
725 # list.
726 #
727 # Aa: autocorr dependency
728 # c: additional config file (just the name stem)
729 # E the package does not contain any files (i.e., has empty filelist)
730 # Ff: font language dependency
731 # Hh: hunspell dependency
732 # i: additional language added to this package
733 # L: internal (LibreOffice) language code, used in file names
734 # l: language code, e.g., cs
735 # Mm: mythes dependency
736 # n: language name, e.g., Czech
737 # Oo: Obsoletes: of openoffice.org-langpack
738 # Vv: Very archaic Obsoletes: of openoffice.org-langpack
739 # Ww: Archaic Obsoletes: of openoffice.org2-langpack
740 # p: Provides: of libreoffice-langpack
741 # r: comma-separated list of additional requires
742 # S:s: script classification (cjk, ctl). -S is only a marker, as it does
743 # not add any .xcd into the package (the file does not exist for at
744 # least one CTL-using locale, si)
745 # T has help files
746 # u: requires locales-XX (w/o, we requires the proper locales-XX automatically) (MGA)
747 # Xx: has autotext definitions
748 # Yy: hyphen dependency
749 #
750 # Example:
751 # libreoffice-langpack-cs: langpack for Czech lang. requiring hyphen-cs,
752 # autocorr-cs, mythes-cs-CZ and suitable font, obsoleting
753 # openoffice.org-langpack-cs_CZ:
754 # %%langpack -l cs -n Czech -H -A -m cs-CZ
755 # b de g jk q tu z BCD G IJK N PQR Z0123456789
756 %define langpack(Aa:c:EFf:Hh:i:L:l:Mm:n:p:Oo:r:S:s:TVv:u:Ww:Xx:Yy:) \
757 %define project LibreOffice \
758 %define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
759 %define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \
760 %define pkgname langpack-%{lang} \
761 %define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
762 \
763 %global langpack_langs %{langpack_langs} %{_langpack_lang} %{-i:%{-i*}} \
764 \
765 %package %{pkgname} \
766 Summary: %{langname} language pack for %{project} \
767 Group: System/Internationalization \
768 Requires: %{name}-core = %{version}-%{release} \
769 Provides: %name-langpack = %version-%release \
770 %{-a:Requires: autocorr-%{-a*}}%{!-a:%{-A:Requires: autocorr-%{lang}}} \
771 %{-f:Requires: font(:lang=%{-f*})}%{!-f:%{-F:Requires: font(:lang=%{lang})}} \
772 %{-h:Requires: hunspell-%{-h*}}%{!-h:%{-H:Requires: hunspell-%{lang}}} \
773 %{-m:Requires: mythes-%{-m*}}%{!-m:%{-M:Requires: mythes-%{lang}}} \
774 %{-u:Requires: locales-%{-u*}}%{!-u:Requires: locales-%{lang}} \
775 %{-y:Requires: hyphen-%{-y*}}%{!-y:%{-Y:Requires: hyphen-%{lang}}} \
776 %{-r:Requires: %{-r*}} \
777 %define obs openoffice.org-langpack \
778 %define obsv 1:3.3.1 \
779 %define aobs openoffice.org2-langpack \
780 %define aobsv 1:3.0.0 \
781 %define vaobs openoffice.org-langpack \
782 %define vaobsv 1:2.0.3 \
783 %{-o:Obsoletes: %{obs}-%{-o*} < %{obsv}}%{!-o:%{-O:Obsoletes: %{obs}-%{lang} < %{obsv}}} \
784 #%{-w:Obsoletes: %{aobs}-%{-x*} < %{aobsv}}%{!-x:%{-W:Obsoletes: %{aobs}-%{lang} < %{aobsv}}} \
785 %{-v:Obsoletes: %{vaobs}-%{-v*} < %{vaobsv}}%{!-v:%{-V:Obsoletes: %{vaobs}-%{lang} < %{vaobsv}}} \
786 %{-p:Provides: %{name}-langpack-%{-p*}} \
787 \
788 %description %{pkgname} \
789 Provides additional %{langname} translations and resources for %{project}. \
790 \
791 %files %{pkgname} \
792 %{!-E: \
793 %define autotextdir %{baseinstdir}/share/autotext \
794 %{expand:%%_langpack_common %{_langpack_lang}} \
795 %{-x:%{autotextdir}/%{-x*}}%{!-x:%{-X:%{autotextdir}/%{_langpack_lang}}} \
796 %{-c:%{baseinstdir}/share/registry/%{-c*}.xcd} \
797 %{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \
798 %{-T: \
799 %docdir %{baseinstdir}/help/%{_langpack_lang} \
800 %{baseinstdir}/help/%{_langpack_lang} \
801 } \
802 %{-i:%{expand:%%_langpack_common %{-i*}}} \
803 } \
804 %{nil}
805
806 # Defines an auto-correction subpackage.
807 #
808 # i: add autocorrections from additional language
809 # l: language code
810 # n: language name
811 # L the filename does not contain country code
812 #
813 # All remaining arguments are considered to be files and added to the file
814 # list.
815 %define autocorr(i:Ll:n:) \
816 %define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
817 %define pkgname autocorr-%{lang} \
818 %define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
819 \
820 %package -n %{pkgname} \
821 Summary: %{langname} auto-correction rules \
822 Group: Text tools \
823 Requires: locales-%{lang} \
824 BuildArch: noarch \
825 \
826 %description -n %{pkgname} \
827 Rules for auto-correcting common %{langname} typing errors. \
828 \
829 %files -n %{pkgname} \
830 %doc instdir/LICENSE \
831 %dir %{_datadir}/autocorr \
832 %{-L:%{_datadir}/autocorr/acor_%{lang}.dat} \
833 %{!-L:%{_datadir}/autocorr/acor_%{lang}-*.dat} \
834 %{-i:%{_datadir}/autocorr/acor_%{-i*}-*.dat} \
835 %{nil}
836
837 %langpack -l en -n English -F -H -Y -M -A -E -L en-US -O
838
839 %if %{with langpacks}
840 %langpack -l af -n Afrikaans -F -H -Y -A -o af_ZA -V -w af_ZA
841 %langpack -l ar -n Arabic -F -H -s ctl -O -W
842 %langpack -l as -n Assamese -F -H -Y -o as_IN -w as_IN
843 %langpack -l bg -n Bulgarian -F -H -Y -M -A -T -X -o bg_BG -V -w bg_BG
844 %langpack -l bn -n Bengali -F -H -Y -T -O -v bn_IN -W
845 %langpack -l br -n Breton -F -H -T
846 %langpack -l ca -n Catalan -F -H -Y -M -A -T -o ca_ES -V -w ca_ES -X
847 %langpack -l cs -n Czech -F -H -Y -M -A -T -X -o cs_CZ -V -w cs_CZ
848 %langpack -l cy -n Welsh -F -H -Y -o cy_GB -V -w cy_GB
849 %langpack -l da -n Danish -F -H -Y -M -A -T -X -o da_DK -V -w da_DK
850 %langpack -l de -n German -F -H -Y -M -A -T -X -O -W
851 %langpack -l dz -n Dzongkha -F -s ctl -T -O
852 %langpack -l el -n Greek -F -H -Y -M -T -o el_GR -V -w el_GR
853 %langpack -l es -n Spanish -F -H -Y -M -A -T -X -O -W
854 %langpack -l et -n Estonian -F -H -Y -T -o et_EE -V -w et_EE
855 %langpack -l eu -n Basque -F -H -Y -T -o eu_ES -V -w eu_ES
856 %langpack -l fa -n Farsi -A -H -Y -s ctl -X
857 %langpack -l fi -n Finnish -F -r libreoffice-voikko -A -T -o fi_FI -V -w fi_FI -X
858 %langpack -l fr -n French -F -H -Y -M -A -T -X -O -W
859 %langpack -l ga -n Irish -F -H -Y -M -A -o ga_IE -w ga_IE
860 %langpack -l gl -n Galician -F -H -Y -T -o gl_ES -V -w gl_ES
861 %langpack -l gu -n Gujarati -F -H -Y -s ctl -o gu_IN -w gu_IN -T
862 %langpack -l he -n Hebrew -F -H -s ctl -o he_IL -V -w he_IL -T
863 %langpack -l hi -n Hindi -F -H -Y -s ctl -T -o hi_IN -v hi-IN -w hi_IN -X
864 %langpack -l hr -n Croatian -F -H -Y -A -o hr_HR -V -w hr_HR -T -X
865 %langpack -l hu -n Hungarian -F -H -Y -M -A -T -X -o hu_HU -V -w hu_HU
866 %langpack -l it -n Italian -F -H -Y -M -A -T -X -O -W
867 %langpack -l ja -n Japanese -F -A -s cjk -T -X -o ja_JP -V -w ja_JP
868 %langpack -l kk -n Kazakh -F -H
869 %langpack -l kn -n Kannada -F -H -Y -o kn_IN -w ka_IN
870 %langpack -l ko -n Korean -F -H -A -s cjk -T -c korea -X -o ko_KR -V -w ko_KR
871 %langpack -l lt -n Lithuanian -F -H -Y -A -o lt_LT -V -w lt_LT -X
872 %langpack -l lv -n Latvian -F -H -Y -M
873 %langpack -l mai -n Maithili -F -o mai_IN
874 %langpack -l ml -n Malayalam -F -H -Y -o ml_IN -w ml_IN
875 %langpack -l mr -n Marathi -F -H -Y -o mr_IN -w mr_IN
876 %langpack -l nb -n Bokmal -F -H -Y -M -T -o nb_NO -V -w nb_NO -u no
877 %langpack -l nl -n Dutch -F -H -Y -M -A -T -X -O -W
878 %langpack -l nn -n Nynorsk -F -H -Y -M -T -o nn_NO -V -w nn_NO -u no
879 %define langpack_lang Southern Ndebele
880 %langpack -l nr -n %{langpack_lang} -F -H -o nr_ZA
881 %define langpack_lang Northern Sotho
882 %langpack -l nso -n %{langpack_lang} -F -H -o nso_ZA -w nso_ZA
883 %langpack -l or -n Odia -F -H -Y -s ctl -o or_IN -w or_IN
884 %langpack -l pa -n Punjabi -F -H -Y -s ctl -L pa-IN -O -v pa_IN -w pa_IN
885 %langpack -l pl -n Polish -F -H -Y -M -A -T -X -o pl_PL -V -w pl_PL
886 %define langpack_lang Brazilian Portuguese
887 %langpack -l pt_BR -n %{langpack_lang} -f pt -h pt -y pt -m pt -a pt -p pt_BR -T -X -o pt_BR -V -w pt_BR -L pt-BR -u pt
888 %langpack -l pt -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -X -u pt -o pt_PT -v pt -W
889 %langpack -l ro -n Romanian -A -F -H -Y -M -O -X
890 %langpack -l ru -n Russian -F -H -Y -M -A -T -X -O -W
891 %langpack -l si -n Sinhalese -F -H -S ctl -T -O
892 %langpack -l sk -n Slovak -F -H -Y -M -A -T -X -o sk_SK -V -w sk_SK
893 %langpack -l sl -n Slovenian -F -H -Y -M -A -T -X -o sl_SI -V -w sl_SI
894 %{baseinstdir}/share/wordbook/sl.dic
895
896 %langpack -l sr -n Serbian -F -H -Y -A -i sr-Latn -O -v sr_CS -w sr_CS
897 %langpack -l ss -n Swati -F -H -o ss_ZA
898 %define langpack_lang Southern Sotho
899 %langpack -l st -n %{langpack_lang} -F -H -o st_ZA
900 %langpack -l sv -n Swedish -F -H -Y -M -A -T -X -O -W
901 %langpack -l ta -n Tamil -F -H -Y -s ctl -o ta_IN -w ta_IN
902 %langpack -l te -n Telugu -F -H -Y -o te_IN -w te_IN
903 %langpack -l th -n Thai -F -H -s ctl -c ctlseqcheck_th -o th_TH -V -w th_TH
904 %langpack -l tn -n Tswana -F -H -o tn_ZA -V -w tn_ZA
905 %langpack -l tr -n Turkish -F -A -T -X -o tr_TR -V -W
906 %langpack -l ts -n Tsonga -F -H -o ts_ZA -V -w ts_ZA
907 %langpack -l uk -n Ukrainian -F -H -Y -M -T -O
908 %langpack -l ve -n Venda -F -H -o ve_ZA
909 %langpack -l xh -n Xhosa -F -H -o xh_ZA
910 %define langpack_lang Simplified Chinese
911 %langpack -l zh_CN -n %{langpack_lang} -f zh-cn -a zh -p zh_CN -s cjk -T -L zh-CN -X -o zh_CN -v zh-CN -w zh_CN -u zh
912 %define langpack_lang Traditional Chinese
913 %langpack -l zh_TW -n %{langpack_lang} -f zh-tw -a zh -p zh_TW -s cjk -T -L zh-TW -X -o zh_TW -v zh-TW -w zh_TW -u zh
914 %langpack -l zu -n Zulu -F -H -Y -o zu_ZA -V -w zu_ZA
915 %undefine langpack_lang
916 %endif
917 %autocorr -l en -n English
918
919 %if %{with langpacks}
920 %autocorr -l af -n Afrikaans
921 %autocorr -l bg -n Bulgarian
922 %autocorr -l ca -n Catalan
923 %autocorr -l cs -n Czech
924 %autocorr -l da -n Danish
925 %autocorr -l de -n German
926 %autocorr -l es -n Spanish
927 %autocorr -l fa -n Farsi
928 %autocorr -l fi -n Finnish
929 %autocorr -l fr -n French
930 %autocorr -l ga -n Irish
931 %autocorr -l hr -n Croatian
932 %autocorr -l hu -n Hungarian
933 %autocorr -l is -n Icelandic
934 %autocorr -l it -n Italian
935 %autocorr -l ja -n Japanese
936 %autocorr -l ko -n Korean
937 %autocorr -l lb -n Luxembourgish
938 %autocorr -l lt -n Lithuanian
939 %autocorr -l mn -n Mongolian
940 %autocorr -l nl -n Dutch
941 %autocorr -l pl -n Polish
942 %autocorr -l pt -n Portuguese
943 %autocorr -l ro -n Romanian
944 %autocorr -l ru -n Russian
945 %autocorr -l sk -n Slovak
946 %autocorr -l sl -n Slovenian
947 #rhbz#452379 clump serbian autocorrections together
948 %autocorr -l sr -n Serbian -i sr-Latn
949 %autocorr -l sv -n Swedish
950 %autocorr -l tr -n Turkish
951 %autocorr -l vi -n Vietnamese
952 %autocorr -l zh -n Chinese
953 %endif
954
955 %define make_autocorr_aliases(l:) \
956 %{?-l: \
957 for lang in %{*}; do \
958 ln -sf acor_%{-l*}.dat acor_$lang.dat \
959 done \
960 } \
961 %{!?-l:%{error:-l must be present}}
962
963 %prep
964 %setup -q -n %{name}-%{version}%{?libo_prerelease} -b 1 -b 2
965 rm -rf git-hooks */git-hooks
966
967 # set up git repo
968 git init
969 git config user.name rpmbuild
970 git config user.email rpmbuild@fedoraproject.org
971 git config gc.auto 0 # disable auto packing
972 git add -A
973 git commit -q -a -m %{name}-%{version}
974
975 #Customize Palette to remove Sun colours and add Red Hat colours
976 #TODO: have and add mageia colours
977 (head -n -1 extras/source/palettes/standard.soc && \
978 echo -e ' <draw:color draw:name="Mageia 1" draw:color="#cc0000"/>
979 <draw:color draw:name="Mageia 2" draw:color="#0093d9"/>
980 <draw:color draw:name="Mageia 3" draw:color="#ff8d00"/>
981 <draw:color draw:name="Mageia 4" draw:color="#abb400"/>
982 <draw:color draw:name="Mageia 5" draw:color="#4e376b"/>' && \
983 tail -n 1 extras/source/palettes/standard.soc) > mageia.soc
984 mv -f mageia.soc extras/source/palettes/standard.soc
985
986 git commit -q -a -m 'add Red Hat colors to palette'
987
988 # apply patches
989 git am %{patches}
990
991
992 # Seeing .git dir makes some of the build tools change their behavior.
993 # We do not want that. Note: it is still possible to use
994 # git --git-dir=.git-rpm
995 mv .git .git-rpm
996
997 %build
998 echo build start time is `date`, diskspace: `df -h . | tail -n 1`
999 echo building localizations: %{langpack_langs}
1000
1001 # path to external tarballs
1002 EXTSRCDIR=`dirname %{SOURCE0}`
1003
1004 # KDE bits
1005 export QT4DIR=%{qt4dir}
1006 export KDE4DIR=%{_kde_prefix}
1007 export PATH=$QT4DIR/bin:$PATH
1008
1009 #use the RPM_OPT_FLAGS but remove the OOo overridden ones
1010 for i in $RPM_OPT_FLAGS; do
1011 case "$i" in
1012 -pipe|-Wall|-Werror*|-g|-fexceptions) continue;;
1013 esac
1014 ARCH_FLAGS="$ARCH_FLAGS $i"
1015 done
1016 export ARCH_FLAGS
1017 # Do not compile LO with -fomit-frame-pointer flags, or it will crash at start.
1018 export CFLAGS="$(echo $ARCH_FLAGS | sed -e 's/-fomit-frame-pointer//')"
1019 export CXXFLAGS="$(echo $ARCH_FLAGS | sed -e 's/-fomit-frame-pointer//')"
1020 export FFLAGS="$(echo $FFLAGS | sed -e 's/-fomit-frame-pointer//')"
1021
1022 %if %{build_kde}
1023 %define distrooptions --enable-kde4 --disable-gstreamer-0-10 --enable-gstreamer --with-system-mythes
1024 %else
1025 %define distrooptions --disable-kde4 --disable-gstreamer-0-10 --enable-gstreamer --with-system-mythes
1026 %endif
1027
1028 %if %{with langpacks}
1029 %define with_lang --with-lang='%{langpack_langs}'
1030 %endif
1031
1032 aclocal -I m4
1033 autoconf
1034
1035 # TODO: enable gltf?
1036 # TODO: enable coinmp?
1037 # avoid running autogen.sh on make
1038 touch autogen.lastrun
1039
1040 %configure2_5x \
1041 %vendoroption \
1042 %{?_smp_mflags:--with-parallelism="`getconf _NPROCESSORS_ONLN`"} \
1043 %{?with_lang} \
1044 --disable-coinmp \
1045 --disable-fetch-external \
1046 --disable-gltf \
1047 --disable-gnome-vfs \
1048 --disable-openssl \
1049 --enable-dbus \
1050 --enable-eot \
1051 --enable-evolution2 \
1052 --enable-ext-nlpsolver \
1053 --enable-ext-wiki-publisher \
1054 --enable-lockdown \
1055 --enable-release-build \
1056 --enable-scripting-beanshell \
1057 --enable-scripting-javascript \
1058 --enable-symbols \
1059 --enable-vba \
1060 --with-build-version="%{version}-%{release}" \
1061 --with-external-dict-dir=/usr/share/myspell \
1062 --with-external-tar="$EXTSRCDIR" \
1063 --with-help \
1064 --with-system-dicts \
1065 --with-system-libs \
1066 --with-system-ucpp \
1067 --without-fonts \
1068 --without-ppds \
1069 --without-system-npapi-headers \
1070 %if %{build_gtk3}
1071 --enable-gtk3 \
1072 %endif
1073 %if 0%{?system_boost}
1074 %else
1075 --without-system-boost \
1076 %endif
1077 %if %with_mergedlibs
1078 --enable-mergelibs \
1079 %endif
1080 %{distrooptions}
1081
1082 make VERBOSE=true
1083
1084 #generate the icons and mime type stuff
1085 export DESTDIR=../output
1086 export KDEMAINDIR=/usr
1087 export GNOMEDIR=/usr
1088 export GNOME_MIME_THEME=hicolor
1089 # TODO use empty variables? Should make the renaming hacks in %%install
1090 # unnecessary.
1091 . ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION WORKDIR
1092 pushd $WORKDIR/CustomTarget/sysui/share/libreoffice
1093 ./create_tree.sh
1094 popd
1095 mkdir $WORKDIR/os-integration
1096 cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration
1097
1098 %if %{with smallbuild}
1099 # remove the biggest offenders
1100 # NOTE: not removing complete LinkTarget, as some libs are needed for smoketest
1101 rm -rf $WORKDIR/CxxObject $WORKDIR/GenCxxObject $WORKDIR/HelpTarget $WORKDIR/LinkTarget/CppunitTest
1102 %endif
1103
1104 echo build end time is `date`, diskspace: `df -h . | tail -n 1`
1105
1106 %install
1107 # TODO investigate use of make distro-pack-install
1108 #figure out the icon version
1109 . ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR
1110 export PRODUCTVERSIONSHORT PRODUCTVERSION
1111
1112 # installation
1113
1114 mkdir -p %{buildroot}%{instdir}
1115 if ! make instsetoo_native PKGFORMAT=installed EPM=not-used-but-must-be-set; then
1116 echo - ---dump log start---
1117 cat $ WORKDIR/installation/LibreOffice/installed/logging/en-US/log_*_en-US.log
1118 echo - ---dump log end---
1119 echo - ---dump log start -- SDK---
1120 cat $ WORKDIR/installation/LibreOffice_SDK/installed/logging/en-US/log_*_en-US.log
1121 echo - ---dump log end -- SDK---
1122 echo - ---dump log start -- languagepacks---
1123 cat $ WORKDIR/installation/LibreOffice_languagepack/installed/logging/en-US/log_*_en-US.log
1124 echo - ---dump log end -- languagepacks---
1125 exit 1
1126 fi
1127 mkdir -p %{buildroot}%{baseinstdir}
1128 mv $WORKDIR/installation/LibreOffice/installed/install/en-US/* %{buildroot}%{baseinstdir}
1129 %if %{with langpacks}
1130 for langpack in $WORKDIR/installation/LibreOffice_languagepack/installed/install/*; do
1131 [ `basename $langpack` = log ] && continue
1132 cp -rp $langpack/* %{buildroot}%{baseinstdir}
1133 rm -rf $langpack
1134 done
1135 %endif
1136 mv $WORKDIR/installation/LibreOffice_SDK/installed/install/en-US/sdk %{buildroot}%{sdkinstdir}
1137 chmod -R +w %{buildroot}%{baseinstdir}
1138
1139 # postprocessing and tweaks
1140
1141 # The installer currently sets UserInstallation to
1142 # $ORIGIN/../libreoffice/4, which is of course total nonsense. Because I
1143 # have no inclination to crawl through mountains of perl code to figure out
1144 # where it comes from, I am just going to replace it by a sensible
1145 # value here.
1146 sed -i -e '/UserInstallation/s@\$ORIGIN/..@$SYSUSERCONFIG@' %{buildroot}%{baseinstdir}/program/bootstraprc
1147
1148 #configure sdk
1149 pushd %{buildroot}%{sdkinstdir}
1150 sed -e "s,@OO_SDK_NAME@,sdk," \
1151 -e "s,@OO_SDK_HOME@,%{sdkinstdir}," \
1152 -e "s,@OFFICE_HOME@,%{baseinstdir}," \
1153 -e "s,@OO_SDK_URE_HOME@,%{ureinstdir}," \
1154 -e "s,@OO_SDK_MAKE_HOME@,/usr/bin," \
1155 -e "s,@OO_SDK_ZIP_HOME@,/usr/bin," \
1156 -e "s,@OO_SDK_CPP_HOME@,/usr/bin," \
1157 -e "s,@OO_SDK_CC_55_OR_HIGHER@,," \
1158 -e "s,@OO_SDK_JAVA_HOME@,$JAVA_HOME," \
1159 -e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \
1160 -e "s,@SDK_AUTO_DEPLOYMENT@,NO," \
1161 setsdkenv_unix.sh.in > setsdkenv_unix.sh
1162 chmod 755 setsdkenv_unix.sh
1163 # we don't want to install the input file
1164 rm -f setsdkenv_unix.sh.in
1165 # TODO: is this still necessary?
1166 #fix permissions
1167 find examples -type f -exec chmod -x {} \;
1168 popd
1169
1170 #ensure a template dir for each lang
1171 pushd %{buildroot}%{baseinstdir}/share/template
1172 for I in %{langpack_langs}; do
1173 mkdir -p $I
1174 done
1175 popd
1176
1177 #Set some aliases to canonical autocorrect language files for locales with matching languages
1178 pushd %{buildroot}%{baseinstdir}/share/autocorr
1179
1180 %make_autocorr_aliases -l en-GB en-AG en-AU en-BS en-BW en-BZ en-CA en-DK en-GH en-HK en-IE en-IN en-JM en-NG en-NZ en-SG en-TT
1181 %make_autocorr_aliases -l en-US en-PH
1182 #en-ZA exists and has a good autocorrect file with two or three extras that make sense for
1183 #neighbouring english speaking territories
1184 %make_autocorr_aliases -l en-ZA en-NA en-ZW
1185 %if %{with langpacks}
1186 %make_autocorr_aliases -l af-ZA af-NA
1187 %make_autocorr_aliases -l de-DE de-AT de-BE de-CH de-LI de-LU
1188 %make_autocorr_aliases -l es-ES es-AR es-BO es-CL es-CO es-CR es-CU es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE
1189 %make_autocorr_aliases -l fr-FR fr-BE fr-CA fr-CH fr-LU fr-MC
1190 %make_autocorr_aliases -l it-IT it-CH
1191 %make_autocorr_aliases -l nl-NL nl-AW
1192 %make_autocorr_aliases -l sv-SE sv-FI
1193 %else
1194 rm -f acor_[a-df-z]*.dat acor_e[su]*.dat
1195 %endif
1196 popd
1197 #rhbz#484055 make these shared across multiple applications
1198 mkdir -p %{buildroot}%{_datadir}
1199 mv -f %{buildroot}%{baseinstdir}/share/autocorr %{buildroot}%{_datadir}/autocorr
1200 chmod 755 %{buildroot}%{_datadir}/autocorr
1201
1202 #remove it in case we didn't build with gcj
1203 rm -f %{buildroot}%{baseinstdir}/program/classes/sandbox.jar
1204
1205 #remove dummy .dat files
1206 rm -f %{buildroot}%{baseinstdir}/program/root?.dat
1207
1208 #set standard permissions for rpmlint
1209 find %{buildroot}%{baseinstdir} -exec chmod +w {} \;
1210 find %{buildroot}%{baseinstdir} -type d -exec chmod 0755 {} \;
1211
1212 # move python bits into site-packages
1213 mkdir -p %{buildroot}%{python3_sitearch}
1214 pushd %{buildroot}%{python3_sitearch}
1215 echo "import sys, os" > uno.py
1216 echo "sys.path.append('%{baseinstdir}/program')" >> uno.py
1217 echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{baseinstdir}/program/fundamentalrc')" >> uno.py
1218 cat %{buildroot}%{baseinstdir}/program/uno.py >> uno.py
1219 rm -f %{buildroot}%{baseinstdir}/program/uno.py*
1220 mv -f %{buildroot}%{baseinstdir}/program/unohelper.py* .
1221 popd
1222
1223 # rhbz#477435 package opensymbol separately
1224 pushd %{buildroot}%{baseinstdir}/share/fonts/truetype
1225 install -d -m 0755 %{buildroot}%{_fontdir}
1226 install -p -m 0644 *.ttf %{buildroot}%{_fontdir}
1227 popd
1228 rm -rf %{buildroot}%{baseinstdir}/share/fonts
1229
1230 #ensure that no sneaky un-prelinkable, un-fpic or non executable shared libs
1231 #have snuck through
1232 pic=0
1233 executable=0
1234 for foo in `find %{buildroot}%{instdir} -name "*" -exec file {} \;| grep ": ELF" | cut -d: -f 1` ; do
1235 chmod +wx $foo
1236 ls -asl $foo
1237 result=`readelf -d $foo | grep TEXTREL` || true
1238 if [ "$result" != "" ]; then
1239 echo "TEXTREL Warning: $foo is b0rked (-fpic missing)"
1240 pic=1
1241 fi
1242 result=`readelf -l $foo | grep GNU_STACK | grep RWE` || true
1243 if [ "$result" != "" ]; then
1244 echo "GNU_STACK Warning: $foo is b0rked (-noexecstack missing)"
1245 executable=1
1246 fi
1247 done
1248 if [ $pic == 1 ]; then false; fi
1249 if [ $executable == 1 ]; then false; fi
1250
1251 #make up some /usr/bin scripts
1252 mkdir -p %{buildroot}%{_bindir}
1253
1254 pushd %{buildroot}%{_bindir}
1255 echo \#\!/bin/sh > ooffice
1256 echo exec libreoffice \"\$@\" >> ooffice
1257 chmod a+x ooffice
1258
1259 echo \#\!/bin/sh > ooviewdoc
1260 echo exec libreoffice --view \"\$@\" >> ooviewdoc
1261 chmod a+x ooviewdoc
1262
1263 for app in base calc draw impress math writer; do
1264 echo \#\!/bin/sh > oo$app
1265 echo exec libreoffice --$app \"\$@\" >> oo$app
1266 chmod a+x oo$app
1267 done
1268
1269 sed -e s/LAUNCHER/unopkg/g -e s/BRAND/libreoffice/g %{SOURCE4} > unopkg
1270 chmod a+x unopkg
1271
1272 sed -e s/LAUNCHER/soffice/g -e s/BRAND/libreoffice/g %{SOURCE4} > libreoffice
1273 chmod a+x libreoffice
1274
1275 # rhbz#499474 provide a /usr/bin/soffice for .recently-used.xbel
1276 ln -s %{baseinstdir}/program/soffice soffice
1277 # rhbz#499474 provide a /usr/bin/openoffice.org for backwards compat
1278 ln -s libreoffice openoffice.org
1279 popd
1280
1281 pushd %{buildroot}%{baseinstdir}/share/xdg/
1282 chmod u+w *.desktop
1283 ICONVERSION=`echo $PRODUCTVERSION | sed -e 's/\.//'`
1284 for file in *.desktop; do
1285 # rhbz#156677 remove the version from Name=
1286 # rhbz#156067 don't version the icons
1287 sed -i -e "s/ *$PRODUCTVERSION//g" \
1288 -e "s/$ICONVERSION//g" \
1289 -e "s/$PRODUCTVERSIONSHORT//g" \
1290 $file
1291 done
1292 # rhbz#156677 / rhbz#186515 do not show math and startcenter
1293 sed -i -e /NoDisplay/s/false/true/ math.desktop startcenter.desktop
1294 # relocate the .desktop and icon files
1295 mkdir -p %{buildroot}%{_datadir}/applications
1296 for app in base calc draw impress math startcenter writer xsltfilter; do
1297 sed -i -e 's/\${UNIXBASISROOTNAME}/%{name}/' $app.desktop
1298 desktop-file-validate $app.desktop
1299 cp -p $app.desktop %{buildroot}%{_datadir}/applications/libreoffice-$app.desktop
1300 done
1301 popd
1302
1303 %if 0
1304 # desktop files
1305 desktop-file-install --vendor="" \
1306 --add-mime-type="application/vnd.ms-works;application/x-msworks-wp;zz-application/zz-winassoc-wps" \
1307 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*writer*desktop
1308 %endif
1309
1310 # disabled: web template
1311 for i in calc draw impress math writer; do
1312 desktop-file-install --vendor="" \
1313 --remove-category="Application" \
1314 --add-category="Office" \
1315 --add-category="X-MandrivaLinux-CrossDesktop" \
1316 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*${i}*desktop
1317 done
1318
1319 %if 0
1320 ## MS OOXML (#36465)
1321 desktop-file-install \
1322 --add-mime-type="application/vnd.openxmlformats-officedocument.wordprocessingml.document" \
1323 --add-mime-type="application/vnd.ms-word.document.macroEnabled.12" \
1324 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/writer*desktop
1325
1326 desktop-file-install \
1327 --add-mime-type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" \
1328 --add-mime-type="application/vnd.ms-excel.sheet.macroEnabled.12" \
1329 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/calc*desktop
1330
1331 desktop-file-install \
1332 --add-mime-type="application/vnd.openxmlformats-officedocument.presentationml.presentation" \
1333 --add-mime-type="application/vnd.ms-powerpoint.presentation.macroEnabled.12" \
1334 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/impress*desktop
1335 %endif
1336
1337 for app in base calc draw impress math writer startcenter ; do
1338 sed -i -e "s/Icon=$app/Icon=libreoffice-$app/g" %{buildroot}%_datadir/applications/%name-${app}.desktop
1339 done
1340
1341 pushd $WORKDIR/os-integration
1342 #get rid of the gnome icons and other unneeded files
1343 rm -rf icons/gnome applications application-registry
1344
1345 #relocate the rest of them
1346 # rhbz#901346 512x512 icons are not used by anything
1347 for icon in `find icons -path '*/512x512' -prune -o -type f -print`; do
1348 mkdir -p %{buildroot}%{_datadir}/`dirname $icon`
1349 cp -p $icon %{buildroot}%{_datadir}/`echo $icon | sed -e s@libreoffice$ICONVERSION-@libreoffice-@ | sed -e s@libreoffice$PRODUCTVERSION-@libreoffice-@`
1350 done
1351 mkdir -p %{buildroot}%{_datadir}/mime-info
1352 cp -p mime-info/libreoffice$PRODUCTVERSION.keys %{buildroot}%{_datadir}/mime-info/libreoffice.keys
1353 cp -p mime-info/libreoffice$PRODUCTVERSION.mime %{buildroot}%{_datadir}/mime-info/libreoffice.mime
1354 #add our mime-types, e.g. for .oxt extensions
1355 mkdir -p %{buildroot}%{_datadir}/mime/packages
1356 cp -p mime/packages/libreoffice$PRODUCTVERSION.xml %{buildroot}%{_datadir}/mime/packages/libreoffice.xml
1357 popd
1358
1359 rm -rf %{buildroot}%{baseinstdir}/readmes
1360 rm -rf %{buildroot}%{baseinstdir}/licenses
1361
1362 mkdir -p %{buildroot}%{baseinstdir}/share/psprint/driver
1363 cp -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS
1364
1365 # rhbz#452385 to auto have postgres in classpath if subsequently installed
1366 sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc
1367 # Br translation doesn't have any help
1368 # Better use fr ones for now ( and check if this is still valid for next update )
1369 pushd %buildroot%_libdir/libreoffice/help
1370 ln -s fr br
1371 popd
1372
1373 # move glade catalog to system glade dir
1374 mkdir -p %{buildroot}%{_datadir}/glade3/catalogs
1375 mv %{buildroot}%{baseinstdir}/share/glade/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade3/catalogs
1376
1377 # rhbz#1049543 install appdata
1378 mkdir -p %{buildroot}%{_datadir}/appdata
1379 cp -p sysui/desktop/appstream-appdata/*.appdata.xml %{buildroot}%{_datadir}/appdata
1380
1381 # install man pages
1382 install -m 0755 -d %{buildroot}%{_mandir}/man1
1383 install -m 0644 -p sysui/desktop/man/*.1 %{buildroot}%{_mandir}/man1
1384 for app in oobase oocalc oodraw ooffice ooimpress oomath ooviewdoc oowriter openoffice.org soffice; do
1385 echo '.so man1/libreoffice.1' > $app.1
1386 install -m 0644 -p $app.1 %{buildroot}%{_mandir}/man1
1387 done
1388
1389 %if 0%{?_enable_debug_packages}
1390 export DESTDIR=%{buildroot}
1391 make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb"
1392 %endif
1393
1394 cat> %{buildroot}%_bindir/libreoffice-gtk3 <<EOF
1395 #!/bin/sh
1396 SAL_USE_VCLPLUGIN=gtk3 exec oowriter
1397 EOF
1398 chmod +x %{buildroot}%_bindir/libreoffice-gtk3
1399
1400 %check
1401 exit 0
1402 unset WITH_LANG
1403 # work around flawed accessibility check
1404 export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1"
1405 # TODO is the timeout still needed?
1406 # FIXME find what is the problem
1407 # timeout -k 2m 2h make smoketest.subsequentcheck VERBOSE=t
1408
1409 %files
1410
1411 %files filters
1412
1413 %files core
1414 %dir %{baseinstdir}
1415 %dir %{baseinstdir}/help
1416 %docdir %{baseinstdir}/help/en-US
1417 %dir %{baseinstdir}/help/en-US
1418 %{baseinstdir}/help/en-US/default.css
1419 %{baseinstdir}/help/en-US/err.html
1420 %{baseinstdir}/help/en-US/highcontrast1.css
1421 %{baseinstdir}/help/en-US/highcontrast2.css
1422 %{baseinstdir}/help/en-US/highcontrastblack.css
1423 %{baseinstdir}/help/en-US/highcontrastwhite.css
1424 %{baseinstdir}/help/en-US/sbasic.*
1425 %{baseinstdir}/help/en-US/schart.*
1426 %{baseinstdir}/help/en-US/shared.*
1427 %{baseinstdir}/help/idxcaption.xsl
1428 %{baseinstdir}/help/idxcontent.xsl
1429 %{baseinstdir}/help/main_transform.xsl
1430 %{baseinstdir}/presets
1431 %dir %{baseinstdir}/program
1432 %{baseinstdir}/program/libbasprovlo.so
1433 %{baseinstdir}/program/libcairocanvaslo.so
1434 %{baseinstdir}/program/libcanvasfactorylo.so
1435 %dir %{baseinstdir}/program/classes
1436 %{baseinstdir}/program/classes/commonwizards.jar
1437 %{baseinstdir}/program/classes/form.jar
1438 %{baseinstdir}/program/classes/query.jar
1439 %{baseinstdir}/program/classes/officebean.jar
1440 %{baseinstdir}/program/classes/report.jar
1441 %{baseinstdir}/program/classes/ScriptFramework.jar
1442 %{baseinstdir}/program/classes/ScriptProviderForJava.jar
1443 %{baseinstdir}/program/classes/table.jar
1444 %{baseinstdir}/program/classes/unoil.jar
1445 %{baseinstdir}/program/classes/XMergeBridge.jar
1446 %{baseinstdir}/program/classes/xmerge.jar
1447 %{baseinstdir}/program/libcmdmaillo.so
1448 %{baseinstdir}/program/libdeployment.so
1449 %{baseinstdir}/program/libdeploymentgui.so
1450 %{baseinstdir}/program/libdlgprovlo.so
1451 %{baseinstdir}/program/libexpwraplo.so
1452 %{baseinstdir}/program/flat_logo.svg
1453 %{baseinstdir}/program/libfps_officelo.so
1454 %{baseinstdir}/program/gdbtrace
1455 %{baseinstdir}/program/gengal
1456 %{baseinstdir}/program/gengal.bin
1457 %{baseinstdir}/program/gnome-open-url
1458 %{baseinstdir}/program/gnome-open-url.bin
1459 %{baseinstdir}/program/libi18nsearchlo.so
1460 %{baseinstdir}/program/libldapbe2lo.so
1461 %{baseinstdir}/program/libacclo.so
1462 %{baseinstdir}/program/libavmedia*.so
1463 %{baseinstdir}/program/libbasctllo.so
1464 %{baseinstdir}/program/libbiblo.so
1465 %{baseinstdir}/program/libcached1.so
1466 %{baseinstdir}/program/libcanvastoolslo.so
1467 %{baseinstdir}/program/libchart*lo.so
1468 %{baseinstdir}/program/libcollator_data.so
1469 %{baseinstdir}/program/libcppcanvaslo.so
1470 %{baseinstdir}/program/libctllo.so
1471 %{baseinstdir}/program/libcuilo.so
1472 %{baseinstdir}/program/libdbalo.so
1473 %{baseinstdir}/program/libdbaselo.so
1474 %{baseinstdir}/program/libdbaxmllo.so
1475 %{baseinstdir}/program/libdbmmlo.so
1476 %{baseinstdir}/program/libdbpool2.so
1477 %{baseinstdir}/program/libdbtoolslo.so
1478 %{baseinstdir}/program/libdbulo.so
1479 %{baseinstdir}/program/libdeploymentmisclo.so
1480 %{baseinstdir}/program/libdesktop_detectorlo.so
1481 %{baseinstdir}/program/libdict_ja.so
1482 %{baseinstdir}/program/libdict_zh.so
1483 %{baseinstdir}/program/libdrawinglayerlo.so
1484 %{baseinstdir}/program/libeditenglo.so
1485 %{baseinstdir}/program/libembobj.so
1486 %{baseinstdir}/program/libemboleobj.so
1487 %{baseinstdir}/program/libevoab*.so
1488 %{baseinstdir}/program/libevtattlo.so
1489 %{baseinstdir}/program/libegilo.so
1490 %{baseinstdir}/program/libemelo.so
1491 %{baseinstdir}/program/libepblo.so
1492 %{baseinstdir}/program/libepglo.so
1493 %{baseinstdir}/program/libepplo.so
1494 %{baseinstdir}/program/libepslo.so
1495 %{baseinstdir}/program/libeptlo.so
1496 %{baseinstdir}/program/liberalo.so
1497 %{baseinstdir}/program/libetilo.so
1498 %{baseinstdir}/program/libexplo.so
1499 %{baseinstdir}/program/libfirebird_sdbclo.so
1500 %{baseinstdir}/program/libicdlo.so
1501 %{baseinstdir}/program/libicglo.so
1502 %{baseinstdir}/program/libidxlo.so
1503 %{baseinstdir}/program/libimelo.so
1504 %{baseinstdir}/program/libindex_data.so
1505 %{baseinstdir}/program/libipblo.so
1506 %{baseinstdir}/program/libipdlo.so
1507 %{baseinstdir}/program/libipslo.so
1508 %{baseinstdir}/program/libiptlo.so
1509 %{baseinstdir}/program/libipxlo.so
1510 %{baseinstdir}/program/libiralo.so
1511 %{baseinstdir}/program/libitglo.so
1512 %{baseinstdir}/program/libitilo.so
1513 %{baseinstdir}/program/libfilelo.so
1514 %{baseinstdir}/program/libfilterconfiglo.so
1515 %{baseinstdir}/program/libflatlo.so
1516 %{baseinstdir}/program/libfrmlo.so
1517 %{baseinstdir}/program/libguesslanglo.so
1518 %{baseinstdir}/program/libhelplinkerlo.so
1519 %{baseinstdir}/program/libhyphenlo.so
1520 %{baseinstdir}/program/libjdbclo.so
1521 %{baseinstdir}/program/liblnglo.so
1522 %{baseinstdir}/program/libloglo.so
1523 %{baseinstdir}/program/liblocaledata_en.so
1524 %{baseinstdir}/program/liblocaledata_es.so
1525 %{baseinstdir}/program/liblocaledata_euro.so
1526 %{baseinstdir}/program/liblocaledata_others.so
1527 %{baseinstdir}/program/libmcnttype.so
1528 %{baseinstdir}/program/libmorklo.so
1529 %{baseinstdir}/program/libmozbootstraplo.so
1530 %{baseinstdir}/program/libmsfilterlo.so
1531 %{baseinstdir}/program/libmtfrendererlo.so
1532 %{baseinstdir}/program/libmysqllo.so
1533 %{baseinstdir}/program/libodbclo.so
1534 %{baseinstdir}/program/liboglcanvaslo.so
1535 %{baseinstdir}/program/liboffacclo.so
1536 %{baseinstdir}/program/libooxlo.so
1537 %{baseinstdir}/program/libpcrlo.so
1538 %{baseinstdir}/program/libpdffilterlo.so
1539 %{baseinstdir}/program/libpllo.so
1540 %{baseinstdir}/program/libprotocolhandlerlo.so
1541 %{baseinstdir}/program/libqstart_gtklo.so
1542 %{baseinstdir}/program/librecentfile.so
1543 %{baseinstdir}/program/libreslo.so
1544 %{baseinstdir}/program/libsaxlo.so
1545 %{baseinstdir}/program/libscnlo.so
1546 %{baseinstdir}/program/libscriptframe.so
1547 %{baseinstdir}/program/libsdlo.so
1548 %{baseinstdir}/program/libsdfiltlo.so
1549 %{baseinstdir}/program/libsdbc2.so
1550 %{baseinstdir}/program/libsdbtlo.so
1551 %{baseinstdir}/program/libsddlo.so
1552 %{baseinstdir}/program/libsduilo.so
1553 %{baseinstdir}/program/libspelllo.so
1554 %{baseinstdir}/program/libsrtrs1.so
1555 %{baseinstdir}/program/libstoragefdlo.so
1556 %{baseinstdir}/program/libsvgiolo.so
1557 %{baseinstdir}/program/libsvxlo.so
1558 %{baseinstdir}/program/libsvxcorelo.so
1559 %{baseinstdir}/program/libswdlo.so
1560 %{baseinstdir}/program/libswlo.so
1561 %{baseinstdir}/program/libtextconv_dict.so
1562 %{baseinstdir}/program/libtextconversiondlgslo.so
1563 %{baseinstdir}/program/libtextfdlo.so
1564 %{baseinstdir}/program/libodfflatxmllo.so
1565 # TODO: shouldn't it have lo suffix?
1566 %{baseinstdir}/program/libucbhelper.so
1567 %{baseinstdir}/program/libucpchelp1.so
1568 %{baseinstdir}/program/libucpdav1.so
1569 %{baseinstdir}/program/libucpftp1.so
1570 %{baseinstdir}/program/libucphier1.so
1571 %{baseinstdir}/program/libucppkg1.so
1572 %{baseinstdir}/program/libunordflo.so
1573 %{baseinstdir}/program/libunopkgapp.so
1574 %{baseinstdir}/program/libunoxmllo.so
1575 %{baseinstdir}/program/libuuilo.so
1576 %{baseinstdir}/program/libvbahelperlo.so
1577 %{baseinstdir}/program/libvclplug_genlo.so
1578 %{baseinstdir}/program/libvclplug_gtklo.so
1579 %if %{build_gtk3}
1580 %{baseinstdir}/program/libvclplug_gtk3lo.so
1581 %endif
1582 %{baseinstdir}/program/libxmlfalo.so
1583 %{baseinstdir}/program/libxmlfdlo.so
1584 %{baseinstdir}/program/libxoflo.so
1585 %{baseinstdir}/program/libxsec_fw.so
1586 %{baseinstdir}/program/libxsec_xmlsec.so
1587 %{baseinstdir}/program/libxsltdlglo.so
1588 %{baseinstdir}/program/libxsltfilterlo.so
1589 %{baseinstdir}/program/libxstor.so
1590 # TODO how useful this is ?
1591 %{baseinstdir}/program/liblosessioninstalllo.so
1592 %{baseinstdir}/program/libmigrationoo2lo.so
1593 %{baseinstdir}/program/libmigrationoo3lo.so
1594 %{baseinstdir}/program/libmsformslo.so
1595 %{baseinstdir}/program/nsplugin
1596 %{baseinstdir}/program/open-url
1597 %{baseinstdir}/program/types/offapi.rdb
1598 %{baseinstdir}/program/libpasswordcontainerlo.so
1599 %{baseinstdir}/program/pagein-common
1600 %{baseinstdir}/program/pluginapp.bin
1601 %dir %{baseinstdir}/program/resource
1602 %{baseinstdir}/program/resource/avmediaen-US.res
1603 %{baseinstdir}/program/resource/accen-US.res
1604 %{baseinstdir}/program/resource/basctlen-US.res
1605 %{baseinstdir}/program/resource/biben-US.res
1606 %{baseinstdir}/program/resource/chartcontrolleren-US.res
1607 %{baseinstdir}/program/resource/cuien-US.res
1608 %{baseinstdir}/program/resource/dbaen-US.res
1609 %{baseinstdir}/program/resource/dbmmen-US.res
1610 %{baseinstdir}/program/resource/dbuen-US.res
1611 %{baseinstdir}/program/resource/dbwen-US.res
1612 %{baseinstdir}/program/resource/deploymenten-US.res
1613 %{baseinstdir}/program/resource/deploymentguien-US.res
1614 %{baseinstdir}/program/resource/dkten-US.res
1615 %{baseinstdir}/program/resource/editengen-US.res
1616 %{baseinstdir}/program/resource/epsen-US.res
1617 %{baseinstdir}/program/resource/euren-US.res
1618 %{baseinstdir}/program/resource/fps_officeen-US.res
1619 %{baseinstdir}/program/resource/frmen-US.res
1620 %{baseinstdir}/program/resource/fween-US.res
1621 %{baseinstdir}/program/resource/galen-US.res
1622 %{baseinstdir}/program/resource/impen-US.res
1623 %{baseinstdir}/program/resource/ofaen-US.res
1624 %{baseinstdir}/program/resource/pcren-US.res
1625 %{baseinstdir}/program/resource/pdffilteren-US.res
1626 %{baseinstdir}/program/resource/sben-US.res
1627 %{baseinstdir}/program/resource/scnen-US.res
1628 %{baseinstdir}/program/resource/sden-US.res
1629 %{baseinstdir}/program/resource/sfxen-US.res
1630 %{baseinstdir}/program/resource/sdbten-US.res
1631 %{baseinstdir}/program/resource/svlen-US.res
1632 %{baseinstdir}/program/resource/svten-US.res
1633 %{baseinstdir}/program/resource/svxen-US.res
1634 %{baseinstdir}/program/resource/swen-US.res
1635 %{baseinstdir}/program/resource/tplen-US.res
1636 %{baseinstdir}/program/resource/uuien-US.res
1637 %{baseinstdir}/program/resource/upden-US.res
1638 %{baseinstdir}/program/resource/vclen-US.res
1639 %{baseinstdir}/program/resource/wzien-US.res
1640 %{baseinstdir}/program/resource/xmlsecen-US.res
1641 %{baseinstdir}/program/resource/xsltdlgen-US.res
1642 %{baseinstdir}/program/senddoc
1643 %dir %{baseinstdir}/program/services
1644 %{baseinstdir}/program/services/services.rdb
1645 %{baseinstdir}/program/libsimplecanvaslo.so
1646 %{baseinstdir}/program/libslideshowlo.so
1647 %{baseinstdir}/program/libsofficeapp.so
1648 %{baseinstdir}/program/libstringresourcelo.so
1649 %{baseinstdir}/program/libsysshlo.so
1650 %{baseinstdir}/program/libucpcmis1lo.so
1651 %{baseinstdir}/program/libucpexpand1lo.so
1652 %{baseinstdir}/program/libucpextlo.so
1653 %{baseinstdir}/program/libucptdoc1lo.so
1654 %{baseinstdir}/program/unorc
1655 %{baseinstdir}/program/libupdatefeedlo.so
1656 %{baseinstdir}/ure-link
1657 %{baseinstdir}/program/uri-encode
1658 %{baseinstdir}/program/libvbaeventslo.so
1659 %{baseinstdir}/program/libvclcanvaslo.so
1660 %{baseinstdir}/program/versionrc
1661 %{baseinstdir}/program/xid-fullscreen-on-all-monitors
1662 %dir %{baseinstdir}/share
1663 %dir %{baseinstdir}/share/Scripts
1664 %{baseinstdir}/share/Scripts/java
1665 %dir %{baseinstdir}/share/autotext
1666 %{baseinstdir}/share/autotext/en-US
1667 %{baseinstdir}/share/basic
1668 %dir %{baseinstdir}/share/config
1669 %{baseinstdir}/share/config/images.zip
1670 %{baseinstdir}/share/config/images_crystal.zip
1671 %{baseinstdir}/share/config/images_galaxy.zip
1672 %{baseinstdir}/share/config/images_hicontrast.zip
1673 %{baseinstdir}/share/config/images_oxygen.zip
1674 %{baseinstdir}/share/config/images_sifr.zip
1675 %{baseinstdir}/share/config/images_tango.zip
1676 %dir %{baseinstdir}/share/config/soffice.cfg
1677 %{baseinstdir}/share/config/soffice.cfg/modules
1678 %if %{with langpacks}
1679 # UI translations go into langpacks
1680 %exclude %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res
1681 %endif
1682 %{baseinstdir}/share/config/soffice.cfg/*/ui
1683 %if %{with langpacks}
1684 # UI translations go into langpacks
1685 %exclude %{baseinstdir}/share/config/soffice.cfg/*/ui/res
1686 %endif
1687 %{baseinstdir}/share/config/webcast
1688 %{baseinstdir}/share/config/wizard
1689 %dir %{baseinstdir}/share/dtd
1690 %{baseinstdir}/share/dtd/officedocument
1691 %{baseinstdir}/share/gallery
1692 %dir %{baseinstdir}/share/labels
1693 %{baseinstdir}/share/labels/labels.xml
1694 %dir %{baseinstdir}/share/psprint
1695 %config %{baseinstdir}/share/psprint/psprint.conf
1696 %{baseinstdir}/share/psprint/driver
1697 %dir %{baseinstdir}/share/registry
1698 %{baseinstdir}/share/registry/gnome.xcd
1699 %{baseinstdir}/share/registry/lingucomponent.xcd
1700 %{baseinstdir}/share/registry/main.xcd
1701 %{baseinstdir}/share/registry/oo-ad-ldap.xcd.sample
1702 %{baseinstdir}/share/registry/oo-ldap.xcd.sample
1703 %{baseinstdir}/share/registry/Langpack-en-US.xcd
1704 %dir %{baseinstdir}/share/registry/res
1705 %{baseinstdir}/share/registry/res/fcfg_langpack_en-US.xcd
1706 %dir %{baseinstdir}/share/template
1707 %{baseinstdir}/share/template/en-US
1708 %dir %{baseinstdir}/share/template/common
1709 %{baseinstdir}/share/template/common/internal
1710 %{baseinstdir}/share/template/common/layout
1711 %{baseinstdir}/share/template/common/wizard
1712 %{baseinstdir}/share/template/wizard
1713 %dir %{baseinstdir}/share/wordbook
1714 %{baseinstdir}/share/wordbook/en-GB.dic
1715 %{baseinstdir}/share/wordbook/en-US.dic
1716 %{baseinstdir}/share/wordbook/technical.dic
1717 %{baseinstdir}/program/liblnthlo.so
1718 %{_bindir}/unopkg
1719 %{_mandir}/man1/unopkg.1*
1720 #icons and mime
1721 %{_datadir}/icons/*/*/*/libreoffice*
1722 %{_datadir}/mime-info/libreoffice.*
1723 %{baseinstdir}/program/libxmlsecurity.so
1724 %{_datadir}/mime/packages/libreoffice.xml
1725 %{baseinstdir}/program/libconfigmgrlo.so
1726 %{baseinstdir}/program/libdesktopbe1lo.so
1727 %{baseinstdir}/program/libfsstoragelo.so
1728 %{baseinstdir}/program/libgconfbe1lo.so
1729 %{baseinstdir}/program/libi18npoollo.so
1730 %{baseinstdir}/program/libbasegfxlo.so
1731 # TODO: shouldn't it have lo suffix?
1732 %{baseinstdir}/program/libcomphelper.so
1733 %{baseinstdir}/program/libfwelo.so
1734 %{baseinstdir}/program/libfwilo.so
1735 %{baseinstdir}/program/libfwklo.so
1736 %{baseinstdir}/program/libfwllo.so
1737 %{baseinstdir}/program/libfwmlo.so
1738 %{baseinstdir}/program/libi18nlangtag.so
1739 # TODO: shouldn't it have lo suffix?
1740 %{baseinstdir}/program/libi18nutil.so
1741 %{baseinstdir}/program/libpackage2.so
1742 %{baseinstdir}/program/libsblo.so
1743 %{baseinstdir}/program/libsfxlo.so
1744 %{baseinstdir}/program/libsotlo.so
1745 %{baseinstdir}/program/libspllo.so
1746 %{baseinstdir}/program/libsvllo.so
1747 %{baseinstdir}/program/libsvtlo.so
1748 %{baseinstdir}/program/libtklo.so
1749 %{baseinstdir}/program/libtllo.so
1750 %{baseinstdir}/program/libucb1.so
1751 %{baseinstdir}/program/libucpfile1.so
1752 %{baseinstdir}/program/libutllo.so
1753 %{baseinstdir}/program/libvcllo.so
1754 %{baseinstdir}/program/libvclopengllo.so
1755 %{baseinstdir}/program/libwriterperfectlo.so
1756 %{baseinstdir}/program/libxmlscriptlo.so
1757 %{baseinstdir}/program/libxolo.so
1758 %{baseinstdir}/program/liblocalebe1lo.so
1759 %{baseinstdir}/program/libucpgio1lo.so
1760 %{baseinstdir}/program/types/oovbaapi.rdb
1761 %if %with_mergedlibs
1762 %{baseinstdir}/program/libmergedlo.so
1763 %endif
1764 #share unopkg
1765 %dir %{baseinstdir}/share/extensions
1766 %{baseinstdir}/share/extensions/package.txt
1767 %{baseinstdir}/program/unopkg
1768 %{baseinstdir}/program/unopkg.bin
1769 %{baseinstdir}/program/bootstraprc
1770 %{baseinstdir}/program/fundamentalrc
1771 %{baseinstdir}/program/setuprc
1772 %doc %{baseinstdir}/CREDITS.fodt
1773 %doc %{baseinstdir}/LICENSE
1774 %doc %{baseinstdir}/LICENSE.html
1775 %doc %{baseinstdir}/LICENSE.fodt
1776 %doc %{baseinstdir}/NOTICE
1777 %{baseinstdir}/program/intro.*
1778 %{baseinstdir}/program/soffice
1779 %{baseinstdir}/program/soffice.bin
1780 %{baseinstdir}/program/sofficerc
1781 %{baseinstdir}/program/unoinfo
1782 %{baseinstdir}/program/libnpsoplugin.so
1783 %{baseinstdir}/program/oosplash
1784 %{baseinstdir}/program/shell/
1785 %dir %{baseinstdir}/share/filter
1786 %{baseinstdir}/share/filter/oox-drawingml-adj-names
1787 %{baseinstdir}/share/filter/oox-drawingml-cs-presets
1788 %{baseinstdir}/share/filter/vml-shape-types
1789 %{baseinstdir}/share/xdg/
1790 %{baseinstdir}/program/redirectrc
1791 %{_datadir}/applications/libreoffice-startcenter.desktop
1792 #launchers
1793 %{_bindir}/libreoffice
1794 %if %{build_gtk3}
1795 %{_bindir}/libreoffice-gtk3
1796 %endif
1797 %{_bindir}/openoffice.org
1798 %{_bindir}/soffice
1799 %{_bindir}/ooffice
1800 %{_bindir}/ooviewdoc
1801
1802 # Exclude files that are already in libreoffice-java-common
1803 %exclude %{baseinstdir}/program/classes/commonwizards.jar
1804 %exclude %{baseinstdir}/program/classes/form.jar
1805 %exclude %{baseinstdir}/program/classes/query.jar
1806 %exclude %{baseinstdir}/program/classes/officebean.jar
1807 %exclude %{baseinstdir}/program/classes/report.jar
1808 %{_mandir}/man1/libreoffice.1*
1809 %{_mandir}/man1/openoffice.org.1*
1810 %{_mandir}/man1/soffice.1*
1811 %{_mandir}/man1/ooffice.1*
1812 %{_mandir}/man1/ooviewdoc.1*
1813 %exclude %{baseinstdir}/program/classes/ScriptFramework.jar
1814 %exclude %{baseinstdir}/program/classes/ScriptProviderForJava.jar
1815 %exclude %{baseinstdir}/program/classes/table.jar
1816 %exclude %{baseinstdir}/program/classes/unoil.jar
1817 %exclude %{baseinstdir}/program/classes/XMergeBridge.jar
1818 %exclude %{baseinstdir}/program/classes/xmerge.jar
1819 %exclude %{baseinstdir}/program/libofficebean.so
1820 %exclude %{baseinstdir}/share/Scripts/java
1821
1822 %files base
1823 %{baseinstdir}/help/en-US/sdatabase.*
1824 %{baseinstdir}/program/classes/hsqldb.jar
1825 %{baseinstdir}/program/classes/reportbuilder.jar
1826 %{baseinstdir}/program/classes/sdbc_hsqldb.jar
1827 %{baseinstdir}/program/libabplo.so
1828 %if 0%{?rhel}
1829 %{baseinstdir}/program/libfbembed.so.*
1830 %endif
1831 %{baseinstdir}/program/libdbplo.so
1832 %{baseinstdir}/program/libhsqldb.so
1833 %{baseinstdir}/program/librptlo.so
1834 %{baseinstdir}/program/librptuilo.so
1835 %{baseinstdir}/program/librptxmllo.so
1836 %{baseinstdir}/program/resource/abpen-US.res
1837 %{baseinstdir}/program/resource/cnren-US.res
1838 %{baseinstdir}/program/resource/dbpen-US.res
1839 %{baseinstdir}/program/resource/rpten-US.res
1840 %{baseinstdir}/program/resource/rptuien-US.res
1841 %{baseinstdir}/program/resource/sdbclen-US.res
1842 %{baseinstdir}/program/resource/sdberren-US.res
1843 %{baseinstdir}/share/registry/base.xcd
1844 %{baseinstdir}/share/registry/reportbuilder.xcd
1845 %{baseinstdir}/program/sbase
1846 %{_datadir}/applications/libreoffice-base.desktop
1847 %{_bindir}/oobase
1848 %{_mandir}/man1/oobase.1*
1849
1850 %files bsh
1851 %{baseinstdir}/program/classes/ScriptProviderForBeanShell.jar
1852 %{baseinstdir}/program/services/scriptproviderforbeanshell.rdb
1853 %{baseinstdir}/share/Scripts/beanshell
1854
1855 %files rhino
1856 %{baseinstdir}/program/classes/js.jar
1857 %{baseinstdir}/program/classes/ScriptProviderForJavaScript.jar
1858 %{baseinstdir}/program/services/scriptproviderforjavascript.rdb
1859 %{baseinstdir}/share/Scripts/javascript
1860
1861 %files wiki-publisher
1862 %docdir %{baseinstdir}/share/extensions/wiki-publisher/license
1863 %{baseinstdir}/share/extensions/wiki-publisher
1864
1865 %files nlpsolver
1866 %docdir %{baseinstdir}/share/extensions/nlpsolver/help
1867 %{baseinstdir}/share/extensions/nlpsolver
1868
1869 %files ogltrans
1870 %{baseinstdir}/program/libOGLTranslo.so
1871 %dir %{baseinstdir}/share/config/soffice.cfg/simpress
1872 %{baseinstdir}/share/config/soffice.cfg/simpress/transitions-ogl.xml
1873 %{baseinstdir}/share/registry/ogltrans.xcd
1874
1875 %files pdfimport
1876 %{baseinstdir}/program/libpdfimportlo.so
1877 %{baseinstdir}/program/xpdfimport
1878 %{baseinstdir}/share/registry/pdfimport.xcd
1879 %dir %{baseinstdir}/share/xpdfimport
1880 %{baseinstdir}/share/xpdfimport/xpdfimport_err.pdf
1881
1882 %_font_pkg -n %{fontname} opens___.ttf
1883 %doc instdir/LICENSE
1884
1885 %files calc
1886 %{baseinstdir}/help/en-US/scalc.*
1887 %{baseinstdir}/program/libanalysislo.so
1888 %{baseinstdir}/program/libcalclo.so
1889 %{baseinstdir}/program/libdatelo.so
1890 %{baseinstdir}/program/libforlo.so
1891 %{baseinstdir}/program/libforuilo.so
1892 %{baseinstdir}/program/libpricinglo.so
1893 %{baseinstdir}/program/libsclo.so
1894 %{baseinstdir}/program/libscdlo.so
1895 %{baseinstdir}/program/libscfiltlo.so
1896 %{baseinstdir}/program/libscopencllo.so
1897 %{baseinstdir}/program/libscuilo.so
1898 %{baseinstdir}/program/libsolverlo.so
1899 %{baseinstdir}/program/libwpftcalclo.so
1900 %{baseinstdir}/program/resource/analysisen-US.res
1901 %{baseinstdir}/program/resource/dateen-US.res
1902 %{baseinstdir}/program/resource/foren-US.res
1903 %{baseinstdir}/program/resource/foruien-US.res
1904 %{baseinstdir}/program/resource/pricingen-US.res
1905 %{baseinstdir}/program/resource/scen-US.res
1906 %{baseinstdir}/program/resource/solveren-US.res
1907 %{baseinstdir}/program/libvbaobjlo.so
1908 %{baseinstdir}/share/registry/calc.xcd
1909 %{baseinstdir}/program/pagein-calc
1910 %{baseinstdir}/program/scalc
1911 %{_datadir}/applications/libreoffice-calc.desktop
1912 %{_bindir}/oocalc
1913 %{_mandir}/man1/oocalc.1*
1914
1915 %files draw
1916 %{baseinstdir}/help/en-US/sdraw.*
1917 %{baseinstdir}/share/registry/draw.xcd
1918 %{baseinstdir}/program/pagein-draw
1919 %{baseinstdir}/program/sdraw
1920 %{_datadir}/applications/libreoffice-draw.desktop
1921 %{_bindir}/oodraw
1922 %{_mandir}/man1/oodraw.1*
1923
1924 %files emailmerge
1925 %{baseinstdir}/program/mailmerge.py*
1926 %{baseinstdir}/program/msgbox.py*
1927 %{baseinstdir}/program/officehelper.py*
1928
1929 %files writer
1930 %{baseinstdir}/help/en-US/swriter.*
1931 %{baseinstdir}/program/libhwplo.so
1932 %{baseinstdir}/program/liblwpftlo.so
1933 %{baseinstdir}/program/libmswordlo.so
1934 %{baseinstdir}/program/libswuilo.so
1935 %{baseinstdir}/program/libt602filterlo.so
1936 %{baseinstdir}/program/libwpftwriterlo.so
1937 %{baseinstdir}/program/libwriterfilterlo.so
1938 %{baseinstdir}/program/libvbaswobjlo.so
1939 %{baseinstdir}/program/resource/t602filteren-US.res
1940 %{baseinstdir}/share/registry/writer.xcd
1941 %{baseinstdir}/program/pagein-writer
1942 %{baseinstdir}/program/swriter
1943 %{_datadir}/applications/libreoffice-writer.desktop
1944 %{_bindir}/oowriter
1945 %{_mandir}/man1/oowriter.1*
1946
1947 %files impress
1948 %{baseinstdir}/help/en-US/simpress.*
1949 %{baseinstdir}/program/libanimcorelo.so
1950 %{baseinstdir}/program/libplacewarelo.so
1951 %{baseinstdir}/program/libPresentationMinimizerlo.so
1952 %{baseinstdir}/program/libPresenterScreenlo.so
1953 %{baseinstdir}/program/libwpftimpresslo.so
1954 %dir %{baseinstdir}/share/config/soffice.cfg/simpress
1955 %{baseinstdir}/share/config/soffice.cfg/simpress/effects.xml
1956 %{baseinstdir}/share/config/soffice.cfg/simpress/layoutlist.xml
1957 %{baseinstdir}/share/config/soffice.cfg/simpress/objectlist.xml
1958 %{baseinstdir}/share/config/soffice.cfg/simpress/transitions.xml
1959 %{baseinstdir}/share/registry/impress.xcd
1960 %{baseinstdir}/program/pagein-impress
1961 %{baseinstdir}/program/simpress
1962 %{_datadir}/applications/libreoffice-impress.desktop
1963 %{_bindir}/ooimpress
1964 %{_mandir}/man1/ooimpress.1*
1965
1966 %files math
1967 %{baseinstdir}/help/en-US/smath.*
1968 %{baseinstdir}/program/libsmlo.so
1969 %{baseinstdir}/program/libsmdlo.so
1970 %{baseinstdir}/program/resource/smen-US.res
1971 %{baseinstdir}/share/registry/math.xcd
1972 %{baseinstdir}/program/smath
1973 %{_datadir}/applications/libreoffice-math.desktop
1974 %{_bindir}/oomath
1975 %{_mandir}/man1/oomath.1*
1976
1977 %files graphicfilter
1978 %{baseinstdir}/program/libflashlo.so
1979 %{baseinstdir}/program/libgraphicfilterlo.so
1980 %{baseinstdir}/program/libsvgfilterlo.so
1981 %{baseinstdir}/program/libwpftdrawlo.so
1982 %{baseinstdir}/share/registry/graphicfilter.xcd
1983
1984 %files xsltfilter
1985 %{baseinstdir}/share/xslt
1986 %{baseinstdir}/share/registry/xsltfilter.xcd
1987 %{_datadir}/applications/libreoffice-xsltfilter.desktop
1988
1989 %files postgresql
1990 %{baseinstdir}/program/libpostgresql-sdbclo.so
1991 %{baseinstdir}/program/libpostgresql-sdbc-impllo.so
1992 %{baseinstdir}/program/postgresql-sdbc.ini
1993 %{baseinstdir}/program/services/postgresql-sdbc.rdb
1994 %{baseinstdir}/share/registry/postgresql.xcd
1995
1996 %files ure
1997 %doc instdir/LICENSE
1998 %{ureinstdir}
1999
2000 %files sdk
2001 %{sdkinstdir}/
2002 %exclude %{sdkinstdir}/docs/
2003 %exclude %{sdkinstdir}/examples/
2004
2005 %files sdk-doc
2006 %docdir %{sdkinstdir}/docs
2007 %{sdkinstdir}/docs/
2008 %{sdkinstdir}/examples/
2009
2010 %files headless
2011 %{baseinstdir}/program/libbasebmplo.so
2012 %{baseinstdir}/program/libvclplug_svplo.so
2013
2014 %files pyuno
2015 %{baseinstdir}/program/libpyuno.so
2016 %{baseinstdir}/program/pythonloader.py*
2017 %{baseinstdir}/program/libpythonloaderlo.so
2018 %{baseinstdir}/program/pythonloader.unorc
2019 %{baseinstdir}/program/pythonscript.py*
2020 %{baseinstdir}/program/pyuno.so
2021 %{baseinstdir}/program/services/pyuno.rdb
2022 %{baseinstdir}/program/services/scriptproviderforpython.rdb
2023 %{baseinstdir}/program/wizards
2024 %dir %{baseinstdir}/share/Scripts
2025 %{baseinstdir}/share/Scripts/python
2026 %exclude %{baseinstdir}/share/Scripts/python/LibreLogo
2027 %{python3_sitearch}/uno.py*
2028 %{python3_sitearch}/unohelper.py*
2029 %{python3_sitearch}/__pycache__/uno.cpython-*
2030 %{python3_sitearch}/__pycache__/unohelper.cpython-*
2031 %{baseinstdir}/share/registry/pyuno.xcd
2032
2033 %files librelogo
2034 %{baseinstdir}/share/registry/librelogo.xcd
2035 %{baseinstdir}/share/Scripts/python/LibreLogo
2036
2037 %files glade
2038 %{baseinstdir}/program/ui-previewer
2039 %{_datadir}/glade3/catalogs/libreoffice-catalog.xml
2040
2041 %if %{build_kde}
2042 %files kde
2043 %{baseinstdir}/program/kde-open-url
2044 %{baseinstdir}/program/libkde4be1lo.so
2045 %{baseinstdir}/program/libvclplug_kde4lo.so
2046 %else
2047 %{baseinstdir}/program/kde-open-url
2048 %endif
2049
2050 %files appdata
2051 %doc instdir/LICENSE
2052 %dir %{_datadir}/appdata
2053 %{_datadir}/appdata/*.appdata.xml
2054
2055
2056 %files java-common
2057 %dir %{baseinstdir}/program/classes
2058 %{baseinstdir}/program/classes/commonwizards.jar
2059 %{baseinstdir}/program/classes/form.jar
2060 %{baseinstdir}/program/classes/query.jar
2061 %{baseinstdir}/program/classes/officebean.jar
2062 %{baseinstdir}/program/classes/report.jar
2063 %{baseinstdir}/program/classes/reportbuilderwizard.jar
2064 %{baseinstdir}/program/classes/ScriptFramework.jar
2065 %{baseinstdir}/program/classes/ScriptProviderForJava.jar
2066 %{baseinstdir}/program/classes/table.jar
2067 %{baseinstdir}/program/classes/unoil.jar
2068 %{baseinstdir}/program/classes/XMergeBridge.jar
2069 %{baseinstdir}/program/classes/xmerge.jar
2070 %{baseinstdir}/program/libofficebean.so
2071 %{baseinstdir}/share/Scripts/java
2072 %exclude %{baseinstdir}/program/classes/smoketest.jar
2073

  ViewVC Help
Powered by ViewVC 1.1.26