|
 |
8dd8adf |
# download path contains version without the last (fourth) digit
|
|
 |
571f987 |
%global libo_version 5.4.2
|
|
 |
8dd8adf |
# Should contain .alphaX / .betaX, if this is pre-release (actually
|
|
 |
8dd8adf |
# pre-RC) version. The pre-release string is part of tarball file names,
|
|
 |
8dd8adf |
# so we need a way to define it easily at one place.
|
|
 |
2e2698c |
%global libo_prerelease %{nil}
|
|
 |
22f7cf7 |
# Should contain any suffix of release tarball name, e.g., -buildfix1.
|
|
 |
7557b5b |
%global libo_buildfix %{nil}
|
|
 |
d6f6bbf |
# rhbz#715152 state vendor
|
|
 |
d6f6bbf |
%if 0%{?rhel}
|
|
 |
7557b5b |
%global vendoroption --with-vendor="Red Hat, Inc."
|
|
 |
7557b5b |
%global libo_use_python3 %{nil}
|
|
 |
7557b5b |
%global libo_python python
|
|
 |
7557b5b |
%global libo_python_sitearch %{python_sitearch}
|
|
 |
d6f6bbf |
%endif
|
|
 |
d6f6bbf |
%if 0%{?fedora}
|
|
 |
7557b5b |
%global libo_use_python3 1
|
|
 |
7557b5b |
%global libo_python python3
|
|
 |
7557b5b |
%global libo_python_sitearch %{python3_sitearch}
|
|
 |
7557b5b |
%global vendoroption --with-vendor="The Fedora Project"
|
|
 |
d6f6bbf |
%endif
|
|
 |
8076325 |
# rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF
|
|
 |
7557b5b |
%global __jar_repack %{nil}
|
|
 |
0965287 |
# make it easier to download sources from pre-release site
|
|
 |
774b360 |
%if 0%{?rebase}
|
|
 |
7557b5b |
%global source_url http://dev-builds.libreoffice.org/pre-releases/src
|
|
 |
774b360 |
%else
|
|
 |
7557b5b |
%global source_url http://download.documentfoundation.org/libreoffice/src/%{libo_version}
|
|
 |
774b360 |
%endif
|
|
 |
88f272a |
# URL for external projects' tarballs
|
|
 |
7557b5b |
%global external_url http://dev-www.libreoffice.org/src
|
|
 |
e12d19b |
%if 0%{?fedora}
|
|
 |
649c556 |
%global weak_deps 1
|
|
 |
bd546da |
%global file_triggers 1
|
|
 |
e12d19b |
%endif
|
|
 |
0eed0e2 |
%global girapiversion 0.1
|
|
 |
8076325 |
|
|
 |
a2f244f |
# get english only and no-langpacks for a faster smoketest build
|
|
 |
d18fd8c |
# fedpkg compile/install/local/mockbuild does not handle --without ATM,
|
|
 |
d18fd8c |
# so it is necessary to change this to bcond_with to achieve the same
|
|
 |
d18fd8c |
# effect
|
|
 |
8b23922 |
%bcond_without langpacks
|
|
 |
8c1a0f3 |
|
|
 |
f8574d3 |
# remove workdir at the end of %%build, to allow build on space-constrained machines
|
|
 |
f8574d3 |
%ifarch s390 s390x
|
|
 |
f8574d3 |
%bcond_without smallbuild
|
|
 |
f8574d3 |
%else
|
|
 |
f8574d3 |
%bcond_with smallbuild
|
|
 |
f8574d3 |
%endif
|
|
 |
f8574d3 |
|
|
 |
357e8af |
# generated by %%langpack definitions
|
|
 |
357e8af |
%global langpack_langs %{nil}
|
|
 |
8076325 |
|
|
 |
47c84f4 |
%global bundling_options %{nil}
|
|
 |
47c84f4 |
|
|
 |
8076325 |
Summary: Free Software Productivity Suite
|
|
 |
8076325 |
Name: libreoffice
|
|
 |
7ce6c87 |
Epoch: 1
|
|
 |
571f987 |
Version: %{libo_version}.1
|
|
 |
571f987 |
Release: 1%{?libo_prerelease}%{?dist}
|
|
 |
baccef7 |
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 MPLv2.0 and CC0
|
|
Richard Hughes |
0a4885c |
URL: http://www.libreoffice.org/
|
|
 |
a881c9f |
|
|
 |
22f7cf7 |
Source0: %{source_url}/libreoffice-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
|
|
 |
22f7cf7 |
Source1: %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
|
|
 |
22f7cf7 |
Source2: %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
|
|
 |
774b360 |
%if 0%{?rebase}
|
|
 |
774b360 |
Source3: %{source_url}/libreoffice-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz.asc
|
|
 |
774b360 |
Source4: %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz.asc
|
|
 |
774b360 |
Source5: %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz.asc
|
|
 |
774b360 |
%endif
|
|
 |
774b360 |
Source6: http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
|
|
 |
774b360 |
Source7: libreoffice-multiliblauncher.sh
|
|
 |
774b360 |
Source8: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
|
|
 |
774b360 |
Source9: %{external_url}/xmlsec1-1.2.24.tar.gz
|
|
 |
774b360 |
Source10: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
|
|
 |
774b360 |
Source11: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
|
|
 |
9d4ac2a |
#Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose
|
|
 |
9d4ac2a |
#backwards compatability.
|
|
 |
774b360 |
Source12: %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
|
|
 |
47c84f4 |
%global bundling_options %{?bundling_options} --without-system-hsqldb
|
|
 |
36bc8f4 |
|
|
 |
268ab33 |
%if 0%{?fedora}
|
|
 |
268ab33 |
Source40: %{external_url}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
|
|
 |
82f2389 |
%endif
|
|
 |
038a8bf |
|
|
 |
e97054c |
# symbolic icons
|
|
 |
e97054c |
Source42: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-base-symbolic.svg
|
|
 |
e97054c |
Source43: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-calc-symbolic.svg
|
|
 |
e97054c |
Source44: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-draw-symbolic.svg
|
|
 |
e97054c |
Source45: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-impress-symbolic.svg
|
|
 |
e97054c |
Source46: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-main-symbolic.svg
|
|
 |
e97054c |
Source47: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-math-symbolic.svg
|
|
 |
e97054c |
Source48: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-writer-symbolic.svg
|
|
 |
e97054c |
|
|
 |
02af9c6 |
%if 0%{?rhel}
|
|
 |
02af9c6 |
Source100: %{external_url}/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
|
|
 |
84d23d6 |
Source101: %{external_url}/liborcus-0.12.1.tar.gz
|
|
 |
73f25a0 |
Source102: %{external_url}/mdds-1.2.2.tar.bz2
|
|
 |
eac72c5 |
Source103: %{external_url}/libcmis-0.5.1.tar.gz
|
|
 |
8c5ff3c |
Source104: %{external_url}/libwps-0.4.6.tar.xz
|
|
 |
eac72c5 |
Source105: %{external_url}/libpagemaker-0.0.3.tar.bz2
|
|
 |
84d23d6 |
Source106: %{external_url}/libzmf-0.0.1.tar.bz2
|
|
 |
8c5ff3c |
Source107: %{external_url}/libstaroffice-0.0.3.tar.xz
|
|
 |
aefdcb6 |
Source108: %{external_url}/harfbuzz-1.3.2.tar.bz2
|
|
 |
18ad5da |
Source109: %{external_url}/graphite2-minimal-1.3.10.tgz
|
|
 |
8c5ff3c |
Source110: %{external_url}/gpgme-1.8.0.tar.bz2
|
|
 |
1f6713e |
Source111: %{external_url}/libgpg-error-1.26.tar.bz2
|
|
 |
8c5ff3c |
Source112: %{external_url}/libassuan-2.4.3.tar.bz2
|
|
 |
3821c37 |
Source113: %{external_url}/cppunit-1.14.0.tar.gz
|
|
 |
1f6713e |
%global bundling_options %{?bundling_options} --without-system-ucpp --without-system-orcus --without-system-mdds --without-system-libcmis --without-system-libwps --without-system-libpagemaker --without-system-libzmf --without-system-libstaroffice --without-system-harfbuzz --without-system-graphite --without-system-gpgmepp --without-system-cppunit
|
|
 |
02af9c6 |
%endif
|
|
 |
02af9c6 |
|
|
 |
a484797 |
# build tools
|
|
 |
a484797 |
BuildRequires: autoconf
|
|
 |
a484797 |
BuildRequires: automake
|
|
 |
a484797 |
BuildRequires: bc
|
|
 |
a484797 |
BuildRequires: binutils
|
|
 |
a484797 |
BuildRequires: bison
|
|
 |
a484797 |
BuildRequires: desktop-file-utils
|
|
 |
a484797 |
BuildRequires: doxygen
|
|
 |
a484797 |
BuildRequires: findutils
|
|
 |
a484797 |
BuildRequires: flex
|
|
 |
a484797 |
BuildRequires: gcc-c++
|
|
 |
4cfeb5e |
BuildRequires: gdb
|
|
 |
a85919d |
BuildRequires: git
|
|
 |
a484797 |
BuildRequires: gperf
|
|
 |
a484797 |
BuildRequires: icu
|
|
 |
a484797 |
BuildRequires: make
|
|
 |
a484797 |
BuildRequires: perl(Digest::MD5)
|
|
 |
432f77f |
%if 0%{?fedora}
|
|
 |
ef510b5 |
BuildRequires: libappstream-glib
|
|
 |
303cc4a |
BuildRequires: ucpp
|
|
 |
303cc4a |
%endif
|
|
 |
a484797 |
BuildRequires: zip
|
|
 |
a484797 |
|
|
 |
e8ed230 |
# libs / headers - common
|
|
 |
53cedb4 |
BuildRequires: %{libo_python}-devel
|
|
 |
5200d01 |
BuildRequires: boost-devel
|
|
 |
a484797 |
BuildRequires: cups-devel
|
|
 |
a484797 |
BuildRequires: fontpackages-devel
|
|
 |
e452bef |
BuildRequires: glm-devel
|
|
 |
e8ed230 |
BuildRequires: hyphen-devel
|
|
 |
5200d01 |
BuildRequires: libicu-devel
|
|
 |
5200d01 |
BuildRequires: libjpeg-turbo-devel
|
|
 |
e8ed230 |
BuildRequires: lpsolve-devel
|
|
 |
e8ed230 |
BuildRequires: openldap-devel
|
|
 |
e8ed230 |
BuildRequires: pam-devel
|
|
 |
5200d01 |
BuildRequires: pkgconfig(bluez)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(dbus-glib-1)
|
|
 |
aa370e7 |
BuildRequires: pkgconfig(dconf)
|
|
 |
e5ea20e |
BuildRequires: pkgconfig(epoxy)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(evolution-data-server-1.2)
|
|
 |
e129662 |
BuildRequires: pkgconfig(expat)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(freetype2)
|
|
 |
e452bef |
BuildRequires: pkgconfig(glew) >= 1.10.0
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(glu)
|
|
 |
68a5d5a |
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
 |
5200d01 |
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
 |
5200d01 |
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(gtk+-2.0)
|
|
 |
6741cf1 |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(hunspell)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(ice)
|
|
 |
5200d01 |
BuildRequires: pkgconfig(lcms2)
|
|
 |
e452bef |
BuildRequires: pkgconfig(libabw-0.1)
|
|
 |
e452bef |
BuildRequires: pkgconfig(libcdr-0.1)
|
|
 |
5200d01 |
BuildRequires: pkgconfig(libclucene-core)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libcurl)
|
|
 |
02d87b3 |
BuildRequires: pkgconfig(libetonyek-0.1)
|
|
 |
5200d01 |
BuildRequires: pkgconfig(libexttextcat)
|
|
 |
e452bef |
BuildRequires: pkgconfig(libfreehand-0.1)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libidn)
|
|
 |
5200d01 |
BuildRequires: pkgconfig(liblangtag)
|
|
 |
e452bef |
BuildRequires: pkgconfig(libmspub-0.1)
|
|
 |
3c6b679 |
BuildRequires: pkgconfig(libmwaw-0.3)
|
|
 |
e452bef |
BuildRequires: pkgconfig(libodfgen-0.1)
|
|
 |
e452bef |
BuildRequires: pkgconfig(librevenge-0.0)
|
|
 |
e452bef |
BuildRequires: pkgconfig(libvisio-0.1)
|
|
 |
e452bef |
BuildRequires: pkgconfig(libwpd-0.10)
|
|
 |
e452bef |
BuildRequires: pkgconfig(libwpg-0.3)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libxml-2.0)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(libxslt)
|
|
 |
5200d01 |
BuildRequires: pkgconfig(mythes)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(neon)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(nss)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(poppler)
|
|
 |
5200d01 |
BuildRequires: pkgconfig(poppler-cpp)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(redland)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(sane-backends)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(xext)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(xinerama)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(xt)
|
|
 |
e8ed230 |
BuildRequires: pkgconfig(zlib)
|
|
 |
5200d01 |
BuildRequires: postgresql-devel
|
|
 |
e8ed230 |
BuildRequires: unixODBC-devel
|
|
 |
5200d01 |
|
|
 |
e8ed230 |
# libs / headers - conditional
|
|
 |
a0d2c2d |
%if 0%{?fedora}
|
|
 |
1f6713e |
BuildRequires: gpgmepp-devel
|
|
 |
e8ed230 |
BuildRequires: kdelibs4-devel
|
|
 |
038a8bf |
BuildRequires: openCOLLADA-devel
|
|
 |
1f6713e |
BuildRequires: pkgconfig(cppunit) >= 1.14.0
|
|
 |
aefdcb6 |
BuildRequires: pkgconfig(graphite2)
|
|
 |
aefdcb6 |
BuildRequires: pkgconfig(harfbuzz)
|
|
 |
3b240a6 |
BuildRequires: pkgconfig(libcmis-0.5)
|
|
 |
785ca3b |
BuildRequires: pkgconfig(libe-book-0.1)
|
|
 |
fb9ee00 |
BuildRequires: pkgconfig(libeot)
|
|
 |
8d866e1 |
BuildRequires: pkgconfig(libgltf-0.1)
|
|
 |
508b7e1 |
BuildRequires: pkgconfig(liborcus-0.12)
|
|
 |
19303c1 |
BuildRequires: pkgconfig(libpagemaker-0.0)
|
|
 |
84d23d6 |
BuildRequires: pkgconfig(libstaroffice-0.0)
|
|
 |
fd5883b |
BuildRequires: pkgconfig(libwps-0.4)
|
|
 |
84d23d6 |
BuildRequires: pkgconfig(libzmf-0.0)
|
|
 |
607f507 |
BuildRequires: pkgconfig(mdds-1.2)
|
|
 |
fb9ee00 |
%endif
|
|
 |
e8ed230 |
|
|
 |
a484797 |
# java stuff
|
|
 |
a484797 |
BuildRequires: ant
|
|
 |
a484797 |
BuildRequires: bsh
|
|
 |
60d4293 |
BuildRequires: java-devel
|
|
 |
a484797 |
BuildRequires: junit
|
|
 |
a484797 |
BuildRequires: pentaho-reporting-flow-engine
|
|
 |
d7427b6 |
|
|
 |
3821c37 |
# fonts needed for tests
|
|
 |
3821c37 |
BuildRequires: dejavu-sans-fonts
|
|
 |
3821c37 |
BuildRequires: google-crosextra-carlito-fonts
|
|
 |
10ad385 |
BuildRequires: liberation-mono-fonts
|
|
 |
10ad385 |
BuildRequires: liberation-sans-fonts
|
|
 |
10ad385 |
BuildRequires: liberation-serif-fonts
|
|
Lukas Tinkl |
c4870bd |
|
|
 |
6456d6e |
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-impress%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-draw%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-math%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-base%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-emailmerge%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
cf7004f |
|
|
 |
4d8151e |
# not upstreamed: upstream wants an automatic restart after a crash; we
|
|
 |
4d8151e |
# want a nice abrt report
|
|
 |
14ae80d |
Patch0: 0001-don-t-suppress-crashes.patch
|
|
 |
1f6713e |
# not upstreamed
|
|
 |
14ae80d |
Patch1: 0001-Related-tdf-106100-recover-mangled-svg-in-presentati.patch
|
|
 |
