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

  ViewVC Help
Powered by ViewVC 1.1.26