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

  ViewVC Help
Powered by ViewVC 1.1.30