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

  ViewVC Help
Powered by ViewVC 1.1.30