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