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