1 |
# download path contains version without the last (fourth) digit |
2 |
%define libo_version 4.4.7 |
3 |
# Should contain .alphaX / .betaX, if this is pre-release (actually |
4 |
# pre-RC) version. The pre-release string is part of tarball file names, |
5 |
# so we need a way to define it easily at one place. |
6 |
%define libo_prerelease %nil |
7 |
%define vendoroption --with-vendor="Mageia" |
8 |
# rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF |
9 |
%define __jar_repack %{nil} |
10 |
%define Werror_cflags %nil |
11 |
# make it easier to download sources from pre-release site |
12 |
# http://dev-builds.libreoffice.org/pre-releases/src |
13 |
# %%define source_url http://dev-builds.libreoffice.org/pre-releases/src |
14 |
%define source_url http://download.documentfoundation.org/libreoffice/src/%{libo_version} |
15 |
# URL for external projects' tarballs |
16 |
%define external_url http://dev-www.libreoffice.org/src/ |
17 |
|
18 |
# get english only and no-langpacks for a faster smoketest build |
19 |
# fedpkg compile/install/local/mockbuild does not handle --without ATM, |
20 |
# so it is necessary to change this to bcond_with to achieve the same |
21 |
# effect |
22 |
%bcond_without langpacks |
23 |
|
24 |
# remove workdir at the end of %%build, to allow build on space-constrained machines |
25 |
%ifarch s390 s390x |
26 |
%bcond_without smallbuild |
27 |
%else |
28 |
%bcond_with smallbuild |
29 |
%endif |
30 |
|
31 |
# generated by %%langpack definitions |
32 |
%global langpack_langs %{nil} |
33 |
|
34 |
%global bundling_options %{nil} |
35 |
|
36 |
%global build_gtk3 1 |
37 |
%global build_kde 1 |
38 |
%define system_boost 1 |
39 |
|
40 |
%define with_mergedlibs 0 |
41 |
%global __requires_exclude libjawt.so|libmyspell.so|libstlport_gcc.so|libmono.so|mono|devel\\(libstlport_gcc\\)|libxmlreader.so|libcomphelp4gcc3.so|devel\\(libreglo\\)|devel\\(libxmlreaderlo\\)|devel\\(libreglo\\(64bit\\)\\)|devel\\(libxmlreaderlo\\(64bit\\)\\)|devel\\(libunoidllo\\)|devel\\(libunoidllo\\(64bit\\)\\) |
42 |
|
43 |
%global __provides_exclude libsndfile.so|libportaudio.so|libdb-4.2.so|libdb_java-4.2.so|libmyspell.so|libstlport_gcc.so|librdf.so.0|libraptor.so.1|libxmlsec1-nss.so.1|libxmlsec1.so.1 |
44 |
|
45 |
%define _enable_debug_packages 0 |
46 |
|
47 |
Summary: Free Software Productivity Suite |
48 |
Name: libreoffice |
49 |
Version: %{libo_version}.2 |
50 |
Release: %mkrel 1%{?libo_prerelease} |
51 |
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0 |
52 |
Group: Office/Suite |
53 |
URL: http://www.libreoffice.org/ |
54 |
|
55 |
Source0: %{source_url}/libreoffice-%{version}%{?libo_prerelease}.tar.xz |
56 |
Source1: %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}.tar.xz |
57 |
Source2: %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}.tar.xz |
58 |
Source3: http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll |
59 |
Source4: libreoffice-multiliblauncher.sh |
60 |
Source5: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip |
61 |
Source6: %{external_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz |
62 |
Source7: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip |
63 |
Source8: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip |
64 |
|
65 |
#Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose |
66 |
#backwards compatability. |
67 |
Source9: %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip |
68 |
|
69 |
# Sources 10-39 are RHEL specific |
70 |
|
71 |
Source40: %{external_url}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 |
72 |
|
73 |
# symbolic icons |
74 |
Source42: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-base-symbolic.svg |
75 |
Source43: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-calc-symbolic.svg |
76 |
Source44: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-draw-symbolic.svg |
77 |
Source45: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-impress-symbolic.svg |
78 |
Source46: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-main-symbolic.svg |
79 |
Source47: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-math-symbolic.svg |
80 |
Source48: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-writer-symbolic.svg |
81 |
|
82 |
# build tools |
83 |
BuildRequires: autoconf |
84 |
BuildRequires: automake |
85 |
BuildRequires: bc |
86 |
BuildRequires: binutils |
87 |
BuildRequires: bison |
88 |
%if 0%{?rhel} && 0%{?rhel} < 7 |
89 |
BuildRequires: chrpath |
90 |
%endif |
91 |
BuildRequires: desktop-file-utils |
92 |
BuildRequires: doxygen |
93 |
BuildRequires: findutils |
94 |
BuildRequires: flex |
95 |
BuildRequires: gdb |
96 |
BuildRequires: gcc-c++ |
97 |
BuildRequires: git |
98 |
BuildRequires: gperf |
99 |
BuildRequires: icu |
100 |
BuildRequires: make |
101 |
BuildRequires: perl(Archive::Zip) |
102 |
BuildRequires: perl(Digest::MD5) |
103 |
BuildRequires: libappstream-glib-devel |
104 |
BuildRequires: ucpp |
105 |
# (tv) for xmllint: |
106 |
BuildRequires: libxml2-utils |
107 |
BuildRequires: zip |
108 |
|
109 |
# libs / headers - common |
110 |
BuildRequires: cups-devel |
111 |
BuildRequires: pkgconfig(expat) |
112 |
BuildRequires: fontpackages-devel |
113 |
BuildRequires: hyphen-devel |
114 |
BuildRequires: libicu-devel |
115 |
BuildRequires: lpsolve-devel |
116 |
BuildRequires: openldap-devel |
117 |
BuildRequires: pam-devel |
118 |
BuildRequires: pkgconfig(cppunit) |
119 |
BuildRequires: pkgconfig(dbus-glib-1) |
120 |
BuildRequires: pkgconfig(evolution-data-server-1.2) |
121 |
BuildRequires: pkgconfig(freetype2) |
122 |
%if %{build_gtk3} |
123 |
BuildRequires: gtk+3-devel |
124 |
%endif |
125 |
BuildRequires: pkgconfig(gconf-2.0) |
126 |
BuildRequires: pkgconfig(glu) |
127 |
BuildRequires: pkgconfig(gtk+-2.0) |
128 |
BuildRequires: pkgconfig(hunspell) |
129 |
%if %{build_kde} |
130 |
BuildRequires: kdelibs4-devel |
131 |
%endif |
132 |
BuildRequires: pkgconfig(ice) |
133 |
BuildRequires: pkgconfig(libcurl) |
134 |
BuildRequires: pkgconfig(libidn) |
135 |
BuildRequires: pkgconfig(libxml-2.0) |
136 |
BuildRequires: pkgconfig(libxslt) |
137 |
BuildRequires: pkgconfig(neon) |
138 |
BuildRequires: pkgconfig(nss) |
139 |
BuildRequires: pkgconfig(poppler) |
140 |
BuildRequires: pkgconfig(redland) |
141 |
BuildRequires: pkgconfig(sane-backends) |
142 |
BuildRequires: pkgconfig(xext) |
143 |
BuildRequires: pkgconfig(xinerama) |
144 |
BuildRequires: pkgconfig(xt) |
145 |
BuildRequires: pkgconfig(zlib) |
146 |
BuildRequires: unixODBC-devel |
147 |
BuildRequires: vigra-devel |
148 |
|
149 |
# libs / headers - conditional |
150 |
BuildRequires: firebird-devel |
151 |
BuildRequires: firebird-server-common |
152 |
BuildRequires: glm-devel |
153 |
BuildRequires: kdelibs4-devel |
154 |
BuildRequires: openCOLLADA-devel |
155 |
BuildRequires: pkgconfig(glew) >= 1.10.0 |
156 |
BuildRequires: pkgconfig(libabw-0.1) |
157 |
BuildRequires: pkgconfig(libcdr-0.1) |
158 |
BuildRequires: pkgconfig(libe-book-0.1) |
159 |
BuildRequires: pkgconfig(libeot) |
160 |
BuildRequires: pkgconfig(libetonyek-0.1) |
161 |
BuildRequires: pkgconfig(libfreehand-0.1) |
162 |
BuildRequires: pkgconfig(libgltf-0.0) |
163 |
BuildRequires: pkgconfig(libmspub-0.1) |
164 |
BuildRequires: pkgconfig(libmwaw-0.3) |
165 |
BuildRequires: pkgconfig(libodfgen-0.1) |
166 |
BuildRequires: pkgconfig(liborcus-0.8) |
167 |
BuildRequires: pkgconfig(libpagemaker-0.0) |
168 |
BuildRequires: pkgconfig(librevenge-0.0) |
169 |
BuildRequires: pkgconfig(libvisio-0.1) |
170 |
BuildRequires: pkgconfig(libwpd-0.10) |
171 |
BuildRequires: pkgconfig(libwpg-0.3) |
172 |
BuildRequires: pkgconfig(libwps-0.3) |
173 |
|
174 |
%if 0%{?system_boost} |
175 |
BuildRequires: boost-devel |
176 |
%endif |
177 |
BuildRequires: pkgconfig(graphite2) |
178 |
BuildRequires: pkgconfig(harfbuzz) |
179 |
BuildRequires: pkgconfig(lcms2) |
180 |
BuildRequires: pkgconfig(libclucene-core) |
181 |
BuildRequires: pkgconfig(libcmis-0.5) |
182 |
BuildRequires: pkgconfig(libexttextcat) |
183 |
BuildRequires: pkgconfig(liblangtag) |
184 |
BuildRequires: pkgconfig(mdds) |
185 |
BuildRequires: pkgconfig(mythes) |
186 |
BuildRequires: pkgconfig(poppler-cpp) |
187 |
BuildRequires: postgresql-devel |
188 |
|
189 |
# libs / headers - special cases |
190 |
BuildRequires: pkgconfig(gstreamer-1.0) |
191 |
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) |
192 |
|
193 |
BuildRequires: libjpeg-devel |
194 |
|
195 |
BuildRequires: pkgconfig(bluez) |
196 |
BuildRequires: pkgconfig(python3) |
197 |
BuildRequires: rsync |
198 |
|
199 |
# java stuff |
200 |
BuildRequires: ant |
201 |
BuildRequires: apache-commons-codec |
202 |
BuildRequires: apache-commons-lang |
203 |
BuildRequires: bsh |
204 |
BuildRequires: hsqldb |
205 |
BuildRequires: java-devel >= 1.6.0 |
206 |
BuildRequires: jakarta-commons-httpclient |
207 |
BuildRequires: junit |
208 |
BuildRequires: pentaho-reporting-flow-engine |
209 |
|
210 |
# fonts needed for unit tests |
211 |
BuildRequires: fonts-ttf-liberation |
212 |
|
213 |
# libreoffice metapackage requires all of the programs |
214 |
Requires: %{name}-base = %{version} |
215 |
Requires: %{name}-calc = %{version} |
216 |
Requires: %{name}-draw = %{version} |
217 |
Requires: %{name}-impress = %{version} |
218 |
Requires: %{name}-math = %{version} |
219 |
Recommends: %{name}-pdfimport |
220 |
Requires: %{name}-writer = %{version} |
221 |
Provides: openoffice.org = 1:%{version}-%{release} |
222 |
|
223 |
# Fedora patches |
224 |
# not upstreamed |
225 |
Patch0: openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch |
226 |
# not upstreamed |
227 |
Patch1: openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch |
228 |
# not upstreamed |
229 |
Patch2: libreoffice-installfix.patch |
230 |
# patches 2-11 are RHEL specific @RH/FC |
231 |
# not upstreamed |
232 |
Patch12: 0001-Resolves-rhbz-1035092-no-shortcut-key-for-Italian-To.patch |
233 |
# not upstreamed |
234 |
Patch13: 0001-disable-firebird-unit-test.patch |
235 |
# not upstreamed |
236 |
Patch14: 0001-never-run-autogen.sh.patch |
237 |
# not upstreamed |
238 |
Patch15: 0001-add-X-TryExec-entries-to-desktop-files.patch |
239 |
# not upstreamed |
240 |
Patch16: 0001-disable-PSD-import-test-which-deadlocks-on-ARM.patch |
241 |
Patch17: 0001-Resolves-fdo-37559-revert-adding-extra-dummy-polygon.patch |
242 |
Patch18: 0001-radio-check-top-center-bottom-alignment-for-table-ce.patch |
243 |
Patch19: 0001-allow-comparing-documents-which-only-differ-by-frame.patch |
244 |
Patch20: 0001-Use-the-same-advanced-Ellipse-and-Rectangle-shapes-i.patch |
245 |
Patch21: 0001-add-accel.-to-switch-monitors-to-pres.-console.patch |
246 |
Patch22: 0001-build-libetonyek-with-no-strict-aliasing.patch |
247 |
Patch23: 0002-propagate-user-set-CFLAGS-to-build.patch |
248 |
Patch24: 0001-gnome-745909-grab-ungrab-keyboard-for-menus.patch |
249 |
Patch25: 0001-negative-after-text-indents-ignored-by-msword-for-ap.patch |
250 |
Patch26: 0001-on-using-add-color-button-don-t-frighten-with-an-err.patch |
251 |
Patch27: 0001-the-Edit-button-is-a-color-picker-rename-and-move.patch |
252 |
Patch28: 0001-Use-new-color-selector-in-the-toolbar-for-area-fills.patch |
253 |
Patch29: 0001-java-dir-for-powepc64-and-powepc64le-can-differ.patch |
254 |
Patch30: 0002-java-dir-for-powepc64-and-powepc64le-can-differ.patch |
255 |
Patch31: 0001-impress-right-click-to-insert-image.patch |
256 |
Patch32: 0001-Resolves-tdf-89904-allow-the-options-color-page-to-l.patch |
257 |
Patch33: 0001-Resolves-tdf-89905-don-t-copy-palettes-from-shared-t.patch |
258 |
Patch34: 0001-Resolves-tdf-49407-enable-CaseMap-property-in-impres.patch |
259 |
Patch35: 0001-rhbz-1233420-handle-inexistent-cond.-format.patch |
260 |
Patch36: 0001-allow-slide-design-to-affect-multiple-standard-pages.patch |
261 |
Patch37: 0001-implement-equalize-width-and-height-for-impress-draw.patch |
262 |
Patch38: 0001-f22-openjdk-for-ppc64le-has-both-these-dirs-but-jawt.patch |
263 |
Patch39: 0001-fix-langtag-test-with-liblangtag-0.5.7.patch |
264 |
Patch40: 0001-implement-undo-for-equalize-marked-objects.patch |
265 |
Patch41: 0001-time-stamp-object-selections-and-use-newest-as-ref-f.patch |
266 |
Patch42: 0001-Resolves-rhbz-1256843-no-obvious-means-to-close-temp.patch |
267 |
Patch43: 0001-implement-undo-of-delete-impress-cell-contents.patch |
268 |
Patch44: 0001-implement-save-slide-background-for-impress.patch |
269 |
Patch45: 0001-Related-tdf-72880-presumably-using-startcenter-as-ge.patch |
270 |
Patch46: 0001-implement-dialog-control-over-enhanced-shape-control.patch |
271 |
Patch47: 0001-afl-eventtesting-crash-on-undoing-insert-new-page-in.patch |
272 |
Patch48: 0001-tdf-95210-SetHandleControllerPosition-is-busted-wrt-.patch |
273 |
Patch49: 0001-Resolves-tdf-95682-spell-dialog-add-a-button-to-open.patch |
274 |
Patch50: 0001-Incredible-slowness-and-crashes-with-document-with-v.patch |
275 |
Patch51: 0001-Resolves-tdf-89907-do-not-modify-original-ScViewData.patch |
276 |
Patch52: 0001-rhbz-1286416-Be-more-resilient-during-auto-recovery-.patch |
277 |
Patch53: 0001-Resolves-tdf-95440-SharedString-are-interned-per-doc.patch |
278 |
Patch54: 0001-don-t-assert-on-export-of-ooo74510-1.odt-to-.docx.patch |
279 |
Patch55: 0002-XmlTestTools-fix-conversion-from-UTF-8-xmlChar-strin.patch |
280 |
Patch56: 0003-tdf-92754-Excel-Chart-content-type-is-not-exported-p.patch |
281 |
Patch57: 0004-sw-DOCX-export-eliminate-chart-numbering-non-determi.patch |
282 |
Patch58: 0005-sw-fix-DOCX-export-of-embedded-OOXML-objects.patch |
283 |
Patch59: 0006-sw-move-ProgId-parsing-to-DocxExport-WriteOLEObject.patch |
284 |
Patch60: 0007-sw-DOCX-export-convert-ODF-embedded-objects-to-OOXML.patch |
285 |
Patch61: 0008-sw-extend-various-OOXML-export-test-to-check-embedde.patch |
286 |
Patch62: 0009-fix-missing-BaseURL-when-loading-embedded-objects.patch |
287 |
|
288 |
#Mageia Patches |
289 |
Patch1000: disable-tests.diff |
290 |
#Patch1001: disable-tests2.diff |
291 |
|
292 |
|
293 |
%define instdir %{_libdir} |
294 |
%define baseinstdir %{instdir}/libreoffice |
295 |
%define ureinstdir %{baseinstdir}/ure |
296 |
%define sdkinstdir %{baseinstdir}/sdk |
297 |
%define fontname opensymbol |
298 |
|
299 |
%description |
300 |
LibreOffice is an Open Source, community-developed, office productivity suite. |
301 |
It includes the key desktop applications, such as a word processor, |
302 |
spreadsheet, presentation manager, formula editor and drawing program, with a |
303 |
user interface and feature set similar to other office suites. Sophisticated |
304 |
and flexible, LibreOffice also works transparently with a variety of file |
305 |
formats, including Microsoft Office File Formats. |
306 |
|
307 |
|
308 |
%package filters |
309 |
Summary: All import / export filters |
310 |
Group: Office/Utilities |
311 |
Requires: %{name}-calc = %{version}-%{release} |
312 |
Requires: %{name}-core = %{version}-%{release} |
313 |
Requires: %{name}-draw = %{version}-%{release} |
314 |
Requires: %{name}-graphicfilter = %{version}-%{release} |
315 |
Requires: %{name}-impress = %{version}-%{release} |
316 |
Requires: %{name}-math = %{version}-%{release} |
317 |
Requires: %{name}-ure = %{version}-%{release} |
318 |
Requires: %{name}-writer = %{version}-%{release} |
319 |
Requires: %{name}-xsltfilter = %{version}-%{release} |
320 |
|
321 |
%description filters |
322 |
Metapackage to pull in all subpackages that contain import or export |
323 |
filters. |
324 |
|
325 |
%package core |
326 |
Summary: Core modules for LibreOffice |
327 |
Group: Office/Utilities |
328 |
Requires: %{name}-%{fontname}-fonts = %{version}-%{release} |
329 |
Requires: %{name}-ure = %{version}-%{release} |
330 |
Requires: fonts-ttf-liberation |
331 |
Requires: fonts-ttf-dejavu |
332 |
Requires: google-crosextra-caladea-fonts, google-crosextra-carlito-fonts |
333 |
Requires: hunspell |
334 |
Requires: hyphen >= 2.4 |
335 |
Recommends: hyphen-en |
336 |
Recommends: autocorr-en |
337 |
Recommends: hunspell-en |
338 |
Requires: java-headless >= 1:1.6 |
339 |
Requires: libexttextcat |
340 |
Requires: %name-langpack = %version-%release |
341 |
Provides: openoffice.org-core = 1:%version-%release |
342 |
Provides: openoffice.org-common = 1:%version-%release |
343 |
Provides: openoffice.org-filter-binfilter = 1:%version-%release |
344 |
Provides: openoffice.org-help-en_US = 1:%version-%release |
345 |
Provides: openoffice.org-help-en_GB = 1:%version-%release |
346 |
Obsoletes: libreoffice-langpack-ms < 1:3.3.99.1 |
347 |
Obsoletes: libreoffice-langpack-ur < 1:3.3.99.1 |
348 |
Provides: libreoffice-style-tango = %{version}-%{release} |
349 |
Provides: libreoffice-style-oxygen = %{version}-%{release} |
350 |
Conflicts: %name-ure < 3.3.2.2-7 |
351 |
Obsoletes: libreoffice-appdata < 1:4.3.3.0 |
352 |
Obsoletes: libreoffice-binfilter < 4.0.0.0 |
353 |
Obsoletes: libreoffice-headless < 1:4.4.0.0 |
354 |
Obsoletes: libreoffice-javafilter < 4.1.0.0 |
355 |
Obsoletes: autocorr-eu < 1:4.0.1.2 |
356 |
Provides: libreoffice-headless = %{version}-%{release} |
357 |
Obsoletes: libreoffice-testtools < 3.4.99.1 |
358 |
Conflicts: %name-gdb-debug-support < 3.6.0-0.beta2.1 |
359 |
|
360 |
%description core |
361 |
The shared core libraries and support files for LibreOffice. |
362 |
|
363 |
|
364 |
%package pyuno |
365 |
Summary: Python support for LibreOffice |
366 |
Group: Development/Python |
367 |
Requires: %{name}-core = %{version}-%{release} |
368 |
Requires: %{name}-ure = %{version}-%{release} |
369 |
Requires: python3 |
370 |
Requires(pre): %{name}-core |
371 |
Requires(post): %{name}-core |
372 |
Requires(preun): %{name}-core |
373 |
Requires(postun): %{name}-core |
374 |
Provides: openoffice.org-pyuno = 1:%version-%release |
375 |
Conflicts: libreoffice-core < %version |
376 |
|
377 |
%description pyuno |
378 |
Python bindings for the LibreOffice UNO component model. Allows scripts both |
379 |
external to LibreOffice and within the internal LibreOffice scripting framework |
380 |
to be written in python. |
381 |
|
382 |
|
383 |
%package base |
384 |
Summary: Database front-end for LibreOffice |
385 |
Group: Databases |
386 |
Requires: postgresql-jdbc |
387 |
Requires: %{name}-ure = %{version}-%{release} |
388 |
Requires: %{name}-core = %{version}-%{release} |
389 |
Requires: %{name}-calc = %{version}-%{release} |
390 |
Requires: %{name}-pyuno = %{version}-%{release} |
391 |
Recommends: %{name}-java-common = %{version}-%release |
392 |
Obsoletes: %{name}-report-builder < 1:4.1.0.0 |
393 |
Provides: openoffice.org-base = 1:%version-%release |
394 |
Provides: openoffice.org-style = 1:%version-%release |
395 |
Provides: openoffice.org-style-crystal = 1:%version-%release |
396 |
Provides: openoffice.org-style-oxygen = 1:%version-%release |
397 |
|
398 |
%description base |
399 |
GUI database front-end for LibreOffice. Allows creation and management of |
400 |
databases through a GUI. |
401 |
|
402 |
|
403 |
%package bsh |
404 |
Summary: BeanShell support for LibreOffice |
405 |
Group: Development/Java |
406 |
Requires: bsh |
407 |
Requires: %{name}-core = %{version}-%{release} |
408 |
Requires(pre): %{name}-core |
409 |
Requires(post): %{name}-core |
410 |
Requires(preun): %{name}-core |
411 |
Requires(postun): %{name}-core |
412 |
Provides: openoffice.org-bsh < 1:%version-%release |
413 |
|
414 |
%description bsh |
415 |
Support BeanShell scripts in LibreOffice. |
416 |
|
417 |
|
418 |
%package officebean |
419 |
Summary: JavaBean for LibreOffice Components |
420 |
Group: Development/C |
421 |
Requires: %{name}-core = %{version}-%{release} |
422 |
|
423 |
%description officebean |
424 |
Allows embedding of LibreOffice documents within the Java environment. It |
425 |
provides a Java AWT window into which the backend LibreOffice process draws |
426 |
its visual representation |
427 |
|
428 |
%package rhino |
429 |
Summary: JavaScript support for LibreOffice |
430 |
Group: Development/Java |
431 |
Requires: %{name}-core = %{version}-%{release} |
432 |
Requires(pre): %{name}-core |
433 |
Requires(post): %{name}-core |
434 |
Requires(preun): %{name}-core |
435 |
Requires(postun): %{name}-core |
436 |
|
437 |
|
438 |
%description rhino |
439 |
Support JavaScript scripts in LibreOffice. |
440 |
|
441 |
|
442 |
%package wiki-publisher |
443 |
Summary: Create Wiki articles on MediaWiki servers with LibreOffice |
444 |
Group: Office/Utilities |
445 |
Requires: apache-commons-codec, jakarta-commons-httpclient |
446 |
Requires: apache-commons-lang, apache-commons-logging |
447 |
Requires: %{name}-writer = %{version}-%{release} |
448 |
Requires(pre): %{name}-core |
449 |
Requires(post): %{name}-core |
450 |
Requires(preun): %{name}-core |
451 |
Requires(postun): %{name}-core |
452 |
|
453 |
%description wiki-publisher |
454 |
The Wiki Publisher enables you to create Wiki articles on MediaWiki servers |
455 |
without having to know the syntax of the MediaWiki markup language. Publish |
456 |
your new and existing documents transparently with writer to a wiki page. |
457 |
|
458 |
%package nlpsolver |
459 |
Summary: Non-linear solver engine for LibreOffice Calc |
460 |
Group: Office/Utilities |
461 |
Requires: %{name}-calc = %{version}-%{release} |
462 |
Requires(pre): %{name}-core |
463 |
Requires(post): %{name}-core |
464 |
Requires(preun): %{name}-core |
465 |
Requires(postun): %{name}-core |
466 |
|
467 |
%description nlpsolver |
468 |
A non-linear solver engine for Calc as an alternative to the default linear |
469 |
programming model when more complex, nonlinear programming is required. |
470 |
|
471 |
%package ogltrans |
472 |
Summary: 3D OpenGL slide transitions for LibreOffice |
473 |
Group: Office/Utilities |
474 |
Requires: %{name}-impress = %{version}-%{release} |
475 |
Requires(pre): %{name}-core |
476 |
|
477 |
%description ogltrans |
478 |
OpenGL Transitions enable 3D slide transitions to be used in LibreOffice. |
479 |
Requires good quality 3D support for your graphics card for best experience. |
480 |
|
481 |
%package pdfimport |
482 |
Summary: PDF Importer for LibreOffice Draw |
483 |
Group: Office/Utilities |
484 |
Requires: %{name}-draw = %{version}-%{release} |
485 |
Requires(pre): %{name}-core |
486 |
Requires(post): %{name}-core |
487 |
Requires(preun): %{name}-core |
488 |
Requires(postun): %{name}-core |
489 |
|
490 |
%description pdfimport |
491 |
The PDF Importer imports PDF into drawing documents to preserve layout |
492 |
and enable basic editing of PDF documents. |
493 |
|
494 |
|
495 |
%package %{fontname}-fonts |
496 |
Summary: LibreOffice dingbats font |
497 |
Group: System/Fonts/True type |
498 |
Requires: fontpackages-filesystem |
499 |
BuildArch: noarch |
500 |
|
501 |
%description %{fontname}-fonts |
502 |
A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and |
503 |
mathematical symbols. |
504 |
|
505 |
|
506 |
%package writer |
507 |
Summary: LibreOffice Word Processor Application |
508 |
Group: Office/Word processor |
509 |
Requires: %{name}-core = %{version}-%{release} |
510 |
Requires: %{name}-pyuno = %{version}-%{release} |
511 |
Requires: %{name}-ure = %{version}-%{release} |
512 |
Provides: openoffice.org-writer = 1:%{version}-%{release} |
513 |
Provides: openoffice.org-writer2latex = 1:%{version}-%{release} |
514 |
Provides: openoffice.org-writer2xhtml = 1:%{version}-%{release} |
515 |
|
516 |
%description writer |
517 |
The LibreOffice Word Processor application. |
518 |
|
519 |
|
520 |
%package emailmerge |
521 |
Summary: Email mail-merge component for LibreOffice |
522 |
Group: Networking/Mail |
523 |
Requires: %{name}-writer = %{version}-%{release} |
524 |
Requires: %{name}-pyuno = %{version}-%{release} |
525 |
|
526 |
%description emailmerge |
527 |
Enables the LibreOffice writer module to mail-merge to email. |
528 |
|
529 |
|
530 |
%package calc |
531 |
Summary: LibreOffice Spreadsheet Application |
532 |
Group: Office/Spreadsheet |
533 |
Requires: %{name}-core = %{version}-%{release} |
534 |
Requires: %{name}-pyuno = %{version}-%{release} |
535 |
Requires: %{name}-ure = %{version}-%{release} |
536 |
|
537 |
%description calc |
538 |
The LibreOffice Spreadsheet application. |
539 |
|
540 |
|
541 |
%package draw |
542 |
Summary: LibreOffice Drawing Application |
543 |
Group: Graphics/Editors and Converters |
544 |
Requires: %{name}-core = %{version}-%{release} |
545 |
Requires: %{name}-pyuno = %{version}-%{release} |
546 |
Requires: %{name}-ure = %{version}-%{release} |
547 |
Requires: %{name}-pdfimport = %{version}-%{release} |
548 |
Requires: %{name}-graphicfilter = %{version}-%{release} |
549 |
provides: openoffice.org-draw = 1:%{version}-%{release} |
550 |
|
551 |
%description draw |
552 |
The LibreOffice Drawing Application. |
553 |
|
554 |
|
555 |
%package impress |
556 |
Summary: LibreOffice Presentation Application |
557 |
Group: Office/Utilities |
558 |
Requires: %{name}-core = %{version}-%{release} |
559 |
Requires: %{name}-pyuno = %{version}-%{release} |
560 |
Requires: %{name}-ure = %{version}-%{release} |
561 |
Requires: %{name}-ogltrans = %{version}-%{release} |
562 |
%rename %{name}-presentation-minimizer = %{version}-%{release} |
563 |
%rename %{name}-presenter-screen = %{version}-%{release} |
564 |
Provides: openoffice.org-impress = 1:%{version}-%{release} |
565 |
|
566 |
%description impress |
567 |
The LibreOffice Presentation Application. |
568 |
|
569 |
|
570 |
%package math |
571 |
Summary: LibreOffice Equation Editor Application |
572 |
Group: Sciences/Mathematics |
573 |
Requires: %{name}-core = %{version}-%{release} |
574 |
Requires: %{name}-pyuno = %{version}-%{release} |
575 |
Requires: %{name}-ure = %{version}-%{release} |
576 |
|
577 |
%description math |
578 |
The LibreOffice Equation Editor Application. |
579 |
|
580 |
|
581 |
%package graphicfilter |
582 |
Summary: LibreOffice Extra Graphic filters |
583 |
Group: Office/Utilities |
584 |
Requires: %{name}-ure = %{version}-%{release} |
585 |
Requires: %{name}-core = %{version}-%{release} |
586 |
|
587 |
%description graphicfilter |
588 |
The graphicfilter module for LibreOffice provides graphic filters, e.g. svg and |
589 |
flash filters. |
590 |
|
591 |
|
592 |
%package xsltfilter |
593 |
Summary: Optional xsltfilter module for LibreOffice |
594 |
Group: Office/Utilities |
595 |
Requires: %{name}-core = %{version}-%{release} |
596 |
|
597 |
%description xsltfilter |
598 |
The xsltfilter module for LibreOffice, provides additional docbook and |
599 |
xhtml export transforms. Install this to enable docbook export. |
600 |
|
601 |
|
602 |
%package postgresql |
603 |
Summary: PostgreSQL connector for LibreOffice |
604 |
Group: Office/Utilities |
605 |
Requires: %{name}-base = %{version}-%{release} |
606 |
Requires: postgresql-libs |
607 |
|
608 |
%description postgresql |
609 |
A PostgreSQL connector for the database front-end for LibreOffice. Allows |
610 |
creation and management of PostgreSQL databases through a GUI. |
611 |
|
612 |
|
613 |
%package ure |
614 |
Summary: UNO Runtime Environment |
615 |
Group: Development/Other |
616 |
#rhbz#1164551 we want to ensure that a libjvm.so of this arch is available |
617 |
%if 0%{?__isa_bits} == 64 |
618 |
%global mark64 ()(64bit) |
619 |
%endif |
620 |
Requires: unzip, libjvm.so%{?mark64} |
621 |
Recommends: %name-java-common = %version-%release |
622 |
Conflicts: libreoffice-core <= 3.3.2.2-5 |
623 |
|
624 |
%description ure |
625 |
UNO is the component model of LibreOffice. UNO offers interoperability between |
626 |
programming languages, other components models and hardware architectures, |
627 |
either in process or over process boundaries, in the Intranet as well as in the |
628 |
Internet. UNO components may be implemented in and accessed from any |
629 |
programming language for which a UNO implementation (AKA language binding) and |
630 |
an appropriate bridge or adapter exists |
631 |
|
632 |
|
633 |
%package java-common |
634 |
Group: Office/Utilities |
635 |
Summary: LibreOffice office suite Java support arch. independent files |
636 |
Requires: %{name}-core = %{version}-%{release} |
637 |
#Requires: %{name}-common = %{version}-%{release} |
638 |
Requires: jre-headless |
639 |
Conflicts: %name-core < 3.3.2.2-8 |
640 |
Provides: openoffice.org-java-common = 1:%version-%release |
641 |
|
642 |
%description java-common |
643 |
LibreOffice is a full-featured office productivity suite that provides a |
644 |
near drop-in replacement for Microsoft(R) Office. |
645 |
|
646 |
This package contains the architecture-independent files of the Java support |
647 |
for Libreoffice (Java classes, scripts, config snippets). |
648 |
|
649 |
Also contains the Libreoffice Office Bean for embedding Libreoffice in |
650 |
custom Java applications. |
651 |
|
652 |
|
653 |
%package sdk |
654 |
Summary: Software Development Kit for LibreOffice |
655 |
Group: Development/Other |
656 |
Requires: %{name}-ure = %{version}-%{release} |
657 |
Requires: %{name}-core = %{version}-%{release} |
658 |
Requires: unzip, java-devel |
659 |
|
660 |
%description sdk |
661 |
The LibreOffice SDK is an add-on for the LibreOffice office suite. It provides |
662 |
the necessary tools for programming using the LibreOffice APIs and for creating |
663 |
extensions (UNO components) for LibreOffice. To set the build environment for |
664 |
building against the sdk use %{sdkinstdir}/setsdkenv_unix.sh. |
665 |
|
666 |
|
667 |
%package sdk-doc |
668 |
Summary: Software Development Kit documentation for LibreOffice |
669 |
Group: Development/Other |
670 |
Requires: %{name}-sdk = %{version}-%{release} |
671 |
|
672 |
%description sdk-doc |
673 |
This provides documentation for programming using the LibreOffice APIs |
674 |
and examples of creating extensions (UNO components) for LibreOffice. |
675 |
|
676 |
%package glade |
677 |
Summary: Support for creating LibreOffice dialogs in glade |
678 |
Group: Development/GNOME and GTK+ |
679 |
Requires: %{name}-ure = %{version}-%{release} |
680 |
Requires: %{name}-core = %{version}-%{release} |
681 |
Requires: %mklibname gladeui 1 11 |
682 |
|
683 |
%description glade |
684 |
%{name}-glade contains a catalog of LibreOffice-specific widgets for |
685 |
glade and ui-previewer tool to check the visual appearance of dialogs. |
686 |
|
687 |
%package librelogo |
688 |
Summary: LibreLogo scripting language |
689 |
Group: Office/Utilities |
690 |
Requires: %{name}-writer = %{version}-%{release} |
691 |
Requires: %{name}-pyuno = %{version}-%{release} |
692 |
|
693 |
%description librelogo |
694 |
Enables LibreLogo scripting in Writer. LibreLogo is a Logo-like |
695 |
programming language with interactive vectorgraphics for education and |
696 |
DTP. |
697 |
|
698 |
%if %{build_kde} |
699 |
%package kde |
700 |
Summary: LibreOffice KDE integration plug-in |
701 |
Group: Graphical desktop/KDE |
702 |
Requires: %{name}-core = %{version}-%{release} |
703 |
Provides: openoffice.org-kde4 = 1:%version-%release |
704 |
|
705 |
%description kde |
706 |
A plug-in for LibreOffice that enables integration into the KDE desktop environment. |
707 |
%endif |
708 |
|
709 |
%if 0%{?_enable_debug_packages} |
710 |
|
711 |
%define debug_package %{nil} |
712 |
%global __debug_package 1 |
713 |
|
714 |
%package debuginfo |
715 |
Summary: Debug information for package %{name} |
716 |
Group: Development/Debug |
717 |
AutoReqProv: 0 |
718 |
Requires: libreoffice-core = %{version}-%{release} |
719 |
Recommends: libreoffice-gdb-debug-support = %{version}-%{release} |
720 |
|
721 |
%description debuginfo |
722 |
This package provides debug information for package %{name}. |
723 |
Debug information is useful when developing applications that use this |
724 |
package or when debugging this package. |
725 |
|
726 |
|
727 |
%files debuginfo -f debugfiles.list |
728 |
|
729 |
%package gdb-debug-support |
730 |
Summary: Additional support for debugging with gdb |
731 |
Group: Development/Other |
732 |
Requires: gdb |
733 |
Requires: python3-six |
734 |
AutoReqProv: 0 |
735 |
|
736 |
%description gdb-debug-support |
737 |
This package provides gdb pretty printers for package %{name}. |
738 |
|
739 |
# Update the screenshot shown in the software center |
740 |
# |
741 |
# NOTE: It would be *awesome* if this file was pushed upstream. |
742 |
# |
743 |
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details. |
744 |
# |
745 |
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/libreoffice-writer.appdata.xml \ |
746 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/a.png \ |
747 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/b.png |
748 |
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/libreoffice-calc.appdata.xml \ |
749 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-calc/a.png |
750 |
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/libreoffice-draw.appdata.xml \ |
751 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-draw/a.png |
752 |
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/libreoffice-impress.appdata.xml \ |
753 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-impress/a.png |
754 |
|
755 |
%files gdb-debug-support |
756 |
%{_datadir}/gdb/auto-load%{baseinstdir} |
757 |
%{_datadir}/libreoffice/gdb |
758 |
|
759 |
%endif |
760 |
|
761 |
%define _langpack_common() \ |
762 |
%{baseinstdir}/program/resource/*%{1}.res \ |
763 |
%{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/%{1}.zip \ |
764 |
%{baseinstdir}/share/config/soffice.cfg/*/ui/res/%{1}.zip \ |
765 |
%{baseinstdir}/share/template/%{1} \ |
766 |
%{baseinstdir}/share/registry/Langpack-%{1}.xcd \ |
767 |
%{baseinstdir}/share/registry/res/registry_%{1}.xcd \ |
768 |
%{baseinstdir}/share/registry/res/fcfg_langpack_%{1}.xcd \ |
769 |
%{nil} |
770 |
|
771 |
# Defines a language pack subpackage. |
772 |
# |
773 |
# It's necessary to define language code (-l) and language name (-n). |
774 |
# Additionally, it's possible |
775 |
# * to require autocorr, hunspell, hyphen or mythes package or font for |
776 |
# given language, |
777 |
# * to obsolete openoffice.org-langpack package, |
778 |
# * to provide libreoffice-langpack-loc package, where loc is glibc |
779 |
# locale--this is necessary for urpmi to pick it automatically, |
780 |
# * to require other, unrelated, packages, |
781 |
# * to specify file serving as file list. |
782 |
# For these, lower case character argument takes an argument specifying |
783 |
# language, upper case character argument uses language from -l. |
784 |
# |
785 |
# All remaining arguments are considered to be files and added to the file |
786 |
# list. |
787 |
# |
788 |
# Aa: autocorr dependency |
789 |
# c: additional config file (just the name stem) |
790 |
# E the package does not contain any files (i.e., has empty filelist) |
791 |
# Ff: font language dependency |
792 |
# Hh: hunspell dependency |
793 |
# i: additional language added to this package |
794 |
# L: internal (LibreOffice) language code, used in file names |
795 |
# l: language code, e.g., cs |
796 |
# Mm: mythes dependency |
797 |
# n: language name, e.g., Czech |
798 |
# Oo: Obsoletes: of openoffice.org-langpack |
799 |
# Vv: Very archaic Obsoletes: of openoffice.org-langpack |
800 |
# Ww: Archaic Obsoletes: of openoffice.org2-langpack |
801 |
# p: Provides: of libreoffice-langpack |
802 |
# r: comma-separated list of additional requires |
803 |
# S:s: script classification (cjk, ctl). -S is only a marker, as it does |
804 |
# not add any .xcd into the package (the file does not exist for at |
805 |
# least one CTL-using locale, si) |
806 |
# T has help files |
807 |
# u: requires locales-XX (w/o, we requires the proper locales-XX automatically) (MGA) |
808 |
# Xx: has autotext definitions |
809 |
# Yy: hyphen dependency |
810 |
# |
811 |
# Example: |
812 |
# libreoffice-langpack-cs: langpack for Czech lang. requiring hyphen-cs, |
813 |
# autocorr-cs, mythes-cs-CZ and suitable font, obsoleting |
814 |
# openoffice.org-langpack-cs_CZ: |
815 |
# %%langpack -l cs -n Czech -H -A -m cs-CZ |
816 |
# b de g jk q tu z BCD G IJK N PQR Z0123456789 |
817 |
%define langpack(Aa:c:EFf:Hh:i:L:l:Mm:n:p:Oo:r:S:s:TVv:u:Ww:Xx:Yy:) \ |
818 |
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \ |
819 |
%define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \ |
820 |
%define pkgname langpack-%{lang} \ |
821 |
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \ |
822 |
\ |
823 |
%global langpack_langs %{langpack_langs} %{_langpack_lang} %{-i:%{-i*}} \ |
824 |
\ |
825 |
%package %{pkgname} \ |
826 |
Summary: %{langname} language pack for LibreOffice \ |
827 |
Group: System/Internationalization \ |
828 |
Requires: %{name}-core = %{version}-%{release} \ |
829 |
Provides: %name-langpack = %version-%release \ |
830 |
%{-a:Requires: autocorr-%{-a*}}%{!-a:%{-A:Requires: autocorr-%{lang}}} \ |
831 |
%{-f:Requires: font(:lang=%{-f*})}%{!-f:%{-F:Requires: font(:lang=%{lang})}} \ |
832 |
%{-h:Requires: hunspell-%{-h*}}%{!-h:%{-H:Requires: hunspell-%{lang}}} \ |
833 |
%{-m:Requires: mythes-%{-m*}}%{!-m:%{-M:Requires: mythes-%{lang}}} \ |
834 |
%{-u:Requires: locales-%{-u*}}%{!-u:Requires: locales-%{lang}} \ |
835 |
%{-y:Requires: hyphen-%{-y*}}%{!-y:%{-Y:Requires: hyphen-%{lang}}} \ |
836 |
%{-r:Requires: %{-r*}} \ |
837 |
%{-o:Obsoletes: openoffice.org-langpack-%{-o*} < 1:3.3.1}%{!-o:%{-O:Obsoletes: openoffice.org-langpack-%{lang} < 1:3.3.1}} \ |
838 |
#%{-w:Obsoletes: openoffice.org2-langpack-%{-x*} < 1:3.0.0}%{!-x:%{-W:Obsoletes: openoffice.org2-langpack-%{lang} < 1:3.0.0}} \ |
839 |
%{-v:Obsoletes: openoffice.org-langpack-%{-v*} < 1:2.0.3}%{!-v:%{-V:Obsoletes: openoffice.org-langpack-%{lang} < 2.0.3}} \ |
840 |
%{-p:Provides: %{name}-langpack-%{-p*}} \ |
841 |
\ |
842 |
%description %{pkgname} \ |
843 |
Provides additional %{langname} translations and resources for LibreOffice. \ |
844 |
\ |
845 |
%files %{pkgname} \ |
846 |
%{!-E: \ |
847 |
%{expand:%%_langpack_common %{_langpack_lang}} \ |
848 |
%{-x:%{baseinstdir}/share/autotext/%{-x*}}%{!-x:%{-X:%{baseinstdir}/share/autotext/%{_langpack_lang}}} \ |
849 |
%{-c:%{baseinstdir}/share/registry/%{-c*}.xcd} \ |
850 |
%{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \ |
851 |
%{-T: \ |
852 |
%docdir %{baseinstdir}/help/%{_langpack_lang} \ |
853 |
%{baseinstdir}/help/%{_langpack_lang} \ |
854 |
} \ |
855 |
%{-i:%{expand:%%_langpack_common %{-i*}}} \ |
856 |
} \ |
857 |
%{nil} |
858 |
|
859 |
# Defines an auto-correction subpackage. |
860 |
# |
861 |
# i: add autocorrections from additional language |
862 |
# l: language code |
863 |
# n: language name |
864 |
# L the filename does not contain country code |
865 |
# |
866 |
# All remaining arguments are considered to be files and added to the file |
867 |
# list. |
868 |
%define autocorr(i:Ll:n:) \ |
869 |
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \ |
870 |
%define pkgname autocorr-%{lang} \ |
871 |
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \ |
872 |
\ |
873 |
%package -n %{pkgname} \ |
874 |
Summary: %{langname} auto-correction rules \ |
875 |
Group: Text tools \ |
876 |
Requires: locales-%{lang} \ |
877 |
BuildArch: noarch \ |
878 |
\ |
879 |
%description -n %{pkgname} \ |
880 |
Rules for auto-correcting common %{langname} typing errors. \ |
881 |
\ |
882 |
%files -n %{pkgname} \ |
883 |
%doc instdir/LICENSE \ |
884 |
%dir %{_datadir}/autocorr \ |
885 |
%{-L:%{_datadir}/autocorr/acor_%{lang}.dat} \ |
886 |
%{!-L:%{_datadir}/autocorr/acor_%{lang}-*.dat} \ |
887 |
%{-i:%{_datadir}/autocorr/acor_%{-i*}-*.dat} \ |
888 |
%{nil} |
889 |
|
890 |
%langpack -l en -n English -F -H -Y -M -A -E -L en-US -O |
891 |
|
892 |
%if %{with langpacks} |
893 |
%langpack -l af -n Afrikaans -F -H -Y -A -o af_ZA -V -w af_ZA |
894 |
%langpack -l ar -n Arabic -F -H -s ctl -O -W |
895 |
%langpack -l as -n Assamese -F -H -Y -o as_IN -w as_IN |
896 |
%langpack -l bg -n Bulgarian -F -H -Y -M -A -T -X -o bg_BG -V -w bg_BG |
897 |
%langpack -l bn -n Bengali -F -H -Y -T -O -v bn_IN -W |
898 |
%langpack -l br -n Breton -F -H -T |
899 |
%langpack -l ca -n Catalan -F -H -Y -M -A -T -o ca_ES -V -w ca_ES -X |
900 |
%langpack -l cs -n Czech -F -H -Y -M -A -T -X -o cs_CZ -V -w cs_CZ |
901 |
%langpack -l cy -n Welsh -F -H -Y -o cy_GB -V -w cy_GB |
902 |
%langpack -l da -n Danish -F -H -Y -M -A -T -X -o da_DK -V -w da_DK |
903 |
%langpack -l de -n German -F -H -Y -M -A -T -X -O -W |
904 |
%langpack -l dz -n Dzongkha -F -s ctl -T -O |
905 |
%langpack -l el -n Greek -F -H -Y -M -T -o el_GR -V -w el_GR |
906 |
%langpack -l es -n Spanish -F -H -Y -M -A -T -X -O -W |
907 |
%langpack -l et -n Estonian -F -H -Y -T -o et_EE -V -w et_EE |
908 |
%langpack -l eu -n Basque -F -H -Y -T -o eu_ES -V -w eu_ES |
909 |
%langpack -l fa -n Farsi -A -H -Y -s ctl -X |
910 |
%langpack -l fi -n Finnish -F -r libreoffice-voikko -A -T -o fi_FI -V -w fi_FI -X |
911 |
%langpack -l fr -n French -F -H -Y -M -A -T -X -O -W |
912 |
%langpack -l ga -n Irish -F -H -Y -M -A -o ga_IE -w ga_IE |
913 |
%langpack -l gl -n Galician -F -H -Y -T -o gl_ES -V -w gl_ES |
914 |
%langpack -l gu -n Gujarati -F -H -Y -s ctl -o gu_IN -w gu_IN -T |
915 |
%langpack -l he -n Hebrew -F -H -s ctl -o he_IL -V -w he_IL -T |
916 |
%langpack -l hi -n Hindi -F -H -Y -s ctl -T -o hi_IN -v hi-IN -w hi_IN -X |
917 |
%langpack -l hr -n Croatian -F -H -Y -A -o hr_HR -V -w hr_HR -T -X |
918 |
%langpack -l hu -n Hungarian -F -H -Y -M -A -T -X -o hu_HU -V -w hu_HU |
919 |
%langpack -l it -n Italian -F -H -Y -M -A -T -X -O -W |
920 |
%langpack -l ja -n Japanese -F -A -s cjk -T -X -o ja_JP -V -w ja_JP |
921 |
%langpack -l kk -n Kazakh -F -H |
922 |
%langpack -l kn -n Kannada -F -H -Y -o kn_IN -w ka_IN |
923 |
%langpack -l ko -n Korean -F -H -A -s cjk -T -X -o ko_KR -V -w ko_KR |
924 |
%langpack -l lt -n Lithuanian -F -H -Y -A -o lt_LT -V -w lt_LT -X |
925 |
%langpack -l lv -n Latvian -F -H -Y -M |
926 |
%langpack -l mai -n Maithili -F -o mai_IN |
927 |
%langpack -l ml -n Malayalam -F -H -Y -o ml_IN -w ml_IN |
928 |
%langpack -l mr -n Marathi -F -H -Y -o mr_IN -w mr_IN |
929 |
%langpack -l nb -n Bokmal -F -H -Y -M -T -o nb_NO -V -w nb_NO -u no |
930 |
%langpack -l nl -n Dutch -F -H -Y -M -A -T -X -O -W |
931 |
%langpack -l nn -n Nynorsk -F -H -Y -M -T -o nn_NO -V -w nn_NO -u no |
932 |
%define langpack_lang Southern Ndebele |
933 |
%langpack -l nr -n %{langpack_lang} -F -H -o nr_ZA |
934 |
%define langpack_lang Northern Sotho |
935 |
%langpack -l nso -n %{langpack_lang} -F -H -o nso_ZA -w nso_ZA |
936 |
%langpack -l or -n Odia -F -H -Y -s ctl -o or_IN -w or_IN |
937 |
%langpack -l pa -n Punjabi -F -H -Y -s ctl -L pa-IN -O -v pa_IN -w pa_IN |
938 |
%langpack -l pl -n Polish -F -H -Y -M -A -T -X -o pl_PL -V -w pl_PL |
939 |
%define langpack_lang Brazilian Portuguese |
940 |
%langpack -l pt_BR -n %{langpack_lang} -f pt -h pt -y pt -m pt -a pt -p pt_BR -T -X -o pt_BR -V -w pt_BR -L pt-BR -u pt |
941 |
%langpack -l pt -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -X -u pt -o pt_PT -v pt -W |
942 |
%langpack -l ro -n Romanian -A -F -H -Y -M -O -X |
943 |
%langpack -l ru -n Russian -F -H -Y -M -A -T -X -O -W |
944 |
%langpack -l si -n Sinhalese -F -H -S ctl -T -O |
945 |
%langpack -l sk -n Slovak -F -H -Y -M -A -T -X -o sk_SK -V -w sk_SK |
946 |
%langpack -l sl -n Slovenian -F -H -Y -M -A -T -X -o sl_SI -V -w sl_SI |
947 |
%{baseinstdir}/share/wordbook/sl.dic |
948 |
|
949 |
%langpack -l sr -n Serbian -F -H -Y -A -i sr-Latn -O -v sr_CS -w sr_CS |
950 |
%langpack -l ss -n Swati -F -H -o ss_ZA |
951 |
%define langpack_lang Southern Sotho |
952 |
%langpack -l st -n %{langpack_lang} -F -H -o st_ZA |
953 |
%langpack -l sv -n Swedish -F -H -Y -M -A -T -X -O -W |
954 |
%langpack -l ta -n Tamil -F -H -Y -s ctl -o ta_IN -w ta_IN |
955 |
%langpack -l te -n Telugu -F -H -Y -o te_IN -w te_IN |
956 |
%langpack -l th -n Thai -F -H -s ctl -c ctlseqcheck_th -o th_TH -V -w th_TH |
957 |
%langpack -l tn -n Tswana -F -H -o tn_ZA -V -w tn_ZA |
958 |
%langpack -l tr -n Turkish -F -A -T -X -o tr_TR -V -W |
959 |
%langpack -l ts -n Tsonga -F -H -o ts_ZA -V -w ts_ZA |
960 |
%langpack -l uk -n Ukrainian -F -H -Y -M -T -O |
961 |
%langpack -l ve -n Venda -F -H -o ve_ZA |
962 |
%langpack -l xh -n Xhosa -F -H -o xh_ZA |
963 |
%define langpack_lang Simplified Chinese |
964 |
%langpack -l zh_CN -n %{langpack_lang} -f zh-cn -a zh -p zh_CN -s cjk -T -L zh-CN -X -o zh_CN -v zh-CN -w zh_CN -u zh |
965 |
%define langpack_lang Traditional Chinese |
966 |
%langpack -l zh_TW -n %{langpack_lang} -f zh-tw -a zh -p zh_TW -s cjk -T -L zh-TW -X -o zh_TW -v zh-TW -w zh_TW -u zh |
967 |
%langpack -l zu -n Zulu -F -H -Y -o zu_ZA -V -w zu_ZA |
968 |
%undefine langpack_lang |
969 |
%endif |
970 |
%autocorr -l en -n English |
971 |
|
972 |
%if %{with langpacks} |
973 |
%autocorr -l af -n Afrikaans |
974 |
%autocorr -l bg -n Bulgarian |
975 |
%autocorr -l ca -n Catalan |
976 |
%autocorr -l cs -n Czech |
977 |
%autocorr -l da -n Danish |
978 |
%autocorr -l de -n German -L |
979 |
%autocorr -l es -n Spanish -L |
980 |
%autocorr -l fa -n Farsi |
981 |
%autocorr -l fi -n Finnish |
982 |
%autocorr -l fr -n French -L |
983 |
%autocorr -l ga -n Irish |
984 |
%autocorr -l hr -n Croatian |
985 |
%autocorr -l hu -n Hungarian |
986 |
%autocorr -l is -n Icelandic |
987 |
%autocorr -l it -n Italian -L |
988 |
%autocorr -l ja -n Japanese |
989 |
%autocorr -l ko -n Korean |
990 |
%autocorr -l lb -n Luxembourgish |
991 |
%autocorr -l lt -n Lithuanian |
992 |
%autocorr -l mn -n Mongolian |
993 |
%autocorr -l nl -n Dutch |
994 |
%autocorr -l pl -n Polish |
995 |
%autocorr -l pt -n Portuguese |
996 |
%autocorr -l ro -n Romanian |
997 |
%autocorr -l ru -n Russian |
998 |
%autocorr -l sk -n Slovak |
999 |
%autocorr -l sl -n Slovenian |
1000 |
#rhbz#452379 clump serbian autocorrections together |
1001 |
%autocorr -l sr -n Serbian -i sr-Latn |
1002 |
%autocorr -l sv -n Swedish |
1003 |
%autocorr -l tr -n Turkish |
1004 |
%autocorr -l vi -n Vietnamese |
1005 |
%autocorr -l zh -n Chinese |
1006 |
%endif |
1007 |
|
1008 |
%define make_autocorr_aliases(l:) \ |
1009 |
%{?-l: \ |
1010 |
for lang in %{*}; do \ |
1011 |
ln -sf acor_%{-l*}.dat acor_$lang.dat \ |
1012 |
done \ |
1013 |
} \ |
1014 |
%{!?-l:%{error:-l must be present}} |
1015 |
|
1016 |
%prep |
1017 |
echo %patches |
1018 |
%setup -q -n %{name}-%{version}%{?libo_prerelease} -b 1 -b 2 |
1019 |
rm -rf git-hooks */git-hooks |
1020 |
|
1021 |
# set up git repo |
1022 |
git init |
1023 |
git config user.name rpmbuild |
1024 |
git config user.email rpmbuild@fedoraproject.org |
1025 |
git config gc.auto 0 # disable auto packing |
1026 |
git add -A |
1027 |
git commit -q -a -m %{name}-%{version} |
1028 |
|
1029 |
#Customize Palette to add Red Hat colours |
1030 |
#TODO: have and add mageia colours |
1031 |
(head -n -1 extras/source/palettes/standard.soc && \ |
1032 |
echo -e ' <draw:color draw:name="Mageia 1" draw:color="#cc0000"/> |
1033 |
<draw:color draw:name="Mageia 2" draw:color="#0093d9"/> |
1034 |
<draw:color draw:name="Mageia 3" draw:color="#ff8d00"/> |
1035 |
<draw:color draw:name="Mageia 4" draw:color="#abb400"/> |
1036 |
<draw:color draw:name="Mageia 5" draw:color="#4e376b"/>' && \ |
1037 |
tail -n 1 extras/source/palettes/standard.soc) > mageia.soc |
1038 |
mv -f mageia.soc extras/source/palettes/standard.soc |
1039 |
|
1040 |
git commit -q -a -m 'add Red Hat colors to palette' |
1041 |
|
1042 |
# apply patches |
1043 |
git am %{patches} |
1044 |
|
1045 |
# tests failling on Mageia: |
1046 |
sed -i '/CppunitTest_writerperfect_impress /d' writerperfect/Module_writerperfect.mk |
1047 |
git commit -q -a -m 'temporarily disable failing tests' |
1048 |
|
1049 |
git mv writerperfect/qa/unit/data/impress/libetonyek/fail/v6.zip writerperfect/qa/unit/data/impress/libetonyek/pass/v6.zip |
1050 |
git commit -am 'update for libetonyek 0.1.4' |
1051 |
|
1052 |
# Seeing .git dir makes some of the build tools change their behavior. |
1053 |
# We do not want that. Note: it is still possible to use |
1054 |
# git --git-dir=.git-rpm |
1055 |
mv .git .git-rpm |
1056 |
|
1057 |
%build |
1058 |
echo build start time is `date`, diskspace: `df -h . | tail -n 1` |
1059 |
echo building localizations: %{langpack_langs} |
1060 |
|
1061 |
# path to external tarballs |
1062 |
EXTSRCDIR=`dirname %{SOURCE0}` |
1063 |
|
1064 |
# KDE bits |
1065 |
export QT4DIR=%{qt4dir} |
1066 |
export KDE4DIR=%{_kde_prefix} |
1067 |
export PATH=$QT4DIR/bin:$PATH |
1068 |
|
1069 |
#use the RPM_OPT_FLAGS but remove the OOo overridden ones |
1070 |
for i in $RPM_OPT_FLAGS; do |
1071 |
case "$i" in |
1072 |
-pipe|-Wall|-Werror*|-g|-fexceptions) continue;; |
1073 |
esac |
1074 |
ARCH_FLAGS="$ARCH_FLAGS $i" |
1075 |
done |
1076 |
export ARCH_FLAGS |
1077 |
# Do not compile LO with -fomit-frame-pointer flags, or it will crash at start. |
1078 |
export CFLAGS="$(echo $ARCH_FLAGS | sed -e 's/-fomit-frame-pointer//')" |
1079 |
export CXXFLAGS="$(echo $ARCH_FLAGS | sed -e 's/-fomit-frame-pointer//')" |
1080 |
export FFLAGS="$(echo $FFLAGS | sed -e 's/-fomit-frame-pointer//')" |
1081 |
|
1082 |
%if %{build_kde} |
1083 |
%define distrooptions --enable-kde4 --disable-gstreamer-0-10 --enable-gstreamer-1.0 --with-system-mythes --with-system-opencollada |
1084 |
%else |
1085 |
%define distrooptions --disable-kde4 --disable-gstreamer-0-10 --enable-gstreamer-1.0 --with-system-mythes --with-system-opencollada |
1086 |
%endif |
1087 |
export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser' |
1088 |
export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser' |
1089 |
|
1090 |
%if %{with langpacks} |
1091 |
%define with_lang --with-lang='%{langpack_langs}' |
1092 |
%endif |
1093 |
|
1094 |
aclocal -I m4 |
1095 |
autoconf |
1096 |
|
1097 |
# TODO: enable coinmp? |
1098 |
# avoid running autogen.sh on make |
1099 |
touch autogen.lastrun |
1100 |
|
1101 |
%configure2_5x \ |
1102 |
%vendoroption \ |
1103 |
%{?_smp_mflags:--with-parallelism="`getconf _NPROCESSORS_ONLN`"} \ |
1104 |
%{?with_lang} \ |
1105 |
--disable-coinmp \ |
1106 |
--disable-fetch-external \ |
1107 |
--disable-gnome-vfs \ |
1108 |
--disable-openssl \ |
1109 |
--enable-eot \ |
1110 |
--enable-evolution2 \ |
1111 |
--enable-ext-nlpsolver \ |
1112 |
--enable-ext-wiki-publisher \ |
1113 |
--enable-release-build \ |
1114 |
--enable-scripting-beanshell \ |
1115 |
--enable-scripting-javascript \ |
1116 |
--enable-symbols \ |
1117 |
--with-build-version="%{version}-%{release}" \ |
1118 |
--with-external-dict-dir=/usr/share/myspell \ |
1119 |
--with-external-tar="$EXTSRCDIR" \ |
1120 |
--with-help \ |
1121 |
--with-system-dicts \ |
1122 |
--with-system-libs \ |
1123 |
--with-system-ucpp \ |
1124 |
--without-fonts \ |
1125 |
--without-ppds \ |
1126 |
--without-system-npapi-headers \ |
1127 |
--with-gdrive-client-secret="GYWrDtzyZQZ0_g5YoBCC6F0I" \ |
1128 |
--with-gdrive-client-id="457862564325.apps.googleusercontent.com" \ |
1129 |
%if %{build_gtk3} |
1130 |
--enable-gtk3 \ |
1131 |
%endif |
1132 |
%if 0%{?system_boost} |
1133 |
%else |
1134 |
--without-system-boost \ |
1135 |
%endif |
1136 |
%if %with_mergedlibs |
1137 |
--enable-mergelibs \ |
1138 |
%endif |
1139 |
%{distrooptions} |
1140 |
|
1141 |
ulimit -c unlimited |
1142 |
make VERBOSE=true |
1143 |
|
1144 |
#generate the icons and mime type stuff |
1145 |
export DESTDIR=../output |
1146 |
export KDEMAINDIR=/usr |
1147 |
export GNOMEDIR=/usr |
1148 |
export GNOME_MIME_THEME=hicolor |
1149 |
export PREFIXDIR=/usr |
1150 |
# TODO use empty variables? Should make the renaming hacks in %%install |
1151 |
# unnecessary. |
1152 |
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION WORKDIR |
1153 |
pushd $WORKDIR/CustomTarget/sysui/share/libreoffice |
1154 |
./create_tree.sh |
1155 |
popd |
1156 |
mkdir $WORKDIR/os-integration |
1157 |
cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration |
1158 |
|
1159 |
%if %{with smallbuild} |
1160 |
# remove the biggest offenders |
1161 |
# NOTE: not removing complete LinkTarget, as some libs are needed for smoketest |
1162 |
rm -rf $WORKDIR/CxxObject $WORKDIR/GenCxxObject $WORKDIR/HelpTarget $WORKDIR/LinkTarget/CppunitTest |
1163 |
%endif |
1164 |
|
1165 |
echo build end time is `date`, diskspace: `df -h . | tail -n 1` |
1166 |
|
1167 |
%install |
1168 |
# TODO investigate use of make distro-pack-install |
1169 |
#figure out the icon version |
1170 |
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR |
1171 |
export PRODUCTVERSIONSHORT PRODUCTVERSION |
1172 |
|
1173 |
# installation |
1174 |
|
1175 |
install -m 0755 -d %{buildroot}%{instdir} |
1176 |
if ! make instsetoo_native PKGFORMAT=installed EPM=not-used-but-must-be-set; then |
1177 |
echo - ---dump log start--- |
1178 |
cat $ WORKDIR/installation/LibreOffice/installed/logging/en-US/log_*_en-US.log |
1179 |
echo - ---dump log end--- |
1180 |
echo - ---dump log start -- SDK--- |
1181 |
cat $ WORKDIR/installation/LibreOffice_SDK/installed/logging/en-US/log_*_en-US.log |
1182 |
echo - ---dump log end -- SDK--- |
1183 |
echo - ---dump log start -- languagepacks--- |
1184 |
cat $ WORKDIR/installation/LibreOffice_languagepack/installed/logging/en-US/log_*_en-US.log |
1185 |
echo - ---dump log end -- languagepacks--- |
1186 |
exit 1 |
1187 |
fi |
1188 |
install -m 0755 -d %{buildroot}%{baseinstdir} |
1189 |
mv $WORKDIR/installation/LibreOffice/installed/install/en-US/* %{buildroot}%{baseinstdir} |
1190 |
%if %{with langpacks} |
1191 |
for langpack in $WORKDIR/installation/LibreOffice_languagepack/installed/install/*; do |
1192 |
[ `basename $langpack` = log ] && continue |
1193 |
cp -rp $langpack/* %{buildroot}%{baseinstdir} |
1194 |
rm -rf $langpack |
1195 |
done |
1196 |
%endif |
1197 |
mv $WORKDIR/installation/LibreOffice_SDK/installed/install/en-US/sdk %{buildroot}%{sdkinstdir} |
1198 |
chmod -R +w %{buildroot}%{baseinstdir} |
1199 |
|
1200 |
# postprocessing and tweaks |
1201 |
|
1202 |
# The installer currently sets UserInstallation to |
1203 |
# $ORIGIN/../libreoffice/4, which is of course total nonsense. Because I |
1204 |
# have no inclination to crawl through mountains of perl code to figure out |
1205 |
# where it comes from, I am just going to replace it by a sensible |
1206 |
# value here. |
1207 |
sed -i -e '/UserInstallation/s@\$ORIGIN/..@$SYSUSERCONFIG@' %{buildroot}%{baseinstdir}/program/bootstraprc |
1208 |
|
1209 |
#configure sdk |
1210 |
pushd %{buildroot}%{sdkinstdir} |
1211 |
sed -e "s,@OO_SDK_NAME@,sdk," \ |
1212 |
-e "s,@OO_SDK_HOME@,%{sdkinstdir}," \ |
1213 |
-e "s,@OFFICE_HOME@,%{baseinstdir}," \ |
1214 |
-e "s,@OO_SDK_URE_HOME@,%{ureinstdir}," \ |
1215 |
-e "s,@OO_SDK_MAKE_HOME@,/usr/bin," \ |
1216 |
-e "s,@OO_SDK_ZIP_HOME@,/usr/bin," \ |
1217 |
-e "s,@OO_SDK_CPP_HOME@,/usr/bin," \ |
1218 |
-e "s,@OO_SDK_CC_55_OR_HIGHER@,," \ |
1219 |
-e "s,@OO_SDK_JAVA_HOME@,$JAVA_HOME," \ |
1220 |
-e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \ |
1221 |
-e "s,@SDK_AUTO_DEPLOYMENT@,NO," \ |
1222 |
setsdkenv_unix.sh.in > setsdkenv_unix.sh |
1223 |
chmod 755 setsdkenv_unix.sh |
1224 |
# we don't want to install the input file |
1225 |
rm -f setsdkenv_unix.sh.in |
1226 |
# TODO: is this still necessary? |
1227 |
#fix permissions |
1228 |
find examples -type f -exec chmod -x {} \; |
1229 |
popd |
1230 |
|
1231 |
#ensure a template dir for each lang |
1232 |
pushd %{buildroot}%{baseinstdir}/share/template |
1233 |
for I in %{langpack_langs}; do |
1234 |
mkdir -p $I |
1235 |
done |
1236 |
popd |
1237 |
|
1238 |
#Set some aliases to canonical autocorrect language files for locales with matching languages |
1239 |
pushd %{buildroot}%{baseinstdir}/share/autocorr |
1240 |
|
1241 |
%make_autocorr_aliases -l en-GB en-AG en-AU en-BS en-BW en-BZ en-CA en-DK en-GH en-HK en-IE en-IN en-JM en-NG en-NZ en-SG en-TT |
1242 |
%make_autocorr_aliases -l en-US en-PH |
1243 |
#en-ZA exists and has a good autocorrect file with two or three extras that make sense for |
1244 |
#neighbouring english speaking territories |
1245 |
%make_autocorr_aliases -l en-ZA en-NA en-ZW |
1246 |
%if %{with langpacks} |
1247 |
%make_autocorr_aliases -l af-ZA af-NA |
1248 |
%make_autocorr_aliases -l nl-NL nl-AW |
1249 |
%make_autocorr_aliases -l sv-SE sv-FI |
1250 |
%else |
1251 |
rm -f acor_[a-df-z]*.dat acor_e[su]*.dat |
1252 |
%endif |
1253 |
popd |
1254 |
#rhbz#484055 make these shared across multiple applications |
1255 |
install -m 0755 -d %{buildroot}%{_datadir} |
1256 |
mv -f %{buildroot}%{baseinstdir}/share/autocorr %{buildroot}%{_datadir}/autocorr |
1257 |
chmod 755 %{buildroot}%{_datadir}/autocorr |
1258 |
ln -s %{_datadir}/autocorr %{buildroot}%{baseinstdir}/share/autocorr |
1259 |
|
1260 |
#remove it in case we didn't build with gcj |
1261 |
rm -f %{buildroot}%{baseinstdir}/program/classes/sandbox.jar |
1262 |
|
1263 |
#remove dummy .dat files |
1264 |
rm -f %{buildroot}%{baseinstdir}/program/root?.dat |
1265 |
|
1266 |
#set standard permissions for rpmlint |
1267 |
find %{buildroot}%{baseinstdir} -exec chmod +w {} \; |
1268 |
find %{buildroot}%{baseinstdir} -type d -exec chmod 0755 {} \; |
1269 |
|
1270 |
# move python bits into site-packages |
1271 |
install -m 0755 -d %{buildroot}%{python3_sitearch} |
1272 |
pushd %{buildroot}%{python3_sitearch} |
1273 |
echo "import sys, os" > uno.py |
1274 |
echo "sys.path.append('%{baseinstdir}/program')" >> uno.py |
1275 |
echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{baseinstdir}/program/fundamentalrc')" >> uno.py |
1276 |
cat %{buildroot}%{baseinstdir}/program/uno.py >> uno.py |
1277 |
rm -f %{buildroot}%{baseinstdir}/program/uno.py* |
1278 |
mv -f %{buildroot}%{baseinstdir}/program/unohelper.py* . |
1279 |
mv -f %{buildroot}%{baseinstdir}/program/officehelper.py* . |
1280 |
popd |
1281 |
|
1282 |
# rhbz#477435 package opensymbol separately |
1283 |
pushd %{buildroot}%{baseinstdir}/share/fonts/truetype |
1284 |
install -d -m 0755 %{buildroot}%{_fontdir} |
1285 |
install -p -m 0644 *.ttf %{buildroot}%{_fontdir} |
1286 |
popd |
1287 |
rm -rf %{buildroot}%{baseinstdir}/share/fonts |
1288 |
|
1289 |
#ensure that no sneaky un-prelinkable, un-fpic or non executable shared libs |
1290 |
#have snuck through |
1291 |
pic=0 |
1292 |
executable=0 |
1293 |
for foo in `find %{buildroot}%{instdir} -name "*" -exec file {} \;| grep ": ELF" | cut -d: -f 1` ; do |
1294 |
chmod +wx $foo |
1295 |
ls -asl $foo |
1296 |
result=`readelf -d $foo | grep TEXTREL` || true |
1297 |
if [ "$result" != "" ]; then |
1298 |
echo "TEXTREL Warning: $foo is b0rked (-fpic missing)" |
1299 |
pic=1 |
1300 |
fi |
1301 |
result=`readelf -l $foo | grep GNU_STACK | grep RWE` || true |
1302 |
if [ "$result" != "" ]; then |
1303 |
echo "GNU_STACK Warning: $foo is b0rked (-noexecstack missing)" |
1304 |
executable=1 |
1305 |
fi |
1306 |
done |
1307 |
if [ $pic == 1 ]; then false; fi |
1308 |
if [ $executable == 1 ]; then false; fi |
1309 |
|
1310 |
#make up some /usr/bin scripts |
1311 |
install -m 0755 -d %{buildroot}%{_bindir} |
1312 |
|
1313 |
pushd %{buildroot}%{_bindir} |
1314 |
echo \#\!/bin/sh > ooffice |
1315 |
echo exec libreoffice \"\$@\" >> ooffice |
1316 |
chmod a+x ooffice |
1317 |
|
1318 |
echo \#\!/bin/sh > ooviewdoc |
1319 |
echo exec libreoffice --view \"\$@\" >> ooviewdoc |
1320 |
chmod a+x ooviewdoc |
1321 |
|
1322 |
for app in base calc draw impress math writer; do |
1323 |
echo \#\!/bin/sh > oo$app |
1324 |
echo exec libreoffice --$app \"\$@\" >> oo$app |
1325 |
chmod a+x oo$app |
1326 |
done |
1327 |
|
1328 |
sed -e s/LAUNCHER/unopkg/g -e s/BRAND/libreoffice/g %{SOURCE4} > unopkg |
1329 |
chmod a+x unopkg |
1330 |
|
1331 |
sed -e s/LAUNCHER/soffice/g -e s/BRAND/libreoffice/g %{SOURCE4} > libreoffice |
1332 |
chmod a+x libreoffice |
1333 |
|
1334 |
# rhbz#499474 provide a /usr/bin/soffice for .recently-used.xbel |
1335 |
ln -s %{baseinstdir}/program/soffice soffice |
1336 |
# rhbz#499474 provide a /usr/bin/openoffice.org for backwards compat |
1337 |
ln -s libreoffice openoffice.org |
1338 |
popd |
1339 |
|
1340 |
pushd %{buildroot}%{baseinstdir}/share/xdg/ |
1341 |
chmod u+w *.desktop |
1342 |
ICONVERSION=`echo $PRODUCTVERSION | sed -e 's/\.//'` |
1343 |
for file in *.desktop; do |
1344 |
# rhbz#156677 remove the version from Name= |
1345 |
# rhbz#156067 don't version the icons |
1346 |
sed -i -e "s/ *$PRODUCTVERSION//g" \ |
1347 |
-e "s/$ICONVERSION//g" \ |
1348 |
-e "s/$PRODUCTVERSIONSHORT//g" \ |
1349 |
$file |
1350 |
done |
1351 |
# rhbz#156677 / rhbz#186515 do not show math and startcenter |
1352 |
#sed -i -e /NoDisplay/s/false/true/ math.desktop startcenter.desktop |
1353 |
# relocate the .desktop and icon files |
1354 |
install -m 0755 -d %{buildroot}%{_datadir}/applications |
1355 |
for app in base calc draw impress math startcenter writer xsltfilter; do |
1356 |
sed -i -e 's/\${UNIXBASISROOTNAME}/%{name}/' $app.desktop |
1357 |
desktop-file-validate $app.desktop |
1358 |
install -m 0644 -p $app.desktop %{buildroot}%{_datadir}/applications/libreoffice-$app.desktop |
1359 |
done |
1360 |
popd |
1361 |
|
1362 |
%if 0 |
1363 |
# desktop files |
1364 |
desktop-file-install --vendor="" \ |
1365 |
--add-mime-type="application/vnd.ms-works;application/x-msworks-wp;zz-application/zz-winassoc-wps" \ |
1366 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*writer*desktop |
1367 |
%endif |
1368 |
|
1369 |
# disabled: web template |
1370 |
for i in calc draw impress math writer; do |
1371 |
desktop-file-install --vendor="" \ |
1372 |
--remove-category="Application" \ |
1373 |
--add-category="Office" \ |
1374 |
--add-category="X-MandrivaLinux-CrossDesktop" \ |
1375 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*${i}*desktop |
1376 |
done |
1377 |
|
1378 |
%if 0 |
1379 |
## MS OOXML (#36465) |
1380 |
desktop-file-install \ |
1381 |
--add-mime-type="application/vnd.openxmlformats-officedocument.wordprocessingml.document" \ |
1382 |
--add-mime-type="application/vnd.ms-word.document.macroEnabled.12" \ |
1383 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/writer*desktop |
1384 |
|
1385 |
desktop-file-install \ |
1386 |
--add-mime-type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" \ |
1387 |
--add-mime-type="application/vnd.ms-excel.sheet.macroEnabled.12" \ |
1388 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/calc*desktop |
1389 |
|
1390 |
desktop-file-install \ |
1391 |
--add-mime-type="application/vnd.openxmlformats-officedocument.presentationml.presentation" \ |
1392 |
--add-mime-type="application/vnd.ms-powerpoint.presentation.macroEnabled.12" \ |
1393 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/impress*desktop |
1394 |
%endif |
1395 |
|
1396 |
for app in base calc draw impress math writer startcenter ; do |
1397 |
sed -i -e "s/Icon=$app/Icon=libreoffice-$app/g" %{buildroot}%_datadir/applications/%name-${app}.desktop |
1398 |
done |
1399 |
|
1400 |
pushd $WORKDIR/os-integration |
1401 |
#get rid of the gnome icons and other unneeded files |
1402 |
rm -rf icons/gnome applications application-registry |
1403 |
|
1404 |
#relocate the rest of them |
1405 |
# rhbz#901346 512x512 icons are not used by anything |
1406 |
for icon in `find icons -path '*/512x512' -prune -o -type f -print`; do |
1407 |
install -m 0755 -d %{buildroot}%{_datadir}/`dirname $icon` |
1408 |
install -m 0644 -p $icon %{buildroot}%{_datadir}/`echo $icon | sed -e s@libreoffice$ICONVERSION-@libreoffice-@ | sed -e s@libreoffice$PRODUCTVERSION-@libreoffice-@` |
1409 |
done |
1410 |
install -m 0755 -d %{buildroot}%{_datadir}/mime-info |
1411 |
install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.keys %{buildroot}%{_datadir}/mime-info/libreoffice.keys |
1412 |
install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.mime %{buildroot}%{_datadir}/mime-info/libreoffice.mime |
1413 |
#add our mime-types, e.g. for .oxt extensions |
1414 |
install -m 0755 -d %{buildroot}%{_datadir}/mime/packages |
1415 |
install -m 0644 -p mime/packages/libreoffice$PRODUCTVERSION.xml %{buildroot}%{_datadir}/mime/packages/libreoffice.xml |
1416 |
popd |
1417 |
|
1418 |
rm -rf %{buildroot}%{baseinstdir}/readmes |
1419 |
rm -rf %{buildroot}%{baseinstdir}/licenses |
1420 |
|
1421 |
# to-do, remove this in libreoffice 4.4 when --without-ppds is gone, it'll do the right thing on its own then |
1422 |
install -m 0755 -d %{buildroot}%{baseinstdir}/share/psprint/driver |
1423 |
install -m 0644 -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS |
1424 |
|
1425 |
# rhbz#452385 to auto have postgres in classpath if subsequently installed |
1426 |
sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc |
1427 |
# Br translation doesn't have any help |
1428 |
# Better use fr ones for now ( and check if this is still valid for next update ) |
1429 |
pushd %buildroot%_libdir/libreoffice/help |
1430 |
ln -s fr br |
1431 |
popd |
1432 |
|
1433 |
# move glade catalog to system glade dir |
1434 |
install -m 0755 -d %{buildroot}%{_datadir}/glade3/catalogs |
1435 |
mv %{buildroot}%{baseinstdir}/share/glade/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade3/catalogs |
1436 |
|
1437 |
# rhbz#1049543 install appdata |
1438 |
install -m 0755 -d %{buildroot}%{_datadir}/appdata |
1439 |
install -m 0644 -p sysui/desktop/appstream-appdata/*.appdata.xml %{buildroot}%{_datadir}/appdata |
1440 |
|
1441 |
# rhbz#1215800 install symbolic icons |
1442 |
install -m 0755 -d %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps |
1443 |
install -m 0644 -p %{SOURCE42} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps |
1444 |
install -m 0644 -p %{SOURCE43} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps |
1445 |
install -m 0644 -p %{SOURCE44} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps |
1446 |
install -m 0644 -p %{SOURCE45} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps |
1447 |
install -m 0644 -p %{SOURCE46} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps |
1448 |
install -m 0644 -p %{SOURCE47} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps |
1449 |
install -m 0644 -p %{SOURCE48} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps |
1450 |
|
1451 |
# install man pages |
1452 |
install -m 0755 -d %{buildroot}%{_mandir}/man1 |
1453 |
install -m 0644 -p sysui/desktop/man/*.1 %{buildroot}%{_mandir}/man1 |
1454 |
for app in oobase oocalc oodraw ooffice ooimpress oomath ooviewdoc oowriter openoffice.org soffice; do |
1455 |
echo '.so man1/libreoffice.1' > $app.1 |
1456 |
install -m 0644 -p $app.1 %{buildroot}%{_mandir}/man1 |
1457 |
done |
1458 |
|
1459 |
%if 0%{?_enable_debug_packages} |
1460 |
export DESTDIR=%{buildroot} |
1461 |
make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb" |
1462 |
%endif |
1463 |
|
1464 |
cat> %{buildroot}%_bindir/libreoffice-gtk3 <<EOF |
1465 |
#!/bin/sh |
1466 |
SAL_USE_VCLPLUGIN=gtk3 exec oowriter |
1467 |
EOF |
1468 |
chmod +x %{buildroot}%_bindir/libreoffice-gtk3 |
1469 |
|
1470 |
%check |
1471 |
exit 0 |
1472 |
ulimit -c unlimited |
1473 |
unset WITH_LANG |
1474 |
# work around flawed accessibility check |
1475 |
export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1" |
1476 |
# TODO is the timeout still needed? |
1477 |
# FIXME find what is the problem |
1478 |
# timeout -k 2m 2h make smoketest.subsequentcheck VERBOSE=t |
1479 |
|
1480 |
%files |
1481 |
|
1482 |
%files filters |
1483 |
|
1484 |
%files core |
1485 |
%dir %{baseinstdir} |
1486 |
%dir %{baseinstdir}/help |
1487 |
%docdir %{baseinstdir}/help/en-US |
1488 |
%dir %{baseinstdir}/help/en-US |
1489 |
%{baseinstdir}/help/en-US/default.css |
1490 |
%{baseinstdir}/help/en-US/err.html |
1491 |
%{baseinstdir}/help/en-US/highcontrast1.css |
1492 |
%{baseinstdir}/help/en-US/highcontrast2.css |
1493 |
%{baseinstdir}/help/en-US/highcontrastblack.css |
1494 |
%{baseinstdir}/help/en-US/highcontrastwhite.css |
1495 |
%{baseinstdir}/help/en-US/sbasic.* |
1496 |
%{baseinstdir}/help/en-US/schart.* |
1497 |
%{baseinstdir}/help/en-US/shared.* |
1498 |
%{baseinstdir}/help/idxcaption.xsl |
1499 |
%{baseinstdir}/help/idxcontent.xsl |
1500 |
%{baseinstdir}/help/main_transform.xsl |
1501 |
%{baseinstdir}/presets |
1502 |
%dir %{baseinstdir}/program |
1503 |
%{baseinstdir}/program/libbasprovlo.so |
1504 |
%{baseinstdir}/program/libcairocanvaslo.so |
1505 |
%{baseinstdir}/program/libcanvasfactorylo.so |
1506 |
%dir %{baseinstdir}/program/classes |
1507 |
%{baseinstdir}/program/classes/commonwizards.jar |
1508 |
%{baseinstdir}/program/classes/form.jar |
1509 |
%{baseinstdir}/program/classes/query.jar |
1510 |
%{baseinstdir}/program/classes/report.jar |
1511 |
%{baseinstdir}/program/classes/ScriptFramework.jar |
1512 |
%{baseinstdir}/program/classes/ScriptProviderForJava.jar |
1513 |
%{baseinstdir}/program/classes/table.jar |
1514 |
%{baseinstdir}/program/classes/unoil.jar |
1515 |
%{baseinstdir}/program/classes/XMergeBridge.jar |
1516 |
%{baseinstdir}/program/classes/xmerge.jar |
1517 |
%{baseinstdir}/program/libcmdmaillo.so |
1518 |
%{baseinstdir}/program/libdeployment.so |
1519 |
%{baseinstdir}/program/libdeploymentgui.so |
1520 |
%{baseinstdir}/program/libdlgprovlo.so |
1521 |
%{baseinstdir}/program/libexpwraplo.so |
1522 |
%{baseinstdir}/program/flat_logo.svg |
1523 |
%{baseinstdir}/program/libfps_officelo.so |
1524 |
%{baseinstdir}/program/gdbtrace |
1525 |
%{baseinstdir}/program/gengal |
1526 |
%{baseinstdir}/program/gengal.bin |
1527 |
%{baseinstdir}/program/gnome-open-url |
1528 |
%{baseinstdir}/program/libi18nsearchlo.so |
1529 |
%{baseinstdir}/program/libldapbe2lo.so |
1530 |
%{baseinstdir}/program/libacclo.so |
1531 |
%{baseinstdir}/program/libavmedia*.so |
1532 |
%{baseinstdir}/program/libbasebmplo.so |
1533 |
%{baseinstdir}/program/libbasctllo.so |
1534 |
%{baseinstdir}/program/libbiblo.so |
1535 |
%{baseinstdir}/program/libcached1.so |
1536 |
%{baseinstdir}/program/libcanvastoolslo.so |
1537 |
%{baseinstdir}/program/libchart*lo.so |
1538 |
%{baseinstdir}/program/libcollator_data.so |
1539 |
%{baseinstdir}/program/libcppcanvaslo.so |
1540 |
%{baseinstdir}/program/libctllo.so |
1541 |
%{baseinstdir}/program/libcuilo.so |
1542 |
%{baseinstdir}/program/libdbalo.so |
1543 |
%{baseinstdir}/program/libdbaselo.so |
1544 |
%{baseinstdir}/program/libdbaxmllo.so |
1545 |
%{baseinstdir}/program/libdbmmlo.so |
1546 |
%{baseinstdir}/program/libdbpool2.so |
1547 |
%{baseinstdir}/program/libdbtoolslo.so |
1548 |
%{baseinstdir}/program/libdbulo.so |
1549 |
%{baseinstdir}/program/libdeploymentmisclo.so |
1550 |
%{baseinstdir}/program/libdesktop_detectorlo.so |
1551 |
%{baseinstdir}/program/libdict_ja.so |
1552 |
%{baseinstdir}/program/libdict_zh.so |
1553 |
%{baseinstdir}/program/libdrawinglayerlo.so |
1554 |
%{baseinstdir}/program/libeditenglo.so |
1555 |
%{baseinstdir}/program/libembobj.so |
1556 |
%{baseinstdir}/program/libemboleobj.so |
1557 |
%{baseinstdir}/program/libevoab*.so |
1558 |
%{baseinstdir}/program/libevtattlo.so |
1559 |
%{baseinstdir}/program/libegilo.so |
1560 |
%{baseinstdir}/program/libemelo.so |
1561 |
%{baseinstdir}/program/libepblo.so |
1562 |
%{baseinstdir}/program/libepglo.so |
1563 |
%{baseinstdir}/program/libepplo.so |
1564 |
%{baseinstdir}/program/libepslo.so |
1565 |
%{baseinstdir}/program/libeptlo.so |
1566 |
%{baseinstdir}/program/liberalo.so |
1567 |
%{baseinstdir}/program/libetilo.so |
1568 |
%{baseinstdir}/program/libexplo.so |
1569 |
%{baseinstdir}/program/libfirebird_sdbclo.so |
1570 |
%{baseinstdir}/program/libicdlo.so |
1571 |
%{baseinstdir}/program/libicglo.so |
1572 |
%{baseinstdir}/program/libidxlo.so |
1573 |
%{baseinstdir}/program/libimelo.so |
1574 |
%{baseinstdir}/program/libindex_data.so |
1575 |
%{baseinstdir}/program/libipblo.so |
1576 |
%{baseinstdir}/program/libipdlo.so |
1577 |
%{baseinstdir}/program/libipslo.so |
1578 |
%{baseinstdir}/program/libiptlo.so |
1579 |
%{baseinstdir}/program/libipxlo.so |
1580 |
%{baseinstdir}/program/libiralo.so |
1581 |
%{baseinstdir}/program/libitglo.so |
1582 |
%{baseinstdir}/program/libitilo.so |
1583 |
%{baseinstdir}/program/libfilelo.so |
1584 |
%{baseinstdir}/program/libfilterconfiglo.so |
1585 |
%{baseinstdir}/program/libflatlo.so |
1586 |
%{baseinstdir}/program/libfrmlo.so |
1587 |
%{baseinstdir}/program/libguesslanglo.so |
1588 |
%{baseinstdir}/program/libhelplinkerlo.so |
1589 |
%{baseinstdir}/program/libhyphenlo.so |
1590 |
%{baseinstdir}/program/libjdbclo.so |
1591 |
# TODO: move elsewhere? |
1592 |
%{baseinstdir}/program/liblibreofficekitgtk.so |
1593 |
%{baseinstdir}/program/liblnglo.so |
1594 |
%{baseinstdir}/program/libloglo.so |
1595 |
%{baseinstdir}/program/liblocaledata_en.so |
1596 |
%{baseinstdir}/program/liblocaledata_es.so |
1597 |
%{baseinstdir}/program/liblocaledata_euro.so |
1598 |
%{baseinstdir}/program/liblocaledata_others.so |
1599 |
%{baseinstdir}/program/libmcnttype.so |
1600 |
%{baseinstdir}/program/libmorklo.so |
1601 |
%{baseinstdir}/program/libmozbootstraplo.so |
1602 |
%{baseinstdir}/program/libmsfilterlo.so |
1603 |
%{baseinstdir}/program/libmtfrendererlo.so |
1604 |
%{baseinstdir}/program/libmysqllo.so |
1605 |
%{baseinstdir}/program/libodbclo.so |
1606 |
%{baseinstdir}/program/liboglcanvaslo.so |
1607 |
%{baseinstdir}/program/liboffacclo.so |
1608 |
%{baseinstdir}/program/libooxlo.so |
1609 |
%{baseinstdir}/program/libpcrlo.so |
1610 |
%{baseinstdir}/program/libpdffilterlo.so |
1611 |
%{baseinstdir}/program/libpllo.so |
1612 |
%{baseinstdir}/program/libprotocolhandlerlo.so |
1613 |
%{baseinstdir}/program/libqstart_gtklo.so |
1614 |
%{baseinstdir}/program/librecentfile.so |
1615 |
%{baseinstdir}/program/libreslo.so |
1616 |
%{baseinstdir}/program/libsaxlo.so |
1617 |
%{baseinstdir}/program/libscnlo.so |
1618 |
%{baseinstdir}/program/libscriptframe.so |
1619 |
%{baseinstdir}/program/libsdlo.so |
1620 |
%{baseinstdir}/program/libsdfiltlo.so |
1621 |
%{baseinstdir}/program/libsdbc2.so |
1622 |
%{baseinstdir}/program/libsdbtlo.so |
1623 |
%{baseinstdir}/program/libsddlo.so |
1624 |
%{baseinstdir}/program/libsduilo.so |
1625 |
%{baseinstdir}/program/libspelllo.so |
1626 |
%{baseinstdir}/program/libsrtrs1.so |
1627 |
%{baseinstdir}/program/libstoragefdlo.so |
1628 |
%{baseinstdir}/program/libsvgiolo.so |
1629 |
%{baseinstdir}/program/libsvxlo.so |
1630 |
%{baseinstdir}/program/libsvxcorelo.so |
1631 |
%{baseinstdir}/program/libswdlo.so |
1632 |
%{baseinstdir}/program/libswlo.so |
1633 |
%{baseinstdir}/program/libtextconv_dict.so |
1634 |
%{baseinstdir}/program/libtextconversiondlgslo.so |
1635 |
%{baseinstdir}/program/libtextfdlo.so |
1636 |
%{baseinstdir}/program/libodfflatxmllo.so |
1637 |
# TODO: shouldn't it have lo suffix? |
1638 |
%{baseinstdir}/program/libucbhelper.so |
1639 |
%{baseinstdir}/program/libucpchelp1.so |
1640 |
%{baseinstdir}/program/libucpdav1.so |
1641 |
%{baseinstdir}/program/libucpftp1.so |
1642 |
%{baseinstdir}/program/libucphier1.so |
1643 |
%{baseinstdir}/program/libucppkg1.so |
1644 |
%{baseinstdir}/program/libunordflo.so |
1645 |
%{baseinstdir}/program/libunopkgapp.so |
1646 |
%{baseinstdir}/program/libunoxmllo.so |
1647 |
%{baseinstdir}/program/libuuilo.so |
1648 |
%{baseinstdir}/program/libvbahelperlo.so |
1649 |
%{baseinstdir}/program/libvclplug_genlo.so |
1650 |
%{baseinstdir}/program/libvclplug_gtklo.so |
1651 |
%if %{build_gtk3} |
1652 |
%{baseinstdir}/program/libvclplug_gtk3lo.so |
1653 |
%endif |
1654 |
%{baseinstdir}/program/libvclplug_svplo.so |
1655 |
%{baseinstdir}/program/libxmlfalo.so |
1656 |
%{baseinstdir}/program/libxmlfdlo.so |
1657 |
%{baseinstdir}/program/libxoflo.so |
1658 |
%{baseinstdir}/program/libxsec_fw.so |
1659 |
%{baseinstdir}/program/libxsec_xmlsec.so |
1660 |
%{baseinstdir}/program/libxsltdlglo.so |
1661 |
%{baseinstdir}/program/libxsltfilterlo.so |
1662 |
%{baseinstdir}/program/libxstor.so |
1663 |
# TODO how useful this is ? |
1664 |
%{baseinstdir}/program/liblosessioninstalllo.so |
1665 |
%{baseinstdir}/program/libmigrationoo2lo.so |
1666 |
%{baseinstdir}/program/libmigrationoo3lo.so |
1667 |
%{baseinstdir}/program/libmsformslo.so |
1668 |
%dir %{baseinstdir}/program/opengl |
1669 |
%{baseinstdir}/program/opengl/areaScaleFragmentShader.glsl |
1670 |
%{baseinstdir}/program/opengl/areaScaleFastFragmentShader.glsl |
1671 |
%{baseinstdir}/program/opengl/backgroundFragmentShader.glsl |
1672 |
%{baseinstdir}/program/opengl/backgroundVertexShader.glsl |
1673 |
%{baseinstdir}/program/opengl/blendedTextureFragmentShader.glsl |
1674 |
%{baseinstdir}/program/opengl/blendedTextureVertexShader.glsl |
1675 |
%{baseinstdir}/program/opengl/commonFragmentShader.glsl |
1676 |
%{baseinstdir}/program/opengl/commonVertexShader.glsl |
1677 |
%{baseinstdir}/program/opengl/convolutionFragmentShader.glsl |
1678 |
%{baseinstdir}/program/opengl/debugFragmentShader.glsl |
1679 |
%{baseinstdir}/program/opengl/debugVertexShader.glsl |
1680 |
%{baseinstdir}/program/opengl/diffTextureFragmentShader.glsl |
1681 |
%{baseinstdir}/program/opengl/dumbVertexShader.glsl |
1682 |
%{baseinstdir}/program/opengl/dummyVertexShader.glsl |
1683 |
%{baseinstdir}/program/opengl/linearGradientFragmentShader.glsl |
1684 |
%{baseinstdir}/program/opengl/linearMultiColorGradientFragmentShader.glsl |
1685 |
%{baseinstdir}/program/opengl/linearTwoColorGradientFragmentShader.glsl |
1686 |
%{baseinstdir}/program/opengl/maskedTextureFragmentShader.glsl |
1687 |
%{baseinstdir}/program/opengl/maskFragmentShader.glsl |
1688 |
%{baseinstdir}/program/opengl/pickingFragmentShader.glsl |
1689 |
%{baseinstdir}/program/opengl/pickingVertexShader.glsl |
1690 |
%{baseinstdir}/program/opengl/radialGradientFragmentShader.glsl |
1691 |
%{baseinstdir}/program/opengl/radialMultiColorGradientFragmentShader.glsl |
1692 |
%{baseinstdir}/program/opengl/radialTwoColorGradientFragmentShader.glsl |
1693 |
%{baseinstdir}/program/opengl/rectangularMultiColorGradientFragmentShader.glsl |
1694 |
%{baseinstdir}/program/opengl/rectangularTwoColorGradientFragmentShader.glsl |
1695 |
%{baseinstdir}/program/opengl/renderTextureFragmentShader.glsl |
1696 |
%{baseinstdir}/program/opengl/renderTextureVertexShader.glsl |
1697 |
%{baseinstdir}/program/opengl/replaceColorFragmentShader.glsl |
1698 |
%{baseinstdir}/program/opengl/screenTextFragmentShader.glsl |
1699 |
%{baseinstdir}/program/opengl/screenTextVertexShader.glsl |
1700 |
%{baseinstdir}/program/opengl/shape3DFragmentShader.glsl |
1701 |
%{baseinstdir}/program/opengl/shape3DFragmentShaderBatch.glsl |
1702 |
%{baseinstdir}/program/opengl/shape3DFragmentShaderBatchScroll.glsl |
1703 |
%{baseinstdir}/program/opengl/shape3DFragmentShaderV300.glsl |
1704 |
%{baseinstdir}/program/opengl/shape3DVertexShader.glsl |
1705 |
%{baseinstdir}/program/opengl/shape3DVertexShaderBatch.glsl |
1706 |
%{baseinstdir}/program/opengl/shape3DVertexShaderBatchScroll.glsl |
1707 |
%{baseinstdir}/program/opengl/shape3DVertexShaderV300.glsl |
1708 |
%{baseinstdir}/program/opengl/solidFragmentShader.glsl |
1709 |
%{baseinstdir}/program/opengl/symbolFragmentShader.glsl |
1710 |
%{baseinstdir}/program/opengl/symbolVertexShader.glsl |
1711 |
%{baseinstdir}/program/opengl/textFragmentShader.glsl |
1712 |
%{baseinstdir}/program/opengl/textFragmentShaderBatch.glsl |
1713 |
%{baseinstdir}/program/opengl/textVertexShader.glsl |
1714 |
%{baseinstdir}/program/opengl/textVertexShaderBatch.glsl |
1715 |
%{baseinstdir}/program/opengl/textureFragmentShader.glsl |
1716 |
%{baseinstdir}/program/opengl/textureVertexShader.glsl |
1717 |
%{baseinstdir}/program/opengl/transformedTextureVertexShader.glsl |
1718 |
%{baseinstdir}/program/open-url |
1719 |
%{baseinstdir}/program/types/offapi.rdb |
1720 |
%{baseinstdir}/program/libpasswordcontainerlo.so |
1721 |
%{baseinstdir}/program/pagein-common |
1722 |
%{baseinstdir}/program/pluginapp.bin |
1723 |
%dir %{baseinstdir}/program/resource |
1724 |
%{baseinstdir}/program/resource/avmediaen-US.res |
1725 |
%{baseinstdir}/program/resource/accen-US.res |
1726 |
%{baseinstdir}/program/resource/basctlen-US.res |
1727 |
%{baseinstdir}/program/resource/biben-US.res |
1728 |
%{baseinstdir}/program/resource/chartcontrolleren-US.res |
1729 |
%{baseinstdir}/program/resource/cuien-US.res |
1730 |
%{baseinstdir}/program/resource/dbaen-US.res |
1731 |
%{baseinstdir}/program/resource/dbmmen-US.res |
1732 |
%{baseinstdir}/program/resource/dbuen-US.res |
1733 |
%{baseinstdir}/program/resource/dbwen-US.res |
1734 |
%{baseinstdir}/program/resource/deploymenten-US.res |
1735 |
%{baseinstdir}/program/resource/deploymentguien-US.res |
1736 |
%{baseinstdir}/program/resource/dkten-US.res |
1737 |
%{baseinstdir}/program/resource/editengen-US.res |
1738 |
%{baseinstdir}/program/resource/epsen-US.res |
1739 |
%{baseinstdir}/program/resource/euren-US.res |
1740 |
%{baseinstdir}/program/resource/fps_officeen-US.res |
1741 |
%{baseinstdir}/program/resource/frmen-US.res |
1742 |
%{baseinstdir}/program/resource/fween-US.res |
1743 |
%{baseinstdir}/program/resource/galen-US.res |
1744 |
%{baseinstdir}/program/resource/impen-US.res |
1745 |
%{baseinstdir}/program/resource/ofaen-US.res |
1746 |
%{baseinstdir}/program/resource/pcren-US.res |
1747 |
%{baseinstdir}/program/resource/pdffilteren-US.res |
1748 |
%{baseinstdir}/program/resource/sben-US.res |
1749 |
%{baseinstdir}/program/resource/scnen-US.res |
1750 |
%{baseinstdir}/program/resource/sden-US.res |
1751 |
%{baseinstdir}/program/resource/sfxen-US.res |
1752 |
%{baseinstdir}/program/resource/sdbten-US.res |
1753 |
%{baseinstdir}/program/resource/svlen-US.res |
1754 |
%{baseinstdir}/program/resource/svten-US.res |
1755 |
%{baseinstdir}/program/resource/svxen-US.res |
1756 |
%{baseinstdir}/program/resource/swen-US.res |
1757 |
%{baseinstdir}/program/resource/tplen-US.res |
1758 |
%{baseinstdir}/program/resource/uuien-US.res |
1759 |
%{baseinstdir}/program/resource/upden-US.res |
1760 |
%{baseinstdir}/program/resource/vclen-US.res |
1761 |
%{baseinstdir}/program/resource/wzien-US.res |
1762 |
%{baseinstdir}/program/resource/xmlsecen-US.res |
1763 |
%{baseinstdir}/program/resource/xsltdlgen-US.res |
1764 |
%{baseinstdir}/program/senddoc |
1765 |
%dir %{baseinstdir}/program/services |
1766 |
%{baseinstdir}/program/services/services.rdb |
1767 |
%{baseinstdir}/program/libsimplecanvaslo.so |
1768 |
%{baseinstdir}/program/libslideshowlo.so |
1769 |
%{baseinstdir}/program/libsofficeapp.so |
1770 |
%{baseinstdir}/program/libstringresourcelo.so |
1771 |
%{baseinstdir}/program/libsysshlo.so |
1772 |
%{baseinstdir}/program/libucpcmis1lo.so |
1773 |
%{baseinstdir}/program/libucpexpand1lo.so |
1774 |
%{baseinstdir}/program/libucpextlo.so |
1775 |
%{baseinstdir}/program/libucptdoc1lo.so |
1776 |
%{baseinstdir}/program/lounorc |
1777 |
%{baseinstdir}/program/libupdatefeedlo.so |
1778 |
%{baseinstdir}/ure-link |
1779 |
%{baseinstdir}/program/uri-encode |
1780 |
%{baseinstdir}/program/libvbaeventslo.so |
1781 |
%{baseinstdir}/program/libvclcanvaslo.so |
1782 |
%{baseinstdir}/program/versionrc |
1783 |
%{baseinstdir}/program/xid-fullscreen-on-all-monitors |
1784 |
%dir %{baseinstdir}/share |
1785 |
%dir %{baseinstdir}/share/Scripts |
1786 |
%{baseinstdir}/share/Scripts/java |
1787 |
%dir %{baseinstdir}/share/autotext |
1788 |
%dir %{_datadir}/autocorr |
1789 |
%{baseinstdir}/share/autocorr |
1790 |
%{baseinstdir}/share/autotext/en-US |
1791 |
%{baseinstdir}/share/basic |
1792 |
%dir %{baseinstdir}/share/config |
1793 |
%{baseinstdir}/share/config/images_crystal.zip |
1794 |
%{baseinstdir}/share/config/images_galaxy.zip |
1795 |
%{baseinstdir}/share/config/images_hicontrast.zip |
1796 |
%{baseinstdir}/share/config/images_oxygen.zip |
1797 |
%{baseinstdir}/share/config/images_sifr.zip |
1798 |
%{baseinstdir}/share/config/images_tango.zip |
1799 |
%dir %{baseinstdir}/share/config/soffice.cfg |
1800 |
%{baseinstdir}/share/config/soffice.cfg/modules |
1801 |
%if %{with langpacks} |
1802 |
# UI translations go into langpacks |
1803 |
%exclude %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res |
1804 |
%endif |
1805 |
%{baseinstdir}/share/config/soffice.cfg/*/ui |
1806 |
%if %{with langpacks} |
1807 |
# UI translations go into langpacks |
1808 |
%exclude %{baseinstdir}/share/config/soffice.cfg/*/ui/res |
1809 |
%endif |
1810 |
%{baseinstdir}/share/config/webcast |
1811 |
%{baseinstdir}/share/config/wizard |
1812 |
%dir %{baseinstdir}/share/dtd |
1813 |
%{baseinstdir}/share/dtd/officedocument |
1814 |
%{baseinstdir}/share/gallery |
1815 |
%dir %{baseinstdir}/share/labels |
1816 |
%{baseinstdir}/share/labels/labels.xml |
1817 |
%dir %{baseinstdir}/share/psprint |
1818 |
%config %{baseinstdir}/share/psprint/psprint.conf |
1819 |
%{baseinstdir}/share/palette |
1820 |
%{baseinstdir}/share/psprint/driver |
1821 |
%dir %{baseinstdir}/share/registry |
1822 |
%{baseinstdir}/share/registry/gnome.xcd |
1823 |
%{baseinstdir}/share/registry/lingucomponent.xcd |
1824 |
%{baseinstdir}/share/registry/main.xcd |
1825 |
%{baseinstdir}/share/registry/oo-ad-ldap.xcd.sample |
1826 |
%{baseinstdir}/share/registry/oo-ldap.xcd.sample |
1827 |
%{baseinstdir}/share/registry/Langpack-en-US.xcd |
1828 |
%dir %{baseinstdir}/share/registry/res |
1829 |
%{baseinstdir}/share/registry/res/fcfg_langpack_en-US.xcd |
1830 |
%dir %{baseinstdir}/share/template |
1831 |
%{baseinstdir}/share/template/en-US |
1832 |
%dir %{baseinstdir}/share/template/common |
1833 |
%{baseinstdir}/share/template/common/internal |
1834 |
%{baseinstdir}/share/template/common/layout |
1835 |
%{baseinstdir}/share/template/common/officorr |
1836 |
%{baseinstdir}/share/template/common/offimisc |
1837 |
%{baseinstdir}/share/template/common/personal |
1838 |
%{baseinstdir}/share/template/common/presnt |
1839 |
%{baseinstdir}/share/template/common/wizard |
1840 |
%{baseinstdir}/share/template/wizard |
1841 |
%dir %{baseinstdir}/share/wordbook |
1842 |
%{baseinstdir}/share/wordbook/en-GB.dic |
1843 |
%{baseinstdir}/share/wordbook/en-US.dic |
1844 |
%{baseinstdir}/share/wordbook/technical.dic |
1845 |
%{baseinstdir}/program/liblnthlo.so |
1846 |
%{_bindir}/unopkg |
1847 |
%{_mandir}/man1/unopkg.1* |
1848 |
#icons and mime |
1849 |
%{_datadir}/icons/*/*/*/libreoffice* |
1850 |
%{_datadir}/mime-info/libreoffice.* |
1851 |
%{baseinstdir}/program/libxmlsecurity.so |
1852 |
%{_datadir}/mime/packages/libreoffice.xml |
1853 |
%{baseinstdir}/program/libconfigmgrlo.so |
1854 |
%{baseinstdir}/program/libdesktopbe1lo.so |
1855 |
%{baseinstdir}/program/libfsstoragelo.so |
1856 |
%{baseinstdir}/program/libgconfbe1lo.so |
1857 |
%{baseinstdir}/program/libi18npoollo.so |
1858 |
%{baseinstdir}/program/libbasegfxlo.so |
1859 |
# TODO: shouldn't it have lo suffix? |
1860 |
%{baseinstdir}/program/libcomphelper.so |
1861 |
%{baseinstdir}/program/libfwelo.so |
1862 |
%{baseinstdir}/program/libfwilo.so |
1863 |
%{baseinstdir}/program/libfwklo.so |
1864 |
%{baseinstdir}/program/libfwllo.so |
1865 |
%{baseinstdir}/program/libfwmlo.so |
1866 |
%{baseinstdir}/program/libi18nlangtag.so |
1867 |
# TODO: shouldn't it have lo suffix? |
1868 |
%{baseinstdir}/program/libi18nutil.so |
1869 |
%{baseinstdir}/program/libpackage2.so |
1870 |
%{baseinstdir}/program/libsblo.so |
1871 |
%{baseinstdir}/program/libsfxlo.so |
1872 |
%{baseinstdir}/program/libsotlo.so |
1873 |
%{baseinstdir}/program/libspllo.so |
1874 |
%{baseinstdir}/program/libsvllo.so |
1875 |
%{baseinstdir}/program/libsvtlo.so |
1876 |
%{baseinstdir}/program/libtklo.so |
1877 |
%{baseinstdir}/program/libtllo.so |
1878 |
%{baseinstdir}/program/libucb1.so |
1879 |
%{baseinstdir}/program/libucpfile1.so |
1880 |
%{baseinstdir}/program/libutllo.so |
1881 |
%{baseinstdir}/program/libvcllo.so |
1882 |
%{baseinstdir}/program/libwriterperfectlo.so |
1883 |
%{baseinstdir}/program/libxmlscriptlo.so |
1884 |
%{baseinstdir}/program/libxolo.so |
1885 |
%{baseinstdir}/program/liblocalebe1lo.so |
1886 |
%{baseinstdir}/program/libucpgio1lo.so |
1887 |
%{baseinstdir}/program/types/oovbaapi.rdb |
1888 |
%if %with_mergedlibs |
1889 |
%{baseinstdir}/program/libmergedlo.so |
1890 |
%endif |
1891 |
#share unopkg |
1892 |
%dir %{baseinstdir}/share/extensions |
1893 |
%{baseinstdir}/share/extensions/package.txt |
1894 |
%{baseinstdir}/program/unopkg |
1895 |
%{baseinstdir}/program/unopkg.bin |
1896 |
%{baseinstdir}/program/bootstraprc |
1897 |
%{baseinstdir}/program/fundamentalrc |
1898 |
%{baseinstdir}/program/setuprc |
1899 |
%doc %{baseinstdir}/CREDITS.fodt |
1900 |
%doc %{baseinstdir}/LICENSE |
1901 |
%doc %{baseinstdir}/LICENSE.html |
1902 |
%doc %{baseinstdir}/LICENSE.fodt |
1903 |
%doc %{baseinstdir}/NOTICE |
1904 |
%{baseinstdir}/program/intro.* |
1905 |
%{baseinstdir}/program/soffice |
1906 |
%{baseinstdir}/program/soffice.bin |
1907 |
%{baseinstdir}/program/sofficerc |
1908 |
%{baseinstdir}/program/unoinfo |
1909 |
%{baseinstdir}/program/oosplash |
1910 |
%{baseinstdir}/program/shell/ |
1911 |
%dir %{baseinstdir}/share/filter |
1912 |
%{baseinstdir}/share/filter/oox-drawingml-adj-names |
1913 |
%{baseinstdir}/share/filter/oox-drawingml-cs-presets |
1914 |
%{baseinstdir}/share/filter/vml-shape-types |
1915 |
%{baseinstdir}/share/xdg/ |
1916 |
%{baseinstdir}/program/redirectrc |
1917 |
%{_datadir}/applications/libreoffice-startcenter.desktop |
1918 |
#launchers |
1919 |
%{_bindir}/libreoffice |
1920 |
%if %{build_gtk3} |
1921 |
%{_bindir}/libreoffice-gtk3 |
1922 |
%endif |
1923 |
%{_bindir}/openoffice.org |
1924 |
%{_bindir}/soffice |
1925 |
%{_bindir}/ooffice |
1926 |
%{_bindir}/ooviewdoc |
1927 |
|
1928 |
# Exclude files that are already in libreoffice-java-common |
1929 |
%exclude %{baseinstdir}/program/classes/commonwizards.jar |
1930 |
%exclude %{baseinstdir}/program/classes/form.jar |
1931 |
%exclude %{baseinstdir}/program/classes/query.jar |
1932 |
%exclude %{baseinstdir}/program/classes/officebean.jar |
1933 |
%exclude %{baseinstdir}/program/classes/report.jar |
1934 |
%{_mandir}/man1/libreoffice.1* |
1935 |
%{_mandir}/man1/openoffice.org.1* |
1936 |
%{_mandir}/man1/soffice.1* |
1937 |
%{_mandir}/man1/ooffice.1* |
1938 |
%{_mandir}/man1/ooviewdoc.1* |
1939 |
%exclude %{baseinstdir}/program/classes/ScriptFramework.jar |
1940 |
%exclude %{baseinstdir}/program/classes/ScriptProviderForJava.jar |
1941 |
%exclude %{baseinstdir}/program/classes/table.jar |
1942 |
%exclude %{baseinstdir}/program/classes/unoil.jar |
1943 |
%exclude %{baseinstdir}/program/classes/XMergeBridge.jar |
1944 |
%exclude %{baseinstdir}/program/classes/xmerge.jar |
1945 |
%exclude %{baseinstdir}/program/libofficebean.so |
1946 |
%exclude %{baseinstdir}/share/Scripts/java |
1947 |
|
1948 |
%files base |
1949 |
%{baseinstdir}/help/en-US/sdatabase.* |
1950 |
%{baseinstdir}/program/classes/hsqldb.jar |
1951 |
%{baseinstdir}/program/classes/reportbuilder.jar |
1952 |
%{baseinstdir}/program/classes/sdbc_hsqldb.jar |
1953 |
%{baseinstdir}/program/libabplo.so |
1954 |
%{baseinstdir}/program/libdbplo.so |
1955 |
%{baseinstdir}/program/libhsqldb.so |
1956 |
%{baseinstdir}/program/librptlo.so |
1957 |
%{baseinstdir}/program/librptuilo.so |
1958 |
%{baseinstdir}/program/librptxmllo.so |
1959 |
%{baseinstdir}/program/resource/abpen-US.res |
1960 |
%{baseinstdir}/program/resource/cnren-US.res |
1961 |
%{baseinstdir}/program/resource/dbpen-US.res |
1962 |
%{baseinstdir}/program/resource/rpten-US.res |
1963 |
%{baseinstdir}/program/resource/rptuien-US.res |
1964 |
%{baseinstdir}/program/resource/sdbclen-US.res |
1965 |
%{baseinstdir}/program/resource/sdberren-US.res |
1966 |
%{baseinstdir}/share/registry/base.xcd |
1967 |
%{baseinstdir}/share/registry/reportbuilder.xcd |
1968 |
%{baseinstdir}/program/sbase |
1969 |
%{_datadir}/appdata/libreoffice-base.appdata.xml |
1970 |
%{_datadir}/applications/libreoffice-base.desktop |
1971 |
%{_bindir}/oobase |
1972 |
%{_mandir}/man1/oobase.1* |
1973 |
|
1974 |
%files bsh |
1975 |
%{baseinstdir}/program/classes/ScriptProviderForBeanShell.jar |
1976 |
%{baseinstdir}/program/services/scriptproviderforbeanshell.rdb |
1977 |
%{baseinstdir}/share/Scripts/beanshell |
1978 |
|
1979 |
%files rhino |
1980 |
%{baseinstdir}/program/classes/js.jar |
1981 |
%{baseinstdir}/program/classes/ScriptProviderForJavaScript.jar |
1982 |
%{baseinstdir}/program/services/scriptproviderforjavascript.rdb |
1983 |
%{baseinstdir}/share/Scripts/javascript |
1984 |
|
1985 |
%files wiki-publisher |
1986 |
%docdir %{baseinstdir}/share/extensions/wiki-publisher/license |
1987 |
%{baseinstdir}/share/extensions/wiki-publisher |
1988 |
|
1989 |
%files nlpsolver |
1990 |
%docdir %{baseinstdir}/share/extensions/nlpsolver/help |
1991 |
%{baseinstdir}/share/extensions/nlpsolver |
1992 |
|
1993 |
%files officebean |
1994 |
%{baseinstdir}/program/classes/officebean.jar |
1995 |
%{baseinstdir}/program/libofficebean.so |
1996 |
|
1997 |
%files ogltrans |
1998 |
%{baseinstdir}/program/libOGLTranslo.so |
1999 |
%{baseinstdir}/program/opengl/basicVertexShader.glsl |
2000 |
%{baseinstdir}/program/opengl/dissolveFragmentShader.glsl |
2001 |
%{baseinstdir}/program/opengl/staticFragmentShader.glsl |
2002 |
%dir %{baseinstdir}/share/config/soffice.cfg/simpress |
2003 |
%{baseinstdir}/share/config/soffice.cfg/simpress/transitions-ogl.xml |
2004 |
%{baseinstdir}/share/registry/ogltrans.xcd |
2005 |
|
2006 |
%files pdfimport |
2007 |
%{baseinstdir}/program/libpdfimportlo.so |
2008 |
%{baseinstdir}/program/xpdfimport |
2009 |
%{baseinstdir}/share/registry/pdfimport.xcd |
2010 |
%dir %{baseinstdir}/share/xpdfimport |
2011 |
%{baseinstdir}/share/xpdfimport/xpdfimport_err.pdf |
2012 |
|
2013 |
%_font_pkg -n %{fontname} opens___.ttf |
2014 |
%doc instdir/LICENSE |
2015 |
|
2016 |
%files calc |
2017 |
%{baseinstdir}/help/en-US/scalc.* |
2018 |
%{baseinstdir}/program/libanalysislo.so |
2019 |
%{baseinstdir}/program/libcalclo.so |
2020 |
%{baseinstdir}/program/libclewlo.so |
2021 |
%{baseinstdir}/program/libdatelo.so |
2022 |
%{baseinstdir}/program/libforlo.so |
2023 |
%{baseinstdir}/program/libforuilo.so |
2024 |
%{baseinstdir}/program/libopencllo.so |
2025 |
%{baseinstdir}/program/libpricinglo.so |
2026 |
%{baseinstdir}/program/libsclo.so |
2027 |
%{baseinstdir}/program/libscdlo.so |
2028 |
%{baseinstdir}/program/libscfiltlo.so |
2029 |
%{baseinstdir}/program/libscuilo.so |
2030 |
%{baseinstdir}/program/libsolverlo.so |
2031 |
%{baseinstdir}/program/libwpftcalclo.so |
2032 |
%{baseinstdir}/program/resource/analysisen-US.res |
2033 |
%{baseinstdir}/program/resource/dateen-US.res |
2034 |
%{baseinstdir}/program/resource/foren-US.res |
2035 |
%{baseinstdir}/program/resource/foruien-US.res |
2036 |
%{baseinstdir}/program/resource/pricingen-US.res |
2037 |
%{baseinstdir}/program/resource/scen-US.res |
2038 |
%{baseinstdir}/program/resource/solveren-US.res |
2039 |
%{baseinstdir}/program/libvbaobjlo.so |
2040 |
%{baseinstdir}/share/registry/calc.xcd |
2041 |
%{baseinstdir}/program/pagein-calc |
2042 |
%{baseinstdir}/program/scalc |
2043 |
%{_datadir}/appdata/libreoffice-calc.appdata.xml |
2044 |
%{_datadir}/applications/libreoffice-calc.desktop |
2045 |
%{_bindir}/oocalc |
2046 |
%{_mandir}/man1/oocalc.1* |
2047 |
|
2048 |
%files draw |
2049 |
%{baseinstdir}/help/en-US/sdraw.* |
2050 |
%{baseinstdir}/share/registry/draw.xcd |
2051 |
%{baseinstdir}/program/pagein-draw |
2052 |
%{baseinstdir}/program/sdraw |
2053 |
%{_datadir}/appdata/libreoffice-draw.appdata.xml |
2054 |
%{_datadir}/applications/libreoffice-draw.desktop |
2055 |
%{_bindir}/oodraw |
2056 |
%{_mandir}/man1/oodraw.1* |
2057 |
|
2058 |
%files emailmerge |
2059 |
%{baseinstdir}/program/mailmerge.py* |
2060 |
%{baseinstdir}/program/msgbox.py* |
2061 |
|
2062 |
%files writer |
2063 |
%{baseinstdir}/help/en-US/swriter.* |
2064 |
%{baseinstdir}/program/libhwplo.so |
2065 |
%{baseinstdir}/program/liblwpftlo.so |
2066 |
%{baseinstdir}/program/libmswordlo.so |
2067 |
%{baseinstdir}/program/libswuilo.so |
2068 |
%{baseinstdir}/program/libt602filterlo.so |
2069 |
%{baseinstdir}/program/libwpftwriterlo.so |
2070 |
%{baseinstdir}/program/libwriterfilterlo.so |
2071 |
%{baseinstdir}/program/libvbaswobjlo.so |
2072 |
%{baseinstdir}/program/resource/t602filteren-US.res |
2073 |
%{baseinstdir}/share/registry/writer.xcd |
2074 |
%{baseinstdir}/program/pagein-writer |
2075 |
%{baseinstdir}/program/swriter |
2076 |
%{_datadir}/appdata/libreoffice-writer.appdata.xml |
2077 |
%{_datadir}/applications/libreoffice-writer.desktop |
2078 |
%{_bindir}/oowriter |
2079 |
%{_mandir}/man1/oowriter.1* |
2080 |
|
2081 |
%files impress |
2082 |
%{baseinstdir}/help/en-US/simpress.* |
2083 |
%{baseinstdir}/program/libanimcorelo.so |
2084 |
%{baseinstdir}/program/libplacewarelo.so |
2085 |
%{baseinstdir}/program/libPresentationMinimizerlo.so |
2086 |
%{baseinstdir}/program/libPresenterScreenlo.so |
2087 |
%{baseinstdir}/program/libwpftimpresslo.so |
2088 |
%dir %{baseinstdir}/share/config/soffice.cfg/simpress |
2089 |
%{baseinstdir}/share/config/soffice.cfg/simpress/effects.xml |
2090 |
%{baseinstdir}/share/config/soffice.cfg/simpress/layoutlist.xml |
2091 |
%{baseinstdir}/share/config/soffice.cfg/simpress/objectlist.xml |
2092 |
%{baseinstdir}/share/config/soffice.cfg/simpress/transitions.xml |
2093 |
%{baseinstdir}/share/registry/impress.xcd |
2094 |
%{baseinstdir}/program/pagein-impress |
2095 |
%{baseinstdir}/program/simpress |
2096 |
%{_datadir}/appdata/libreoffice-impress.appdata.xml |
2097 |
%{_datadir}/applications/libreoffice-impress.desktop |
2098 |
%{_bindir}/ooimpress |
2099 |
%{_mandir}/man1/ooimpress.1* |
2100 |
|
2101 |
%files math |
2102 |
%{baseinstdir}/help/en-US/smath.* |
2103 |
%{baseinstdir}/program/libsmlo.so |
2104 |
%{baseinstdir}/program/libsmdlo.so |
2105 |
%{baseinstdir}/program/resource/smen-US.res |
2106 |
%{baseinstdir}/share/registry/math.xcd |
2107 |
%{baseinstdir}/program/smath |
2108 |
%{_datadir}/applications/libreoffice-math.desktop |
2109 |
%{_bindir}/oomath |
2110 |
%{_mandir}/man1/oomath.1* |
2111 |
|
2112 |
%files graphicfilter |
2113 |
%{baseinstdir}/program/libflashlo.so |
2114 |
%{baseinstdir}/program/libgraphicfilterlo.so |
2115 |
%{baseinstdir}/program/libsvgfilterlo.so |
2116 |
%{baseinstdir}/program/libwpftdrawlo.so |
2117 |
%{baseinstdir}/share/registry/graphicfilter.xcd |
2118 |
|
2119 |
%files xsltfilter |
2120 |
%{baseinstdir}/share/xslt |
2121 |
%{baseinstdir}/share/registry/xsltfilter.xcd |
2122 |
%{_datadir}/applications/libreoffice-xsltfilter.desktop |
2123 |
|
2124 |
%files postgresql |
2125 |
%{baseinstdir}/program/libpostgresql-sdbclo.so |
2126 |
%{baseinstdir}/program/libpostgresql-sdbc-impllo.so |
2127 |
%{baseinstdir}/program/postgresql-sdbc.ini |
2128 |
%{baseinstdir}/program/services/postgresql-sdbc.rdb |
2129 |
%{baseinstdir}/share/registry/postgresql.xcd |
2130 |
|
2131 |
%files ure |
2132 |
%doc instdir/LICENSE |
2133 |
%{ureinstdir} |
2134 |
|
2135 |
%files sdk |
2136 |
%{sdkinstdir}/ |
2137 |
%exclude %{sdkinstdir}/docs/ |
2138 |
%exclude %{sdkinstdir}/examples/ |
2139 |
|
2140 |
%files sdk-doc |
2141 |
%docdir %{sdkinstdir}/docs |
2142 |
%{sdkinstdir}/docs/ |
2143 |
%{sdkinstdir}/examples/ |
2144 |
|
2145 |
%files pyuno |
2146 |
%{baseinstdir}/program/libpyuno.so |
2147 |
%{baseinstdir}/program/pythonloader.py* |
2148 |
%{baseinstdir}/program/libpythonloaderlo.so |
2149 |
%{baseinstdir}/program/pythonloader.unorc |
2150 |
%{baseinstdir}/program/pythonscript.py* |
2151 |
%{baseinstdir}/program/pyuno.so |
2152 |
%{baseinstdir}/program/services/pyuno.rdb |
2153 |
%{baseinstdir}/program/services/scriptproviderforpython.rdb |
2154 |
%{baseinstdir}/program/wizards |
2155 |
%dir %{baseinstdir}/share/Scripts |
2156 |
%{baseinstdir}/share/Scripts/python |
2157 |
%exclude %{baseinstdir}/share/Scripts/python/LibreLogo |
2158 |
%{python3_sitearch}/uno.py* |
2159 |
%{python3_sitearch}/unohelper.py* |
2160 |
%{python3_sitearch}/officehelper.py* |
2161 |
%{python3_sitearch}/__pycache__/uno.cpython-* |
2162 |
%{python3_sitearch}/__pycache__/unohelper.cpython-* |
2163 |
%{python3_sitearch}/__pycache__/officehelper.cpython-* |
2164 |
%{baseinstdir}/share/registry/pyuno.xcd |
2165 |
|
2166 |
%files librelogo |
2167 |
%{baseinstdir}/share/registry/librelogo.xcd |
2168 |
%{baseinstdir}/share/Scripts/python/LibreLogo |
2169 |
|
2170 |
%files glade |
2171 |
%{baseinstdir}/program/ui-previewer |
2172 |
%{_datadir}/glade3/catalogs/libreoffice-catalog.xml |
2173 |
|
2174 |
%if %{build_kde} |
2175 |
%files kde |
2176 |
%{baseinstdir}/program/kde-open-url |
2177 |
%{baseinstdir}/program/libkde4be1lo.so |
2178 |
%{baseinstdir}/program/libvclplug_kde4lo.so |
2179 |
%else |
2180 |
%{baseinstdir}/program/kde-open-url |
2181 |
%endif |
2182 |
|
2183 |
%files java-common |
2184 |
%dir %{baseinstdir}/program/classes |
2185 |
%{baseinstdir}/program/classes/commonwizards.jar |
2186 |
%{baseinstdir}/program/classes/form.jar |
2187 |
%{baseinstdir}/program/classes/query.jar |
2188 |
%{baseinstdir}/program/classes/officebean.jar |
2189 |
%{baseinstdir}/program/classes/report.jar |
2190 |
%{baseinstdir}/program/classes/reportbuilderwizard.jar |
2191 |
%{baseinstdir}/program/classes/ScriptFramework.jar |
2192 |
%{baseinstdir}/program/classes/ScriptProviderForJava.jar |
2193 |
%{baseinstdir}/program/classes/table.jar |
2194 |
%{baseinstdir}/program/classes/unoil.jar |
2195 |
%{baseinstdir}/program/classes/XMergeBridge.jar |
2196 |
%{baseinstdir}/program/classes/xmerge.jar |
2197 |
%{baseinstdir}/share/Scripts/java |
2198 |
%exclude %{baseinstdir}/program/classes/smoketest.jar |
2199 |
|