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