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