1f6713e |
# not upstreamed
|
|
 |
14ae80d |
Patch2: 0001-Resolves-rhbz-1432468-disable-opencl-by-default.patch
|
|
 |
71f3062 |
Patch3: 0001-rename-IsAutoCapitalizeWordDelim-to-NonFieldWordDeli.patch
|
|
 |
71f3062 |
Patch4: 0002-consider-field-marks-as-text-for-auto-quotes.patch
|
|
 |
508b7e1 |
|
|
 |
1c6b9e3 |
%if 0%{?rhel}
|
|
 |
1c6b9e3 |
# not upstreamed
|
|
 |
978b4cf |
Patch500: 0001-disable-libe-book-support.patch
|
|
 |
1c6b9e3 |
%endif
|
|
 |
8076325 |
|
|
 |
7557b5b |
%global instdir %{_libdir}
|
|
 |
7557b5b |
%global baseinstdir %{instdir}/libreoffice
|
|
 |
7557b5b |
%global sdkinstdir %{baseinstdir}/sdk
|
|
 |
7557b5b |
%global datadir %{_datadir}/%{name}
|
|
 |
7557b5b |
%global fontname opensymbol
|
|
 |
8076325 |
|
|
 |
8683146 |
# rhbz#1085420 make sure we do not provide bundled libraries
|
|
 |
8683146 |
%if 0%{?rhel}
|
|
 |
84d23d6 |
%global libo_bundled_libs_filter ^liborcus(-parser)?-0\\.12\\.so.*$
|
|
 |
8683146 |
%global __provides_exclude %{libo_bundled_libs_filter}
|
|
 |
8683146 |
%global __requires_exclude %{libo_bundled_libs_filter}
|
|
 |
8683146 |
%endif
|
|
 |
8683146 |
|
|
 |
45b823c |
%if 0%{?__isa_bits} == 64
|
|
 |
45b823c |
%global mark64 ()(64bit)
|
|
 |
45b823c |
%endif
|
|
 |
45b823c |
|
|
 |
8076325 |
%description
|
|
 |
8076325 |
LibreOffice is an Open Source, community-developed, office productivity suite.
|
|
 |
8076325 |
It includes the key desktop applications, such as a word processor,
|
|
 |
8076325 |
spreadsheet, presentation manager, formula editor and drawing program, with a
|
|
 |
8076325 |
user interface and feature set similar to other office suites. Sophisticated
|
|
 |
8076325 |
and flexible, LibreOffice also works transparently with a variety of file
|
|
 |
8076325 |
formats, including Microsoft Office File Formats.
|
|
 |
8076325 |
|
|
 |
c912544 |
%package filters
|
|
 |
c912544 |
Summary: All import / export filters
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
87ae9dc |
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
87ae9dc |
Requires: %{name}-draw%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
87ae9dc |
Requires: %{name}-graphicfilter%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
87ae9dc |
Requires: %{name}-impress%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
87ae9dc |
Requires: %{name}-math%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
87ae9dc |
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
87ae9dc |
Requires: %{name}-xsltfilter%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
c912544 |
|
|
 |
632edf3 |
%description filters
|
|
 |
c912544 |
Metapackage to pull in all subpackages that contain import or export
|
|
 |
c912544 |
filters.
|
|
 |
c912544 |
|
|
 |
8076325 |
%package core
|
|
 |
8076325 |
Summary: Core modules for LibreOffice
|
|
 |
8ea7f95 |
Requires: %{name}-%{fontname}-fonts = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
e1bf4e8 |
Requires: %{name}-data = %{epoch}:%{version}-%{release}
|
|
 |
5388a9d |
%if 0%{?fedora}
|
|
 |
3d4ac17 |
Requires: %{name}-gtk3%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
43fec3a |
%else
|
|
 |
cca9e4f |
# these two plugins used to be part of core--keep it that way
|
|
 |
cca9e4f |
Requires: %{name}-gtk2%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
cca9e4f |
Requires: %{name}-x11%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
3d4ac17 |
%endif
|
|
 |
e229720 |
Requires: liberation-sans-fonts, liberation-serif-fonts, liberation-mono-fonts
|
|
 |
8076325 |
Requires: dejavu-sans-fonts, dejavu-serif-fonts, dejavu-sans-mono-fonts
|
|
 |
0c51029 |
Requires: google-crosextra-caladea-fonts, google-crosextra-carlito-fonts
|
|
 |
ca7d829 |
Requires: %{name}-langpack-en = %{epoch}:%{version}-%{release}
|
|
 |
213dc35 |
# rhbz#949106 libreoffice-core drags in both openjdk 1.7.0 and 1.8.0
|
|
 |
3981fec |
Requires: java-headless >= 1:1.6
|
|
 |
2e69e1d |
Obsoletes: libreoffice-headless < 1:4.4.0.0
|
|
 |
8d425fb |
Provides: libreoffice-headless = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Provides: libreoffice-headless%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description core
|
|
 |
8076325 |
The shared core libraries and support files for LibreOffice.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package pyuno
|
|
 |
8076325 |
Summary: Python support for LibreOffice
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{libo_python}%{?_isa}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description pyuno
|
|
 |
8076325 |
Python bindings for the LibreOffice UNO component model. Allows scripts both
|
|
 |
8076325 |
external to LibreOffice and within the internal LibreOffice scripting framework
|
|
 |
8076325 |
to be written in python.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package base
|
|
 |
8076325 |
Summary: Database front-end for LibreOffice
|
|
 |
e74cb9c |
Requires: pentaho-reporting-flow-engine
|
|
 |
9d4ac2a |
Requires: postgresql-jdbc
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
b7d5e7a |
Requires: %{name}-data = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description base
|
|
 |
8076325 |
GUI database front-end for LibreOffice. Allows creation and management of
|
|
 |
8076325 |
databases through a GUI.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package bsh
|
|
 |
8076325 |
Summary: BeanShell support for LibreOffice
|
|
 |
8076325 |
Requires: bsh
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description bsh
|
|
 |
8076325 |
Support BeanShell scripts in LibreOffice.
|
|
 |
8076325 |
|
|
 |
5139033 |
%package officebean
|
|
 |
5139033 |
Summary: JavaBean for LibreOffice Components
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
96f3a4e |
Requires: %{name}-officebean-common = %{epoch}:%{version}-%{release}
|
|
 |
5139033 |
|
|
 |
5139033 |
%description officebean
|
|
 |
5139033 |
Allows embedding of LibreOffice documents within the Java environment. It
|
|
 |
5139033 |
provides a Java AWT window into which the backend LibreOffice process draws
|
|
 |
5139033 |
its visual representation
|
|
 |
5139033 |
|
|
 |
96f3a4e |
%package officebean-common
|
|
 |
96f3a4e |
Summary: Common JavaBean for LibreOffice Components
|
|
 |
96f3a4e |
Requires: %{name}-data = %{epoch}:%{version}-%{release}
|
|
 |
96f3a4e |
BuildArch: noarch
|
|
 |
96f3a4e |
|
|
 |
96f3a4e |
%description officebean-common
|
|
 |
96f3a4e |
Arch-independent part of %{name}-officebean.
|
|
 |
96f3a4e |
|
|
 |
8076325 |
%package rhino
|
|
 |
8076325 |
Summary: JavaScript support for LibreOffice
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description rhino
|
|
 |
8076325 |
Support JavaScript scripts in LibreOffice.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package wiki-publisher
|
|
 |
8076325 |
Summary: Create Wiki articles on MediaWiki servers with LibreOffice
|
|
 |
6456d6e |
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description wiki-publisher
|
|
 |
8076325 |
The Wiki Publisher enables you to create Wiki articles on MediaWiki servers
|
|
 |
8076325 |
without having to know the syntax of the MediaWiki markup language. Publish
|
|
 |
8076325 |
your new and existing documents transparently with writer to a wiki page.
|
|
 |
8076325 |
|
|
 |
445e8d9 |
%package nlpsolver
|
|
 |
445e8d9 |
Summary: Non-linear solver engine for LibreOffice Calc
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
445e8d9 |
|
|
 |
445e8d9 |
%description nlpsolver
|
|
 |
445e8d9 |
A non-linear solver engine for Calc as an alternative to the default linear
|
|
 |
445e8d9 |
programming model when more complex, nonlinear programming is required.
|
|
 |
445e8d9 |
|
|
 |
8076325 |
%package ogltrans
|
|
 |
8076325 |
Summary: 3D OpenGL slide transitions for LibreOffice
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-impress%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description ogltrans
|
|
 |
8076325 |
OpenGL Transitions enable 3D slide transitions to be used in LibreOffice.
|
|
 |
8076325 |
Requires good quality 3D support for your graphics card for best experience.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package pdfimport
|
|
 |
8076325 |
Summary: PDF Importer for LibreOffice Draw
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-draw%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description pdfimport
|
|
 |
8076325 |
The PDF Importer imports PDF into drawing documents to preserve layout
|
|
 |
8076325 |
and enable basic editing of PDF documents.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package %{fontname}-fonts
|
|
 |
8076325 |
Summary: LibreOffice dingbats font
|
|
 |
8076325 |
Requires: fontpackages-filesystem
|
|
 |
8076325 |
BuildArch: noarch
|
|
 |
8076325 |
|
|
 |
8076325 |
%description %{fontname}-fonts
|
|
 |
8076325 |
A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and
|
|
 |
8076325 |
mathematical symbols.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package writer
|
|
 |
8076325 |
Summary: LibreOffice Word Processor Application
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
b7d5e7a |
Requires: %{name}-data = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description writer
|
|
 |
8076325 |
The LibreOffice Word Processor application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package emailmerge
|
|
 |
8076325 |
Summary: Email mail-merge component for LibreOffice
|
|
 |
6456d6e |
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description emailmerge
|
|
 |
8076325 |
Enables the LibreOffice writer module to mail-merge to email.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package calc
|
|
 |
8076325 |
Summary: LibreOffice Spreadsheet Application
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
b7d5e7a |
Requires: %{name}-data = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description calc
|
|
 |
8076325 |
The LibreOffice Spreadsheet application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package draw
|
|
 |
8076325 |
Summary: LibreOffice Drawing Application
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
b7d5e7a |
Requires: %{name}-data = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-pdfimport%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-graphicfilter%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description draw
|
|
 |
8076325 |
The LibreOffice Drawing Application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package impress
|
|
 |
8076325 |
Summary: LibreOffice Presentation Application
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
b7d5e7a |
Requires: %{name}-data = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description impress
|
|
 |
8076325 |
The LibreOffice Presentation Application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package math
|
|
 |
8076325 |
Summary: LibreOffice Equation Editor Application
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description math
|
|
 |
8076325 |
The LibreOffice Equation Editor Application.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package graphicfilter
|
|
 |
8076325 |
Summary: LibreOffice Extra Graphic filters
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
b7d5e7a |
Requires: %{name}-data = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description graphicfilter
|
|
 |
8076325 |
The graphicfilter module for LibreOffice provides graphic filters, e.g. svg and
|
|
 |
8076325 |
flash filters.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package xsltfilter
|
|
 |
8076325 |
Summary: Optional xsltfilter module for LibreOffice
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
8076325 |
|
|
 |
8076325 |
%description xsltfilter
|
|
 |
8076325 |
The xsltfilter module for LibreOffice, provides additional docbook and
|
|
 |
8076325 |
xhtml export transforms. Install this to enable docbook export.
|
|
 |
8076325 |
|
|
 |
518b615 |
%package postgresql
|
|
 |
518b615 |
Summary: PostgreSQL connector for LibreOffice
|
|
 |
6456d6e |
Requires: %{name}-base%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: postgresql-libs%{?_isa}
|
|
 |
518b615 |
|
|
 |
518b615 |
%description postgresql
|
|
 |
518b615 |
A PostgreSQL connector for the database front-end for LibreOffice. Allows
|
|
 |
518b615 |
creation and management of PostgreSQL databases through a GUI.
|
|
 |
518b615 |
|
|
 |
cb73e55 |
%package ure
|
|
 |
cb73e55 |
Summary: UNO Runtime Environment
|
|
 |
cb73e55 |
#rhbz#1164551 we want to ensure that a libjvm.so of this arch is available
|
|
 |
96f3a4e |
Requires: %{name}-ure-common = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: unzip%{?_isa}, libjvm.so%{?mark64}
|
|
 |
cb73e55 |
|
|
 |
cb73e55 |
%description ure
|
|
 |
cb73e55 |
UNO is the component model of LibreOffice. UNO offers interoperability between
|
|
 |
cb73e55 |
programming languages, other components models and hardware architectures,
|
|
 |
cb73e55 |
either in process or over process boundaries, in the Intranet as well as in the
|
|
 |
cb73e55 |
Internet. UNO components may be implemented in and accessed from any
|
|
 |
cb73e55 |
programming language for which a UNO implementation (AKA language binding) and
|
|
 |
cb73e55 |
an appropriate bridge or adapter exists
|
|
 |
cb73e55 |
|
|
 |
96f3a4e |
%package ure-common
|
|
 |
96f3a4e |
Summary: Common UNO Runtime Environment
|
|
 |
96f3a4e |
BuildArch: noarch
|
|
 |
96f3a4e |
|
|
 |
96f3a4e |
%description ure-common
|
|
 |
96f3a4e |
Arch-independent part of %{name}-ure.
|
|
 |
96f3a4e |
|
|
 |
8076325 |
%package sdk
|
|
 |
8076325 |
Summary: Software Development Kit for LibreOffice
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
5006c25 |
Requires: unzip%{?_isa}, java-devel
|
|
 |
8076325 |
|
|
 |
8076325 |
%description sdk
|
|
 |
8076325 |
The LibreOffice SDK is an add-on for the LibreOffice office suite. It provides
|
|
 |
8076325 |
the necessary tools for programming using the LibreOffice APIs and for creating
|
|
 |
8076325 |
extensions (UNO components) for LibreOffice. To set the build environment for
|
|
 |
8076325 |
building against the sdk use %{sdkinstdir}/setsdkenv_unix.sh.
|
|
 |
8076325 |
|
|
 |
8076325 |
%package sdk-doc
|
|
 |
8076325 |
Summary: Software Development Kit documentation for LibreOffice
|
|
 |
8076325 |
|
|
 |
8076325 |
%description sdk-doc
|
|
 |
8076325 |
This provides documentation for programming using the LibreOffice APIs
|
|
 |
8076325 |
and examples of creating extensions (UNO components) for LibreOffice.
|
|
 |
8076325 |
|
|
 |
5ac635d |
%package glade
|
|
 |
5ac635d |
Summary: Support for creating LibreOffice dialogs in glade
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
5ac635d |
|
|
 |
5ac635d |
%description glade
|
|
 |
5ac635d |
%{name}-glade contains a catalog of LibreOffice-specific widgets for
|
|
 |
77258ed |
glade and ui-previewer tool to check the visual appearance of dialogs.
|
|
 |
5ac635d |
|
|
 |
a87a076 |
%package librelogo
|
|
 |
a87a076 |
Summary: LibreLogo scripting language
|
|
 |
6456d6e |
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6456d6e |
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
a87a076 |
|
|
 |
a87a076 |
%description librelogo
|
|
 |
a87a076 |
Enables LibreLogo scripting in Writer. LibreLogo is a Logo-like
|
|
 |
a87a076 |
programming language with interactive vectorgraphics for education and
|
|
 |
a87a076 |
DTP.
|
|
 |
a87a076 |
|
|
 |
e1bf4e8 |
%package data
|
|
 |
e1bf4e8 |
Summary: LibreOffice data files
|
|
 |
3d15ea5 |
BuildArch: noarch
|
|
 |
3d15ea5 |
|
|
 |
e1bf4e8 |
%description data
|
|
 |
e1bf4e8 |
%{name}-data contains platform-independent data files.
|
|
 |
3d15ea5 |
|
|
 |
77c7765 |
%package x11
|
|
 |
77c7765 |
Summary: LibreOffice generic X11 support plug-in
|
|
 |
77c7765 |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
77c7765 |
Provides: %{name}-plugin = %{epoch}:%{version}-%{release}
|
|
 |
77c7765 |
Provides: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
77c7765 |
%if 0%{?weak_deps}
|
|
 |
