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