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