/[packages]/cauldron/libreoffice/pristine/SPECS/libreoffice.spec
ViewVC logotype

Contents of /cauldron/libreoffice/pristine/SPECS/libreoffice.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.28