77c7765 |
Supplements: (%{name}-core%{?_isa} and Xserver)
|
|
 |
77c7765 |
%endif
|
|
 |
77c7765 |
|
|
 |
77c7765 |
%description x11
|
|
 |
77c7765 |
A plug-in for LibreOffice that enables generic X11 support.
|
|
 |
77c7765 |
|
|
 |
77c7765 |
%package gtk2
|
|
 |
77c7765 |
Summary: LibreOffice GTK+ 2 integration plug-in
|
|
 |
77c7765 |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
77c7765 |
Provides: %{name}-plugin = %{epoch}:%{version}-%{release}
|
|
 |
77c7765 |
Provides: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
77c7765 |
%if 0%{?weak_deps}
|
|
 |
77c7765 |
Supplements: (%{name}-core%{?_isa} and gtk2%{?_isa})
|
|
 |
77c7765 |
%endif
|
|
 |
77c7765 |
|
|
 |
77c7765 |
%description gtk2
|
|
 |
77c7765 |
A plug-in for LibreOffice that enables integration into GTK+ 2 environment.
|
|
 |
77c7765 |
|
|
 |
6741cf1 |
%package gtk3
|
|
 |
6741cf1 |
Summary: LibreOffice GTK+ 3 integration plug-in
|
|
 |
6741cf1 |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
6741cf1 |
Requires: gstreamer1(element-gtksink)%{?mark64}
|
|
 |
6741cf1 |
%if 0%{?weak_deps}
|
|
 |
6741cf1 |
Supplements: (%{name}-core%{?_isa} and gtk3%{?_isa})
|
|
 |
6741cf1 |
%endif
|
|
 |
6741cf1 |
|
|
 |
6741cf1 |
%description gtk3
|
|
 |
6741cf1 |
A plug-in for LibreOffice that enables integration into GTK+ 3 environment.
|
|
 |
6741cf1 |
|
|
 |
aab62f3 |
%if 0%{?fedora}
|
|
 |
a8a7218 |
|
|
 |
668a0bc |
%package kde4
|
|
Lukas Tinkl |
c4870bd |
Summary: LibreOffice KDE integration plug-in
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
77c7765 |
Provides: %{name}-plugin = %{epoch}:%{version}-%{release}
|
|
 |
77c7765 |
Provides: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
|
|
Lukas Tinkl |
c4870bd |
|
|
 |
668a0bc |
%description kde4
|
|
Lukas Tinkl |
c4870bd |
A plug-in for LibreOffice that enables integration into the KDE desktop environment.
|
|
 |
a8a7218 |
|
|
 |
68a5d5a |
%endif
|
|
 |
68a5d5a |
|
|
 |
439fedf |
%package -n libreofficekit
|
|
 |
439fedf |
Summary: A library providing access to LibreOffice functionality
|
|
 |
e6b18f6 |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
b585f49 |
Requires: %{name}-filters%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
439fedf |
License: MPLv2.0
|
|
 |
439fedf |
|
|
 |
439fedf |
%description -n libreofficekit
|
|
 |
439fedf |
LibreOfficeKit can be used to access LibreOffice functionality
|
|
 |
439fedf |
through C/C++, without any need to use UNO.
|
|
 |
439fedf |
|
|
 |
439fedf |
For now it only offers document conversion (in addition to an
|
|
 |
439fedf |
experimental tiled rendering API).
|
|
 |
439fedf |
|
|
 |
fe1850c |
%package -n libreofficekit-devel
|
|
 |
fe1850c |
Summary: Development files for libreofficekit
|
|
 |
e6b18f6 |
Requires: libreofficekit%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
fe1850c |
License: MPLv2.0
|
|
 |
fe1850c |
|
|
 |
fe1850c |
%description -n libreofficekit-devel
|
|
 |
fe1850c |
The libreofficekit-devel package contains libraries and header files for
|
|
 |
fe1850c |
developing applications that use libreofficekit.
|
|
 |
fe1850c |
|
|
 |
e400f26 |
%if 0%{?_enable_debug_packages}
|
|
 |
e400f26 |
|
|
 |
e400f26 |
%package gdb-debug-support
|
|
 |
e400f26 |
Summary: Additional support for debugging with gdb
|
|
 |
6456d6e |
Requires: gdb%{?_isa}
|
|
 |
c1cdecb |
Requires: %{libo_python}-six
|
|
Thierry Vignaud |
0fab6a6 |
Requires: libreoffice-core%{?_isa} = %{epoch}:%{version}-%{release}
|
|
 |
2d12405 |
%if 0%{?weak_deps}
|
|
 |
00e2674 |
Supplements: libreoffice-debuginfo%{?_isa}
|
|
 |
87ae9dc |
%endif
|
|
 |
e400f26 |
|
|
 |
e400f26 |
%description gdb-debug-support
|
|
 |
e400f26 |
This package provides gdb pretty printers for package %{name}.
|
|
 |
e400f26 |
|
|
 |
e400f26 |
%files gdb-debug-support
|
|
 |
e400f26 |
%{_datadir}/gdb/auto-load%{baseinstdir}
|
|
 |
e400f26 |
%{_datadir}/libreoffice/gdb
|
|
 |
e400f26 |
|
|
 |
e400f26 |
%endif
|
|
 |
8076325 |
|
|
 |
76e4950 |
%define _langpack_common(E) \
|
|
 |
90dd62c |
%{baseinstdir}/program/resource/*%{1}.res \
|
|
 |
76e4950 |
%{!-E: \
|
|
 |
b515936 |
%{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/%{1}.zip \
|
|
 |
b515936 |
%{baseinstdir}/share/config/soffice.cfg/*/ui/res/%{1}.zip \
|
|
 |
76e4950 |
%{baseinstdir}/share/registry/res/registry_%{1}.xcd \
|
|
 |
76e4950 |
} \
|
|
 |
90dd62c |
%{baseinstdir}/share/template/%{1} \
|
|
 |
90dd62c |
%{baseinstdir}/share/registry/Langpack-%{1}.xcd \
|
|
 |
90dd62c |
%{baseinstdir}/share/registry/res/fcfg_langpack_%{1}.xcd \
|
|
 |
90dd62c |
%{nil}
|
|
 |
90dd62c |
|
|
 |
2aee8bd |
# Defines a language pack subpackage.
|
|
 |
2aee8bd |
#
|
|
 |
2aee8bd |
# It's necessary to define language code (-l) and language name (-n).
|
|
 |
2aee8bd |
# Additionally, it's possible
|
|
 |
2aee8bd |
# * to require autocorr, hunspell, hyphen or mythes package or font for
|
|
 |
2aee8bd |
# given language,
|
|
 |
3c53372 |
# * to provide libreoffice-langpack-loc package, where loc is glibc
|
|
 |
3c53372 |
# locale--this is necessary for yum to pick it automatically,
|
|
 |
2aee8bd |
# * to require other, unrelated, packages,
|
|
 |
2aee8bd |
# * to specify file serving as file list.
|
|
 |
2aee8bd |
# For these, lower case character argument takes an argument specifying
|
|
 |
2aee8bd |
# language, upper case character argument uses language from -l.
|
|
 |
2aee8bd |
#
|
|
 |
2aee8bd |
# All remaining arguments are considered to be files and added to the file
|
|
 |
2aee8bd |
# list.
|
|
 |
2aee8bd |
#
|
|
 |
90dd62c |
# Aa: autocorr dependency
|
|
 |
90dd62c |
# c: additional config file (just the name stem)
|
|
 |
76e4950 |
# E: base (US English) langpack
|
|
 |
90dd62c |
# Ff: font language dependency
|
|
 |
90dd62c |
# Hh: hunspell dependency
|
|
 |
90dd62c |
# i: additional language added to this package
|
|
 |
357e8af |
# L: internal (LibreOffice) language code, used in file names
|
|
 |
90dd62c |
# l: language code, e.g., cs
|
|
 |
90dd62c |
# Mm: mythes dependency
|
|
 |
90dd62c |
# n: language name, e.g., Czech
|
|
 |
90dd62c |
# p: Provides: of libreoffice-langpack
|
|
 |
90dd62c |
# r: comma-separated list of additional requires
|
|
 |
5cb5cc6 |
# S:s: script classification (cjk, ctl). -S is only a marker, as it does
|
|
 |
5cb5cc6 |
# not add any .xcd into the package (the file does not exist for at
|
|
 |
5cb5cc6 |
# least one CTL-using locale, si)
|
|
 |
90dd62c |
# T has help files
|
|
 |
58ec5ff |
# Xx: has autotext definitions
|
|
 |
90dd62c |
# Yy: hyphen dependency
|
|
 |
2aee8bd |
#
|
|
 |
2aee8bd |
# Example:
|
|
 |
2aee8bd |
# libreoffice-langpack-cs: langpack for Czech lang. requiring hyphen-cs,
|
|
 |
fb5a016 |
# autocorr-cs, mythes-cs-CZ and suitable font:
|
|
 |
90dd62c |
# %%langpack -l cs -n Czech -H -A -m cs-CZ
|
|
 |
0dc683a |
# b de g jk q tu z BCD G IJK N PQR U Z0123456789
|
|
 |
fb5a016 |
%define langpack(Aa:c:EFf:Hh:i:L:l:Mm:n:p:r:S:s:TXx:Yy:) \
|
|
 |
2aee8bd |
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
|
|
 |
357e8af |
%define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \
|
|
 |
2aee8bd |
%define pkgname langpack-%{lang} \
|
|
 |
2aee8bd |
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
|
|
 |
2aee8bd |
\
|
|
 |
357e8af |
%global langpack_langs %{langpack_langs} %{_langpack_lang} %{-i:%{-i*}} \
|
|
 |
357e8af |
\
|
|
 |
2aee8bd |
%package %{pkgname} \
|
|
 |
05abd19 |
Summary: %{langname} language pack for LibreOffice \
|
|
 |
6456d6e |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} \
|
|
 |
2aee8bd |
%{-a:Requires: autocorr-%{-a*}}%{!-a:%{-A:Requires: autocorr-%{lang}}} \
|
|
 |
2aee8bd |
%{-f:Requires: font(:lang=%{-f*})}%{!-f:%{-F:Requires: font(:lang=%{lang})}} \
|
|
 |
2aee8bd |
%{-h:Requires: hunspell-%{-h*}}%{!-h:%{-H:Requires: hunspell-%{lang}}} \
|
|
 |
2aee8bd |
%{-m:Requires: mythes-%{-m*}}%{!-m:%{-M:Requires: mythes-%{lang}}} \
|
|
 |
2aee8bd |
%{-y:Requires: hyphen-%{-y*}}%{!-y:%{-Y:Requires: hyphen-%{lang}}} \
|
|
 |
2aee8bd |
%{-r:Requires: %{-r*}} \
|
|
 |
cbfdd5e |
%{-p:Provides: %{name}-langpack-%{-p*} = %{epoch}:%{version}-%{release}} \
|
|
 |
cbfdd5e |
%{-p:Provides: %{name}-langpack-%{-p*}%{?_isa} = %{epoch}:%{version}-%{release}} \
|
|
 |
2d12405 |
%if 0%{?weak_deps} \
|
|
 |
00e2674 |
%{-p:Supplements: (%{name}-core%{?_isa} and langpacks-%{-p*})} \
|
|
 |
00e2674 |
%{!-p:Supplements: (%{name}-core%{?_isa} and langpacks-%{lang})} \
|
|
 |
a7ba29f |
%{-T:Recommends: %{name}-help-%{lang}} \
|
|
 |
234400b |
%endif \
|
|
 |
2aee8bd |
\
|
|
 |
2aee8bd |
%description %{pkgname} \
|
|
 |
05abd19 |
Provides additional %{langname} translations and resources for LibreOffice. \
|
|
 |
2aee8bd |
\
|
|
 |
90dd62c |
%{-T: \
|
|
 |
a7ba29f |
%package help-%{lang} \
|
|
 |
a7ba29f |
Summary: %{langname} help for LibreOffice \
|
|
 |
a7ba29f |
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} \
|
|
 |
a7ba29f |
\
|
|
 |
a7ba29f |
%description help-%{lang} \
|
|
 |
a7ba29f |
Provides %{langname} help for LibreOffice. \
|
|
 |
a7ba29f |
\
|
|
 |
a7ba29f |
%files help-%{lang} \
|
|
 |
90dd62c |
%docdir %{baseinstdir}/help/%{_langpack_lang} \
|
|
 |
90dd62c |
%{baseinstdir}/help/%{_langpack_lang} \
|
|
 |
90dd62c |
} \
|
|
 |
a7ba29f |
\
|
|
 |
a7ba29f |
%files %{pkgname} \
|
|
 |
76e4950 |
%{expand:%%_langpack_common %{-E} %{_langpack_lang}} \
|
|
 |
a7ba29f |
%{-x:%{baseinstdir}/share/autotext/%{-x*}}%{!-x:%{-X:%{baseinstdir}/share/autotext/%{_langpack_lang}}} \
|
|
 |
a7ba29f |
%{-c:%{baseinstdir}/share/registry/%{-c*}.xcd} \
|
|
 |
