/[packages]/updates/3/libreoffice/current/SPECS/libreoffice.spec
ViewVC logotype

Contents of /updates/3/libreoffice/current/SPECS/libreoffice.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26