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