a7ba29f |
%{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \
|
|
 |
76e4950 |
%{-i:%{expand:%%_langpack_common %{-E} %{-i*}}} \
|
|
 |
90dd62c |
%{nil}
|
|
 |
2aee8bd |
|
|
 |
2aee8bd |
# Defines an auto-correction subpackage.
|
|
 |
2aee8bd |
#
|
|
 |
a5510ed |
# i: add autocorrections from additional language
|
|
 |
2aee8bd |
# l: language code
|
|
 |
2aee8bd |
# n: language name
|
|
 |
a5510ed |
# L the filename does not contain country code
|
|
 |
2aee8bd |
#
|
|
 |
2aee8bd |
# All remaining arguments are considered to be files and added to the file
|
|
 |
2aee8bd |
# list.
|
|
 |
a5510ed |
%define autocorr(i:Ll:n:) \
|
|
 |
2aee8bd |
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
|
|
 |
2aee8bd |
%define pkgname autocorr-%{lang} \
|
|
 |
2aee8bd |
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
|
|
 |
2aee8bd |
\
|
|
 |
2aee8bd |
%package -n %{pkgname} \
|
|
 |
2aee8bd |
Summary: %{langname} auto-correction rules \
|
|
 |
2aee8bd |
BuildArch: noarch \
|
|
 |
2aee8bd |
\
|
|
 |
2aee8bd |
%description -n %{pkgname} \
|
|
 |
2aee8bd |
Rules for auto-correcting common %{langname} typing errors. \
|
|
 |
2aee8bd |
\
|
|
 |
2aee8bd |
%files -n %{pkgname} \
|
|
 |
78c68ee |
%doc instdir/LICENSE \
|
|
 |
2aee8bd |
%dir %{_datadir}/autocorr \
|
|
 |
a5510ed |
%{-L:%{_datadir}/autocorr/acor_%{lang}.dat} \
|
|
 |
a5510ed |
%{!-L:%{_datadir}/autocorr/acor_%{lang}-*.dat} \
|
|
 |
a5510ed |
%{-i:%{_datadir}/autocorr/acor_%{-i*}-*.dat} \
|
|
 |
a5510ed |
%{nil}
|
|
 |
8076325 |
|
|
 |
76e4950 |
%langpack -l en -n English -F -h en-US -Y -M -A -E -L en-US -T -X
|
|
 |
5c97235 |
|
|
 |
8c1a0f3 |
%if %{with langpacks}
|
|
 |
8076325 |
|
|
 |
fb5a016 |
%langpack -l af -n Afrikaans -F -H -Y -A
|
|
 |
fb5a016 |
%langpack -l ar -n Arabic -F -H -s ctl -T
|
|
 |
fb5a016 |
%langpack -l as -n Assamese -F -H -Y
|
|
 |
fb5a016 |
%langpack -l bg -n Bulgarian -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l bn -n Bengali -F -H -Y -T
|
|
 |
3d61453 |
%langpack -l br -n Breton -F -H
|
|
 |
fb5a016 |
%langpack -l ca -n Catalan -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l cs -n Czech -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l cy -n Welsh -F -H -Y
|
|
 |
fb5a016 |
%langpack -l da -n Danish -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l de -n German -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l dz -n Dzongkha -F -s ctl -T
|
|
 |
fb5a016 |
%langpack -l el -n Greek -F -H -Y -M -T
|
|
 |
fb5a016 |
%langpack -l es -n Spanish -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l et -n Estonian -F -H -Y -T
|
|
 |
fb5a016 |
%langpack -l eu -n Basque -F -H -Y -T
|
|
 |
3536b77 |
%langpack -l fa -n Farsi -A -H -Y -s ctl -X
|
|
 |
fb5a016 |
%langpack -l fi -n Finnish -F -r libreoffice-voikko -A -T -X
|
|
 |
fb5a016 |
%langpack -l fr -n French -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l ga -n Irish -F -H -Y -M -A
|
|
 |
fb5a016 |
%langpack -l gl -n Galician -F -H -Y -T
|
|
 |
fb5a016 |
%langpack -l gu -n Gujarati -F -H -Y -s ctl -T
|
|
 |
fb5a016 |
%langpack -l he -n Hebrew -F -H -s ctl -T
|
|
 |
0e0949e |
%langpack -l hi -n Hindi -F -H -Y -s ctl -T -X
|
|
 |
fb5a016 |
%langpack -l hr -n Croatian -F -H -Y -A -T -X
|
|
 |
fb5a016 |
%langpack -l hu -n Hungarian -F -H -Y -M -A -T -X
|
|
 |
e231fcb |
%langpack -l id -n Indonesian -F -H -Y -T
|
|
 |
fb5a016 |
%langpack -l it -n Italian -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l ja -n Japanese -F -A -s cjk -T -X
|
|
 |
8ae011d |
%langpack -l kk -n Kazakh -F -H
|
|
 |
fb5a016 |
%langpack -l kn -n Kannada -F -H -Y
|
|
 |
fb5a016 |
%langpack -l ko -n Korean -F -H -A -s cjk -T -X
|
|
 |
fb5a016 |
%langpack -l lt -n Lithuanian -F -H -Y -A -T -X
|
|
 |
ea46a4d |
%langpack -l lv -n Latvian -F -H -Y -M -T
|
|
 |
fb5a016 |
%langpack -l mai -n Maithili -F
|
|
 |
fb5a016 |
%langpack -l ml -n Malayalam -F -H -Y
|
|
 |
fb5a016 |
%langpack -l mr -n Marathi -F -H -Y
|
|
 |
fb5a016 |
%langpack -l nb -n Bokmal -F -H -Y -M -T
|
|
 |
fb5a016 |
%langpack -l nl -n Dutch -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l nn -n Nynorsk -F -H -Y -M -T
|
|
 |
2aee8bd |
%define langpack_lang Southern Ndebele
|
|
 |
fb5a016 |
%langpack -l nr -n %{langpack_lang} -F -H
|
|
 |
2aee8bd |
%define langpack_lang Northern Sotho
|
|
 |
fb5a016 |
%langpack -l nso -n %{langpack_lang} -F -H
|
|
 |
fb5a016 |
%langpack -l or -n Odia -F -H -Y -s ctl
|
|
 |
fb5a016 |
%langpack -l pa -n Punjabi -F -H -Y -s ctl -L pa-IN
|
|
 |
fb5a016 |
%langpack -l pl -n Polish -F -H -Y -M -A -T -X
|
|
 |
2aee8bd |
%define langpack_lang Brazilian Portuguese
|
|
 |
fb5a016 |
%langpack -l pt-BR -n %{langpack_lang} -f pt -h pt -y pt -m pt -a pt -p pt_BR -T -X
|
|
 |
fb5a016 |
%langpack -l pt-PT -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -x pt
|
|
 |
fb5a016 |
%langpack -l ro -n Romanian -A -F -H -Y -M -T -X
|
|
 |
fb5a016 |
%langpack -l ru -n Russian -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l si -n Sinhalese -F -H -S ctl -T
|
|
 |
fb5a016 |
%langpack -l sk -n Slovak -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l sl -n Slovenian -F -H -Y -M -A -T -X
|
|
 |
6222204 |
%{baseinstdir}/share/wordbook/sl.dic
|
|
 |
6222204 |
|
|
 |
90dd62c |
#rhbz#452379 clump serbian translations together
|
|
 |
fb5a016 |
%langpack -l sr -n Serbian -F -H -Y -A -i sr-Latn
|
|
 |
fb5a016 |
%langpack -l ss -n Swati -F -H
|
|
 |
2aee8bd |
%define langpack_lang Southern Sotho
|
|
 |
fb5a016 |
%langpack -l st -n %{langpack_lang} -F -H
|
|
 |
fb5a016 |
%langpack -l sv -n Swedish -F -H -Y -M -A -T -X
|
|
 |
fb5a016 |
%langpack -l ta -n Tamil -F -H -Y -s ctl -T
|
|
 |
fb5a016 |
%langpack -l te -n Telugu -F -H -Y
|
|
 |
fb5a016 |
%langpack -l th -n Thai -F -H -s ctl -c ctlseqcheck_th
|
|
 |
fb5a016 |
%langpack -l tn -n Tswana -F -H
|
|
 |
fb5a016 |
%langpack -l tr -n Turkish -F -A -T -X
|
|
 |
fb5a016 |
%langpack -l ts -n Tsonga -F -H
|
|
 |
fb5a016 |
%langpack -l uk -n Ukrainian -F -H -Y -M -T
|
|
 |
fb5a016 |
%langpack -l ve -n Venda -F -H
|
|
 |
fb5a016 |
%langpack -l xh -n Xhosa -F -H
|
|
 |
2aee8bd |
%define langpack_lang Simplified Chinese
|
|
 |
b083836 |
%langpack -l zh-Hans -n %{langpack_lang} -f zh-cn -a zh -p zh_CN -s cjk -T -L zh-CN -x zh-CN
|
|
 |
2aee8bd |
%define langpack_lang Traditional Chinese
|
|
 |
b083836 |
%langpack -l zh-Hant -n %{langpack_lang} -f zh-tw -a zh -p zh_TW -s cjk -T -L zh-TW -x zh-TW
|
|
 |
fb5a016 |
%langpack -l zu -n Zulu -F -H -Y
|
|
 |
2aee8bd |
%undefine langpack_lang
|
|
 |
8076325 |
|
|
 |
2aee8bd |
%endif
|
|
 |
8076325 |
|
|
 |
2aee8bd |
%autocorr -l en -n English
|
|
 |
8076325 |
|
|
 |
8c1a0f3 |
%if %{with langpacks}
|
|
 |
8076325 |
|
|
 |
2aee8bd |
%autocorr -l af -n Afrikaans
|
|
 |
2aee8bd |
%autocorr -l bg -n Bulgarian
|
|
 |
6168b26 |
%autocorr -l ca -n Catalan
|
|
 |
2aee8bd |
%autocorr -l cs -n Czech
|
|
 |
2aee8bd |
%autocorr -l da -n Danish
|
|
 |
c40c477 |
%autocorr -l de -n German -L
|
|
 |
c40c477 |
%autocorr -l es -n Spanish -L
|
|
 |
2aee8bd |
%autocorr -l fa -n Farsi
|
|
 |
2aee8bd |
%autocorr -l fi -n Finnish
|
|
 |
e36e88a |
%autocorr -l fr -n French -L
|
|
 |
2aee8bd |
%autocorr -l ga -n Irish
|
|
 |
6d05ca9 |
%autocorr -l hr -n Croatian
|
|
 |
2aee8bd |
%autocorr -l hu -n Hungarian
|
|
 |
6222204 |
%autocorr -l is -n Icelandic
|
|
 |
c40c477 |
%autocorr -l it -n Italian -L
|
|
 |
2aee8bd |
%autocorr -l ja -n Japanese
|
|
 |
2aee8bd |
%autocorr -l ko -n Korean
|
|
 |
2aee8bd |
%autocorr -l lb -n Luxembourgish
|
|
 |
2aee8bd |
%autocorr -l lt -n Lithuanian
|
|
 |
2aee8bd |
%autocorr -l mn -n Mongolian
|
|
 |
2aee8bd |
%autocorr -l nl -n Dutch
|
|
 |
2aee8bd |
%autocorr -l pl -n Polish
|
|
 |
2aee8bd |
%autocorr -l pt -n Portuguese
|
|
 |
9fade6e |
%autocorr -l ro -n Romanian
|
|
 |
2aee8bd |
%autocorr -l ru -n Russian
|
|
 |
2aee8bd |
%autocorr -l sk -n Slovak
|
|
 |
2aee8bd |
%autocorr -l sl -n Slovenian
|
|
 |
a5510ed |
#rhbz#452379 clump serbian autocorrections together
|
|
 |
11acefa |
%autocorr -l sr -n Serbian -i sr-Latn -i sr
|
|
 |
2aee8bd |
%autocorr -l sv -n Swedish
|
|
 |
2aee8bd |
%autocorr -l tr -n Turkish
|
|
 |
2aee8bd |
%autocorr -l vi -n Vietnamese
|
|
 |
2aee8bd |
%autocorr -l zh -n Chinese
|
|
 |
8076325 |
|
|
 |
2aee8bd |
%endif
|
|
 |
8076325 |
|
|
 |
9df525f |
%define make_autocorr_aliases(l:) \
|
|
 |
9df525f |
%{?-l: \
|
|
 |
9df525f |
for lang in %{*}; do \
|
|
 |
9df525f |
ln -sf acor_%{-l*}.dat acor_$lang.dat \
|
|
 |
9df525f |
done \
|
|
 |
9df525f |
} \
|
|
 |
9df525f |
%{!?-l:%{error:-l must be present}}
|
|
 |
9df525f |
|
|
 |
8076325 |
%prep
|
|
 |
1495658 |
%setup -q -n %{name}-%{version}%{?libo_prerelease} -b 1 -b 2
|
|
 |
02742a4 |
rm -rf git-hooks */git-hooks
|
|
 |
a85919d |
|
|
 |
a85919d |
# set up git repo
|
|
 |
a85919d |
git init
|
|
 |
3faa92c |
git config user.name rpmbuild
|
|
 |
3faa92c |
git config user.email rpmbuild@fedoraproject.org
|
|
 |
a85919d |
git config gc.auto 0 # disable auto packing
|
|
 |
a85919d |
git add -A
|
|
 |
a85919d |
git commit -q -a -m %{name}-%{version}
|
|
 |
a85919d |
|
|
 |
fb1b641 |
#Customize Palette to add Red Hat colours
|
|
 |
8076325 |
(head -n -1 extras/source/palettes/standard.soc && \
|
|
 |
51e536d |
echo -e ' <draw:color draw:name="Red Hat 1" draw:color="#cc0000"/>
|
|
 |
51e536d |
<draw:color draw:name="Red Hat 2" draw:color="#0093d9"/>
|
|
 |
51e536d |
<draw:color draw:name="Red Hat 3" draw:color="#ff8d00"/>
|
|
 |
51e536d |
<draw:color draw:name="Red Hat 4" draw:color="#abb400"/>
|
|
 |
51e536d |
<draw:color draw:name="Red Hat 5" draw:color="#4e376b"/>' && \
|
|
 |
8076325 |
tail -n 1 extras/source/palettes/standard.soc) > redhat.soc
|
|
 |
8076325 |
mv -f redhat.soc extras/source/palettes/standard.soc
|
|
 |
a85919d |
git commit -q -a -m 'add Red Hat colors to palette'
|
|
 |
a85919d |
|
|
 |
a85919d |
# apply patches
|
|
 |
a85919d |
git am %{patches}
|
|
 |
5198193 |
|
|
 |
79e6cde |
sed -i -e /CppunitTest_sw_ooxmlexport7/d sw/Module_sw.mk
|
|
 |
aedda92 |
sed -i -e /CppunitTest_sd_import_tests/d sd/Module_sd.mk
|
|
 |
3821c37 |
sed -i -e /CppunitTest_chart2_dump/d chart2/Module_chart2.mk
|
|
 |
3821c37 |
sed -i -e /CppunitTest_sw_ooxmlexport9/d sw/Module_sw.mk
|
|
 |
3821c37 |
sed -i -e /CppunitTest_sc_array_functions_test/d sc/Module_sc.mk # ppc64le
|
|
 |
3821c37 |
sed -i -e /CppunitTest_sw_ww8export/d sw/Module_sw.mk
|
|
 |
3821c37 |
sed -i -e /CppunitTest_sc_addin_functions_test/d sc/Module_sc.mk # aarch64/ppc64*/s390x
|
|
 |
3821c37 |
sed -i -e /CppunitTest_sc_financial_functions_test/d sc/Module_sc.mk # ppc64*
|
|
 |
3821c37 |
sed -i -e /CppunitTest_sc_statistical_functions_test/d sc/Module_sc.mk # aarch64/ppc64*
|
|
 |
3821c37 |
sed -i -e /CppunitTest_sd_tiledrendering/d sd/Module_sd.mk # ppc64/s390x
|
|
 |
3821c37 |
sed -i -e /CppunitTest_vcl_svm_test/d vcl/Module_vcl.mk # ppc64
|
|
 |
d0e0ded |
sed -i -e /CppunitTest_sw_uiwriter/d sw/Module_sw.mk
|
|
 |
e735858 |
sed -i -e /CppunitTest_dbaccess_hsqldb_test/d dbaccess/Module_dbaccess.mk # i686
|
|
 |
9badafa |
sed -i -e s/CppunitTest_dbaccess_RowSetClones// dbaccess/Module_dbaccess.mk # i686
|
|
 |
a559a32 |
sed -i -e /CppunitTest_services/d postprocess/Module_postprocess.mk # i686
|
|
 |
a9045d2 |
git commit -q -a -m 'temporarily disable failing tests'
|
|
 |
3d62ed1 |
|
|
 |
a048020 |
# Seeing .git dir makes some of the build tools change their behavior.
|
|
 |
a048020 |
# We do not want that. Note: it is still possible to use
|
|
 |
a048020 |
# git --git-dir=.git-rpm
|
|
 |
a048020 |
mv .git .git-rpm
|
|
 |
a048020 |
|
|
 |
8076325 |
%build
|
|
 |
21c8368 |
# path to external tarballs
|
|
 |
21c8368 |
EXTSRCDIR=`dirname %{SOURCE0}`
|
|
 |
8076325 |
|
|
 |
aab62f3 |
%if 0%{?fedora}
|
|
Lukas Tinkl |
c4870bd |
# KDE bits
|
|
Lukas Tinkl |
c4870bd |
export QT4DIR=%{_qt4_prefix}
|
|
Lukas Tinkl |
c4870bd |
export KDE4DIR=%{_kde4_prefix}
|
|
Lukas Tinkl |
c4870bd |
export PATH=$QT4DIR/bin:$PATH
|
|
 |
82f2389 |
%endif
|
|
Lukas Tinkl |
c4870bd |
|
|
 |
263625b |
#use the RPM_OPT_FLAGS but remove the OOo overridden ones
|
|
 |
263625b |
for i in $RPM_OPT_FLAGS; do
|
|
 |
263625b |
case "$i" in
|
|
 |
9c31acd |
-pipe|-Wall|-Werror*|-fexceptions) continue;;
|
|
 |
263625b |
esac
|
|
 |
263625b |
ARCH_FLAGS="$ARCH_FLAGS $i"
|
|
 |
263625b |
done
|
|
 |
c3a23d6 |
%ifarch s390 aarch64
|
|
 |
c3a23d6 |
# these builders typically do not have enough memory to link the big libs with -g2
|
|
 |
3bfe04e |
ARCH_FLAGS="$ARCH_FLAGS -g1"
|
|
 |
3bfe04e |
%endif
|
|
 |
263625b |
export ARCH_FLAGS
|
|
 |
263625b |
export CFLAGS=$ARCH_FLAGS
|
|
 |
263625b |
export CXXFLAGS=$ARCH_FLAGS
|
|
 |
263625b |
|
|
 |
c2ed6a9 |
%if 0%{?rhel}
|
|
 |
68a5d5a |
%define distrooptions --disable-eot --disable-gltf --enable-python=system
|
|
 |
ecd3075 |
%else # fedora
|
|
 |
6741cf1 |
%define distrooptions --enable-eot --enable-kde4 --with-system-opencollada --with-system-ucpp
|
|
 |
038a8bf |
export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser'
|
|
 |
038a8bf |
export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser'
|
|
 |
