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