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