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