/[packages]/cauldron/libreoffice/releases/3.3.1.2/3.mga1/SPECS/libreoffice.spec
ViewVC logotype

Contents of /cauldron/libreoffice/releases/3.3.1.2/3.mga1/SPECS/libreoffice.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (7 years, 5 months ago) by pterjan
File size: 83161 byte(s)
oops
1 # rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF
2 %define __jar_repack %{nil}
3 # don't worry about whitespace for now
4 %define _default_patch_flags -s -l
5 %define _default_patch_fuzz 2
6 %define Werror_cflags %nil
7 # undef to get english only and no-langpacks for a faster smoketest build
8 %define langpacks 1
9 # whether to use stlport or gcc's stl, we're basically locked to stlport for
10 # i386 to support third party uno components and add-ons designed to work with
11 # vanilla OOo.
12 %ifarch %{ix86}
13 %define stlport_abi_lockin 1
14 %else
15 %define stlport_abi_lockin 0
16 %endif
17
18 %if %{stlport_abi_lockin}
19 %define stlflags --with-stlport
20 %else
21 %define stlflags --without-stlport
22 %endif
23
24 %if %{langpacks}
25 %define langpack_langs af ar bg bn ca cs cy da de dz el en-US es et eu fi fr ga gl gu pa-IN he hi hu hr it ja ko lt ms nb nl nn nr pl pt pt-BR ru sh sk sl sr ss st sv ta th tr ve xh zh-CN zh-TW zu ns tn ts as mr ml or te ur kn uk mai ro si
26 %else
27 %define langpack_langs en-US
28 %endif
29
30 Summary: Free Software Productivity Suite
31 Name: libreoffice
32 Version: 3.3.1.2
33 Release: %mkrel 3
34 License: LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and (CDDL or GPLv2) and Public Domain
35 Group: Office
36 URL: http://www.documentfoundation.org/develop
37 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
38 Source0: http://download.documentfoundation.org/libreoffice/src/libreoffice-artwork-%{version}.tar.bz2
39 Source1: http://download.documentfoundation.org/libreoffice/src/libreoffice-base-%{version}.tar.bz2
40 Source2: http://download.documentfoundation.org/libreoffice/src/libreoffice-bootstrap-%{version}.tar.bz2
41 Source3: http://download.documentfoundation.org/libreoffice/src/libreoffice-calc-%{version}.tar.bz2
42 Source4: http://download.documentfoundation.org/libreoffice/src/libreoffice-components-%{version}.tar.bz2
43 Source5: http://download.documentfoundation.org/libreoffice/src/libreoffice-extensions-%{version}.tar.bz2
44 Source6: http://download.documentfoundation.org/libreoffice/src/libreoffice-extras-%{version}.tar.bz2
45 Source7: http://download.documentfoundation.org/libreoffice/src/libreoffice-filters-%{version}.tar.bz2
46 Source8: http://download.documentfoundation.org/libreoffice/src/libreoffice-help-%{version}.tar.bz2
47 Source9: http://download.documentfoundation.org/libreoffice/src/libreoffice-impress-%{version}.tar.bz2
48 Source10: http://download.documentfoundation.org/libreoffice/src/libreoffice-libs-core-%{version}.tar.bz2
49 Source11: http://download.documentfoundation.org/libreoffice/src/libreoffice-libs-extern-%{version}.tar.bz2
50 Source12: http://download.documentfoundation.org/libreoffice/src/libreoffice-libs-extern-sys-%{version}.tar.bz2
51 Source13: http://download.documentfoundation.org/libreoffice/src/libreoffice-libs-gui-%{version}.tar.bz2
52 Source14: http://download.documentfoundation.org/libreoffice/src/libreoffice-postprocess-%{version}.tar.bz2
53 Source15: http://download.documentfoundation.org/libreoffice/src/libreoffice-sdk-%{version}.tar.bz2
54 Source16: http://download.documentfoundation.org/libreoffice/src/libreoffice-testing-%{version}.tar.bz2
55 Source17: http://download.documentfoundation.org/libreoffice/src/libreoffice-ure-%{version}.tar.bz2
56 Source18: http://download.documentfoundation.org/libreoffice/src/libreoffice-writer-%{version}.tar.bz2
57 Source19: http://download.documentfoundation.org/libreoffice/src/libreoffice-l10n-%{version}.tar.bz2
58 Source20: http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
59 Source21: redhat-langpacks.tar.gz
60 Source22: libreoffice-multiliblauncher.sh
61 Source23: http://hg.services.openoffice.org/binaries/fdb27bfe2dbe2e7b57ae194d9bf36bab-SampleICC-1.3.2.tar.gz
62 Source24: http://hg.services.openoffice.org/binaries/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
63 Source25: http://hg.services.openoffice.org/binaries/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
64 Source26: http://hg.services.openoffice.org/binaries/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
65 Source27: http://hg.services.openoffice.org/binaries/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
66 Source28: http://hg.services.openoffice.org/binaries/ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip
67 Source29: http://hg.services.openoffice.org/binaries/18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz
68 Source30: http://hg.services.openoffice.org/binaries/cf8a6967f7de535ae257fa411c98eb88-mdds_0.3.0.tar.bz2
69 #Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose
70 #backwards compatability.
71 Source31: http://hg.services.openoffice.org/binaries/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
72 BuildRequires: zip
73 BuildRequires: findutils
74 BuildRequires: autoconf
75 BuildRequires: flex
76 BuildRequires: bison
77 BuildRequires: icu
78 BuildRequires: gperf
79 BuildRequires: gcc-c++
80 BuildRequires: binutils
81 BuildRequires: java-devel >= 0:1.6.0
82 BuildRequires: boost-devel
83 BuildRequires: zlib-devel
84 BuildRequires: python-devel
85 BuildRequires: expat-devel
86 BuildRequires: libxml2-devel
87 BuildRequires: libxslt-devel
88 BuildRequires: bc
89 BuildRequires: neon-devel
90 BuildRequires: libcurl-devel
91 BuildRequires: libidn-devel
92 BuildRequires: pam-devel
93 BuildRequires: cups-devel
94 BuildRequires: libxext-devel
95 BuildRequires: libxt-devel
96 BuildRequires: libice-devel
97 BuildRequires: libjpeg-devel
98 BuildRequires: make
99 BuildRequires: libwpd-devel >= 0.9.0
100 BuildRequires: hunspell-devel
101 BuildRequires: unixODBC-devel
102 BuildRequires: db4-devel
103 BuildRequires: sane-devel
104 BuildRequires: libicu-devel
105 BuildRequires: perl(Archive::Zip)
106 BuildRequires: freetype-devel
107 BuildRequires: gtk2-devel
108 BuildRequires: desktop-file-utils
109 BuildRequires: hyphen-devel
110 BuildRequires: evolution-data-server-devel
111 BuildRequires: xulrunner-devel
112 BuildRequires: libtextcat-devel
113 BuildRequires: nss-devel
114 BuildRequires: gstreamer0.10-devel
115 BuildRequires: libgstreamer0.10-plugins-base-devel
116 BuildRequires: openssl-devel
117 BuildRequires: mdds-devel
118 BuildRequires: lpsolve-devel
119 BuildRequires: bsh
120 BuildRequires: lucene >= 0:2.4.1
121 BuildRequires: redland-devel
122 BuildRequires: ant
123 BuildRequires: ant-apache-regexp
124 BuildRequires: rsync
125 BuildRequires: jakarta-commons-codec
126 BuildRequires: jakarta-commons-httpclient
127 BuildRequires: cppunit-devel
128 BuildRequires: jakarta-commons-lang
129 BuildRequires: libpoppler-devel
130 BuildRequires: junit4
131 BuildRequires: pentaho-reporting-flow-engine
132 BuildRequires: mythes-devel
133 BuildRequires: silgraphite-devel
134 BuildRequires: lucene-contrib >= 0:2.4.1
135 BuildRequires: libwpg-devel >= 1:0.2.0
136 BuildRequires: libwps-devel >= 1:0.2.0
137 BuildRequires: libvigra-devel
138 BuildRequires: fontpackages-devel
139 # for the KDE subpackage
140 BuildRequires: kdelibs4-devel
141 Patch1: openoffice.org-1.9.123.ooo53397.prelinkoptimize.desktop.patch
142 Patch2: openoffice.org-2.0.2.rh188467.printingdefaults.patch
143 Patch3: openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch
144 Patch4: openoffice.org-3.0.0.ooo88341.sc.verticalboxes.patch
145 Patch5: openoffice.org-2.2.0.gccXXXXX.solenv.javaregistration.patch
146 Patch6: openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch
147 Patch7: openoffice.org-3.1.0.ooo101274.opening-a-directory.patch
148 Patch8: openoffice.org-3.1.0.ooo102061.sc.cellanchoring.patch
149 Patch9: openoffice.org-3.1.1.ooo105784.vcl.sniffscriptforsubs.patch
150 Patch10: openoffice.org-3.3.0.ooo108637.sfx2.uisavedir.patch
151 Patch11: openoffice.org-3.3.0.ooo113273.desktop.resolvelinks.patch
152 Patch12: turn-script-providers-into-extensions.patch
153 Patch13: libreoffice-installfix.patch
154 Patch14: 0001-tidy-this-up-and-don-t-bail-out-on-mislength-records.patch
155 Patch15: libreoffice-bootstrap-kde.patch
156 Patch16: 0001-free-ctxt-after-taking-lastError-details.patch
157 Patch17: 0001-Removed-suspect-hack.-Cursor-on-post-it-now-scrolls-.patch
158 Patch18: libreoffice-fdo31271.icu.patch
159 Patch19: libreoffice-gcc4.6.0.patch
160 Patch20: 0001-fexceptions-fexceptions.patch
161 Patch21: 0001-Related-rhbz-672872-cancel-gtk-file-dialog-on-deskto.patch
162 Patch22: vbahelper.visibility.patch
163 Patch23: 0001-Resolves-fdo-33509-i62414-out-by-one-breaks-CTL-spel.patch
164 Patch24: 0001-Resolves-rhbz-670020-crash-in-slidesorting.patch
165 Patch25: 0001-Resolves-rhbz-676539-handle-missing-pWindows-from-xW.patch
166 Patch26: 0001-Resolves-fdo-33750-i94623-use-optimal-border-width-w.patch
167 Patch27: 0001-rhbz-649310-don-t-crash-deregistering-diff.-platform.patch
168 Patch28: 0001-Resolves-rhbz-674330-dereference-of-NULL-mpBase.patch
169 Patch29: 0001-rhbz-678284-Get-correct-current-position-when-shift-page-up-and-.patch
170 # Mageia patches
171 Patch100: libreoffice-fix-string.patch
172
173 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
174 %define instdir %{_libdir}
175 %define baseinstdir %{instdir}/libreoffice
176 %define ureinstdir %{baseinstdir}/ure
177 %define basisinstdir %{baseinstdir}/basis3.3
178 %define sdkinstdir %{baseinstdir}/basis3.3/sdk
179 %define fontname opensymbol
180 %define OFFICEUPD 330
181 %define SOPOST l*
182
183 %description
184 LibreOffice is an Open Source, community-developed, office productivity suite.
185 It includes the key desktop applications, such as a word processor,
186 spreadsheet, presentation manager, formula editor and drawing program, with a
187 user interface and feature set similar to other office suites. Sophisticated
188 and flexible, LibreOffice also works transparently with a variety of file
189 formats, including Microsoft Office File Formats.
190
191 %package core
192 Summary: Core modules for LibreOffice
193 Group: Office
194 Requires: %{name}-%{fontname}-fonts = %{version}-%{release}
195 Requires: %{name}-ure = %{version}-%{release}
196 Requires: fonts-ttf-liberation
197 Requires: fonts-ttf-dejavu
198 Requires: hunspell, hyphen-en, hyphen >= 2.4
199 Requires: autocorr-en
200 Requires: lucene >= 0:2.4.1
201 Requires(pre): gtk2 >= 2.9.4
202 Requires(post): gtk2 >= 2.9.4
203 Requires(preun): gtk2 >= 2.9.4
204 Requires(postun): gtk2 >= 2.9.4
205 Obsoletes: openoffice.org-core < 1:3.3.1
206 Provides: openoffice.org-core = %version-%release
207 Obsoletes: openoffice.org-brand < 1:3.3.1, broffice.org-brand < 1:3.3.1
208
209 %description core
210 The shared core libraries and support files for LibreOffice.
211
212 %package pyuno
213 Summary: Python support for LibreOffice
214 Group: Development/Libraries
215 Requires: %{name}-core = %{version}-%{release}
216 Requires: %{name}-ure = %{version}-%{release}
217 Requires: python
218 Requires(pre): %{name}-core
219 Requires(post): %{name}-core
220 Requires(preun): %{name}-core
221 Requires(postun): %{name}-core
222 Obsoletes: openoffice.org-pyuno < 1:3.3.1
223
224 %description pyuno
225 Python bindings for the LibreOffice UNO component model. Allows scripts both
226 external to LibreOffice and within the internal LibreOffice scripting framework
227 to be written in python.
228
229 %package base
230 Summary: Database front-end for LibreOffice
231 Group: Office
232 Requires: postgresql-jdbc
233 Requires: %{name}-ure = %{version}-%{release}
234 Requires: %{name}-core = %{version}-%{release}
235 Requires: %{name}-calc = %{version}-%{release}
236 Obsoletes: openoffice.org-base-core < 1:3.3.1
237 Obsoletes: openoffice.org-base < 1:3.3.1, broffice.org-base < 1:3.3.1
238
239 %description base
240 GUI database front-end for LibreOffice. Allows creation and management of
241 databases through a GUI.
242
243 %package report-builder
244 Summary: Create database reports from LibreOffice
245 Group: Office
246 Requires: pentaho-reporting-flow-engine
247 Requires: %{name}-base = %{version}-%{release}
248 Requires(pre): %{name}-core
249 Requires(post): %{name}-core
250 Requires(preun): %{name}-core
251 Requires(postun): %{name}-core
252 Obsoletes: openoffice.org-report-builder < 1:3.3.1
253
254 %description report-builder
255 Creates database reports from LibreOffice databases. The report builder can
256 define group and page headers as well as group, page footers and calculation
257 fields to accomplish complex database reports.
258
259 %package bsh
260 Summary: BeanShell support for LibreOffice
261 Group: Development/Libraries
262 Requires: bsh
263 Requires: %{name}-core = %{version}-%{release}
264 Requires(pre): %{name}-core
265 Requires(post): %{name}-core
266 Requires(preun): %{name}-core
267 Requires(postun): %{name}-core
268 Obsoletes: openoffice.org-bsh < 1:3.3.1
269
270 %description bsh
271 Support BeanShell scripts in LibreOffice.
272
273 %package rhino
274 Summary: JavaScript support for LibreOffice
275 Group: Development/Libraries
276 Requires: %{name}-core = %{version}-%{release}
277 Requires(pre): %{name}-core
278 Requires(post): %{name}-core
279 Requires(preun): %{name}-core
280 Requires(postun): %{name}-core
281 Obsoletes: openoffice.org-rhino < 1:3.3.1
282
283 %description rhino
284 Support JavaScript scripts in LibreOffice.
285
286 %package wiki-publisher
287 Summary: Create Wiki articles on MediaWiki servers with LibreOffice
288 Group: Office
289 Requires: jakarta-commons-codec, jakarta-commons-httpclient
290 Requires: jakarta-commons-lang, jakarta-commons-logging
291 Requires: %{name}-writer = %{version}-%{release}
292 Requires(pre): %{name}-core
293 Requires(post): %{name}-core
294 Requires(preun): %{name}-core
295 Requires(postun): %{name}-core
296 Obsoletes: openoffice.org-wiki-publisher < 1:3.3.1
297
298 %description wiki-publisher
299 The Wiki Publisher enables you to create Wiki articles on MediaWiki servers
300 without having to know the syntax of the MediaWiki markup language. Publish
301 your new and existing documents transparently with writer to a wiki page.
302
303 %package ogltrans
304 Summary: 3D OpenGL slide transitions for LibreOffice
305 Group: Office
306 Requires: %{name}-impress = %{version}-%{release}
307 Requires(pre): %{name}-core
308 Obsoletes: openoffice.org-ogltrans < 1:3.3.1
309
310 %description ogltrans
311 OpenGL Transitions enable 3D slide transitions to be used in LibreOffice.
312 Requires good quality 3D support for your graphics card for best experience.
313
314 %package presentation-minimizer
315 Summary: Shrink LibreOffice presentations
316 Group: Office
317 Requires: %{name}-impress = %{version}-%{release}
318 Requires(pre): %{name}-core
319 Requires(post): %{name}-core
320 Requires(preun): %{name}-core
321 Requires(postun): %{name}-core
322 Obsoletes: openoffice.org-presentation-minimizer < 1:3.3.1
323
324 %description presentation-minimizer
325 The Presentation Minimizer is used to reduce the file size of the current
326 presentation. Images will be compressed, and data that is no longer needed will
327 be removed.
328
329 %package presenter-screen
330 Summary: Presenter Screen for LibreOffice Presentations
331 Group: Office
332 Requires: %{name}-impress = %{version}-%{release}
333 Requires(pre): %{name}-core
334 Requires(post): %{name}-core
335 Requires(preun): %{name}-core
336 Requires(postun): %{name}-core
337 Obsoletes: openoffice.org-presenter-screen < 1:3.3.1
338
339 %description presenter-screen
340 The Presenter Screen is used to provides information on a second screen, that
341 typically is not visible to the audience when delivering a presentation. e.g.
342 slide notes.
343
344 %package pdfimport
345 Summary: PDF Importer for LibreOffice Draw
346 Group: Office
347 Requires: %{name}-draw = %{version}-%{release}
348 Requires(pre): %{name}-core
349 Requires(post): %{name}-core
350 Requires(preun): %{name}-core
351 Requires(postun): %{name}-core
352 Obsoletes: openoffice.org-pdfimport < 1:3.3.1
353
354 %description pdfimport
355 The PDF Importer imports PDF into drawing documents to preserve layout
356 and enable basic editing of PDF documents.
357
358 %package %{fontname}-fonts
359 Summary: LibreOffice dingbats font
360 Group: User Interface/X
361 # Do we need this on mageia ?
362 #Requires: fontpackages-filesystem
363 Obsoletes: openoffice.org-fonts < 1:3.3.1
364 Obsoletes: openoffice.org-opensymbol-fonts < 1:3.3.1
365 BuildArch: noarch
366
367 %description %{fontname}-fonts
368 A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and
369 mathematical symbols.
370
371 %package writer
372 Summary: LibreOffice Word Processor Application
373 Group: Office
374 Requires: %{name}-core = %{version}-%{release}
375 Requires: %{name}-ure = %{version}-%{release}
376 Obsoletes: openoffice.org-writer-core < 1:3.3.1
377 Obsoletes: openoffice.org-writer < 1:3.3.1, broffice.org-writer < 1:3.3.1
378
379 %description writer
380 The LibreOffice Word Processor application.
381
382 %package emailmerge
383 Summary: Email mail-merge component for LibreOffice
384 Group: Office
385 Requires: %{name}-writer = %{version}-%{release}
386 Requires: %{name}-pyuno = %{version}-%{release}
387 Obsoletes: openoffice.org-emailmerge < 1:3.3.1
388
389 %description emailmerge
390 Enables the LibreOffice writer module to mail-merge to email.
391
392 %package calc
393 Summary: LibreOffice Spreadsheet Application
394 Group: Office
395 Requires: %{name}-core = %{version}-%{release}
396 Requires: %{name}-ure = %{version}-%{release}
397 Obsoletes: openoffice.org-calc-core < 1:3.3.1
398 Obsoletes: openoffice.org-calc < 1:3.3.1, broffice.org-calc < 1:3.3.1
399
400 %description calc
401 The LibreOffice Spreadsheet application.
402
403 %package draw
404 Summary: LibreOffice Drawing Application
405 Group: Office
406 Requires: %{name}-core = %{version}-%{release}
407 Requires: %{name}-ure = %{version}-%{release}
408 Requires: %{name}-pdfimport = %{version}-%{release}
409 Requires: %{name}-graphicfilter = %{version}-%{release}
410 Obsoletes: openoffice.org-draw-core < 1:3.3.1
411 Obsoletes: openoffice.org-draw < 1:3.3.1, broffice.org-draw < 1:3.3.1
412
413 %description draw
414 The LibreOffice Drawing Application.
415
416 %package impress
417 Summary: LibreOffice Presentation Application
418 Group: Office
419 Requires: %{name}-core = %{version}-%{release}
420 Requires: %{name}-ure = %{version}-%{release}
421 Requires: %{name}-presenter-screen = %{version}-%{release}
422 Obsoletes: openoffice.org-impress-core < 1:3.3.1
423 Obsoletes: openoffice.org-impress < 1:3.3.1, broffice.org-impress < 1:3.3.1
424
425 %description impress
426 The LibreOffice Presentation Application.
427
428 %package math
429 Summary: LibreOffice Equation Editor Application
430 Group: Office
431 Requires: %{name}-core = %{version}-%{release}
432 Requires: %{name}-ure = %{version}-%{release}
433 Obsoletes: openoffice.org-math-core < 1:3.3.1
434 Obsoletes: openoffice.org-math < 1:3.3.1, broffice.org-math < 1:3.3.1
435
436 %description math
437 The LibreOffice Equation Editor Application.
438
439 %package graphicfilter
440 Summary: LibreOffice Extra Graphic filters
441 Group: Office
442 Requires: %{name}-ure = %{version}-%{release}
443 Requires: %{name}-core = %{version}-%{release}
444 Obsoletes: openoffice.org-graphicfilter < 1:3.3.1
445
446 %description graphicfilter
447 The graphicfilter module for LibreOffice provides graphic filters, e.g. svg and
448 flash filters.
449
450 %package xsltfilter
451 Summary: Optional xsltfilter module for LibreOffice
452 Group: Office
453 Requires: %{name}-core = %{version}-%{release}
454 Obsoletes: openoffice.org-xsltfilter < 1:3.3.1
455
456 %description xsltfilter
457 The xsltfilter module for LibreOffice, provides additional docbook and
458 xhtml export transforms. Install this to enable docbook export.
459
460 %package javafilter
461 Summary: Optional javafilter module for LibreOffice
462 Group: Office
463 Requires: %{name}-core = %{version}-%{release}
464 Obsoletes: openoffice.org-javafilter < 1:3.3.1
465
466 %description javafilter
467 The javafilter module for LibreOffice, provides additional AportisDoc,
468 Pocket Excel and Pocket Word import filters.
469
470 %post javafilter
471 update-desktop-database %{_datadir}/applications &> /dev/null || :
472
473 %postun javafilter
474 update-desktop-database %{_datadir}/applications &> /dev/null || :
475
476 %package testtools
477 Summary: Testtools for LibreOffice
478 Group: Development/Libraries
479 Requires: %{name}-ure = %{version}-%{release}
480 Requires: %{name}-core = %{version}-%{release}
481 Requires: %{name}-writer = %{version}-%{release}
482 Requires: %{name}-calc = %{version}-%{release}
483 Requires: %{name}-draw = %{version}-%{release}
484 Requires: %{name}-impress = %{version}-%{release}
485 Requires: %{name}-base = %{version}-%{release}
486 Requires: %{name}-math = %{version}-%{release}
487 Requires: %{name}-bsh = %{version}-%{release}
488 Requires: %{name}-rhino = %{version}-%{release}
489 Obsoletes: openoffice.org-testtools < 1:3.3.1
490
491 %description testtools
492 QA tools for LibreOffice, enables automated testing.
493
494 %package ure
495 Summary: UNO Runtime Environment
496 Group: Development/Libraries
497 Requires: unzip, jre >= 1.5.0
498 Obsoletes: openoffice.org-ure < 1:3.3.1
499
500 %description ure
501 UNO is the component model of LibreOffice. UNO offers interoperability between
502 programming languages, other components models and hardware architectures,
503 either in process or over process boundaries, in the Intranet as well as in the
504 Internet. UNO components may be implemented in and accessed from any
505 programming language for which a UNO implementation (AKA language binding) and
506 an appropriate bridge or adapter exists
507
508 %package sdk
509 Summary: Software Development Kit for LibreOffice
510 Group: Development/Libraries
511 Requires: %{name}-ure = %{version}-%{release}
512 Requires: %{name}-core = %{version}-%{release}
513 Requires: unzip, java-devel
514 Obsoletes: openoffice.org-sdk < 1:3.3.1, openoffice.org-devel < 1:3.3.1
515
516 %description sdk
517 The LibreOffice SDK is an add-on for the LibreOffice office suite. It provides
518 the necessary tools for programming using the LibreOffice APIs and for creating
519 extensions (UNO components) for LibreOffice. To set the build environment for
520 building against the sdk use %{sdkinstdir}/setsdkenv_unix.sh.
521
522 %package sdk-doc
523 Summary: Software Development Kit documentation for LibreOffice
524 Group: Documentation
525 Requires: %{name}-sdk = %{version}-%{release}
526 Obsoletes: openoffice.org-sdk-doc < 1:3.3.1
527
528 %description sdk-doc
529 This provides documentation for programming using the LibreOffice APIs
530 and examples of creating extensions (UNO components) for LibreOffice.
531
532 %package headless
533 Summary: LibreOffice Headless plug-in
534 Group: Development/Libraries
535 Requires: %{name}-ure = %{version}-%{release}
536 Requires: %{name}-core = %{version}-%{release}
537 Obsoletes: openoffice.org-headless < 1:3.3.1
538
539 %description headless
540 A plug-in for LibreOffice that enables it to function without an X server.
541 It implements the -headless command line option and allows LibreOffice to be
542 used as a backend server for e.g. document conversion.
543
544 %package kde
545 Summary: LibreOffice KDE integration plug-in
546 Group: Office
547 Requires: %{name}-core = %{version}-%{release}
548
549 %description kde
550 A plug-in for LibreOffice that enables integration into the KDE desktop environment.
551
552
553 # Defines a language pack subpackage.
554 #
555 # It's necessary to define language code (-l) and language name (-n).
556 # Additionally, it's possible
557 # * to require autocorr, hunspell, hyphen or mythes package or font for
558 # given language,
559 # * to obsolete openoffice.org-langpack package,
560 # * to require other, unrelated, packages,
561 # * to specify file serving as file list.
562 # For these, lower case character argument takes an argument specifying
563 # language, upper case character argument uses language from -l.
564 #
565 # All remaining arguments are considered to be files and added to the file
566 # list.
567 #
568 # Aa: autocorr dependency
569 # Ff: font language dependency
570 # Hh: hunspell dependency
571 # l: language code, e.g., cs
572 # Mm: mythes dependency
573 # n: language name, e.g., Czech
574 # Oo: Obsoletes: of openoffice.org-langpack
575 # r: comma-separated list of additional requires
576 # Ss: filelist
577 # Yy: hyphen dependency
578 #
579 # Example:
580 # libreoffice-langpack-cs: langpack for Czech lang. requiring hyphen-cs,
581 # autocorr-cs, mythes-cs-CZ and suitable font, obsoleting
582 # openoffice.org-langpack-cs_CZ, and taking the files from cs.filelist:
583 # %langpack -l cs -n Czech -H -A -m cs-CZ -o cs_CZ -S
584 %define langpack(Aa:Ff:Hh:l:Mm:n:Oo:r:Ss:Yy:) \
585 %define project LibreOffice \
586 %define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
587 %define pkgname langpack-%{lang} \
588 %define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
589 \
590 %package %{pkgname} \
591 Summary: %{langname} language pack for %{project} \
592 Group: Office \
593 Requires: %{name}-core = %{version}-%{release} \
594 %{-a:Requires: autocorr-%{-a*}}%{!-a:%{-A:Requires: autocorr-%{lang}}} \
595 %{-f:Requires: font(:lang=%{-f*})}%{!-f:%{-F:Requires: font(:lang=%{lang})}} \
596 %{-h:Requires: hunspell-%{-h*}}%{!-h:%{-H:Requires: hunspell-%{lang}}} \
597 %{-m:Requires: mythes-%{-m*}}%{!-m:%{-M:Requires: mythes-%{lang}}} \
598 %{-y:Requires: hyphen-%{-y*}}%{!-y:%{-Y:Requires: hyphen-%{lang}}} \
599 %{-r:Requires: %{-r*}} \
600 %define obs openoffice.org-langpack \
601 %define obsv 1:3.3.1 \
602 %{-o:Obsoletes: %{obs}-%{-o*} < %{obsv}}%{!-o:%{-O:Obsoletes: %{obs}-%{lang} < %{obsv}}} \
603 \
604 %description %{pkgname} \
605 Provides additional %{langname} translations and resources for %{project}. \
606 \
607 %define filelist %{-s:-f %{-s*}.filelist}%{!-s:%{-S:-f %{lang}.filelist}} \
608 %files %{pkgname} %{filelist} \
609 %defattr(-,root,root,-) \
610 %*
611
612
613 # Defines an auto-correction subpackage.
614 #
615 # l: language code
616 # n: language name
617 # X do not use default file match on %{_datadir}/autocorr/acor_%{lang}-*
618 # in file list
619 #
620 # All remaining arguments are considered to be files and added to the file
621 # list.
622 %define autocorr(l:n:X) \
623 %define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
624 %define pkgname autocorr-%{lang} \
625 %define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
626 \
627 %package -n %{pkgname} \
628 Summary: %{langname} auto-correction rules \
629 Group: Applications/Text \
630 BuildArch: noarch \
631 \
632 %description -n %{pkgname} \
633 Rules for auto-correcting common %{langname} typing errors. \
634 \
635 %files -n %{pkgname} \
636 %defattr(-,root,root,-) \
637 %doc solver/%{OFFICEUPD}/unxlng*/bin/ure/LICENSE \
638 %dir %{_datadir}/autocorr \
639 %{!-X:%{_datadir}/autocorr/acor_%{lang}-*} \
640 %*
641
642
643 %if %{langpacks}
644
645 %langpack -l af -n Afrikaans -F -H -Y -A -o af_ZA -S
646 %langpack -l ar -n Arabic -F -H -O -S
647 %langpack -l as -n Assamese -F -H -Y -o as_IN -S
648 %langpack -l bg -n Bulgarian -F -H -Y -M -A -o bg_BG -S
649 %langpack -l bn -n Bengali -F -H -Y -O -S
650 %langpack -l ca -n Catalan -F -H -Y -M -o ca_ES -S
651 %langpack -l cs -n Czech -F -H -Y -M -A -o cs_CZ -S
652 %langpack -l cy -n Welsh -F -H -Y -o cy_GB -S
653 %langpack -l da -n Danish -F -H -Y -M -A -o da_DK -S
654 %langpack -l de -n German -F -H -Y -M -A -O -S
655 %langpack -l dz -n Dzongkha -F -O -S
656 %langpack -l el -n Greek -F -H -Y -M -o el_GR -S
657 %langpack -l en -n English -M -O
658 %langpack -l es -n Spanish -F -H -Y -M -A -O -S
659 %langpack -l et -n Estonian -F -H -Y -o et_EE -S
660 %langpack -l eu -n Basque -F -H -Y -A -o eu_ES -S
661 %langpack -l fi -n Finnish -F -r openoffice.org-voikko -A -o fi_FI -S
662 %langpack -l fr -n French -F -H -Y -M -A -O -S
663 %langpack -l ga -n Irish -F -H -Y -M -A -o ga_IE -S
664 %langpack -l gl -n Galician -F -H -Y -o gl_ES -S
665 %langpack -l gu -n Gujarati -F -H -Y -o gu_IN -S
666 %langpack -l he -n Hebrew -F -H -o he_IL -S
667 %langpack -l hi -n Hindi -F -H -Y -o hi_IN -S
668 %langpack -l hr -n Croatian -F -H -Y -A -o hr_HR -S
669 %langpack -l hu -n Hungarian -F -H -Y -M -A -o hu_HU -S
670 %langpack -l it -n Italian -F -H -Y -M -A -O -S
671 %langpack -l ja -n Japanese -F -A -o ja_JP -S
672 %langpack -l kn -n Kannada -F -H -Y -o kn_IN -S
673 %langpack -l ko -n Korean -F -H -A -o ko_KR -S
674 %{baseinstdir}/share/registry/korea.xcd
675
676 %langpack -l lt -n Lithuanian -F -H -Y -A -o lt_LT -S
677 %langpack -l mai -n Maithili -F -o mai_IN -S
678 %langpack -l ml -n Malayalam -F -H -Y -o ml_IN -S
679 %langpack -l mr -n Marathi -F -H -Y -o mr_IN -S
680 %langpack -l ms -n Malay -F -H -o ms_MY -S
681 %langpack -l nb -n Bokmal -F -H -Y -M -o nb_NO -S
682 %langpack -l nl -n Dutch -F -H -Y -M -A -O -S
683 %langpack -l nn -n Nynorsk -F -H -Y -M -o nn_NO -S
684 %define langpack_lang Southern Ndebele
685 %langpack -l nr -n %{langpack_lang} -F -H -o nr_ZA -S
686 %define langpack_lang Northern Sotho
687 %langpack -l nso -n %{langpack_lang} -F -H -o nso_ZA -s ns
688 %langpack -l or -n Oriya -F -H -Y -o or_IN -S
689 %langpack -l pa -n Punjabi -F -H -Y -O -s pa-IN
690 %langpack -l pl -n Polish -F -H -Y -M -A -o pl_PL -S
691 %define langpack_lang Brazilian Portuguese
692 %langpack -l pt-BR -n %{langpack_lang} -f pt -h pt -y pt -m pt -a pt -o pt_BR -S
693 %langpack -l pt-PT -n Portuguese -f pt -h pt -y pt -m pt -a pt -o pt_PT -s pt
694 %langpack -l ro -n Romanian -F -H -Y -M -O -S
695 %langpack -l ru -n Russian -F -H -Y -M -A -O -S
696 %langpack -l si -n Sinhalese -F -H -O -S
697 %langpack -l sk -n Slovak -F -H -Y -M -A -o sk_SK -S
698 %langpack -l sl -n Slovenian -F -H -Y -M -A -o sl_SI -S
699 %langpack -l sr -n Serbian -F -H -Y -A -O -S
700 %langpack -l ss -n Swati -F -H -o ss_ZA -S
701 %define langpack_lang Southern Sotho
702 %langpack -l st -n %{langpack_lang} -F -H -o st_ZA -S
703 %langpack -l sv -n Swedish -F -H -Y -M -A -O -S
704 %langpack -l ta -n Tamil -F -H -Y -o ta_IN -S
705 %langpack -l te -n Telugu -F -H -Y -o te_IN -S
706 %langpack -l th -n Thai -F -H -o th_TH -S
707 %langpack -l tn -n Tswana -F -H -o tn_ZA -S
708 %langpack -l tr -n Turkish -F -A -o tr_TR -S
709 %langpack -l ts -n Tsonga -F -H -o ts_ZA -S
710 %langpack -l uk -n Ukrainian -F -H -Y -M -O -S
711 %langpack -l ur -n Urdu -F -H -O -S
712 %langpack -l ve -n Venda -F -H -o ve_ZA -S
713 %langpack -l xh -n Xhosa -F -H -o xh_ZA -S
714 %define langpack_lang Simplified Chinese
715 %langpack -l zh-Hans -n %{langpack_lang} -f zh-cn -a zh -o zh_CN -s zh-CN
716 %define langpack_lang Traditional Chinese
717 %langpack -l zh-Hant -n %{langpack_lang} -f zh-tw -a zh -o zh_TW -s zh-TW
718 %langpack -l zu -n Zulu -F -H -Y -o zu_ZA -S
719 %undefine langpack_lang
720
721 %endif
722
723 %autocorr -l en -n English
724
725 %if %{langpacks}
726
727 %autocorr -l af -n Afrikaans
728 %autocorr -l bg -n Bulgarian
729 %autocorr -l cs -n Czech
730 %autocorr -l da -n Danish
731 %autocorr -l de -n German
732 %autocorr -l es -n Spanish
733 %autocorr -l eu -n Basque -X
734 %{_datadir}/autocorr/acor_eu.dat
735
736 %autocorr -l fa -n Farsi
737 %autocorr -l fi -n Finnish
738 %autocorr -l fr -n French
739 %autocorr -l ga -n Irish
740 %autocorr -l hr -n Croatian
741 %autocorr -l hu -n Hungarian
742 %autocorr -l it -n Italian
743 %autocorr -l ja -n Japanese
744 %autocorr -l ko -n Korean
745 %autocorr -l lb -n Luxembourgish
746 %autocorr -l lt -n Lithuanian
747 %autocorr -l mn -n Mongolian
748 %autocorr -l nl -n Dutch
749 %autocorr -l pl -n Polish
750 %autocorr -l pt -n Portuguese
751 %autocorr -l ru -n Russian
752 %autocorr -l sk -n Slovak
753 %autocorr -l sl -n Slovenian
754 %autocorr -l sr -n Serbian
755 %{_datadir}/autocorr/acor_sh-*
756
757 %autocorr -l sv -n Swedish
758 %autocorr -l tr -n Turkish
759 %autocorr -l vi -n Vietnamese
760 %autocorr -l zh -n Chinese
761
762 %endif
763
764 %prep
765 %setup -q -c -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19
766 for a in */*; do mv `pwd`/$a .; done
767 #remove "debugging" translations
768 rm -rf l10n/source/kid
769 #Customize Palette to remove Sun colours and add Red Hat colours
770 #TODO: have and add mageia colours
771 (head -n -1 extras/source/palettes/standard.soc && \
772 echo -e ' <draw:color draw:name="Red Hat 1" draw:color="#cc0000"/>
773 <draw:color draw:name="Red Hat 2" draw:color="#0093d9"/>
774 <draw:color draw:name="Red Hat 3" draw:color="#ff8d00"/>
775 <draw:color draw:name="Red Hat 4" draw:color="#abb400"/>
776 <draw:color draw:name="Red Hat 5" draw:color="#4e376b"/>' && \
777 tail -n 1 extras/source/palettes/standard.soc) > redhat.soc
778 mv -f redhat.soc extras/source/palettes/standard.soc
779 %patch1 -p1 -b .ooo53397.prelinkoptimize.desktop.patch
780 %patch2 -p1
781 %patch3 -p1 -b .ooo86080.unopkg.bodge.patch
782 %patch4 -p1 -b .ooo88341.sc.verticalboxes.patch
783 %patch5 -p0 -b .gccXXXXX.solenv.javaregistration.patch
784 %patch6 -p1 -b .oooXXXXX.solenv.allowmissing.patch
785 #%patch7 -p0 -b .ooo101274.opening-a-directory.patch
786 #%patch8 -p0 -b .ooo102061.sc.cellanchoring.patch
787 %patch9 -p0 -b .ooo105784.vcl.sniffscriptforsubs.patch
788 %patch10 -p0 -b .ooo108637.sfx2.uisavedir.patch
789 %patch11 -p0 -b .ooo113273.desktop.resolvelinks.patch
790 %patch12 -p1 -b .turn-script-providers-into-extensions.patch
791 %patch13 -p1 -b .libreoffice-installfix.patch
792 %patch14 -p1 -b .don-t-bail-out-on-mislength-records.patch
793 %patch15 -p1 -b .libreoffice-bootstrap-kde.patch
794 %patch16 -p1 -b .free-ctxt-after-taking-lastError-details.patch
795 %patch17 -p1 -b .Cursor-on-post-it-now-scrolls-.patch
796 %patch18 -p1 -b .fdo31271.icu.patch
797 #%patch19 -p1 -b .libreoffice-gcc4.6.0.patch
798 %patch20 -p1 -b .fexceptions-fexceptions.patch
799 %patch21 -p1 -b .rhbz672872-cancel-gtk-file-dialog-on-deskto.patch
800 %patch22 -p0 -b .vbahelper.visibility.patch
801 %patch23 -p1 -b .fdo33509-i62414-out-by-one-breaks-CTL-spel.patch
802 %patch24 -p1 -b .rhbz670020-crash-in-slidesorting.patch
803 %patch25 -p1 -b .rhbz676539-handle-missing-pWindows-from-xW.patch
804 %patch26 -p1 -b .fdo33750-i94623-use-optimal-border-width-w.patch
805 #%patch27 -p1 -b .rhbz649310-don-t-crash-deregistering-diff.-platform.patch
806 %patch28 -p1 -b .rhbz674330-dereference-of-NULL-mpBase.patch
807 %patch29 -p1 -b .rhbz678284-Get-correct-current-position-when-shift-page-up-and-.patc
808
809 %patch100 -p0
810 touch scripting/source/pyprov/delzip
811 touch scripting/util/provider/beanshell/delzip
812 touch scripting/util/provider/javascript/delzip
813
814 %build
815 echo build start time is `date`, diskspace: `df -h . | tail -n 1`
816 #don't build localized helps which are poorly translated
817 POORHELPS=`find l10n/source -name localize.sdf -exec grep 'helpcontent2.*main.*Working With %PRODUCTNAME' {} \; | cut -f 10 | grep -v en-US | xargs`
818 #convert _smp_mflags to dmake equivalent
819 SMP_MFLAGS=%{?_smp_mflags}
820 SMP_MFLAGS=$[${SMP_MFLAGS/-j/}]
821 if [ $SMP_MFLAGS -lt 2 ]; then SMP_MFLAGS=2; fi
822 NDMAKES=`dc -e "$SMP_MFLAGS v p"`
823 NBUILDS=`dc -e "$SMP_MFLAGS $NDMAKES / p"`
824
825 NDMAKES=1
826 NBUILDS=1
827
828 # KDE bits
829 export QT4DIR=%{qt4dir}
830 export KDE4DIR=%{_kde_prefix}
831 export PATH=$QT4DIR/bin:$PATH
832
833 autoconf
834 %configure \
835 --with-vendor="Mageia.org" --with-num-cpus=$NBUILDS --with-max-jobs=$NDMAKES \
836 --with-build-version="Ver: %{version}-%{release}" --with-unix-wrapper=%{name} \
837 --disable-ldap --disable-epm --disable-mathmldtd \
838 --disable-Xaw --disable-gnome-vfs --enable-gio --enable-symbols \
839 --enable-lockdown --enable-evolution2 --enable-cairo --enable-dbus \
840 --enable-opengl --enable-vba --enable-minimizer --enable-presenter-console \
841 --enable-pdfimport --enable-wiki-publisher --enable-report-builder \
842 --with-system-jfreereport --with-vba-package-format="builtin" \
843 --with-system-libs --with-system-headers --with-system-mozilla \
844 --with-system-mythes --with-system-dicts --with-system-apache-commons \
845 --with-system-libtextcat --with-system-libtextcat-data --without-system-saxon \
846 --with-external-dict-dir=/usr/share/myspell --without-myspell-dicts \
847 --without-fonts --without-agg --without-ppds --without-afms %{stlflags} \
848 --with-lang="%{langpack_langs}" --with-poor-help-localizations="$POORHELPS" \
849 --with-external-tar=`pwd`/ext_sources --with-java-target-version=1.5 \
850 --enable-kde4 --without-system-mdds --without-system-hsqldb --with-ant-home=%{_datadir}/ant/
851
852 mkdir -p ext_sources
853 cp %{SOURCE20} ext_sources/185d60944ea767075d27247c3162b3bc-unowinreg.dll
854 cp %{SOURCE23} ext_sources
855 cp %{SOURCE24} ext_sources
856 cp %{SOURCE25} ext_sources
857 cp %{SOURCE26} ext_sources
858 cp %{SOURCE27} ext_sources
859 cp %{SOURCE28} ext_sources
860 cp %{SOURCE29} ext_sources
861 cp %{SOURCE30} ext_sources
862 cp %{SOURCE31} ext_sources
863
864 #use the RPM_OPT_FLAGS but remove the OOo overridden ones
865 for i in $RPM_OPT_FLAGS; do
866 case "$i" in
867 -O?|-pipe|-Wall|-g|-fexceptions) continue;;
868 esac
869 ARCH_FLAGS="$ARCH_FLAGS $i"
870 done
871 export ARCH_FLAGS
872
873 . ./*[Ee]nv.[Ss]et.sh
874 ./bootstrap
875
876 #HANGING JAVA HACK
877 cat << \EOF > solenv/bin/java
878 #!/bin/sh
879 status=1
880 count=1
881 while [ $status -ne 0 -a $count -lt 10 ]
882 do
883 timeout -k 5m 5m $REALJAVA $*
884 status=$?
885 if [ $status -ne 0 ]; then
886 echo $REALJAVA hung, trying again, attempt $count
887 fi
888 count=$[count+1]
889 done
890 exit $status
891 EOF
892 chmod +x solenv/bin/java
893 export REALJAVA=`which java`
894 export PATH=solenv/bin:$PATH
895 which java
896 #HANGING JAVA HACK
897
898 cd instsetoo_native
899 if ! VERBOSE=true build --dlv_switch -link -P$NBUILDS --all -- -P$NDMAKES -s; then
900 build --dlv_switch -link --all
901 fi
902
903 #generate the icons and mime type stuff
904 export DESTDIR=../../../output
905 export KDEMAINDIR=/usr
906 export GNOMEDIR=/usr
907 export GNOME_MIME_THEME=hicolor
908 cd ../sysui
909 cd unxlng*/misc/libreoffice
910 ./create_tree.sh
911
912 echo build end time is `date`, diskspace: `df -h . | tail -n 1`
913
914
915 %define install_bundled_extension(n:) \
916 %define extname %{-n:%{-n*}}%{!-n:%{error:No extension name given}} \
917 %define extdir $RPM_BUILD_ROOT/%{baseinstdir}/share/extensions \
918 %define solverbindir $SOLARVER/$INPATH/bin \
919 install -d -m 755 %{extdir}/%{extname} \
920 unzip -d %{extdir}/%{extname} %{solverbindir}/%{extname}.oxt
921
922
923 %install
924 rm -rf $RPM_BUILD_ROOT
925 source ./Linux*Env.Set.sh
926 #figure out the icon version
927 export `grep "^PRODUCTVERSIONSHORT =" solenv/inc/productversion.mk | sed -e "s/ //g"`
928 export `grep "PRODUCTVERSION[ ]*=[ ]*" solenv/inc/productversion.mk | sed -e "s/ //g"`
929 #install
930 cd instsetoo_native/util
931 #direct install
932 mkdir -p $RPM_BUILD_ROOT/%{instdir}
933 export PKGFORMAT=installed
934 #don't duplicate english helpcontent about the place
935 unset DEFAULT_TO_ENGLISH_FOR_PACKING
936 if dmake openoffice_en-US; then
937 ok=true
938 break
939 else
940 echo - ---dump log start---
941 cat ../unx*.pro/LibreOffice/installed/logging/en-US/log_*_en-US.log
942 echo - ---dump log end---
943 ok=false
944 fi
945 if [ $ok == "false" ]; then
946 exit 1
947 fi
948 mkdir -p $RPM_BUILD_ROOT/%{baseinstdir}
949 mv ../unxlng*.pro/LibreOffice/installed/install/en-US/* $RPM_BUILD_ROOT/%{baseinstdir}
950 chmod -R +w $RPM_BUILD_ROOT/%{baseinstdir}
951 %if %{langpacks}
952 dmake ooolanguagepack
953 rm -rf ../unxlng*.pro/LibreOffice_languagepack/installed/install/log
954 for langpack in ../unxlng*.pro/LibreOffice_languagepack/installed/install/*; do
955 cp -rp $langpack/* $RPM_BUILD_ROOT/%{baseinstdir}
956 rm -rf $langpack
957 done
958 %endif
959 for file in swriter scalc simpress sdraw ; do
960 cp -f ../../desktop/$OUTPATH.pro/bin/$file $RPM_BUILD_ROOT/%{baseinstdir}/program/$file.bin
961 done
962 rm -rf $RPM_BUILD_ROOT/%{baseinstdir}/share/prereg
963 #give a consistent javasettingsunopkginstall.xml
964 $RPM_BUILD_ROOT/%{baseinstdir}/program/unopkg list --bundled || :
965 export WITH_LANG="en-US"
966 dmake sdkoo
967 mv ../unxlng*.pro/LibreOffice_SDK/installed/install/en-US/*/sdk $RPM_BUILD_ROOT/%{sdkinstdir}
968 cd ../../
969
970 # unpack report-builder extension
971 install -d -m 755 $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/report-builder
972 unzip solver/%{OFFICEUPD}/unxlng*/bin/report-builder.oxt -d $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/report-builder
973
974 # unpack wiki-publisher extension
975 install -d -m 755 $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/wiki-publisher
976 unzip solver/%{OFFICEUPD}/unxlng*/bin/swext/wiki-publisher.oxt -d $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/wiki-publisher
977
978 # unpack presentation-minimizer extension
979 install -d -m 755 $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/presentation-minimizer
980 unzip solver/%{OFFICEUPD}/unxlng*/bin/minimizer/presentation-minimizer.oxt -d $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/presentation-minimizer
981 chmod -x $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/presentation-minimizer/help/component.txt
982
983 # unpack presenter screen extension
984 install -d -m 755 $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/presenter-screen
985 unzip solver/%{OFFICEUPD}/unxlng*/bin/presenter/presenter-screen.oxt -d $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/presenter-screen
986 chmod -x $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/presenter-screen/help/component.txt
987
988 # unpack pdfimport extension
989 install -d -m 755 $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/pdfimport
990 unzip solver/%{OFFICEUPD}/unxlng*/bin/pdfimport/pdfimport.oxt -d $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/pdfimport
991 chmod -x $RPM_BUILD_ROOT%{baseinstdir}/share/extensions/pdfimport/help/component.txt
992
993 # install script providers
994 %install_bundled_extension -n script-provider-for-beanshell
995 %install_bundled_extension -n script-provider-for-javascript
996 %install_bundled_extension -n script-provider-for-python
997
998 #configure sdk
999 pushd $RPM_BUILD_ROOT/%{sdkinstdir}
1000 for file in setsdkenv_unix.csh setsdkenv_unix.sh ; do
1001 sed -e "s,@OO_SDK_NAME@,sdk," \
1002 -e "s,@OO_SDK_HOME@,%{sdkinstdir}," \
1003 -e "s,@OFFICE_HOME@,%{baseinstdir}," \
1004 -e "s,@OFFICE_BASE_HOME@,%{basisinstdir}," \
1005 -e "s,@OO_SDK_URE_HOME@,%{ureinstdir}," \
1006 -e "s,@OO_SDK_MAKE_HOME@,/usr/bin," \
1007 -e "s,@OO_SDK_ZIP_HOME@,/usr/bin," \
1008 -e "s,@OO_SDK_CPP_HOME@,/usr/bin," \
1009 -e "s,@OO_SDK_CC_55_OR_HIGHER@,," \
1010 -e "s,@OO_SDK_JAVA_HOME@,$JAVA_HOME," \
1011 -e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \
1012 -e "s,@SDK_AUTO_DEPLOYMENT@,NO," \
1013 $file.in > $file
1014 chmod 755 $file
1015 done
1016 #fix permissions
1017 find examples -type f -exec chmod -x {} \;
1018 popd
1019
1020 chmod -x $RPM_BUILD_ROOT/%{basisinstdir}/program/testtoolrc
1021 chmod -x $RPM_BUILD_ROOT/%{basisinstdir}/program/hid.lst
1022
1023 #remove spurious exec bits
1024 chmod -x $RPM_BUILD_ROOT/%{basisinstdir}/program/gengalrc
1025
1026 #ensure a template dir for each lang
1027 pushd $RPM_BUILD_ROOT/%{basisinstdir}/share/template
1028 for I in %{langpack_langs}; do
1029 mkdir -p $I
1030 done
1031 popd
1032
1033 #Set some aliases to canonical autocorrect language files for locales with matching languages
1034 pushd $RPM_BUILD_ROOT/%{basisinstdir}/share/autocorr
1035
1036 en_GB_aliases="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"
1037 for lang in $en_GB_aliases; do
1038 ln -sf acor_en-GB.dat acor_$lang.dat
1039 done
1040 en_US_aliases="en-PH"
1041 for lang in $en_US_aliases; do
1042 ln -sf acor_en-US.dat acor_$lang.dat
1043 done
1044 #en-ZA exists and has a good autocorrect file with two or three extras that make sense for
1045 #neighbouring english speaking territories
1046 en_ZA_aliases="en-NA en-ZW"
1047 for lang in $en_ZA_aliases; do
1048 ln -sf acor_en-ZA.dat acor_$lang.dat
1049 done
1050 %if %{langpacks}
1051 af_ZA_aliases="af-NA"
1052 for lang in $af_ZA_aliases; do
1053 ln -sf acor_af-ZA.dat acor_$lang.dat
1054 done
1055 de_DE_aliases="de-AT de-BE de-CH de-LI de-LU"
1056 for lang in $de_DE_aliases; do
1057 ln -sf acor_de-DE.dat acor_$lang.dat
1058 done
1059 es_ES_aliases="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"
1060 for lang in $es_ES_aliases; do
1061 ln -sf acor_es-ES.dat acor_$lang.dat
1062 done
1063 fr_FR_aliases="fr-BE fr-CA fr-CH fr-LU fr-MC"
1064 for lang in $fr_FR_aliases; do
1065 ln -sf acor_fr-FR.dat acor_$lang.dat
1066 done
1067 it_IT_aliases="it-CH"
1068 for lang in $it_IT_aliases; do
1069 ln -sf acor_it-IT.dat acor_$lang.dat
1070 done
1071 nl_NL_aliases="nl-AW nl-BE"
1072 for lang in $nl_NL_aliases; do
1073 ln -s acor_nl-NL.dat acor_$lang.dat
1074 done
1075 sv_SE_aliases="sv-FI"
1076 for lang in $sv_SE_aliases; do
1077 ln -s acor_sv-SE.dat acor_$lang.dat
1078 done
1079 %else
1080 rm -f acor_[a-df-z]*.dat acor_e[su]*.dat
1081 %endif
1082 popd
1083 #rhbz#484055 make these shared across multiple applications
1084 mkdir -p $RPM_BUILD_ROOT/%{_datadir}
1085 mv -f $RPM_BUILD_ROOT/%{basisinstdir}/share/autocorr $RPM_BUILD_ROOT/%{_datadir}/autocorr
1086 chmod 755 $RPM_BUILD_ROOT/%{_datadir}/autocorr
1087
1088 %if %{langpacks}
1089
1090 #auto generate the langpack file lists, format is...
1091 #langpack id, has help or not, autocorrection glob, script classification
1092 langpackdetails=\
1093 (\
1094 af help western ar help ctl \
1095 bg help western bn help western \
1096 ca help western cs help western \
1097 cy nohelp western da help western \
1098 de help western el help western \
1099 es help western et help western \
1100 eu help western fi help western \
1101 fr help western ga nohelp western \
1102 gl help western gu nohelp ctl \
1103 pa-IN help ctl he nohelp ctl \
1104 hi help ctl hu help western \
1105 hr nohelp western it help western \
1106 ja help cjk ko help cjk \
1107 lt help western ms nohelp western \
1108 nb help western nl help western \
1109 nn help western pl help western \
1110 pt help western pt-BR help western \
1111 ru help western sk help western \
1112 sl help western sr help western \
1113 sv help western ta help ctl \
1114 th help ctlseqcheck tr help western \
1115 zh-CN help cjk zh-TW help cjk \
1116 zu help western tn help western \
1117 ts help western as nohelp western \
1118 mr nohelp western ml nohelp western \
1119 or nohelp ctl te nohelp western \
1120 ur nohelp western kn nohelp western \
1121 xh help western ve help western \
1122 st help western ss help western \
1123 nr help western ns help western \
1124 dz help ctl uk help western \
1125 sh help western mai help western \
1126 ro nohelp western si nohelp ctl \
1127 )
1128
1129 tar xzf %{SOURCE21}
1130
1131 i=0
1132 while [ $i -lt ${#langpackdetails[@]} ]; do
1133 lang=${langpackdetails[$i]}
1134 sed -e "s/LANG/$lang/g" langpacks/libreoffice.langpack-common.template > $lang.filelist
1135 i=$[i+1]
1136 help=${langpackdetails[$i]}
1137 if [ "$help" = "help" ]; then
1138 sed -e "s/LANG/$lang/g" langpacks/libreoffice.langpack-help.template >> $lang.filelist
1139 fi
1140 i=$[i+1]
1141 type=${langpackdetails[$i]}
1142 if [ "$type" = "cjk" ]; then
1143 sed -e "s/LANG/$lang/g" langpacks/libreoffice.langpack-cjk.template >> $lang.filelist
1144 fi
1145 #rh217269 upstream made a decision to sequence check all ctl languages
1146 #I think this is wrong, and only Thai should be sequence checked
1147 if [ "$type" = "ctlseqcheck" ]; then
1148 sed -e "s/LANG/$lang/g" langpacks/libreoffice.langpack-ctl.template >> $lang.filelist
1149 fi
1150 if [ "$type" = "ctl" ]; then
1151 rm -f $RPM_BUILD_ROOT/%{basisinstdir}/share/registry/ctl_$lang.xcd
1152 fi
1153 i=$[i+1]
1154 done
1155
1156 #rhbz#452379 clump serbian translations together
1157 cat sh.filelist >> sr.filelist
1158
1159 %endif
1160
1161 #remove it in case we didn't build with gcj
1162 rm -f $RPM_BUILD_ROOT/%{basisinstdir}/program/classes/sandbox.jar
1163
1164 #remove pagein stuff
1165 rm -f $RPM_BUILD_ROOT/%{basisinstdir}/program/pagein*
1166
1167 #remove dummy .dat files
1168 rm -f $RPM_BUILD_ROOT/%{basisinstdir}/program/root?.dat
1169
1170 #set standard permissions for rpmlint
1171 find $RPM_BUILD_ROOT/%{baseinstdir} -exec chmod +w {} \;
1172 find $RPM_BUILD_ROOT/%{baseinstdir} -type d -exec chmod 0755 {} \;
1173
1174 # move python bits into site-packages
1175 mkdir -p $RPM_BUILD_ROOT/%{python_sitearch}
1176 pushd $RPM_BUILD_ROOT/%{python_sitearch}
1177 echo "import sys, os" > uno.py
1178 echo "sys.path.append('%{basisinstdir}/program')" >> uno.py
1179 echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{baseinstdir}/program/fundamentalrc')" >> uno.py
1180 cat $RPM_BUILD_ROOT/%{basisinstdir}/program/uno.py >> uno.py
1181 rm -f $RPM_BUILD_ROOT/%{basisinstdir}/program/uno.py*
1182 mv -f $RPM_BUILD_ROOT/%{basisinstdir}/program/unohelper.py* .
1183 popd
1184
1185 # rhbz#477435 package opensymbol separately
1186 pushd $RPM_BUILD_ROOT/%{basisinstdir}/share/fonts/truetype
1187 install -d -m 0755 %{buildroot}%{_fontdir}
1188 install -p -m 0644 *.ttf %{buildroot}%{_fontdir}
1189 popd
1190 rm -rf $RPM_BUILD_ROOT/%{basisinstdir}/share/fonts
1191
1192 #ensure that no sneaky un-prelinkable, un-fpic or non executable shared libs
1193 #have snuck through
1194 pic=0
1195 executable=0
1196 for foo in `find $RPM_BUILD_ROOT/%{instdir} -name "*" -exec file {} \;| grep ": ELF" | cut -d: -f 1` ; do
1197 chmod +wx $foo
1198 ls -asl $foo
1199 result=`readelf -d $foo | grep TEXTREL` || true
1200 if [ "$result" != "" ]; then
1201 echo "TEXTREL Warning: $foo is b0rked (-fpic missing)"
1202 pic=1
1203 fi
1204 result=`readelf -l $foo | grep GNU_STACK | grep RWE` || true
1205 if [ "$result" != "" ]; then
1206 echo "GNU_STACK Warning: $foo is b0rked (-noexecstack missing)"
1207 executable=1
1208 fi
1209 done
1210 if [ $pic == 1 ]; then false; fi
1211 if [ $executable == 1 ]; then false; fi
1212
1213 #make up some /usr/bin scripts
1214 mkdir -p $RPM_BUILD_ROOT/%{_bindir}
1215
1216 echo \#\!/bin/sh > $RPM_BUILD_ROOT/%{_bindir}/ooffice
1217 echo exec libreoffice \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/ooffice
1218 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/ooffice
1219
1220 echo \#\!/bin/sh > $RPM_BUILD_ROOT/%{_bindir}/ooviewdoc
1221 echo exec libreoffice -view \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/ooviewdoc
1222 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/ooviewdoc
1223
1224 echo \#\!/bin/sh > $RPM_BUILD_ROOT/%{_bindir}/oowriter
1225 echo exec libreoffice -writer \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/oowriter
1226 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/oowriter
1227
1228 echo \#\!/bin/sh > $RPM_BUILD_ROOT/%{_bindir}/oocalc
1229 echo exec libreoffice -calc \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/oocalc
1230 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/oocalc
1231
1232 echo \#\!/bin/sh > $RPM_BUILD_ROOT/%{_bindir}/ooimpress
1233 echo exec libreoffice -impress \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/ooimpress
1234 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/ooimpress
1235
1236 echo \#\!/bin/sh > $RPM_BUILD_ROOT/%{_bindir}/oodraw
1237 echo exec libreoffice -draw \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/oodraw
1238 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/oodraw
1239
1240 echo \#\!/bin/sh > $RPM_BUILD_ROOT/%{_bindir}/oomath
1241 echo exec libreoffice -math \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/oomath
1242 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/oomath
1243
1244 echo \#\!/bin/sh > $RPM_BUILD_ROOT/%{_bindir}/oobase
1245 echo exec libreoffice -base \"\$@\" >> $RPM_BUILD_ROOT/%{_bindir}/oobase
1246 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/oobase
1247
1248 cp -f %{SOURCE22} $RPM_BUILD_ROOT/%{_bindir}/unopkg
1249 sed -i -e "s/LAUNCHER/unopkg/g" $RPM_BUILD_ROOT/%{_bindir}/unopkg
1250 sed -i -e "s/BRAND/libreoffice/g" $RPM_BUILD_ROOT/%{_bindir}/unopkg
1251 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/unopkg
1252
1253 cp -f %{SOURCE22} $RPM_BUILD_ROOT/%{_bindir}/libreoffice
1254 sed -i -e "s/LAUNCHER/soffice/g" $RPM_BUILD_ROOT/%{_bindir}/libreoffice
1255 sed -i -e "s/BRAND/libreoffice/g" $RPM_BUILD_ROOT/%{_bindir}/libreoffice
1256 chmod a+x $RPM_BUILD_ROOT/%{_bindir}/libreoffice
1257
1258 pushd $RPM_BUILD_ROOT/%{_bindir}
1259 # rhbz#499474 provide a /usr/bin/soffice for .recently-used.xbel
1260 ln -s %{baseinstdir}/program/soffice soffice
1261 # rhbz#499474 provide a /usr/bin/openoffice.org for backwards compat
1262 ln -s %{baseinstdir}/program/libreoffice openoffice.org
1263 popd
1264
1265 pushd $RPM_BUILD_ROOT/%{baseinstdir}/share/xdg/
1266 chmod u+w *.desktop
1267 rm -rf printeradmin.desktop
1268 for file in *.desktop; do
1269 # rhbz#156677 remove the version from Name=
1270 sed -i -e "s/$PRODUCTVERSION //g" $file
1271 # rhbz#156067 don't version the icons
1272 sed -i -e "s/$PRODUCTVERSIONSHORT//g" $file
1273 # add X-GIO-NoFuse so we get url:// instead of file://~.gvfs/
1274 echo X-GIO-NoFuse=true >> $file
1275 done
1276 echo "StartupNotify=true" >> base.desktop
1277 echo "StartupNotify=true" >> calc.desktop
1278 echo "StartupNotify=true" >> impress.desktop
1279 echo "StartupNotify=true" >> writer.desktop
1280 echo "StartupNotify=true" >> math.desktop
1281 echo "StartupNotify=true" >> draw.desktop
1282 echo "TryExec=oobase" >> base.desktop
1283 echo "TryExec=oocalc" >> calc.desktop
1284 echo "TryExec=ooimpress" >> impress.desktop
1285 echo "TryExec=oowriter" >> writer.desktop
1286 echo "TryExec=oomath" >> math.desktop
1287 echo "TryExec=oodraw" >> draw.desktop
1288 # rhbz#156677# / rhbz#186515#
1289 echo "NoDisplay=true" >> math.desktop
1290 echo "NoDisplay=true" >> startcenter.desktop
1291 # rhbz#491159 temporarily remove NoDisplay=true from qstart.desktop
1292 sed -i -e "/NoDisplay=true/d" qstart.desktop
1293 # relocate the .desktop and icon files
1294 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
1295 cp -p base.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/libreoffice-base.desktop
1296 cp -p calc.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/libreoffice-calc.desktop
1297 cp -p impress.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/libreoffice-impress.desktop
1298 cp -p writer.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/libreoffice-writer.desktop
1299 cp -p math.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/libreoffice-math.desktop
1300 cp -p draw.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/libreoffice-draw.desktop
1301 cp -p javafilter.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/libreoffice-javafilter.desktop
1302 cp -p startcenter.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/libreoffice-startcenter.desktop
1303 for desktop in *.desktop; do
1304 desktop-file-validate $desktop
1305 done
1306 popd
1307
1308 pushd sysui/output/usr/share/
1309 #get rid of the gnome icons and other unneeded files
1310 rm -rf icons/gnome applications application-registry
1311 # rhbz#156067 don't version the icons
1312 find . -name "*.desktop" -exec sed -i -e s/$PRODUCTVERSIONSHORT//g {} \;
1313 find . -name "*libreoffice$PRODUCTVERSIONSHORT*" -print \
1314 | while read path; do
1315 mv $path `echo $path | sed s/libreoffice$PRODUCTVERSIONSHORT/libreoffice/`
1316 done
1317 find . -type l -print \
1318 | while read path; do
1319 target=`readlink $path`
1320 new_target=`echo $target | sed -e s/$PRODUCTVERSIONSHORT//g`
1321 if [ "$target" != "$new_target" ]; then
1322 ln -sf $new_target $path
1323 fi
1324 done
1325
1326 sed -i -e s/libreoffice$PRODUCTVERSIONSHORT/libreoffice/g \
1327 ./mime-info/libreoffice.keys
1328 #relocate the rest of them
1329 cp -r icons $RPM_BUILD_ROOT/%{_datadir}
1330 cp -r mime-info $RPM_BUILD_ROOT/%{_datadir}
1331 #add our mime-types, e.g. for .oxt extensions
1332 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mime/packages
1333 cp -p mime/packages/libreoffice.xml $RPM_BUILD_ROOT/%{_datadir}/mime/packages
1334 popd
1335
1336 rm -rf $RPM_BUILD_ROOT/%{baseinstdir}/readmes
1337 rm -rf $RPM_BUILD_ROOT/%{baseinstdir}/licenses
1338
1339 mkdir -p $RPM_BUILD_ROOT/%{basisinstdir}/share/psprint/driver
1340 cp -r psprint_config/configuration/ppds/SGENPRT.PS $RPM_BUILD_ROOT/%{basisinstdir}/share/psprint/driver/SGENPRT.PS
1341
1342 # rhbz#452385 to auto have postgres in classpath if subsequently installed
1343 # rhbz#465664 to get lucene working for functional help
1344 sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/lucene.jar file:///usr/share/java/lucene-contrib/lucene-analyzers.jar file:///usr/share/java/postgresql-jdbc.jar#" $RPM_BUILD_ROOT/%{basisinstdir}/program/fundamentalbasisrc
1345
1346 %check
1347 source ./Linux*Env.Set.sh
1348 cd test
1349 build && deliver -link
1350 cd ../smoketestoo_native
1351 #JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1" works around flawed accessibility check
1352 #SAL_USE_VCLPLUGIN="svp" uses the headless plugin for these tests
1353 JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1" SAL_USE_VCLPLUGIN="svp" timeout -k 2m 2h build.pl
1354
1355 %clean
1356 rm -rf $RPM_BUILD_ROOT
1357
1358 %files core
1359 %defattr(-,root,root,-)
1360 %dir %{basisinstdir}
1361 %dir %{basisinstdir}/help
1362 %docdir %{basisinstdir}/help/en
1363 %dir %{basisinstdir}/help/en
1364 %{basisinstdir}/help/en/default.css
1365 %{basisinstdir}/help/en/err.html
1366 %{basisinstdir}/help/en/highcontrast1.css
1367 %{basisinstdir}/help/en/highcontrast2.css
1368 %{basisinstdir}/help/en/highcontrastblack.css
1369 %{basisinstdir}/help/en/highcontrastwhite.css
1370 %{basisinstdir}/help/en/sbasic.*
1371 %{basisinstdir}/help/en/schart.*
1372 %{basisinstdir}/help/en/shared.*
1373 %{basisinstdir}/help/idxcaption.xsl
1374 %{basisinstdir}/help/idxcontent.xsl
1375 %{basisinstdir}/help/main_transform.xsl
1376 %{basisinstdir}/presets
1377 %dir %{basisinstdir}/program
1378 %{basisinstdir}/program/addin
1379 %{basisinstdir}/program/basprov%{SOPOST}.uno.so
1380 %{basisinstdir}/program/canvasfactory.uno.so
1381 %{basisinstdir}/program/cde-open-url
1382 %dir %{basisinstdir}/program/classes
1383 %{basisinstdir}/program/classes/agenda.jar
1384 %{basisinstdir}/program/classes/commonwizards.jar
1385 %{basisinstdir}/program/classes/fax.jar
1386 %{basisinstdir}/program/classes/form.jar
1387 %{basisinstdir}/program/classes/query.jar
1388 %{basisinstdir}/program/classes/letter.jar
1389 %{basisinstdir}/program/classes/LuceneHelpWrapper.jar
1390 %{basisinstdir}/program/classes/officebean.jar
1391 %{basisinstdir}/program/classes/report.jar
1392 %{basisinstdir}/program/classes/saxon9.jar
1393 %{basisinstdir}/program/classes/ScriptFramework.jar
1394 %{basisinstdir}/program/classes/ScriptProviderForJava.jar
1395 %{basisinstdir}/program/classes/table.jar
1396 %{basisinstdir}/program/classes/unoil.jar
1397 %{basisinstdir}/program/classes/web.jar
1398 %{basisinstdir}/program/classes/XMergeBridge.jar
1399 %{basisinstdir}/program/classes/xmerge.jar
1400 %{basisinstdir}/program/classes/XSLTFilter.jar
1401 %{basisinstdir}/program/classes/XSLTValidate.jar
1402 %{basisinstdir}/program/cmdmail.uno.so
1403 %{basisinstdir}/program/deployment%{SOPOST}.uno.so
1404 %{basisinstdir}/program/deploymentgui%{SOPOST}.uno.so
1405 %{basisinstdir}/program/dlgprov%{SOPOST}.uno.so
1406 %{basisinstdir}/program/fastsax.uno.so
1407 %{basisinstdir}/program/fpicker.uno.so
1408 %{basisinstdir}/program/fps_gnome.uno.so
1409 %{basisinstdir}/program/fps_office.uno.so
1410 %{basisinstdir}/program/fundamentalbasisrc
1411 %{basisinstdir}/program/gengal*
1412 %{basisinstdir}/program/gnome-open-url
1413 %{basisinstdir}/program/gnome-open-url.bin
1414 %{basisinstdir}/program/hatchwindowfactory.uno.so
1415 %{basisinstdir}/program/i18nsearch.uno.so
1416 %{basisinstdir}/program/legacy_binfilters.rdb
1417 %{basisinstdir}/program/libacc%{SOPOST}.so
1418 %{basisinstdir}/program/libadabas%{SOPOST}.so
1419 %{basisinstdir}/program/libavmedia*.so
1420 %{basisinstdir}/program/libbasctl%{SOPOST}.so
1421 %{basisinstdir}/program/libbf_sb%{SOPOST}.so
1422 %{basisinstdir}/program/libbf_frm%{SOPOST}.so
1423 %{basisinstdir}/program/libbf_go%{SOPOST}.so
1424 %{basisinstdir}/program/libbf_migratefilter%{SOPOST}.so
1425 %{basisinstdir}/program/libbf_ofa%{SOPOST}.so
1426 %{basisinstdir}/program/libbf_sch%{SOPOST}.so
1427 %{basisinstdir}/program/libbf_sd%{SOPOST}.so
1428 %{basisinstdir}/program/libbf_so%{SOPOST}.so
1429 %{basisinstdir}/program/libbf_svt%{SOPOST}.so
1430 %{basisinstdir}/program/libbf_svx%{SOPOST}.so
1431 %{basisinstdir}/program/libbf_wrapper%{SOPOST}.so
1432 %{basisinstdir}/program/libbf_xo%{SOPOST}.so
1433 %{basisinstdir}/program/libbib%{SOPOST}.so
1434 %{basisinstdir}/program/libbindet%{SOPOST}.so
1435 %{basisinstdir}/program/libcached1.so
1436 %{basisinstdir}/program/libcanvastools%{SOPOST}.so
1437 %{basisinstdir}/program/libchart*%{SOPOST}.so
1438 %{basisinstdir}/program/libcollator_data.so
1439 %{basisinstdir}/program/libcppcanvas%{SOPOST}.so
1440 %{basisinstdir}/program/libctl%{SOPOST}.so
1441 %{basisinstdir}/program/libcui%{SOPOST}.so
1442 %{basisinstdir}/program/libdba%{SOPOST}.so
1443 %{basisinstdir}/program/libdbacfg%{SOPOST}.so
1444 %{basisinstdir}/program/libdbase%{SOPOST}.so
1445 %{basisinstdir}/program/libdbaxml%{SOPOST}.so
1446 %{basisinstdir}/program/libdbmm%{SOPOST}.so
1447 %{basisinstdir}/program/libdbpool2.so
1448 %{basisinstdir}/program/libdbtools%{SOPOST}.so
1449 %{basisinstdir}/program/libdbu%{SOPOST}.so
1450 %{basisinstdir}/program/libdeploymentmisc%{SOPOST}.so
1451 %{basisinstdir}/program/libdesktop_detector%{SOPOST}.so
1452 %{basisinstdir}/program/libdict_ja.so
1453 %{basisinstdir}/program/libdict_zh.so
1454 %{basisinstdir}/program/libdrawinglayer%{SOPOST}.so
1455 %{basisinstdir}/program/libediteng%{SOPOST}.so
1456 %{basisinstdir}/program/libeggtray%{SOPOST}.so
1457 %{basisinstdir}/program/libembobj.so
1458 %{basisinstdir}/program/libemboleobj.so
1459 %{basisinstdir}/program/libevoab*.so
1460 %{basisinstdir}/program/libevtatt.so
1461 %{basisinstdir}/program/libegi%{SOPOST}.so
1462 %{basisinstdir}/program/libeme%{SOPOST}.so
1463 %{basisinstdir}/program/libepb%{SOPOST}.so
1464 %{basisinstdir}/program/libepg%{SOPOST}.so
1465 %{basisinstdir}/program/libepp%{SOPOST}.so
1466 %{basisinstdir}/program/libeps%{SOPOST}.so
1467 %{basisinstdir}/program/libept%{SOPOST}.so
1468 %{basisinstdir}/program/libera%{SOPOST}.so
1469 %{basisinstdir}/program/libeti%{SOPOST}.so
1470 %{basisinstdir}/program/libexp%{SOPOST}.so
1471 %{basisinstdir}/program/libicd%{SOPOST}.so
1472 %{basisinstdir}/program/libicg%{SOPOST}.so
1473 %{basisinstdir}/program/libidx%{SOPOST}.so
1474 %{basisinstdir}/program/libime%{SOPOST}.so
1475 %{basisinstdir}/program/libindex_data.so
1476 %{basisinstdir}/program/libipb%{SOPOST}.so
1477 %{basisinstdir}/program/libipd%{SOPOST}.so
1478 %{basisinstdir}/program/libips%{SOPOST}.so
1479 %{basisinstdir}/program/libipt%{SOPOST}.so
1480 %{basisinstdir}/program/libipx%{SOPOST}.so
1481 %{basisinstdir}/program/libira%{SOPOST}.so
1482 %{basisinstdir}/program/libitg%{SOPOST}.so
1483 %{basisinstdir}/program/libiti%{SOPOST}.so
1484 %{basisinstdir}/program/libofficebean.so
1485 %{basisinstdir}/program/liboooimprovecore%{SOPOST}.so
1486 %{basisinstdir}/program/libfile%{SOPOST}.so
1487 %{basisinstdir}/program/libfilterconfig1.so
1488 %{basisinstdir}/program/libflat%{SOPOST}.so
1489 %{basisinstdir}/program/libfrm%{SOPOST}.so
1490 %{basisinstdir}/program/libguesslang%{SOPOST}.so
1491 %{basisinstdir}/program/libhelplinker%{SOPOST}.so
1492 %{basisinstdir}/program/libhyphen%{SOPOST}.so
1493 %{basisinstdir}/program/libi18nregexpgcc3.so
1494 %{basisinstdir}/program/libjdbc%{SOPOST}.so
1495 %{basisinstdir}/program/liblegacy_binfilters%{SOPOST}.so
1496 %{basisinstdir}/program/liblng%{SOPOST}.so
1497 %{basisinstdir}/program/liblog%{SOPOST}.so
1498 %{basisinstdir}/program/liblocaledata_en.so
1499 %{basisinstdir}/program/liblocaledata_es.so
1500 %{basisinstdir}/program/liblocaledata_euro.so
1501 %{basisinstdir}/program/liblocaledata_others.so
1502 %{basisinstdir}/program/libmcnttype.so
1503 %{basisinstdir}/program/libmozbootstrap.so
1504 %{basisinstdir}/program/libmsfilter%{SOPOST}.so
1505 %{basisinstdir}/program/libmsforms%{SOPOST}.uno.so
1506 %{basisinstdir}/program/libmtfrenderer.uno.so
1507 %{basisinstdir}/program/libmysql%{SOPOST}.so
1508 %{basisinstdir}/program/libodbc%{SOPOST}.so
1509 %{basisinstdir}/program/libodbcbase%{SOPOST}.so
1510 %{basisinstdir}/program/liboffacc%{SOPOST}.so
1511 %{basisinstdir}/program/liboox%{SOPOST}.so
1512 %{basisinstdir}/program/libpcr%{SOPOST}.so
1513 %{basisinstdir}/program/libpdffilter%{SOPOST}.so
1514 %{basisinstdir}/program/libpl%{SOPOST}.so
1515 %{basisinstdir}/program/libpreload%{SOPOST}.so
1516 %{basisinstdir}/program/libprotocolhandler%{SOPOST}.so
1517 %{basisinstdir}/program/libqstart_gtk%{SOPOST}.so
1518 %{basisinstdir}/program/librecentfile.so
1519 %{basisinstdir}/program/libres%{SOPOST}.so
1520 %{basisinstdir}/program/libsax%{SOPOST}.so
1521 %{basisinstdir}/program/libscn%{SOPOST}.so
1522 %{basisinstdir}/program/libscriptframe.so
1523 %{basisinstdir}/program/libsd%{SOPOST}.so
1524 %{basisinstdir}/program/libsdfilt%{SOPOST}.so
1525 %{basisinstdir}/program/libsdbc2.so
1526 %{basisinstdir}/program/libsdbt%{SOPOST}so
1527 %{basisinstdir}/program/libsdd%{SOPOST}.so
1528 %{basisinstdir}/program/libsdui%{SOPOST}.so
1529 %{basisinstdir}/program/libspa%{SOPOST}.so
1530 %{basisinstdir}/program/libspell%{SOPOST}.so
1531 %{basisinstdir}/program/libsrtrs1.so
1532 %{basisinstdir}/program/libsts%{SOPOST}.so
1533 %{basisinstdir}/program/libsvx%{SOPOST}.so
1534 %{basisinstdir}/program/libsvxcore%{SOPOST}.so
1535 %{basisinstdir}/program/libsw%{SOPOST}.so
1536 %{basisinstdir}/program/libtextconv_dict.so
1537 %{basisinstdir}/program/libtextconversiondlgs%{SOPOST}.so
1538 %{basisinstdir}/program/libtvhlp1.so
1539 %{basisinstdir}/program/libucbhelper4gcc3.so
1540 %{basisinstdir}/program/libucpchelp1.so
1541 %{basisinstdir}/program/libucpdav1.so
1542 %{basisinstdir}/program/libucpftp1.so
1543 %{basisinstdir}/program/libucphier1.so
1544 %{basisinstdir}/program/libucppkg1.so
1545 %{basisinstdir}/program/libunordf%{SOPOST}.so
1546 %{basisinstdir}/program/libunopkgapp.so
1547 %{basisinstdir}/program/libunoxml%{SOPOST}.so
1548 %{basisinstdir}/program/libupdchk%{SOPOST}.so
1549 %{basisinstdir}/program/libuui%{SOPOST}.so
1550 %{basisinstdir}/program/libvbahelper%{SOPOST}.so
1551 %{basisinstdir}/program/libvclplug_gen%{SOPOST}.so
1552 %{basisinstdir}/program/libvclplug_gtk%{SOPOST}.so
1553 %{basisinstdir}/program/libwpgimport%{SOPOST}.so
1554 %{basisinstdir}/program/libxmlfa%{SOPOST}.so
1555 %{basisinstdir}/program/libxmlfd%{SOPOST}.so
1556 %{basisinstdir}/program/libxmx%{SOPOST}.so
1557 %{basisinstdir}/program/libxof%{SOPOST}.so
1558 %{basisinstdir}/program/libxsec_fw.so
1559 %{basisinstdir}/program/libxsec_xmlsec.so
1560 %{basisinstdir}/program/libxsltdlg%{SOPOST}.so
1561 %{basisinstdir}/program/libxsltfilter%{SOPOST}.so
1562 %{basisinstdir}/program/libxstor.so
1563 %{basisinstdir}/program/migrationoo2.uno.so
1564 %{basisinstdir}/program/migrationoo3.uno.so
1565 %{basisinstdir}/program/nsplugin
1566 %{basisinstdir}/program/open-url
1567 %{basisinstdir}/program/offapi.rdb
1568 %{basisinstdir}/program/passwordcontainer.uno.so
1569 %{basisinstdir}/program/plugin
1570 %{basisinstdir}/program/pluginapp.bin
1571 %{basisinstdir}/program/productregistration.uno.so
1572 %dir %{basisinstdir}/program/resource
1573 %{basisinstdir}/program/resource/avmediaen-US.res
1574 %{basisinstdir}/program/resource/accen-US.res
1575 %{basisinstdir}/program/resource/basctlen-US.res
1576 %{basisinstdir}/program/resource/bf_frmen-US.res
1577 %{basisinstdir}/program/resource/bf_ofaen-US.res
1578 %{basisinstdir}/program/resource/bf_schen-US.res
1579 %{basisinstdir}/program/resource/bf_sden-US.res
1580 %{basisinstdir}/program/resource/bf_svten-US.res
1581 %{basisinstdir}/program/resource/bf_svxen-US.res
1582 %{basisinstdir}/program/resource/biben-US.res
1583 %{basisinstdir}/program/resource/calen-US.res
1584 %{basisinstdir}/program/resource/chartcontrolleren-US.res
1585 %{basisinstdir}/program/resource/cuien-US.res
1586 %{basisinstdir}/program/resource/dbaen-US.res
1587 %{basisinstdir}/program/resource/dbmmen-US.res
1588 %{basisinstdir}/program/resource/dbuen-US.res
1589 %{basisinstdir}/program/resource/dbwen-US.res
1590 %{basisinstdir}/program/resource/deploymenten-US.res
1591 %{basisinstdir}/program/resource/deploymentguien-US.res
1592 %{basisinstdir}/program/resource/dkten-US.res
1593 %{basisinstdir}/program/resource/editengen-US.res
1594 %{basisinstdir}/program/resource/egien-US.res
1595 %{basisinstdir}/program/resource/emeen-US.res
1596 %{basisinstdir}/program/resource/epben-US.res
1597 %{basisinstdir}/program/resource/epgen-US.res
1598 %{basisinstdir}/program/resource/eppen-US.res
1599 %{basisinstdir}/program/resource/epsen-US.res
1600 %{basisinstdir}/program/resource/epten-US.res
1601 %{basisinstdir}/program/resource/euren-US.res
1602 %{basisinstdir}/program/resource/fps_officeen-US.res
1603 %{basisinstdir}/program/resource/frmen-US.res
1604 %{basisinstdir}/program/resource/fween-US.res
1605 %{basisinstdir}/program/resource/galen-US.res
1606 %{basisinstdir}/program/resource/impen-US.res
1607 %{basisinstdir}/program/resource/ofaen-US.res
1608 %{basisinstdir}/program/resource/pcren-US.res
1609 %{basisinstdir}/program/resource/pdffilteren-US.res
1610 %{basisinstdir}/program/resource/preloaden-US.res
1611 %{basisinstdir}/program/resource/productregistrationen-US.res
1612 %{basisinstdir}/program/resource/sanen-US.res
1613 %{basisinstdir}/program/resource/sben-US.res
1614 %{basisinstdir}/program/resource/sden-US.res
1615 %{basisinstdir}/program/resource/sfxen-US.res
1616 %{basisinstdir}/program/resource/spaen-US.res
1617 %{basisinstdir}/program/resource/sdbten-US.res
1618 %{basisinstdir}/program/resource/svsen-US.res
1619 %{basisinstdir}/program/resource/svten-US.res
1620 %{basisinstdir}/program/resource/svxen-US.res
1621 %{basisinstdir}/program/resource/swen-US.res
1622 %{basisinstdir}/program/resource/textconversiondlgsen-US.res
1623 %{basisinstdir}/program/resource/tken-US.res
1624 %{basisinstdir}/program/resource/tplen-US.res
1625 %{basisinstdir}/program/resource/uuien-US.res
1626 %{basisinstdir}/program/resource/updchken-US.res
1627 %{basisinstdir}/program/resource/upden-US.res
1628 %{basisinstdir}/program/resource/vclen-US.res
1629 %{basisinstdir}/program/resource/wzien-US.res
1630 %{basisinstdir}/program/resource/xmlsecen-US.res
1631 %{basisinstdir}/program/resource/xsltdlgen-US.res
1632 %{basisinstdir}/program/sax.uno.so
1633 %{basisinstdir}/program/senddoc
1634 %{basisinstdir}/program/services.rdb
1635 %{basisinstdir}/program/simplecanvas.uno.so
1636 %{basisinstdir}/program/slideshow.uno.so
1637 %{basisinstdir}/program/libsofficeapp.so
1638 %{basisinstdir}/program/spadmin.bin
1639 %{basisinstdir}/program/stringresource%{SOPOST}.uno.so
1640 %{basisinstdir}/program/syssh.uno.so
1641 %{basisinstdir}/program/ucpexpand1.uno.so
1642 %{basisinstdir}/program/ucpext.uno.so
1643 %{basisinstdir}/program/ucptdoc1.uno.so
1644 %{basisinstdir}/program/unorc
1645 %{basisinstdir}/program/updatefeed.uno.so
1646 %{basisinstdir}/ure-link
1647 %{basisinstdir}/program/uri-encode
1648 %{basisinstdir}/program/vbaevents%{SOPOST}.uno.so
1649 %{basisinstdir}/program/vclcanvas.uno.so
1650 %{basisinstdir}/program/versionrc
1651 %{basisinstdir}/program/cairocanvas.uno.so
1652 %dir %{basisinstdir}/share
1653 %{basisinstdir}/share/fingerprint
1654 %dir %{basisinstdir}/share/Scripts
1655 %{basisinstdir}/share/Scripts/java
1656 %{basisinstdir}/share/autotext
1657 %{basisinstdir}/share/basic
1658 %dir %{basisinstdir}/share/config
1659 %{basisinstdir}/share/config/images.zip
1660 %{basisinstdir}/share/config/images_classic.zip
1661 %{basisinstdir}/share/config/images_crystal.zip
1662 %{basisinstdir}/share/config/images_hicontrast.zip
1663 %{basisinstdir}/share/config/images_oxygen.zip
1664 %{basisinstdir}/share/config/images_tango.zip
1665 %{basisinstdir}/share/config/javasettingsunopkginstall.xml
1666 %{basisinstdir}/share/config/psetup.xpm
1667 %{basisinstdir}/share/config/psetupl.xpm
1668 %dir %{basisinstdir}/share/config/soffice.cfg
1669 %{basisinstdir}/share/config/soffice.cfg/modules
1670 %{basisinstdir}/share/config/symbol
1671 %{basisinstdir}/share/config/webcast
1672 %{basisinstdir}/share/config/wizard
1673 %dir %{basisinstdir}/share/dtd
1674 %{basisinstdir}/share/dtd/officedocument
1675 %{basisinstdir}/share/gallery
1676 %dir %{basisinstdir}/share/psprint
1677 %config %{basisinstdir}/share/psprint/psprint.conf
1678 %{basisinstdir}/share/psprint/driver
1679 %dir %{basisinstdir}/share/registry
1680 %{basisinstdir}/share/registry/binfilter.xcd
1681 %{basisinstdir}/share/registry/gnome.xcd
1682 %{basisinstdir}/share/registry/lingucomponent.xcd
1683 %{basisinstdir}/share/registry/main.xcd
1684 %{basisinstdir}/share/registry/oo-ad-ldap.xcd.sample
1685 %{basisinstdir}/share/registry/oo-ldap.xcd.sample
1686 %{basisinstdir}/share/registry/Langpack-en-US.xcd
1687 %dir %{basisinstdir}/share/registry/res
1688 %{basisinstdir}/share/registry/res/fcfg_langpack_en-US.xcd
1689 %dir %{basisinstdir}/share/samples
1690 %{basisinstdir}/share/samples/en-US
1691 %dir %{basisinstdir}/share/template
1692 %{basisinstdir}/share/template/en-US
1693 %{basisinstdir}/share/template/layout
1694 %{basisinstdir}/share/template/wizard
1695 %dir %{basisinstdir}/share/wordbook
1696 %{basisinstdir}/share/wordbook/en-US
1697 %dir %{basisinstdir}/share/xslt
1698 %{basisinstdir}/share/xslt/common
1699 %dir %{basisinstdir}/share/xslt/export
1700 %{basisinstdir}/share/xslt/export/common
1701 %{basisinstdir}/share/xslt/export/spreadsheetml
1702 %{basisinstdir}/share/xslt/export/wordml
1703 %dir %{basisinstdir}/share/xslt/import
1704 %{basisinstdir}/share/xslt/import/common
1705 %{basisinstdir}/share/xslt/import/spreadsheetml
1706 %{basisinstdir}/share/xslt/import/wordml
1707 %{basisinstdir}/share/xslt/odfflatxml
1708 %{basisinstdir}/program/liblnth%{SOPOST}.so
1709 %{_bindir}/unopkg
1710 #icons and mime
1711 %{_datadir}/icons/*/*/*/gnome*
1712 %{_datadir}/icons/*/*/*/libreoffice*
1713 %{_datadir}/mime-info/libreoffice.*
1714 %{basisinstdir}/program/libxmlsecurity.so
1715 %{_datadir}/mime/packages/libreoffice.xml
1716 %{basisinstdir}/program/configmgr.uno.so
1717 %{basisinstdir}/program/desktopbe1.uno.so
1718 %{basisinstdir}/program/fsstorage.uno.so
1719 %{basisinstdir}/program/gconfbe1.uno.so
1720 %{basisinstdir}/program/i18npool.uno.so
1721 %{basisinstdir}/program/libbasegfx%{SOPOST}.so
1722 %{basisinstdir}/program/libcomphelp4gcc3.so
1723 %{basisinstdir}/program/libfileacc.so
1724 %{basisinstdir}/program/libfwe%{SOPOST}.so
1725 %{basisinstdir}/program/libfwi%{SOPOST}.so
1726 %{basisinstdir}/program/libfwk%{SOPOST}.so
1727 %{basisinstdir}/program/libfwl%{SOPOST}.so
1728 %{basisinstdir}/program/libfwm%{SOPOST}.so
1729 %{basisinstdir}/program/libi18nisolang*.so
1730 %{basisinstdir}/program/libi18npaper*.so
1731 %{basisinstdir}/program/libi18nutilgcc3.so
1732 %{basisinstdir}/program/libpackage2.so
1733 %{basisinstdir}/program/libsb%{SOPOST}.so
1734 %{basisinstdir}/program/libsfx%{SOPOST}.so
1735 %{basisinstdir}/program/libsot%{SOPOST}.so
1736 %{basisinstdir}/program/libspl%{SOPOST}.so
1737 %{basisinstdir}/program/libspl_unx%{SOPOST}.so
1738 %{basisinstdir}/program/libsvl%{SOPOST}.so
1739 %{basisinstdir}/program/libsvt%{SOPOST}.so
1740 %{basisinstdir}/program/libtk%{SOPOST}.so
1741 %{basisinstdir}/program/libtl%{SOPOST}.so
1742 %{basisinstdir}/program/libucb1.so
1743 %{basisinstdir}/program/libucpfile1.so
1744 %{basisinstdir}/program/libutl%{SOPOST}.so
1745 %{basisinstdir}/program/libvcl%{SOPOST}.so
1746 %{basisinstdir}/program/libxcr%{SOPOST}.so
1747 %{basisinstdir}/program/libxo%{SOPOST}.so
1748 %{basisinstdir}/program/localebe1.uno.so
1749 %{basisinstdir}/program/ucpgio1.uno.so
1750 %{basisinstdir}/program/oovbaapi.rdb
1751 #share unopkg
1752 %dir %{baseinstdir}
1753 %{baseinstdir}/basis-link
1754 %dir %{baseinstdir}/share
1755 %dir %{baseinstdir}/share/extensions
1756 %{baseinstdir}/share/extensions/package.txt
1757 %dir %{baseinstdir}/program
1758 %{baseinstdir}/program/unopkg
1759 %{baseinstdir}/program/unopkg.bin
1760 %{baseinstdir}/program/bootstraprc
1761 %{baseinstdir}/program/fundamentalrc
1762 %{baseinstdir}/program/setuprc
1763 %{baseinstdir}/program/versionrc
1764 %doc %{baseinstdir}/CREDITS.odt
1765 %doc %{baseinstdir}/LICENSE
1766 %doc %{baseinstdir}/LICENSE.odt
1767 %doc %{baseinstdir}/THIRDPARTYLICENSEREADME.html
1768 %dir %{baseinstdir}/program
1769 %{baseinstdir}/program/about.*
1770 %{baseinstdir}/program/intro.*
1771 %dir %{baseinstdir}/program/resource
1772 %{baseinstdir}/program/resource/oooen-US.res
1773 %{baseinstdir}/program/soffice
1774 %{baseinstdir}/program/soffice.bin
1775 %{baseinstdir}/program/sofficerc
1776 %{baseinstdir}/program/spadmin
1777 %{baseinstdir}/program/unoinfo
1778 %{baseinstdir}/program/libnpsoplugin.so
1779 %{baseinstdir}/program/oosplash.bin
1780 %{baseinstdir}/program/shell/
1781 %dir %{baseinstdir}/share
1782 %dir %{baseinstdir}/share/config
1783 %{baseinstdir}/share/config/images_brand.zip
1784 %dir %{baseinstdir}/share/registry
1785 %{baseinstdir}/share/registry/brand.xcd
1786 %{baseinstdir}/share/xdg/
1787 %{baseinstdir}/program/redirectrc
1788 %{_datadir}/applications/libreoffice-startcenter.desktop
1789 #launchers
1790 %{_bindir}/libreoffice
1791 %{_bindir}/openoffice.org
1792 %{_bindir}/soffice
1793 %{_bindir}/ooffice
1794 %{_bindir}/ooviewdoc
1795
1796 %post core
1797 update-mime-database %{_datadir}/mime &> /dev/null || :
1798 update-desktop-database %{_datadir}/applications &> /dev/null || :
1799 if [ -x /usr/bin/gtk-update-icon-cache ]; then
1800 for theme in hicolor locolor; do
1801 if test -d "%{_datadir}/icons/$theme"; then
1802 if test -f "%{_datadir}/icons/$theme/index.theme"; then
1803 touch --no-create %{_datadir}/icons/$theme
1804 gtk-update-icon-cache -q %{_datadir}/icons/$theme
1805 fi
1806 fi
1807 done
1808 fi
1809
1810 %postun core
1811 update-mime-database %{_datadir}/mime &> /dev/null || :
1812 update-desktop-database %{_datadir}/applications &> /dev/null || :
1813 if [ -x /usr/bin/gtk-update-icon-cache ]; then
1814 for theme in hicolor locolor; do
1815 if test -d "%{_datadir}/icons/$theme"; then
1816 if test -f "%{_datadir}/icons/$theme/index.theme"; then
1817 touch --no-create %{_datadir}/icons/$theme
1818 gtk-update-icon-cache -q %{_datadir}/icons/$theme
1819 fi
1820 fi
1821 done
1822 fi
1823
1824 %files base
1825 %defattr(-,root,root,-)
1826 %dir %{basisinstdir}
1827 %{basisinstdir}/help/en/sdatabase.*
1828 %dir %{basisinstdir}/program
1829 %dir %{basisinstdir}/program/classes
1830 %{basisinstdir}/program/classes/hsqldb.jar
1831 %{basisinstdir}/program/classes/sdbc_hsqldb.jar
1832 %{basisinstdir}/program/libabp%{SOPOST}.so
1833 %{basisinstdir}/program/libadabasui%{SOPOST}.so
1834 %{basisinstdir}/program/libdbp%{SOPOST}.so
1835 %{basisinstdir}/program/libhsqldb.so
1836 %{basisinstdir}/program/librpt*%{SOPOST}.so
1837 %dir %{basisinstdir}/program/resource
1838 %{basisinstdir}/program/resource/abpen-US.res
1839 %{basisinstdir}/program/resource/adabasuien-US.res
1840 %{basisinstdir}/program/resource/cnren-US.res
1841 %{basisinstdir}/program/resource/dbpen-US.res
1842 %{basisinstdir}/program/resource/rpten-US.res
1843 %{basisinstdir}/program/resource/rptuien-US.res
1844 %{basisinstdir}/program/resource/sdbclen-US.res
1845 %{basisinstdir}/program/resource/sdberren-US.res
1846 %{basisinstdir}/share/registry/base.xcd
1847 %dir %{baseinstdir}
1848 %dir %{baseinstdir}/program
1849 %{baseinstdir}/program/sbase
1850 %{_datadir}/applications/libreoffice-base.desktop
1851 %{_bindir}/oobase
1852
1853 %post base
1854 update-desktop-database %{_datadir}/applications &> /dev/null || :
1855
1856 %postun base
1857 update-desktop-database %{_datadir}/applications &> /dev/null || :
1858
1859 %files report-builder
1860 %defattr(-,root,root,-)
1861 %docdir %{baseinstdir}/share/extensions/report-builder/help
1862 %{baseinstdir}/share/extensions/report-builder
1863
1864 %files bsh
1865 %defattr(-,root,root,-)
1866 %{basisinstdir}/share/Scripts/beanshell
1867 %{baseinstdir}/share/extensions/script-provider-for-beanshell
1868
1869 %files rhino
1870 %defattr(-,root,root,-)
1871 %{basisinstdir}/share/Scripts/javascript
1872 %{baseinstdir}/share/extensions/script-provider-for-javascript
1873
1874 %files wiki-publisher
1875 %defattr(-,root,root,-)
1876 %docdir %{baseinstdir}/share/extensions/wiki-publisher/license
1877 %{baseinstdir}/share/extensions/wiki-publisher
1878
1879 %files ogltrans
1880 %defattr(-,root,root,-)
1881 %dir %{baseinstdir}
1882 %dir %{basisinstdir}/program
1883 %{basisinstdir}/program/OGLTrans.uno.so
1884 %dir %{basisinstdir}/share/config
1885 %dir %{basisinstdir}/share/config/soffice.cfg
1886 %dir %{basisinstdir}/share/config/soffice.cfg/simpress
1887 %{basisinstdir}/share/config/soffice.cfg/simpress/transitions-ogl.xml
1888 %{basisinstdir}/share/registry/ogltrans.xcd
1889
1890 %files presentation-minimizer
1891 %defattr(-,root,root,-)
1892 %docdir %{baseinstdir}/share/extensions/presentation-minimizer/help
1893 %{baseinstdir}/share/extensions/presentation-minimizer
1894
1895 %files presenter-screen
1896 %defattr(-,root,root,-)
1897 %docdir %{baseinstdir}/share/extensions/presenter-screen/help
1898 %{baseinstdir}/share/extensions/presenter-screen
1899
1900 %files pdfimport
1901 %defattr(-,root,root,-)
1902 %docdir %{baseinstdir}/share/extensions/pdfimport/help
1903 %{baseinstdir}/share/extensions/pdfimport
1904
1905 %_font_pkg -n %{fontname} opens___.ttf
1906 %doc solver/%{OFFICEUPD}/unxlng*/bin/ure/LICENSE
1907 %dir %{_fontdir}
1908
1909 %files calc
1910 %defattr(-,root,root,-)
1911 %dir %{basisinstdir}
1912 %{basisinstdir}/help/en/scalc.*
1913 %dir %{basisinstdir}/program
1914 %{basisinstdir}/program/libanalysis%{SOPOST}.so
1915 %{basisinstdir}/program/libbf_sc%{SOPOST}.so
1916 %{basisinstdir}/program/libcalc%{SOPOST}.so
1917 %{basisinstdir}/program/libdate%{SOPOST}.so
1918 %{basisinstdir}/program/libfor%{SOPOST}.so
1919 %{basisinstdir}/program/libforui%{SOPOST}.so
1920 %{basisinstdir}/program/libsc%{SOPOST}.so
1921 %{basisinstdir}/program/libscd%{SOPOST}.so
1922 %{basisinstdir}/program/libscfilt%{SOPOST}.so
1923 %{basisinstdir}/program/libscui%{SOPOST}.so
1924 %{basisinstdir}/program/libsolver%{SOPOST}.so
1925 %dir %{basisinstdir}/program/resource
1926 %{basisinstdir}/program/resource/analysisen-US.res
1927 %{basisinstdir}/program/resource/bf_scen-US.res
1928 %{basisinstdir}/program/resource/dateen-US.res
1929 %{basisinstdir}/program/resource/foren-US.res
1930 %{basisinstdir}/program/resource/foruien-US.res
1931 %{basisinstdir}/program/resource/scen-US.res
1932 %{basisinstdir}/program/resource/solveren-US.res
1933 %{basisinstdir}/program/libvbaobj%{SOPOST}.uno.so
1934 %{basisinstdir}/share/registry/calc.xcd
1935 %dir %{baseinstdir}
1936 %dir %{baseinstdir}/program
1937 %{baseinstdir}/program/scalc
1938 %{baseinstdir}/program/scalc.bin
1939 %{_datadir}/applications/libreoffice-calc.desktop
1940 %{_bindir}/oocalc
1941
1942 %post calc
1943 update-desktop-database %{_datadir}/applications &> /dev/null || :
1944
1945 %postun calc
1946 update-desktop-database %{_datadir}/applications &> /dev/null || :
1947
1948 %files draw
1949 %defattr(-,root,root,-)
1950 %dir %{basisinstdir}
1951 %{basisinstdir}/help/en/sdraw.*
1952 %{basisinstdir}/share/registry/draw.xcd
1953 %dir %{baseinstdir}
1954 %dir %{baseinstdir}/program
1955 %{baseinstdir}/program/sdraw
1956 %{baseinstdir}/program/sdraw.bin
1957 %{_datadir}/applications/libreoffice-draw.desktop
1958 %{_bindir}/oodraw
1959
1960 %post draw
1961 update-desktop-database %{_datadir}/applications &> /dev/null || :
1962
1963 %postun draw
1964 update-desktop-database %{_datadir}/applications &> /dev/null || :
1965
1966 %files emailmerge
1967 %defattr(-,root,root,-)
1968 %dir %{basisinstdir}
1969 %dir %{basisinstdir}/program
1970 %{basisinstdir}/program/mailmerge.py*
1971
1972 %files writer
1973 %defattr(-,root,root,-)
1974 %dir %{basisinstdir}
1975 %{basisinstdir}/help/en/swriter.*
1976 %dir %{basisinstdir}/program
1977 %{basisinstdir}/program/libbf_sw%{SOPOST}.so
1978 %{basisinstdir}/program/libhwp.so
1979 %{basisinstdir}/program/liblwpft%{SOPOST}.so
1980 %{basisinstdir}/program/libmsword%{SOPOST}.so
1981 %{basisinstdir}/program/libmsworks%{SOPOST}.so
1982 %{basisinstdir}/program/libswd%{SOPOST}.so
1983 %{basisinstdir}/program/libswui%{SOPOST}.so
1984 %{basisinstdir}/program/libt602filter%{SOPOST}.so
1985 %{basisinstdir}/program/libwpft%{SOPOST}.so
1986 %{basisinstdir}/program/libwriterfilter%{SOPOST}.so
1987 %{basisinstdir}/program/libvbaswobj%{SOPOST}.uno.so
1988 %dir %{basisinstdir}/program/resource
1989 %{basisinstdir}/program/resource/bf_swen-US.res
1990 %{basisinstdir}/program/resource/t602filteren-US.res
1991 %{basisinstdir}/share/registry/writer.xcd
1992 %dir %{baseinstdir}
1993 %dir %{baseinstdir}/program
1994 %{baseinstdir}/program/swriter
1995 %{baseinstdir}/program/swriter.bin
1996 %{_datadir}/applications/libreoffice-writer.desktop
1997 %{_bindir}/oowriter
1998
1999 %post writer
2000 update-desktop-database %{_datadir}/applications &> /dev/null || :
2001
2002 %postun writer
2003 update-desktop-database %{_datadir}/applications &> /dev/null || :
2004
2005 %files impress
2006 %defattr(-,root,root,-)
2007 %dir %{basisinstdir}
2008 %{basisinstdir}/help/en/simpress.*
2009 %dir %{basisinstdir}/program
2010 %{basisinstdir}/program/libanimcore.so
2011 %{basisinstdir}/program/libplaceware*.so
2012 %dir %{basisinstdir}/share/config
2013 %dir %{basisinstdir}/share/config/soffice.cfg
2014 %dir %{basisinstdir}/share/config/soffice.cfg/simpress
2015 %{basisinstdir}/share/config/soffice.cfg/simpress/effects.xml
2016 %{basisinstdir}/share/config/soffice.cfg/simpress/transitions.xml
2017 %{basisinstdir}/share/registry/impress.xcd
2018 %dir %{baseinstdir}
2019 %dir %{baseinstdir}/program
2020 %{baseinstdir}/program/simpress
2021 %{baseinstdir}/program/simpress.bin
2022 %{_datadir}/applications/libreoffice-impress.desktop
2023 %{_bindir}/ooimpress
2024
2025 %post impress
2026 update-desktop-database %{_datadir}/applications &> /dev/null || :
2027
2028 %postun impress
2029 update-desktop-database %{_datadir}/applications &> /dev/null || :
2030
2031 %files math
2032 %defattr(-,root,root,-)
2033 %dir %{basisinstdir}
2034 %{basisinstdir}/help/en/smath.*
2035 %dir %{basisinstdir}/program
2036 %{basisinstdir}/program/libbf_sm%{SOPOST}.so
2037 %{basisinstdir}/program/libsm%{SOPOST}.so
2038 %{basisinstdir}/program/libsmd%{SOPOST}.so
2039 %dir %{basisinstdir}/program/resource
2040 %{basisinstdir}/program/resource/bf_smen-US.res
2041 %{basisinstdir}/program/resource/smen-US.res
2042 %{basisinstdir}/share/registry/math.xcd
2043 %dir %{baseinstdir}
2044 %dir %{baseinstdir}/program
2045 %{baseinstdir}/program/smath
2046 %{_datadir}/applications/libreoffice-math.desktop
2047 %{_bindir}/oomath
2048
2049 %post math
2050 update-desktop-database %{_datadir}/applications &> /dev/null || :
2051
2052 %postun math
2053 update-desktop-database %{_datadir}/applications &> /dev/null || :
2054
2055 %files graphicfilter
2056 %defattr(-,root,root,-)
2057 %dir %{basisinstdir}
2058 %dir %{basisinstdir}/program
2059 %{basisinstdir}/program/libflash%{SOPOST}.so
2060 %{basisinstdir}/program/libsvgfilter%{SOPOST}.so
2061 %{basisinstdir}/share/registry/graphicfilter.xcd
2062
2063 %files xsltfilter
2064 %defattr(-,root,root,-)
2065 %dir %{basisinstdir}
2066 %dir %{basisinstdir}/share/xslt
2067 %{basisinstdir}/share/xslt/docbook
2068 %dir %{basisinstdir}/share/xslt/export
2069 %{basisinstdir}/share/xslt/export/uof
2070 %{basisinstdir}/share/xslt/export/xhtml
2071 %dir %{basisinstdir}/share/xslt/import
2072 %{basisinstdir}/share/xslt/import/uof
2073 %{basisinstdir}/share/registry/xsltfilter.xcd
2074
2075 %files javafilter
2076 %defattr(-,root,root,-)
2077 %dir %{basisinstdir}
2078 %dir %{basisinstdir}/program
2079 %dir %{basisinstdir}/program/classes
2080 %{basisinstdir}/program/classes/aportisdoc.jar
2081 %{basisinstdir}/program/classes/pexcel.jar
2082 %{basisinstdir}/program/classes/pocketword.jar
2083 %{_datadir}/applications/libreoffice-javafilter.desktop
2084 %{basisinstdir}/share/registry/palm.xcd
2085 %{basisinstdir}/share/registry/pocketexcel.xcd
2086 %{basisinstdir}/share/registry/pocketword.xcd
2087
2088 %files testtools
2089 %defattr(-,root,root,-)
2090 %dir %{basisinstdir}
2091 %dir %{basisinstdir}/program
2092 %{basisinstdir}/program/hid.lst
2093 %{basisinstdir}/program/libcommuni%{SOPOST}.so
2094 %{basisinstdir}/program/libsimplecm%{SOPOST}.so
2095 %{basisinstdir}/program/testtoolrc
2096 %{basisinstdir}/program/testtool.bin
2097 %dir %{basisinstdir}/program/resource
2098 %{basisinstdir}/program/resource/stten-US.res
2099
2100 %files ure
2101 %defattr(-,root,root,-)
2102 %doc solver/%{OFFICEUPD}/unxlng*/bin/ure/LICENSE
2103 %dir %{baseinstdir}
2104 %{ureinstdir}
2105
2106 %files sdk
2107 %defattr(-,root,root,-)
2108 %{sdkinstdir}/
2109 %exclude %{sdkinstdir}/docs/
2110 %exclude %{sdkinstdir}/examples/
2111
2112 %files sdk-doc
2113 %defattr(-,root,root,-)
2114 %docdir %{sdkinstdir}/docs
2115 %{sdkinstdir}/docs/
2116 %{sdkinstdir}/examples/
2117
2118 %files headless
2119 %defattr(-,root,root,-)
2120 %dir %{basisinstdir}
2121 %dir %{basisinstdir}/program
2122 %{basisinstdir}/program/libbasebmp%{SOPOST}.so
2123 %{basisinstdir}/program/libvclplug_svp%{SOPOST}.so
2124
2125 %files pyuno
2126 %defattr(-,root,root,-)
2127 %dir %{basisinstdir}
2128 %dir %{basisinstdir}/program
2129 %{basisinstdir}/program/libpyuno.so
2130 %{basisinstdir}/program/officehelper.py*
2131 %{basisinstdir}/program/pythonloader.py*
2132 %{basisinstdir}/program/pythonloader.uno.so
2133 %{basisinstdir}/program/pythonloader.unorc
2134 %{basisinstdir}/program/pyuno.so
2135 %dir %{basisinstdir}/share/Scripts
2136 %{basisinstdir}/share/Scripts/python
2137 %{python_sitearch}/uno.py*
2138 %{python_sitearch}/unohelper.py*
2139 %{baseinstdir}/share/extensions/script-provider-for-python
2140 %{basisinstdir}/share/registry/pyuno.xcd
2141
2142 %files kde
2143 %defattr(-,root,root,-)
2144 %dir %{basisinstdir}
2145 %dir %{basisinstdir}/program
2146 %{basisinstdir}/program/kde4be1.uno.so
2147 %{basisinstdir}/program/fps_kde4.uno.so
2148 %{basisinstdir}/program/libvclplug_kde4%{SOPOST}.so
2149 %{basisinstdir}/program/kde-open-url
2150

  ViewVC Help
Powered by ViewVC 1.1.28