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

  ViewVC Help
Powered by ViewVC 1.1.26