82f2389 |
%endif
|
|
 |
82f2389 |
|
|
 |
357e8af |
%if %{with langpacks}
|
|
 |
357e8af |
%define with_lang --with-lang='%{langpack_langs}'
|
|
 |
357e8af |
%endif
|
|
 |
357e8af |
|
|
 |
c1cdecb |
%if ! 0%{libo_use_python3}
|
|
 |
aa7e14e |
export PYTHON=%{_bindir}/python
|
|
 |
aa7e14e |
export PYTHON_CFLAGS=`pkg-config --cflags python`
|
|
 |
aa7e14e |
export PYTHON_LIBS=`pkg-config --libs python`
|
|
 |
aa7e14e |
%endif
|
|
 |
aa7e14e |
|
|
 |
2c5d177 |
%if 0%{?fedora}
|
|
 |
2c5d177 |
export MDDS_CFLAGS=`pkg-config --cflags mdds-1.0`
|
|
 |
2c5d177 |
export MDDS_LIBS=' '
|
|
 |
2c5d177 |
%endif
|
|
 |
2c5d177 |
|
|
 |
8dd8adf |
aclocal -I m4
|
|
 |
8076325 |
autoconf
|
|
 |
5630996 |
|
|
 |
8bf116f |
SMP_MFLAGS=%{?_smp_mflags}
|
|
 |
8bf116f |
SMP_MFLAGS=$[${SMP_MFLAGS/-j/}]
|
|
 |
8bf116f |
|
|
 |
ca8f0c1 |
# TODO: enable coinmp?
|
|
 |
8dd8adf |
# avoid running autogen.sh on make
|
|
 |
8dd8adf |
touch autogen.lastrun
|
|
 |
8076325 |
%configure \
|
|
 |
c3610e9 |
%vendoroption \
|
|
 |
c3610e9 |
%{?with_lang} \
|
|
 |
8bf116f |
--with-parallelism=$SMP_MFLAGS \
|
|
 |
ca8f0c1 |
--disable-coinmp \
|
|
 |
c3610e9 |
--disable-fetch-external \
|
|
 |
3621635 |
--disable-firebird-sdbc \
|
|
 |
ee991b5 |
--disable-openssl \
|
|
 |
1f6713e |
--disable-pdfium \
|
|
 |
ef72370 |
--disable-systray \
|
|
 |
aa370e7 |
--enable-dconf \
|
|
 |
c3610e9 |
--enable-evolution2 \
|
|
 |
c3610e9 |
--enable-ext-nlpsolver \
|
|
 |
f0238d1 |
--enable-ext-wiki-publisher \
|
|
 |
6741cf1 |
--enable-gtk3 \
|
|
 |
68a5d5a |
--enable-introspection \
|
|
 |
c3610e9 |
--enable-release-build \
|
|
 |
c3610e9 |
--enable-scripting-beanshell \
|
|
 |
c3610e9 |
--enable-scripting-javascript \
|
|
 |
c3610e9 |
--enable-symbols \
|
|
 |
c3610e9 |
--with-build-version="%{version}-%{release}" \
|
|
 |
82f2389 |
--with-external-dict-dir=/usr/share/myspell \
|
|
 |
f0238d1 |
--with-external-tar="$EXTSRCDIR" \
|
|
 |
c3610e9 |
--with-help \
|
|
 |
c3610e9 |
--with-system-dicts \
|
|
 |
c3610e9 |
--with-system-libs \
|
|
 |
9a3ef12 |
--without-export-validation \
|
|
 |
c3610e9 |
--without-fonts \
|
|
 |
18ad5da |
--without-system-xmlsec \
|
|
 |
1f0bd94 |
--with-gdrive-client-secret="GYWrDtzyZQZ0_g5YoBCC6F0I" \
|
|
 |
1f0bd94 |
--with-gdrive-client-id="457862564325.apps.googleusercontent.com" \
|
|
 |
18fa752 |
%{distrooptions} \
|
|
 |
51f71dc |
%{?bundling_options} \
|
|
 |
a0d2c2d |
%{?archoptions}
|
|
 |
8076325 |
|
|
 |
4cfeb5e |
ulimit -c unlimited
|
|
 |
5f71d9e |
|
|
 |
f9fe071 |
make verbose=true build-nocheck
|
|
 |
8076325 |
|
|
 |
8076325 |
#generate the icons and mime type stuff
|
|
 |
6222204 |
export DESTDIR=../output
|
|
 |
8076325 |
export KDEMAINDIR=/usr
|
|
 |
8076325 |
export GNOMEDIR=/usr
|
|
 |
8076325 |
export GNOME_MIME_THEME=hicolor
|
|
 |
42d103d |
export PREFIXDIR=/usr
|
|
 |
9158d60 |
# TODO use empty variables? Should make the renaming hacks in %%install
|
|
 |
9158d60 |
# unnecessary.
|
|
 |
8c4977e |
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR PKG_CONFIG INSTDIR
|
|
 |
f8574d3 |
pushd $WORKDIR/CustomTarget/sysui/share/libreoffice
|
|
 |
8076325 |
./create_tree.sh
|
|
 |
f8574d3 |
popd
|
|
 |
f8574d3 |
mkdir $WORKDIR/os-integration
|
|
 |
f8574d3 |
cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration
|
|
 |
fe1850c |
cp -pr $WORKDIR/CustomTarget/sysui/share/output/girepository-1.0/LOKDocView-%{girapiversion}.* $WORKDIR/os-integration
|
|
 |
f8574d3 |
|
|
 |
f8574d3 |
%if %{with smallbuild}
|
|
 |
f8574d3 |
# remove the biggest offenders
|
|
 |
f8574d3 |
# NOTE: not removing complete LinkTarget, as some libs are needed for smoketest
|
|
 |
f8574d3 |
rm -rf $WORKDIR/CxxObject $WORKDIR/GenCxxObject $WORKDIR/HelpTarget $WORKDIR/LinkTarget/CppunitTest
|
|
 |
f8574d3 |
%endif
|
|
 |
8076325 |
|
|
 |
72d0bbd |
|
|
 |
8076325 |
%install
|
|
 |
64fe969 |
# TODO investigate use of make distro-pack-install
|
|
 |
8076325 |
#figure out the icon version
|
|
 |
6222204 |
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR
|
|
 |
6222204 |
export PRODUCTVERSIONSHORT PRODUCTVERSION
|
|
 |
6222204 |
|
|
 |
6222204 |
# installation
|
|
 |
6222204 |
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{instdir}
|
|
 |
6222204 |
if ! make instsetoo_native PKGFORMAT=installed EPM=not-used-but-must-be-set; then
|
|
 |
8076325 |
echo - ---dump log start---
|
|
 |
de9a357 |
cat $WORKDIR/installation/LibreOffice/installed/logging/en-US/log_*_en-US.log
|
|
 |
8076325 |
echo - ---dump log end---
|
|
 |
6222204 |
echo - ---dump log start -- SDK---
|
|
 |
de9a357 |
cat $WORKDIR/installation/LibreOffice_SDK/installed/logging/en-US/log_*_en-US.log
|
|
 |
6222204 |
echo - ---dump log end -- SDK---
|
|
 |
6222204 |
echo - ---dump log start -- languagepacks---
|
|
 |
de9a357 |
cat $WORKDIR/installation/LibreOffice_languagepack/installed/logging/en-US/log_*_en-US.log
|
|
 |
6222204 |
echo - ---dump log end -- languagepacks---
|
|
 |
8076325 |
exit 1
|
|
 |
8076325 |
fi
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{baseinstdir}
|
|
 |
afd367d |
mv $WORKDIR/installation/LibreOffice/installed/install/en-US/* %{buildroot}%{baseinstdir}
|
|
 |
6222204 |
%if %{with langpacks}
|
|
 |
6222204 |
for langpack in $WORKDIR/installation/LibreOffice_languagepack/installed/install/*; do
|
|
 |
6222204 |
[ `basename $langpack` = log ] && continue
|
|
 |
afd367d |
cp -rp $langpack/* %{buildroot}%{baseinstdir}
|
|
 |
6222204 |
rm -rf $langpack
|
|
 |
6222204 |
done
|
|
 |
6222204 |
%endif
|
|
 |
afd367d |
mv $WORKDIR/installation/LibreOffice_SDK/installed/install/en-US/sdk %{buildroot}%{sdkinstdir}
|
|
 |
afd367d |
chmod -R +w %{buildroot}%{baseinstdir}
|
|
 |
6222204 |
|
|
 |
6222204 |
# postprocessing and tweaks
|
|
 |
6222204 |
|
|
 |
423b003 |
# The installer currently sets UserInstallation to
|
|
 |
423b003 |
# $ORIGIN/../libreoffice/4, which is of course total nonsense. Because I
|
|
 |
423b003 |
# have no inclination to crawl through mountains of perl code to figure out
|
|
 |
423b003 |
# where it comes from, I am just going to replace it by a sensible
|
|
 |
423b003 |
# value here.
|
|
 |
afd367d |
sed -i -e '/UserInstallation/s@\$ORIGIN/..@$SYSUSERCONFIG@' %{buildroot}%{baseinstdir}/program/bootstraprc
|
|
 |
8076325 |
|
|
 |
8076325 |
#configure sdk
|
|
 |
afd367d |
pushd %{buildroot}%{sdkinstdir}
|
|
 |
6222204 |
sed -e "s,@OO_SDK_NAME@,sdk," \
|
|
 |
6222204 |
-e "s,@OO_SDK_HOME@,%{sdkinstdir}," \
|
|
 |
6222204 |
-e "s,@OFFICE_HOME@,%{baseinstdir}," \
|
|
 |
6222204 |
-e "s,@OO_SDK_MAKE_HOME@,/usr/bin," \
|
|
 |
6222204 |
-e "s,@OO_SDK_ZIP_HOME@,/usr/bin," \
|
|
 |
6222204 |
-e "s,@OO_SDK_CPP_HOME@,/usr/bin," \
|
|
 |
c3bcbf7 |
-e "s,@OO_SDK_CAT_HOME@,/usr/bin," \
|
|
 |
c3bcbf7 |
-e "s,@OO_SDK_SED_HOME@,/usr/bin," \
|
|
 |
6222204 |
-e "s,@OO_SDK_CC_55_OR_HIGHER@,," \
|
|
 |
6222204 |
-e "s,@OO_SDK_JAVA_HOME@,$JAVA_HOME," \
|
|
 |
6222204 |
-e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \
|
|
 |
6222204 |
-e "s,@SDK_AUTO_DEPLOYMENT@,NO," \
|
|
 |
6222204 |
setsdkenv_unix.sh.in > setsdkenv_unix.sh
|
|
 |
5d27d5d |
# ensure no unexpanded vars sneaked in
|
|
 |
5d27d5d |
grep '@[A_Z0-9_]\+@' setsdkenv_unix.sh && exit 1
|
|
 |
6222204 |
chmod 755 setsdkenv_unix.sh
|
|
 |
6222204 |
# we don't want to install the input file
|
|
 |
6222204 |
rm -f setsdkenv_unix.sh.in
|
|
 |
6222204 |
# TODO: is this still necessary?
|
|
 |
8076325 |
#fix permissions
|
|
 |
8076325 |
find examples -type f -exec chmod -x {} \;
|
|
 |
8076325 |
popd
|
|
 |
8076325 |
|
|
 |
e39cb48 |
#ensure a template dir for each lang
|
|
 |
afd367d |
pushd %{buildroot}%{baseinstdir}/share/template
|
|
 |
8076325 |
for I in %{langpack_langs}; do
|
|
 |
4dd8a72 |
mkdir -p $I
|
|
 |
8076325 |
done
|
|
 |
8076325 |
popd
|
|
 |
8076325 |
|
|
 |
8076325 |
#Set some aliases to canonical autocorrect language files for locales with matching languages
|
|
 |
afd367d |
pushd %{buildroot}%{baseinstdir}/share/autocorr
|
|
 |
8076325 |
|
|
 |
9df525f |
%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
|
|
 |
9df525f |
%make_autocorr_aliases -l en-US en-PH
|
|
 |
e39cb48 |
#en-ZA exists and has a good autocorrect file with two or three extras that make sense for
|
|
 |
e39cb48 |
#neighbouring english speaking territories
|
|
 |
9df525f |
%make_autocorr_aliases -l en-ZA en-NA en-ZW
|
|
 |
8c1a0f3 |
%if %{with langpacks}
|
|
 |
9df525f |
%make_autocorr_aliases -l af-ZA af-NA
|
|
 |
9df525f |
%make_autocorr_aliases -l nl-NL nl-AW
|
|
 |
9df525f |
%make_autocorr_aliases -l sv-SE sv-FI
|
|
 |
8076325 |
%else
|
|
 |
8076325 |
rm -f acor_[a-df-z]*.dat acor_e[su]*.dat
|
|
 |
8076325 |
%endif
|
|
 |
8076325 |
popd
|
|
 |
8076325 |
#rhbz#484055 make these shared across multiple applications
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{_datadir}
|
|
 |
afd367d |
mv -f %{buildroot}%{baseinstdir}/share/autocorr %{buildroot}%{_datadir}/autocorr
|
|
 |
afd367d |
chmod 755 %{buildroot}%{_datadir}/autocorr
|
|
 |
f2d50d4 |
ln -s %{_datadir}/autocorr %{buildroot}%{baseinstdir}/share/autocorr
|
|
 |
8076325 |
|
|
 |
8076325 |
#remove it in case we didn't build with gcj
|
|
 |
afd367d |
rm -f %{buildroot}%{baseinstdir}/program/classes/sandbox.jar
|
|
 |
8076325 |
|
|
 |
8076325 |
#remove dummy .dat files
|
|
 |
afd367d |
rm -f %{buildroot}%{baseinstdir}/program/root?.dat
|
|
 |
8076325 |
|
|
 |
a4b9630 |
# I don't think we need this...
|
|
 |
07914fb |
rm -f %{buildroot}%{baseinstdir}/share/classification/example*.xml
|
|
 |
a4b9630 |
rmdir %{buildroot}%{baseinstdir}/share/classification
|
|
 |
a4b9630 |
|
|
 |
8076325 |
#set standard permissions for rpmlint
|
|
 |
afd367d |
find %{buildroot}%{baseinstdir} -exec chmod +w {} \;
|
|
 |
afd367d |
find %{buildroot}%{baseinstdir} -type d -exec chmod 0755 {} \;
|
|
 |
8076325 |
|
|
 |
8076325 |
# move python bits into site-packages
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{libo_python_sitearch}
|
|
 |
afd367d |
pushd %{buildroot}%{libo_python_sitearch}
|
|
 |
8076325 |
echo "import sys, os" > uno.py
|
|
 |
042e702 |
echo "sys.path.append('%{baseinstdir}/program')" >> uno.py
|
|
 |
8076325 |
echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{baseinstdir}/program/fundamentalrc')" >> uno.py
|
|
 |
afd367d |
cat %{buildroot}%{baseinstdir}/program/uno.py >> uno.py
|
|
 |
afd367d |
rm -f %{buildroot}%{baseinstdir}/program/uno.py*
|
|
 |
afd367d |
mv -f %{buildroot}%{baseinstdir}/program/unohelper.py* .
|
|
 |
14b15ff |
mv -f %{buildroot}%{baseinstdir}/program/officehelper.py* .
|
|
 |
8076325 |
popd
|
|
 |
8076325 |
|
|
 |
8076325 |
# rhbz#477435 package opensymbol separately
|
|
 |
afd367d |
pushd %{buildroot}%{baseinstdir}/share/fonts/truetype
|
|
 |
8076325 |
install -d -m 0755 %{buildroot}%{_fontdir}
|
|
 |
8076325 |
install -p -m 0644 *.ttf %{buildroot}%{_fontdir}
|
|
 |
8076325 |
popd
|
|
 |
afd367d |
rm -rf %{buildroot}%{baseinstdir}/share/fonts
|
|
 |
8076325 |
|
|
 |
b804fb8 |
# move platform-independent data into shared dir
|
|
 |
b804fb8 |
install -m 0755 -d %{buildroot}%{datadir}
|
|
 |
b804fb8 |
rm -f %{buildroot}%{baseinstdir}/CREDITS.fodt %{buildroot}%{baseinstdir}/LICENSE* %{buildroot}%{baseinstdir}/NOTICE
|
|
 |
0b50bde |
# rhbz#1473749 ensure display of files in license/about dialogs works
|
|
 |
0b50bde |
ln -sr %{buildroot}%{datadir}/LICENSE.fodt %{buildroot}%{baseinstdir}/LICENSE.fodt
|
|
 |
0b50bde |
ln -sr %{buildroot}%{datadir}/CREDITS.fodt %{buildroot}%{baseinstdir}/CREDITS.fodt
|
|
 |
b804fb8 |
|
|
 |
8076325 |
#ensure that no sneaky un-prelinkable, un-fpic or non executable shared libs
|
|
 |
8076325 |
#have snuck through
|
|
 |
8076325 |
pic=0
|
|
 |
8076325 |
executable=0
|
|
 |
afd367d |
for foo in `find %{buildroot}%{instdir} -name "*" -exec file {} \;| grep ": ELF" | cut -d: -f 1` ; do
|
|
 |
8076325 |
chmod +wx $foo
|
|
 |
8076325 |
ls -asl $foo
|
|
 |
8076325 |
result=`readelf -d $foo | grep TEXTREL` || true
|
|
 |
8076325 |
if [ "$result" != "" ]; then
|
|
 |
8076325 |
echo "TEXTREL Warning: $foo is b0rked (-fpic missing)"
|
|
 |
8076325 |
pic=1
|
|
 |
8076325 |
fi
|
|
 |
8076325 |
result=`readelf -l $foo | grep GNU_STACK | grep RWE` || true
|
|
 |
8076325 |
if [ "$result" != "" ]; then
|
|
 |
8076325 |
echo "GNU_STACK Warning: $foo is b0rked (-noexecstack missing)"
|
|
 |
8076325 |
executable=1
|
|
 |
8076325 |
fi
|
|
 |
8076325 |
done
|
|
 |
8076325 |
if [ $pic == 1 ]; then false; fi
|
|
 |
8076325 |
if [ $executable == 1 ]; then false; fi
|
|
 |
8076325 |
|
|
 |
8076325 |
#make up some /usr/bin scripts
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{_bindir}
|
|
 |
8076325 |
|
|
 |
5ebfd5a |
pushd %{buildroot}%{_bindir}
|
|
 |
5ebfd5a |
echo \#\!/bin/sh > ooffice
|
|
 |
5ebfd5a |
echo exec libreoffice \"\$@\" >> ooffice
|
|
 |
5ebfd5a |
chmod a+x ooffice
|
|
 |
8076325 |
|
|
 |
5ebfd5a |
echo \#\!/bin/sh > ooviewdoc
|
|
 |
5ebfd5a |
echo exec libreoffice --view \"\$@\" >> ooviewdoc
|
|
 |
5ebfd5a |
chmod a+x ooviewdoc
|
|
 |
8076325 |
|
|
 |
a324ab4 |
for app in base calc draw impress math writer; do
|
|
 |
5ebfd5a |
echo \#\!/bin/sh > oo$app
|
|
 |
5ebfd5a |
echo exec libreoffice --$app \"\$@\" >> oo$app
|
|
 |
5ebfd5a |
chmod a+x oo$app
|
|
 |
a324ab4 |
done
|
|
 |
8076325 |
|
|
 |
774b360 |
sed -e s/LAUNCHER/unopkg/g -e s/BRAND/libreoffice/g %{SOURCE7} > unopkg
|
|
 |
5ebfd5a |
chmod a+x unopkg
|
|
 |
8076325 |
|
|
 |
774b360 |
sed -e s/LAUNCHER/soffice/g -e s/BRAND/libreoffice/g %{SOURCE7} > libreoffice
|
|
 |
5ebfd5a |
chmod a+x libreoffice
|
|
 |
8076325 |
|
|
 |
8076325 |
# rhbz#499474 provide a /usr/bin/soffice for .recently-used.xbel
|
|
 |
8076325 |
ln -s %{baseinstdir}/program/soffice soffice
|
|
 |
8076325 |
# rhbz#499474 provide a /usr/bin/openoffice.org for backwards compat
|
|
 |
b0d8eda |
ln -s libreoffice openoffice.org
|
|
 |
8076325 |
popd
|
|
 |
8076325 |
|
|
 |
afd367d |
pushd %{buildroot}%{baseinstdir}/share/xdg/
|
|
 |
8076325 |
chmod u+w *.desktop
|
|
 |
fd64338 |
ICONVERSION=`echo $PRODUCTVERSION | sed -e 's/\.//'`
|
|
 |
8076325 |
for file in *.desktop; do
|
|
 |
8076325 |
# rhbz#156677 remove the version from Name=
|
|
 |
8076325 |
# rhbz#156067 don't version the icons
|
|
 |
cf86fd0 |
sed -i -e "s/ *$PRODUCTVERSION//g" \
|
|
 |
fd64338 |
-e "s/$ICONVERSION//g" \
|
|
 |
fd64338 |
-e "s/$PRODUCTVERSIONSHORT//g" \
|
|
 |
fd64338 |
$file
|
|
 |
8076325 |
done
|
|
 |
3818cfc |
# rhbz#156677 / rhbz#186515 do not show math and startcenter
|
|
 |
3818cfc |
sed -i -e /NoDisplay/s/false/true/ math.desktop startcenter.desktop
|
|
 |
8076325 |
# relocate the .desktop and icon files
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{_datadir}/applications
|
|
 |
6222204 |
for app in base calc draw impress math startcenter writer xsltfilter; do
|
|
 |
a0d2c2d |
sed -i -e 's/\${UNIXBASISROOTNAME}/%{name}/' $app.desktop
|
|
 |
89e597a |
desktop-file-validate $app.desktop
|
|
 |
f21e0d6 |
install -m 0644 -p $app.desktop %{buildroot}%{_datadir}/applications/libreoffice-$app.desktop
|
|
 |
8076325 |
done
|
|
 |
8076325 |
popd
|
|
 |
8076325 |
|
|
 |
f8574d3 |
pushd $WORKDIR/os-integration
|
|
 |
8076325 |
#get rid of the gnome icons and other unneeded files
|
|
 |
8076325 |
rm -rf icons/gnome applications application-registry
|
|
 |
8076325 |
|
|
 |
8076325 |
#relocate the rest of them
|
|
 |
9472e15 |
# rhbz#901346 512x512 icons are not used by anything
|
|
 |
9472e15 |
for icon in `find icons -path '*/512x512' -prune -o -type f -print`; do
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{_datadir}/`dirname $icon`
|
|
 |
