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