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

  ViewVC Help
Powered by ViewVC 1.1.26