f21e0d6 |
install -m 0644 -p $icon %{buildroot}%{_datadir}/`echo $icon | sed -e s@libreoffice$ICONVERSION-@libreoffice-@ | sed -e s@libreoffice$PRODUCTVERSION-@libreoffice-@`
|
|
 |
57c9d18 |
done
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{_datadir}/mime-info
|
|
 |
f21e0d6 |
install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.keys %{buildroot}%{_datadir}/mime-info/libreoffice.keys
|
|
 |
f21e0d6 |
install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.mime %{buildroot}%{_datadir}/mime-info/libreoffice.mime
|
|
 |
8076325 |
#add our mime-types, e.g. for .oxt extensions
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{_datadir}/mime/packages
|
|
 |
f21e0d6 |
install -m 0644 -p mime/packages/libreoffice$PRODUCTVERSION.xml %{buildroot}%{_datadir}/mime/packages/libreoffice.xml
|
|
 |
ab3939b |
|
|
 |
ab3939b |
# install LibreOfficeKit
|
|
 |
26f8b37 |
install -m 0755 -d %{buildroot}%{_libdir}/girepository-1.0
|
|
 |
26f8b37 |
install -m 0644 -p LOKDocView-%{girapiversion}.typelib %{buildroot}%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib
|
|
 |
26f8b37 |
install -m 0755 -d %{buildroot}%{_libdir}/gir-1.0
|
|
 |
24ece08 |
install -m 0644 -p gir-1.0/LOKDocView-%{girapiversion}.gir %{buildroot}%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir
|
|
 |
75b3640 |
mv %{buildroot}%{baseinstdir}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}
|
|
 |
8076325 |
popd
|
|
 |
8076325 |
|
|
 |
ab3939b |
# install LibreOfficeKit headers
|
|
 |
ab3939b |
install -m 0755 -d %{buildroot}%{_includedir}/LibreOfficeKit
|
|
 |
