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