ab3939b |
install -m 0644 -p include/LibreOfficeKit/* %{buildroot}%{_includedir}/LibreOfficeKit
|
|
 |
ab3939b |
|
|
 |
afd367d |
rm -rf %{buildroot}%{baseinstdir}/readmes
|
|
 |
afd367d |
rm -rf %{buildroot}%{baseinstdir}/licenses
|
|
 |
8076325 |
|
|
 |
7d07cf6 |
# to-do, remove this in libreoffice 4.4 when --without-ppds is gone, it'll do the right thing on its own then
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{baseinstdir}/share/psprint/driver
|
|
 |
f21e0d6 |
install -m 0644 -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS
|
|
 |
8076325 |
|
|
 |
8076325 |
# rhbz#452385 to auto have postgres in classpath if subsequently installed
|
|
 |
afd367d |
sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc
|
|
 |
8076325 |
|
|
 |
5ac635d |
# move glade catalog to system glade dir
|
|
 |
c2c27fc |
install -m 0755 -d %{buildroot}%{_datadir}/glade/catalogs
|
|
 |
c2c27fc |
mv %{buildroot}%{baseinstdir}/share/glade/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade/catalogs
|
|
 |
e3a1f36 |
install -m 0755 -d %{buildroot}%{_datadir}/glade3/catalogs
|
|
 |
e3a1f36 |
ln -sr %{buildroot}%{_datadir}/glade/catalogs/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade3/catalogs
|
|
 |
5ac635d |
|
|
 |
a8a7218 |
# rhbz#1049543 install appdata
|
|
 |
f21e0d6 |
install -m 0755 -d %{buildroot}%{_datadir}/appdata
|
|
 |
f21e0d6 |
install -m 0644 -p sysui/desktop/appstream-appdata/*.appdata.xml %{buildroot}%{_datadir}/appdata
|
|
 |
a8a7218 |
|
|
 |
e97054c |
# rhbz#1215800 install symbolic icons
|
|
 |
e97054c |
install -m 0755 -d %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
 |
e97054c |
install -m 0644 -p %{SOURCE42} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
 |
e97054c |
install -m 0644 -p %{SOURCE43} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
 |
e97054c |
install -m 0644 -p %{SOURCE44} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
 |
e97054c |
install -m 0644 -p %{SOURCE45} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
 |
e97054c |
install -m 0644 -p %{SOURCE46} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
 |
e97054c |
install -m 0644 -p %{SOURCE47} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
 |
e97054c |
install -m 0644 -p %{SOURCE48} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
 |
e97054c |
|
|
 |
596b501 |
# install man pages
|
|
 |
afd367d |
install -m 0755 -d %{buildroot}%{_mandir}/man1
|
|
 |
afd367d |
install -m 0644 -p sysui/desktop/man/*.1 %{buildroot}%{_mandir}/man1
|
|
 |
596b501 |
for app in oobase oocalc oodraw ooffice ooimpress oomath ooviewdoc oowriter openoffice.org soffice; do
|
|
 |
596b501 |
echo '.so man1/libreoffice.1' > $app.1
|
|
 |
afd367d |
install -m 0644 -p $app.1 %{buildroot}%{_mandir}/man1
|
|
 |
596b501 |
done
|
|
 |
596b501 |
|
|
 |
afd367d |
export DESTDIR=%{buildroot}
|
|
 |
1db6f6a |
./solenv/bin/install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb
|
|
 |
14d4997 |
|
|
 |
a5f2c4f |
%if 0%{?fedora}
|
|
Richard Hughes |
f913611 |
# Update the screenshot shown in the software center
|
|
Richard Hughes |
f913611 |
#
|
|
Richard Hughes |
f913611 |
# NOTE: It would be *awesome* if this file was pushed upstream.
|
|
Richard Hughes |
f913611 |
#
|
|
Richard Hughes |
f913611 |
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
|
|
Richard Hughes |
f913611 |
#
|
|
 |
9f7cddd |
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-writer.appdata.xml \
|
|
Richard Hughes |
f913611 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/a.png \
|
|
Richard Hughes |
f913611 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/b.png
|
|
 |
9f7cddd |
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-calc.appdata.xml \
|
|
Richard Hughes |
f913611 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-calc/a.png
|
|
 |
9f7cddd |
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-draw.appdata.xml \
|
|
Richard Hughes |
f913611 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-draw/a.png
|
|
 |
9f7cddd |
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-impress.appdata.xml \
|
|
Richard Hughes |
f913611 |
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-impress/a.png
|
|
 |
a5f2c4f |
%endif
|
|
 |
e400f26 |
|
|
 |
96f3a4e |
# rhbz#1247399 - move stable API jars to noarch java location
|
|
 |
96f3a4e |
install -m 0755 -d %{buildroot}%{_javadir}/%{name}
|
|
 |
96f3a4e |
for jar in %{buildroot}%{baseinstdir}/program/classes/*.jar; do
|
|
 |
96f3a4e |
j=`basename $jar`
|
|
 |
96f3a4e |
case ${j%.jar} in
|
|
 |
96f3a4e |
juh|jurt|ridl|unoloader|unoil|officebean)
|
|
 |
96f3a4e |
mv $jar %{buildroot}%{_javadir}/%{name}
|
|
 |
96f3a4e |
ln -sr %{buildroot}%{_javadir}/%{name}/$j $jar
|
|
 |
96f3a4e |
;;
|
|
 |
96f3a4e |
esac
|
|
 |
96f3a4e |
done
|
|
 |
96f3a4e |
|
|
 |
9269ab6 |
%check
|
|
 |
3821c37 |
%ifnarch ppc64 s390x
|
|
 |
9a3ef12 |
make
|
|
 |
3821c37 |
%endif
|
|
 |
9269ab6 |
unset WITH_LANG
|
|
 |
9269ab6 |
# work around flawed accessibility check
|
|
 |
9269ab6 |
export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1"
|
|
 |
afd367d |
export OOO_TEST_SOFFICE=path:%{buildroot}%{baseinstdir}/program/soffice
|
|
 |
aedda92 |
# timeout -k 2m 2h make smoketest.subsequentcheck
|
|
 |
9269ab6 |
# we don't need this anymore
|
|
 |
afd367d |
rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
|
|
 |
8076325 |
|
|
 |
cf7004f |
%files
|
|
 |
cf7004f |
|
|
 |
c912544 |
%files filters
|
|
 |
c912544 |
|
|
 |
8076325 |
%files core
|
|
 |
042e702 |
%dir %{baseinstdir}
|
|
 |
0b50bde |
%{baseinstdir}/CREDITS.fodt
|
|
 |
0b50bde |
%{baseinstdir}/LICENSE.fodt
|
|
 |
042e702 |
%dir %{baseinstdir}/help
|
|
 |
042e702 |
%{baseinstdir}/help/idxcaption.xsl
|
|
 |
042e702 |
%{baseinstdir}/help/idxcontent.xsl
|
|
 |
042e702 |
%{baseinstdir}/help/main_transform.xsl
|
|
 |
042e702 |
%{baseinstdir}/presets
|
|
 |
042e702 |
%dir %{baseinstdir}/program
|
|
 |
6222204 |
%{baseinstdir}/program/libbasprovlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libcairocanvaslo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libcanvasfactorylo.so
|
|
 |
042e702 |
%dir %{baseinstdir}/program/classes
|
|
 |
042e702 |
%{baseinstdir}/program/classes/commonwizards.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/form.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/query.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/report.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/ScriptFramework.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/ScriptProviderForJava.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/table.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/unoil.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/XMergeBridge.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/xmerge.jar
|
|
 |
6222204 |
%{baseinstdir}/program/libcmdmaillo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libdeployment.so
|
|
 |
042e702 |
%{baseinstdir}/program/libdeploymentgui.so
|
|
 |
6222204 |
%{baseinstdir}/program/libdlgprovlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libexpwraplo.so
|
|
 |
8dd8adf |
%{baseinstdir}/program/flat_logo.svg
|
|
 |
6222204 |
%{baseinstdir}/program/libfps_officelo.so
|
|
 |
57327c2 |
%{baseinstdir}/program/gdbtrace
|
|
 |
36aefe0 |
%{baseinstdir}/program/gengal
|
|
 |
36aefe0 |
%{baseinstdir}/program/gengal.bin
|
|
 |
6222204 |
%{baseinstdir}/program/libi18nsearchlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libldapbe2lo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libacclo.so
|
|
 |
a1b7f1e |
%{baseinstdir}/program/libanimcorelo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libavmedia*.so
|
|
 |
283df42 |
%{baseinstdir}/program/libbasctllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libbiblo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libcached1.so
|
|
 |
283df42 |
%{baseinstdir}/program/libcanvastoolslo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libchart*lo.so
|
|
 |
266cb4a |
%{baseinstdir}/program/libclewlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libcollator_data.so
|
|
 |
283df42 |
%{baseinstdir}/program/libcppcanvaslo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libctllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libcuilo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdbalo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdbaselo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdbaxmllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdbmmlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libdbpool2.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdbtoolslo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdbulo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdeploymentmisclo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdesktop_detectorlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libdict_ja.so
|
|
 |
042e702 |
%{baseinstdir}/program/libdict_zh.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdrawinglayerlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libeditenglo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libembobj.so
|
|
 |
23c1c9f |
%{baseinstdir}/program/libemboleobj.so
|
|
 |
042e702 |
%{baseinstdir}/program/libevoab*.so
|
|
 |
283df42 |
%{baseinstdir}/program/libevtattlo.so
|
|
 |
65e459e |
%{baseinstdir}/program/libgielo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libicglo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libindex_data.so
|
|
 |
283df42 |
%{baseinstdir}/program/libfilelo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libfilterconfiglo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libflatlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libfrmlo.so
|
|
 |
ab6007e |
%if 0%{?rhel}
|
|
 |
7f35fdb |
%{baseinstdir}/program/libstaroffice-0.0-lo.so.*
|
|
 |
ef18634 |
%{baseinstdir}/program/libwps-0.4-lo.so.*
|
|
 |
ab6007e |
%endif
|
|
 |
283df42 |
%{baseinstdir}/program/libguesslanglo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libhelplinkerlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libhyphenlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libjdbclo.so
|
|
 |
283df42 |
%{baseinstdir}/program/liblnglo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libloglo.so
|
|
 |
042e702 |
%{baseinstdir}/program/liblocaledata_en.so
|
|
 |
042e702 |
%{baseinstdir}/program/liblocaledata_es.so
|
|
 |
042e702 |
%{baseinstdir}/program/liblocaledata_euro.so
|
|
 |
042e702 |
%{baseinstdir}/program/liblocaledata_others.so
|
|
 |
042e702 |
%{baseinstdir}/program/libmcnttype.so
|
|
 |
0053515 |
%{baseinstdir}/program/libmorklo.so
|
|
 |
a0d2c2d |
%{baseinstdir}/program/libmozbootstraplo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libmsfilterlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libmtfrendererlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libmysqllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libodbclo.so
|
|
 |
a0d2c2d |
%{baseinstdir}/program/liboglcanvaslo.so
|
|
 |
283df42 |
%{baseinstdir}/program/liboffacclo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libooxlo.so
|
|
 |
266cb4a |
%{baseinstdir}/program/libopencllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libpcrlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libpdffilterlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libprotocolhandlerlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/librecentfile.so
|
|
 |
283df42 |
%{baseinstdir}/program/libreslo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsaxlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libscnlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libscriptframe.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsdlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsdfiltlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libsdbc2.so
|
|
 |
79bf9ca |
%{baseinstdir}/program/libsdbtlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsddlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsduilo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libspelllo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libsrtrs1.so
|
|
 |
ca8f0c1 |
%{baseinstdir}/program/libstoragefdlo.so
|
|
 |
402ae8c |
%{baseinstdir}/program/libsvgiolo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsvxlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsvxcorelo.so
|
|
 |
80b9700 |
%{baseinstdir}/program/libswdlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libswlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libtextconv_dict.so
|
|
 |
283df42 |
%{baseinstdir}/program/libtextconversiondlgslo.so
|
|
 |
8dd8adf |
%{baseinstdir}/program/libtextfdlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libodfflatxmllo.so
|
|
 |
6222204 |
# TODO: shouldn't it have lo suffix?
|
|
 |
6222204 |
%{baseinstdir}/program/libucbhelper.so
|
|
 |
042e702 |
%{baseinstdir}/program/libucpchelp1.so
|
|
 |
042e702 |
%{baseinstdir}/program/libucpdav1.so
|
|
 |
042e702 |
%{baseinstdir}/program/libucpftp1.so
|
|
 |
042e702 |
%{baseinstdir}/program/libucphier1.so
|
|
 |
042e702 |
%{baseinstdir}/program/libucppkg1.so
|
|
 |
283df42 |
%{baseinstdir}/program/libunordflo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libunopkgapp.so
|
|
 |
283df42 |
%{baseinstdir}/program/libunoxmllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libuuilo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libvbahelperlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libxmlfalo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libxmlfdlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libxoflo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libxsec_fw.so
|
|
 |
2b9a5b5 |
%if 0%{?rhel}
|
|
 |
2b9a5b5 |
%{baseinstdir}/program/libassuan.so.0
|
|
 |
2b9a5b5 |
%{baseinstdir}/program/libgpg-error.so.0
|
|
 |
2b9a5b5 |
%{baseinstdir}/program/libgpgme.so.11
|
|
 |
2b9a5b5 |
%{baseinstdir}/program/libgpgmepp.so.6
|
|
 |
2b9a5b5 |
%endif
|
|
 |
042e702 |
%{baseinstdir}/program/libxsec_xmlsec.so
|
|
 |
283df42 |
%{baseinstdir}/program/libxsltdlglo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libxsltfilterlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libxstor.so
|
|
 |
0053515 |
# TODO how useful this is in Fedora?
|
|
 |
6222204 |
%{baseinstdir}/program/liblosessioninstalllo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libmigrationoo2lo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libmigrationoo3lo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libmsformslo.so
|
|
 |
a0e75be |
%{baseinstdir}/program/opencl
|
|
 |
6d4b076 |
%dir %{baseinstdir}/program/opengl
|
|
 |
f724533 |
%{baseinstdir}/program/opengl/areaHashCRC64TFragmentShader.glsl
|
|
 |
55d104a |
%{baseinstdir}/program/opengl/areaScaleFragmentShader.glsl
|
|
 |
55d104a |
%{baseinstdir}/program/opengl/areaScaleFastFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/backgroundFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/backgroundVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/blendedTextureFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/blendedTextureVertexShader.glsl
|
|
 |
5363b1f |
%{baseinstdir}/program/opengl/combinedFragmentShader.glsl
|
|
 |
5363b1f |
%{baseinstdir}/program/opengl/combinedTextureFragmentShader.glsl
|
|
 |
5363b1f |
%{baseinstdir}/program/opengl/combinedTextureVertexShader.glsl
|
|
 |
5363b1f |
%{baseinstdir}/program/opengl/combinedVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/commonFragmentShader.glsl
|
|
 |
2680297 |
%{baseinstdir}/program/opengl/commonVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/convolutionFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/debugFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/debugVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/diffTextureFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/dumbVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/dummyVertexShader.glsl
|
|
 |
de71f14 |
%{baseinstdir}/program/opengl/greyscaleFragmentShader.glsl
|
|
 |
e0af96c |
%{baseinstdir}/program/opengl/invert50FragmentShader.glsl
|
|
 |
8501724 |
%{baseinstdir}/program/opengl/lineFragmentShader.glsl
|
|
 |
8501724 |
%{baseinstdir}/program/opengl/lineVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/linearGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/linearMultiColorGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/linearTwoColorGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/maskedTextureFragmentShader.glsl
|
|
 |
f724533 |
%{baseinstdir}/program/opengl/maskedTextureVertexShader.glsl
|
|
 |
2680297 |
%{baseinstdir}/program/opengl/maskFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/pickingFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/pickingVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/radialGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/radialMultiColorGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/radialTwoColorGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/rectangularMultiColorGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/rectangularTwoColorGradientFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/renderTextureFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/renderTextureVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/replaceColorFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/screenTextFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/screenTextVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/shape3DFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/shape3DFragmentShaderBatch.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/shape3DFragmentShaderBatchScroll.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/shape3DFragmentShaderV300.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/shape3DVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/shape3DVertexShaderBatch.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/shape3DVertexShaderBatchScroll.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/shape3DVertexShaderV300.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/solidFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/symbolFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/symbolVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/textFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/textFragmentShaderBatch.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/textVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/textVertexShaderBatch.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/textureFragmentShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/textureVertexShader.glsl
|
|
 |
6d4b076 |
%{baseinstdir}/program/opengl/transformedTextureVertexShader.glsl
|
|
 |
ca2b956 |
%{baseinstdir}/program/types/offapi.rdb
|
|
 |
6222204 |
%{baseinstdir}/program/libpasswordcontainerlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/pagein-common
|
|
 |
042e702 |
%dir %{baseinstdir}/program/resource
|
|
 |
042e702 |
%{baseinstdir}/program/senddoc
|
|
 |
402ae8c |
%dir %{baseinstdir}/program/services
|
|
 |
ca2b956 |
%{baseinstdir}/program/services/services.rdb
|
|
 |
6222204 |
%{baseinstdir}/program/libsimplecanvaslo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libslideshowlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libsofficeapp.so
|
|
 |
6222204 |
%{baseinstdir}/program/libstringresourcelo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libsysshlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libucpcmis1lo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libucpexpand1lo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libucpextlo.so
|
|
 |
5e3fd3b |
%{baseinstdir}/program/libucpimagelo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libucptdoc1lo.so
|
|
 |
42d103d |
%{baseinstdir}/program/lounorc
|
|
 |
6222204 |
%{baseinstdir}/program/libupdatefeedlo.so
|
|
 |
042e702 |
%{baseinstdir}/program/uri-encode
|
|
 |
6222204 |
%{baseinstdir}/program/libvbaeventslo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libvclcanvaslo.so
|
|
 |
042e702 |
%{baseinstdir}/program/versionrc
|
|
 |
64e04e1 |
%{baseinstdir}/program/xid-fullscreen-on-all-monitors
|
|
 |
042e702 |
%dir %{baseinstdir}/share
|
|
 |
042e702 |
%dir %{baseinstdir}/share/Scripts
|
|
 |
042e702 |
%{baseinstdir}/share/Scripts/java
|
|
 |
58ec5ff |
%dir %{baseinstdir}/share/autotext
|
|
 |
dbe428a |
%dir %{_datadir}/autocorr
|
|
 |
5545ffd |
%{baseinstdir}/share/autocorr
|
|
 |
042e702 |
%{baseinstdir}/share/basic
|
|
 |
042e702 |
%dir %{baseinstdir}/share/config
|
|
 |
1db6f6a |
%{baseinstdir}/share/config/images_breeze.zip
|
|
 |
84d23d6 |
%{baseinstdir}/share/config/images_breeze_dark.zip
|
|
 |
dab66d4 |
%{baseinstdir}/share/config/images_galaxy.zip
|
|
 |
3821c37 |
%{baseinstdir}/share/config/images_helpimg.zip
|
|
 |
042e702 |
%{baseinstdir}/share/config/images_hicontrast.zip
|
|
 |
a0d2c2d |
%{baseinstdir}/share/config/images_sifr.zip
|
|
 |
d0e0ded |
%{baseinstdir}/share/config/images_sifr_dark.zip
|
|
 |
042e702 |
%{baseinstdir}/share/config/images_tango.zip
|
|
 |
042e702 |
%dir %{baseinstdir}/share/config/soffice.cfg
|
|
 |
042e702 |
%{baseinstdir}/share/config/soffice.cfg/modules
|
|
 |
0053515 |
%{baseinstdir}/share/config/soffice.cfg/*/ui
|
|
 |
ed8de09 |
# UI translations go into langpacks
|
|
 |
ea2fb23 |
%if %{with langpacks}
|
|
 |
7f9e50a |
%exclude %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/*
|
|
 |
7f9e50a |
%exclude %{baseinstdir}/share/config/soffice.cfg/*/ui/res/*
|
|
 |
ea2fb23 |
%endif
|
|
 |
84d23d6 |
%dir %{baseinstdir}/share/emojiconfig
|
|
 |
84d23d6 |
%{baseinstdir}/share/emojiconfig/emoji.json
|
|
 |
8254450 |
%{baseinstdir}/share/palette
|
|
 |
042e702 |
%{baseinstdir}/share/config/webcast
|
|
 |
042e702 |
%{baseinstdir}/share/config/wizard
|
|
 |
042e702 |
%dir %{baseinstdir}/share/dtd
|
|
 |
042e702 |
%{baseinstdir}/share/dtd/officedocument
|
|
 |
042e702 |
%{baseinstdir}/share/gallery
|
|
 |
6222204 |
%dir %{baseinstdir}/share/labels
|
|
 |
6222204 |
%{baseinstdir}/share/labels/labels.xml
|
|
 |
042e702 |
%dir %{baseinstdir}/share/psprint
|
|
 |
042e702 |
%config %{baseinstdir}/share/psprint/psprint.conf
|
|
 |
042e702 |
%{baseinstdir}/share/psprint/driver
|
|
 |
042e702 |
%dir %{baseinstdir}/share/registry
|
|
 |
042e702 |
%{baseinstdir}/share/registry/gnome.xcd
|
|
 |
042e702 |
%{baseinstdir}/share/registry/lingucomponent.xcd
|
|
 |
042e702 |
%{baseinstdir}/share/registry/main.xcd
|
|
 |
042e702 |
%{baseinstdir}/share/registry/oo-ad-ldap.xcd.sample
|
|
 |
042e702 |
%{baseinstdir}/share/registry/oo-ldap.xcd.sample
|
|
 |
042e702 |
%dir %{baseinstdir}/share/registry/res
|
|
 |
042e702 |
%dir %{baseinstdir}/share/template
|
|
 |
042e702 |
%dir %{baseinstdir}/share/template/common
|
|
 |
0053515 |
%{baseinstdir}/share/template/common/internal
|
|
 |
ad9fe53 |
%{baseinstdir}/share/template/common/officorr
|
|
 |
ad9fe53 |
%{baseinstdir}/share/template/common/offimisc
|
|
 |
ad9fe53 |
%{baseinstdir}/share/template/common/personal
|
|
 |
ad9fe53 |
%{baseinstdir}/share/template/common/presnt
|
|
 |
6b9c194 |
%{baseinstdir}/share/template/common/styles
|
|
 |
0053515 |
%{baseinstdir}/share/template/common/wizard
|
|
 |
042e702 |
%{baseinstdir}/share/template/wizard
|
|
 |
042e702 |
%dir %{baseinstdir}/share/wordbook
|
|
 |
042e702 |
%{baseinstdir}/share/wordbook/en-GB.dic
|
|
 |
042e702 |
%{baseinstdir}/share/wordbook/en-US.dic
|
|
 |
042e702 |
%{baseinstdir}/share/wordbook/technical.dic
|
|
 |
283df42 |
%{baseinstdir}/program/liblnthlo.so
|
|
 |
8076325 |
%{_bindir}/unopkg
|
|
 |
596b501 |
%{_mandir}/man1/unopkg.1*
|
|
 |
042e702 |
%{baseinstdir}/program/libxmlsecurity.so
|
|
 |
6222204 |
%{baseinstdir}/program/libconfigmgrlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libdesktopbe1lo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libfsstoragelo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libi18npoollo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libbasegfxlo.so
|
|
 |
6222204 |
# TODO: shouldn't it have lo suffix?
|
|
 |
6222204 |
%{baseinstdir}/program/libcomphelper.so
|
|
 |
283df42 |
%{baseinstdir}/program/libfwelo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libfwilo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libfwklo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libfwllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libfwmlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libi18nlangtag.so
|
|
 |
6222204 |
# TODO: shouldn't it have lo suffix?
|
|
 |
6222204 |
%{baseinstdir}/program/libi18nutil.so
|
|
 |
042e702 |
%{baseinstdir}/program/libpackage2.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsblo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsfxlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsotlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libspllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsvllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsvtlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libtklo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libtllo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libucb1.so
|
|
 |
042e702 |
%{baseinstdir}/program/libucpfile1.so
|
|
 |
283df42 |
%{baseinstdir}/program/libutllo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libvcllo.so
|
|
 |
ca8f0c1 |
%{baseinstdir}/program/libwriterperfectlo.so
|
|
 |
0053515 |
%{baseinstdir}/program/libxmlscriptlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libxolo.so
|
|
 |
6222204 |
%{baseinstdir}/program/liblocalebe1lo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libucpgio1lo.so
|
|
 |
ca2b956 |
%{baseinstdir}/program/types/oovbaapi.rdb
|
|
 |
8076325 |
#share unopkg
|
|
 |
8076325 |
%dir %{baseinstdir}/share/extensions
|
|
 |
8076325 |
%{baseinstdir}/share/extensions/package.txt
|
|
 |
8076325 |
%{baseinstdir}/program/unopkg
|
|
 |
8076325 |
%{baseinstdir}/program/unopkg.bin
|
|
 |
8076325 |
%{baseinstdir}/program/bootstraprc
|
|
 |
8076325 |
%{baseinstdir}/program/fundamentalrc
|
|
 |
8076325 |
%{baseinstdir}/program/setuprc
|
|
 |
8076325 |
%{baseinstdir}/program/intro.*
|
|
 |
8076325 |
%{baseinstdir}/program/soffice
|
|
 |
8076325 |
%{baseinstdir}/program/soffice.bin
|
|
 |
8076325 |
%{baseinstdir}/program/sofficerc
|
|
 |
8076325 |
%{baseinstdir}/program/unoinfo
|
|
 |
042e702 |
%{baseinstdir}/program/oosplash
|
|
 |
457672e |
%{baseinstdir}/program/shell/
|
|
 |
ca8f0c1 |
%dir %{baseinstdir}/share/filter
|
|
 |
ca8f0c1 |
%{baseinstdir}/share/filter/oox-drawingml-adj-names
|
|
 |
ca8f0c1 |
%{baseinstdir}/share/filter/oox-drawingml-cs-presets
|
|
 |
ca8f0c1 |
%{baseinstdir}/share/filter/vml-shape-types
|
|
 |
8076325 |
%{baseinstdir}/share/xdg/
|
|
 |
8076325 |
%{baseinstdir}/program/redirectrc
|
|
 |
8076325 |
%{_datadir}/applications/libreoffice-startcenter.desktop
|
|
 |
8076325 |
#launchers
|
|
 |
8076325 |
%{_bindir}/libreoffice
|
|
 |
8076325 |
%{_bindir}/openoffice.org
|
|
 |
8076325 |
%{_bindir}/soffice
|
|
 |
8076325 |
%{_bindir}/ooffice
|
|
 |
8076325 |
%{_bindir}/ooviewdoc
|
|
 |
596b501 |
%{_mandir}/man1/libreoffice.1*
|
|
 |
596b501 |
%{_mandir}/man1/openoffice.org.1*
|
|
 |
596b501 |
%{_mandir}/man1/soffice.1*
|
|
 |
596b501 |
%{_mandir}/man1/ooffice.1*
|
|
 |
596b501 |
%{_mandir}/man1/ooviewdoc.1*
|
|
 |
8076325 |
|
|
 |
bd546da |
%if ! 0%{?file_triggers}
|
|
 |
8076325 |
%post core
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
8076325 |
|
|
 |
8076325 |
%postun core
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
bd546da |
%endif
|
|
Christopher Aillon |
08bde27 |
|
|
 |
8076325 |
%files base
|
|
 |
042e702 |
%{baseinstdir}/program/classes/hsqldb.jar
|
|
 |
6222204 |
%{baseinstdir}/program/classes/reportbuilder.jar
|
|
 |
07665a6 |
%{baseinstdir}/program/classes/reportbuilderwizard.jar
|
|
 |
042e702 |
%{baseinstdir}/program/classes/sdbc_hsqldb.jar
|
|
 |
283df42 |
%{baseinstdir}/program/libabplo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdbplo.so
|
|
 |
042e702 |
%{baseinstdir}/program/libhsqldb.so
|
|
 |
8dd8adf |
%{baseinstdir}/program/librptlo.so
|
|
 |
8dd8adf |
%{baseinstdir}/program/librptuilo.so
|
|
 |
8dd8adf |
%{baseinstdir}/program/librptxmllo.so
|
|
 |
042e702 |
%{baseinstdir}/share/registry/base.xcd
|
|
 |
6222204 |
%{baseinstdir}/share/registry/reportbuilder.xcd
|
|
 |
8076325 |
%{baseinstdir}/program/sbase
|
|
Richard Hughes |
b67fc84 |
%{_datadir}/appdata/libreoffice-base.appdata.xml
|
|
 |
8076325 |
%{_datadir}/applications/libreoffice-base.desktop
|
|
 |
8076325 |
%{_bindir}/oobase
|
|
 |
596b501 |
%{_mandir}/man1/oobase.1*
|
|
 |
8076325 |
|
|
 |
bd546da |
%if ! 0%{?file_triggers}
|
|
 |
8076325 |
%post base
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
8076325 |
|
|
 |
8076325 |
%postun base
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
bd546da |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%files bsh
|
|
 |
40ef2af |
%{baseinstdir}/program/classes/ScriptProviderForBeanShell.jar
|
|
 |
40ef2af |
%{baseinstdir}/program/services/scriptproviderforbeanshell.rdb
|
|
 |
042e702 |
%{baseinstdir}/share/Scripts/beanshell
|
|
 |
8076325 |
|
|
 |
8076325 |
%files rhino
|
|
 |
40ef2af |
%{baseinstdir}/program/classes/js.jar
|
|
 |
40ef2af |
%{baseinstdir}/program/classes/ScriptProviderForJavaScript.jar
|
|
 |
40ef2af |
%{baseinstdir}/program/services/scriptproviderforjavascript.rdb
|
|
 |
042e702 |
%{baseinstdir}/share/Scripts/javascript
|
|
 |
8076325 |
|
|
 |
8076325 |
%files wiki-publisher
|
|
 |
8076325 |
%docdir %{baseinstdir}/share/extensions/wiki-publisher/license
|
|
 |
8076325 |
%{baseinstdir}/share/extensions/wiki-publisher
|
|
 |
8076325 |
|
|
 |
445e8d9 |
%files nlpsolver
|
|
 |
445e8d9 |
%docdir %{baseinstdir}/share/extensions/nlpsolver/help
|
|
 |
445e8d9 |
%{baseinstdir}/share/extensions/nlpsolver
|
|
 |
445e8d9 |
|
|
 |
5139033 |
%files officebean
|
|
 |
5139033 |
%{baseinstdir}/program/classes/officebean.jar
|
|
 |
5139033 |
%{baseinstdir}/program/libofficebean.so
|
|
 |
5139033 |
|
|
 |
96f3a4e |
%files officebean-common
|
|
 |
96f3a4e |
%{_javadir}/%{name}/officebean.jar
|
|
 |
96f3a4e |
|
|
 |
8076325 |
%files ogltrans
|
|
 |
6222204 |
%{baseinstdir}/program/libOGLTranslo.so
|
|
 |
5e3fd3b |
%{baseinstdir}/program/opengl/basicFragmentShader.glsl
|
|
 |
709c6aa |
%{baseinstdir}/program/opengl/basicVertexShader.glsl
|
|
 |
709c6aa |
%{baseinstdir}/program/opengl/dissolveFragmentShader.glsl
|
|
 |
5e3fd3b |
%{baseinstdir}/program/opengl/fadeBlackFragmentShader.glsl
|
|
 |
5e3fd3b |
%{baseinstdir}/program/opengl/fadeFragmentShader.glsl
|
|
 |
85ff9ac |
%{baseinstdir}/program/opengl/glitterFragmentShader.glsl
|
|
 |
85ff9ac |
%{baseinstdir}/program/opengl/glitterVertexShader.glsl
|
|
 |
85ff9ac |
%{baseinstdir}/program/opengl/honeycombFragmentShader.glsl
|
|
 |
85ff9ac |
%{baseinstdir}/program/opengl/honeycombGeometryShader.glsl
|
|
 |
85ff9ac |
%{baseinstdir}/program/opengl/honeycombVertexShader.glsl
|
|
 |
5e3fd3b |
%{baseinstdir}/program/opengl/rippleFragmentShader.glsl
|
|
 |
5e3fd3b |
%{baseinstdir}/program/opengl/reflectionFragmentShader.glsl
|
|
 |
5e3fd3b |
%{baseinstdir}/program/opengl/reflectionVertexShader.glsl
|
|
 |
709c6aa |
%{baseinstdir}/program/opengl/staticFragmentShader.glsl
|
|
 |
de71f14 |
%{baseinstdir}/program/opengl/vortexFragmentShader.glsl
|
|
 |
de71f14 |
%{baseinstdir}/program/opengl/vortexGeometryShader.glsl
|
|
 |
5e3fd3b |
%{baseinstdir}/program/opengl/vortexVertexShader.glsl
|
|
 |
042e702 |
%{baseinstdir}/share/config/soffice.cfg/simpress/transitions-ogl.xml
|
|
 |
042e702 |
%{baseinstdir}/share/registry/ogltrans.xcd
|
|
 |
8076325 |
|
|
 |
8076325 |
%files pdfimport
|
|
 |
6222204 |
%{baseinstdir}/program/libpdfimportlo.so
|
|
 |
5f6a514 |
%{baseinstdir}/program/xpdfimport
|
|
 |
5f6a514 |
%{baseinstdir}/share/registry/pdfimport.xcd
|
|
 |
5f6a514 |
%dir %{baseinstdir}/share/xpdfimport
|
|
 |
5f6a514 |
%{baseinstdir}/share/xpdfimport/xpdfimport_err.pdf
|
|
 |
8076325 |
|
|
 |
8076325 |
%_font_pkg -n %{fontname} opens___.ttf
|
|
 |
78c68ee |
%doc instdir/LICENSE
|
|
 |
8076325 |
|
|
 |
8076325 |
%files calc
|
|
 |
283df42 |
%{baseinstdir}/program/libanalysislo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libcalclo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libdatelo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libforlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libforuilo.so
|
|
 |
8683146 |
%if 0%{?rhel}
|
|
 |
84d23d6 |
%{baseinstdir}/program/liborcus-0.12.so.*
|
|
 |
84d23d6 |
%{baseinstdir}/program/liborcus-parser-0.12.so.*
|
|
 |
8683146 |
%endif
|
|
 |
402ae8c |
%{baseinstdir}/program/libpricinglo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsclo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libscdlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libscfiltlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libscuilo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsolverlo.so
|
|
 |
9bde8a9 |
%{baseinstdir}/program/libwpftcalclo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libvbaobjlo.so
|
|
 |
f60e340 |
%{baseinstdir}/share/calc/styles.xml
|
|
 |
042e702 |
%{baseinstdir}/share/registry/calc.xcd
|
|
 |
042e702 |
%{baseinstdir}/program/pagein-calc
|
|
 |
8076325 |
%{baseinstdir}/program/scalc
|
|
Richard Hughes |
b67fc84 |
%{_datadir}/appdata/libreoffice-calc.appdata.xml
|
|
 |
8076325 |
%{_datadir}/applications/libreoffice-calc.desktop
|
|
 |
8076325 |
%{_bindir}/oocalc
|
|
 |
596b501 |
%{_mandir}/man1/oocalc.1*
|
|
 |
8076325 |
|
|
 |
bd546da |
%if ! 0%{?file_triggers}
|
|
 |
8076325 |
%post calc
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
8076325 |
|
|
 |
8076325 |
%postun calc
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
bd546da |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%files draw
|
|
 |
042e702 |
%{baseinstdir}/share/registry/draw.xcd
|
|
 |
042e702 |
%{baseinstdir}/program/pagein-draw
|
|
 |
8076325 |
%{baseinstdir}/program/sdraw
|
|
Richard Hughes |
b67fc84 |
%{_datadir}/appdata/libreoffice-draw.appdata.xml
|
|
 |
8076325 |
%{_datadir}/applications/libreoffice-draw.desktop
|
|
 |
8076325 |
%{_bindir}/oodraw
|
|
 |
596b501 |
%{_mandir}/man1/oodraw.1*
|
|
 |
8076325 |
|
|
 |
bd546da |
%if ! 0%{?file_triggers}
|
|
 |
8076325 |
%post draw
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
8076325 |
|
|
 |
8076325 |
%postun draw
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
bd546da |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%files emailmerge
|
|
 |
042e702 |
%{baseinstdir}/program/mailmerge.py*
|
|
 |
eb568c1 |
%{baseinstdir}/program/msgbox.py*
|
|
 |
8076325 |
|
|
 |
8076325 |
%files writer
|
|
 |
283df42 |
%{baseinstdir}/program/libhwplo.so
|
|
 |
283df42 |
%{baseinstdir}/program/liblwpftlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libmswordlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libswuilo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libt602filterlo.so
|
|
 |
8dd8adf |
%{baseinstdir}/program/libwpftwriterlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libwriterfilterlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libvbaswobjlo.so
|
|
 |
042e702 |
%{baseinstdir}/share/registry/writer.xcd
|
|
 |
042e702 |
%{baseinstdir}/program/pagein-writer
|
|
 |
8076325 |
%{baseinstdir}/program/swriter
|
|
Richard Hughes |
b67fc84 |
%{_datadir}/appdata/libreoffice-writer.appdata.xml
|
|
 |
8076325 |
%{_datadir}/applications/libreoffice-writer.desktop
|
|
 |
8076325 |
%{_bindir}/oowriter
|
|
 |
596b501 |
%{_mandir}/man1/oowriter.1*
|
|
 |
8076325 |
|
|
 |
bd546da |
%if ! 0%{?file_triggers}
|
|
 |
8076325 |
%post writer
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
8076325 |
|
|
 |
8076325 |
%postun writer
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
bd546da |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%files impress
|
|
 |
a0d2c2d |
%{baseinstdir}/program/libPresentationMinimizerlo.so
|
|
 |
6222204 |
%{baseinstdir}/program/libPresenterScreenlo.so
|
|
 |
a0d2c2d |
%{baseinstdir}/program/libwpftimpresslo.so
|
|
 |
042e702 |
%dir %{baseinstdir}/share/config/soffice.cfg/simpress
|
|
 |
042e702 |
%{baseinstdir}/share/config/soffice.cfg/simpress/effects.xml
|
|
 |
a0d2c2d |
%{baseinstdir}/share/config/soffice.cfg/simpress/layoutlist.xml
|
|
 |
a0d2c2d |
%{baseinstdir}/share/config/soffice.cfg/simpress/objectlist.xml
|
|
 |
042e702 |
%{baseinstdir}/share/config/soffice.cfg/simpress/transitions.xml
|
|
 |
042e702 |
%{baseinstdir}/share/registry/impress.xcd
|
|
 |
042e702 |
%{baseinstdir}/program/pagein-impress
|
|
 |
8076325 |
%{baseinstdir}/program/simpress
|
|
Richard Hughes |
b67fc84 |
%{_datadir}/appdata/libreoffice-impress.appdata.xml
|
|
 |
8076325 |
%{_datadir}/applications/libreoffice-impress.desktop
|
|
 |
8076325 |
%{_bindir}/ooimpress
|
|
 |
596b501 |
%{_mandir}/man1/ooimpress.1*
|
|
 |
8076325 |
|
|
 |
bd546da |
%if ! 0%{?file_triggers}
|
|
 |
8076325 |
%post impress
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
8076325 |
|
|
 |
8076325 |
%postun impress
|
|
 |
8076325 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
 |
bd546da |
%endif
|
|
 |
8076325 |
|
|
 |
8076325 |
%files math
|
|
 |
283df42 |
%{baseinstdir}/program/libsmlo.so
|
|
 |
283df42 |
%{baseinstdir}/program/libsmdlo.so
|
|
 |
042e702 |
%{baseinstdir}/share/registry/math.xcd
|
|
 |
8076325 |
%{baseinstdir}/program/smath
|
|
 |
8076325 |
%{_datadir}/applications/libreoffice-math.desktop
|
|
 |
8076325 |
%{_bindir}/oomath
|
|
|