# download path contains version without the last (fourth) digit
%global libo_version 24.2.0
# Should contain .alphaX / .betaX, if this is pre-release (actually
# pre-RC) version. The pre-release string is part of tarball file names,
# so we need a way to define it easily at one place.
%global libo_prerelease %{nil}
# Should contain any suffix of release tarball name, e.g., -buildfix1.
%global libo_buildfix %{nil}
# rhbz#715152 state vendor
%global vendoroption --with-vendor="Strepsirrhini"
%global libo_python python3
%global libo_python_executable %{__python3}
%global libo_python_sitearch %{python3_sitearch}
# rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF
%global __jar_repack %{nil}
# make it easier to download sources from pre-release site
%if 0%{?prerelease}
%global source_url http://dev-builds.libreoffice.org/pre-releases/src
%else
%global source_url http://download.documentfoundation.org/libreoffice/src/%{libo_version}
%endif
# URL for external projects' tarballs
%global external_url http://dev-www.libreoffice.org/src
%global girapiversion 0.1
# get english only and no-langpacks for a faster smoketest build
# fedpkg compile/install/local/mockbuild does not handle --without ATM,
# so it is necessary to change this to bcond_with to achieve the same
# effect
%bcond_without langpacks
# 'serverconfig' is tuned for non-interactive installs
# defaults off except on rhel for s390[x] and aarch64
%if 0%{?rhel}
%ifarch s390 s390x aarch64
%bcond_without serverconfig
%else
%bcond_with serverconfig
%endif
%else
%bcond_with serverconfig
%endif
# generated by %%langpack definitions
%global langpack_langs %{nil}
%global bundling_options %{nil}
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
Summary: Free Software Productivity Suite
Name: libreoffice
Epoch: 1
Version: %{libo_version}.2
Release: 3%{?libo_prerelease}%{?dist}.inferit
# default new files are: MPLv2
# older files are typically: MPLv2 incorporating work under ASLv2
# nlpsolver is: LGPLv3
# icon-themes/karasa_jaga/COPYING: LGPLv3+
# icon-themes/colibre/COPYING-ICONS: CC0
# lotuswordpro is: Either LGPL 2.1 or SISSL 1.1
# wizards/source/access2base: Either MPLv2 or LGPLv3+
# writerperfect/source/common/DirectoryStream.cxx: MPLv2 or LGPLv2+
# extras/source/autocorr/lang/hr/license.md: GPL 2.0 or LGPL2 or MPLv1.1
# odk/examples/java/...: 3 clause BSD
License: MPL-2.0 AND Apache-2.0 AND LGPL-3.0-only AND LGPL-3.0-or-later AND CC0-1.0 AND BSD-3-Clause AND (LGPL-2.1-only OR SISSL) AND (MPL-2.0 OR LGPL-3.0-or-later) AND (MPL-2.0 OR LGPL-2.1-or-later) AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only)
URL: http://www.libreoffice.org/
Source0: %{source_url}/libreoffice-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
Source1: %{source_url}/libreoffice-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz.asc
Source2: %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
Source3: %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz.asc
Source4: %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
Source5: %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz.asc
Source6: gpgkey-C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3.gpg.asc
Source7: http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
Source8: libreoffice-multiliblauncher.sh
Source9: %{external_url}/dtoa-20180411.tgz
Source11: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
# Unfortunately later versions of hsqldb changed the file format, so if we use a later version we lose
# backwards compatability.
# LibreOffice is also pinned to use hsqldb really old version 1.8.0 so there's currently no way building
# with system provided hsqldb without major hacking.
Source12: %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
Source13: %{external_url}/../extern/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf
# Fonts GMX (gob.mx)
Source21: https://repos.libreoffice.gob.mx/src/gmx-fonts.tar.gz
Source22: GMX-Acuerdo.pdf
# More fonts
Source23: %{external_url}/368f114c078f94214a308a74c7e991bc-crosextrafonts-20130214.tar.gz
Source24: %{external_url}/c74b7223abe75949b4af367942d96c7a-crosextrafonts-carlito-20130920.tar.gz
Source25: %{external_url}/33e1e61fab06a547851ed308b4ffef42-dejavu-fonts-ttf-2.37.zip
Source26: %{external_url}/1725634df4bb3dcb1b2c91a6175f8789-GentiumBasic_1102.zip
Source27: %{external_url}/liberation-narrow-fonts-ttf-1.07.6.tar.gz
Source28: %{external_url}/liberation-fonts-ttf-2.1.4.tar.gz
Source29: %{external_url}/e7a384790b13c29113e22e596ade9687-LinLibertineG-20120116.zip
Source30: %{external_url}/edc4d741888bc0d38e32dbaa17149596-source-sans-pro-2.010R-ro-1.065R-it.tar.gz
Source31: %{external_url}/noto-fonts-20171024.tar.gz
Source32: %{external_url}/culmus-0.133.tar.gz
Source33: %{external_url}/libre-hebrew-1.0.tar.gz
Source34: %{external_url}/alef-1.001.tar.gz
Source35: %{external_url}/Amiri-1.000.zip
Source36: %{external_url}/ReemKufi-1.2.zip
Source37: %{external_url}/Scheherazade-2.100.zip
%global bundling_options %{?bundling_options} --without-system-hsqldb
Provides: bundled(hsqldb) = 1.8.0
Provides: bundled(xsltml) = 2.1.2
# symbolic icons
Source42: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-base-symbolic.svg
Source43: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-calc-symbolic.svg
Source44: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-draw-symbolic.svg
Source45: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-impress-symbolic.svg
Source46: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-main-symbolic.svg
Source47: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-math-symbolic.svg
Source48: https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-writer-symbolic.svg
# New fonts required in 24.2
Source49: %{external_url}/NotoNaskhArabic-v2.016.zip
Source50: %{external_url}/NotoSans-v2.012.zip
Source51: %{external_url}/NotoSansArabic-v2.010.zip
Source52: %{external_url}/NotoSansArmenian-v2.008.zip
Source53: %{external_url}/NotoSansGeorgian-v2.003.zip
Source54: %{external_url}/NotoSansHebrew-v2.003.zip
Source55: %{external_url}/NotoSansLao-v2.003.zip
Source56: %{external_url}/NotoSansLisu-v2.102.zip
Source57: %{external_url}/NotoSerif-v2.012.zip
Source58: %{external_url}/NotoSerifArmenian-v2.008.zip
Source59: %{external_url}/NotoSerifGeorgian-v2.003.zip
Source60: %{external_url}/NotoSerifHebrew-v2.003.zip
Source61: %{external_url}/NotoSerifLao-v2.003.zip
# Diccionarios
Source66: %{source_url}/libreoffice-dictionaries-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz
Source67: %{source_url}/libreoffice-dictionaries-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz.asc
# build tools
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bc
BuildRequires: binutils
BuildRequires: bison
BuildRequires: desktop-file-utils
BuildRequires: doxygen
BuildRequires: findutils
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: git
BuildRequires: gnupg2
BuildRequires: gperf
BuildRequires: harfbuzz-icu >= 5.1.0
BuildRequires: hunspell-en-US
BuildRequires: icu
BuildRequires: libtool-ltdl-devel
BuildRequires: make
BuildRequires: mariadb-connector-c-devel
BuildRequires: patch
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(FindBin)
BuildRequires: perl(base)
BuildRequires: perl(lib)
%if 0%{?fedora}
BuildRequires: glibc-all-langpacks
BuildRequires: libappstream-glib
%endif
BuildRequires: zip
# libs / headers - common
BuildRequires: %{libo_python}-devel
BuildRequires: %{libo_python}-setuptools
BuildRequires: Box2D-devel
BuildRequires: boost-devel
BuildRequires: cups-devel
BuildRequires: dragonbox-static
BuildRequires: fontpackages-devel
%if 0%{?fedora}
BuildRequires: firebird-devel
%endif
BuildRequires: frozen-devel
BuildRequires: glm-devel
BuildRequires: hyphen-devel
BuildRequires: libjpeg-turbo-devel
BuildRequires: lpsolve-devel
BuildRequires: openldap-devel
BuildRequires: pam-devel
BuildRequires: pkgconfig(bluez)
BuildRequires: pkgconfig(dconf)
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(evolution-data-server-1.2)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(hunspell)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libabw-0.1)
BuildRequires: pkgconfig(libargon2)
BuildRequires: pkgconfig(libcdr-0.1)
BuildRequires: pkgconfig(libclucene-core)
BuildRequires: pkgconfig(libcmis-0.6)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libetonyek-0.1)
BuildRequires: pkgconfig(libexttextcat)
BuildRequires: pkgconfig(libfreehand-0.1)
BuildRequires: pkgconfig(liblangtag)
BuildRequires: pkgconfig(libmspub-0.1)
BuildRequires: pkgconfig(libmwaw-0.3)
BuildRequires: pkgconfig(libodfgen-0.1)
BuildRequires: pkgconfig(libpagemaker-0.0)
BuildRequires: pkgconfig(libpq)
BuildRequires: pkgconfig(librevenge-0.0)
BuildRequires: pkgconfig(libstaroffice-0.0)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libvisio-0.1)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(libwpd-0.10)
BuildRequires: pkgconfig(libwpg-0.3)
BuildRequires: pkgconfig(libwps-0.4)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(libzmf-0.0)
BuildRequires: pkgconfig(mythes)
BuildRequires: pkgconfig(neon)
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(poppler)
BuildRequires: pkgconfig(poppler-cpp)
BuildRequires: pkgconfig(redland)
BuildRequires: pkgconfig(sane-backends)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xmlsec1-nss) >= 1.2.35
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(zlib)
BuildRequires: unixODBC-devel
BuildRequires: zxcvbn-c-devel
BuildRequires: %{libo_python_executable}
# libs / headers - conditional
%if 0%{?fedora}
BuildRequires: pkgconfig(libe-book-0.1)
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtx11extras-devel
BuildRequires: kf5-kconfig-devel
BuildRequires: kf5-kcoreaddons-devel
BuildRequires: kf5-kdelibs4support-devel
BuildRequires: kf5-ki18n-devel
BuildRequires: kf5-kio-devel
BuildRequires: kf5-kwindowsystem-devel
%endif
BuildRequires: gpgmepp-devel
BuildRequires: pkgconfig(cppunit) >= 1.14.0
BuildRequires: pkgconfig(graphite2)
BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(libeot)
BuildRequires: pkgconfig(libepubgen-0.1)
BuildRequires: pkgconfig(libqxp-0.0)
BuildRequires: pkgconfig(liborcus-0.18) >= 0.19
BuildRequires: pkgconfig(mdds-2.1)
BuildRequires: pkgconfig(zxing)
BuildRequires: libnumbertext-devel
BuildRequires: frozen-static
%ifarch %{java_arches}
# java stuff
BuildRequires: ant
BuildRequires: java-17-devel
# Workarround to setup java 17 as default java
BuildRequires: java-17-configure
BuildRequires: junit
BuildRequires: pentaho-reporting-flow-engine
%endif
# fonts needed for tests
BuildRequires: dejavu-sans-fonts
BuildRequires: dejavu-serif-fonts
BuildRequires: google-carlito-fonts
BuildRequires: google-rubik-fonts
BuildRequires: google-crosextra-caladea-fonts
# Amiri used in vcl/qa/cppunit tests
BuildRequires: amiri-fonts
BuildRequires: amiri-quran-fonts
BuildRequires: liberation-mono-fonts
BuildRequires: liberation-narrow-fonts
BuildRequires: liberation-sans-fonts
BuildRequires: liberation-serif-fonts
BuildRequires: linux-libertine-fonts
# Libreoffice 24.2 requiere gcc 12
BuildRequires: gcc-toolset-12
# Esta macro habilita el toolset de gcc 12
%enable_devtoolset12
#Con esta liga simbólica jala el pluguín de annobin
# cd /opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12/plugin/
# ln -svf gts-gcc-annobin.so gcc-annobin.so
BuildRequires: gcc-toolset-12-annobin-symlink
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-impress%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-draw%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-math%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-base%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-emailmerge%{?_isa} = %{epoch}:%{version}-%{release}
# not upstreamed: upstream wants an automatic restart after a crash; we
# want a nice abrt report
Patch0: 0001-don-t-suppress-crashes.patch
# disable tip-of-the-day dialog by default
Patch1: 0001-disble-tip-of-the-day-dialog-by-default.patch
# rhbz#1736810 disable opencl by default again
Patch2: 0001-Resolves-rhbz-1432468-disable-opencl-by-default.patch
# backported
Patch3: 0001-default-to-sifr-for-gnome-light-mode.patch
# not upstreamed
# fix FTB in ppc64le from sharkcz
# https://lists.freedesktop.org/archives/libreoffice/2023-August/090870.html
Patch11: lo-7.6-ppc64le-tests.patch
Patch500: 0001-disable-libe-book-support.patch
# https://lists.freedesktop.org/archives/libreoffice/2023-September/090948.html
Patch501: kahansum_test_fix_for_aarc64_s390x.patch
# Parches para CentOS 9
# ICE
#Patch11: 0001-workaround-x86-ICE-with-gcc-12.patch
#Patch12: 0001-s390x-canvas-test-fails.patch
#Patch13: 0001-tdf-144862-use-resolution-independent-positions-for-.patch
# ICU
#Patch14: 0001-unistr.patch
# gpgme
Patch15: 0001-gpgme.patch
# Parches de gob.mx 1.1
Patch21: 0001-Archivos-de-distro-config-de-brand-Office.patch
Patch22: 0002-Modificacion-al-build-y-borrado-UPDATEURL.patch
Patch23: 0003-Custom-images-and-referencies-added.patch
Patch24: 0004-Fuentes-monserrat-y-gmx.patch
Patch25: 0005-Fonts-added.patch
Patch26: 0006-Modificado-archivo-tar-xz-a-gz.patch
Patch27: 0007-Corregida-instrucci-n-de-descarga.patch
Patch28: 0008-Cambios-en-logo.patch
Patch29: 0009-Modificado-link-de-descarga-de-fuentes.patch
Patch30: 0010-Restauracion-link-repos-src.patch
Patch31: 0011-logo-image-updated.patch
Patch32: 0012-Update-OfficeLinux.conf-with-lang-es.patch
Patch33: 0013-Update-OfficeLinux.conf.patch
Patch34: 0014-fix-error-make-install.patch
#Patch35: 0015-gob-mx-1.0.patch
Patch36: 0016-Add-minor-version-OS-to-PDF-producer-metadata.patch
Patch37: 0017-CPPUNIT-Calc-fixed.patch
%global instdir %{_libdir}
%global baseinstdir %{instdir}/libreoffice
%global sdkinstdir %{baseinstdir}/sdk
%global datadir %{_datadir}/%{name}
%global fontname opensymbol
# HACK: Get the data dir for -data subpackage. I haven't found any better
# way to do this...
%global oldname %{name}
%global name %{name}-data
%global lodatadocdir %{_pkgdocdir}
%global name %{oldname}
%if 0%{?__isa_bits} == 64
%global mark64 ()(64bit)
%endif
%description
LibreOffice is an Open Source, community-developed, office productivity suite.
It includes the key desktop applications, such as a word processor,
spreadsheet, presentation manager, formula editor and drawing program, with a
user interface and feature set similar to other office suites. Sophisticated
and flexible, LibreOffice also works transparently with a variety of file
formats, including Microsoft Office File Formats.
%package filters
Summary: All import / export filters
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-graphicfilter%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-impress%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-xsltfilter%{?_isa} = %{epoch}:%{version}-%{release}
%description filters
Metapackage to pull in all subpackages that contain import or export
filters.
%package core
Summary: Core modules for LibreOffice
Requires: %{name}-%{fontname}-fonts = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-data = %{epoch}:%{version}-%{release}
%if ! %{with serverconfig}
Requires: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
%endif
Requires: liberation-sans-fonts, liberation-serif-fonts, liberation-mono-fonts
Requires: google-crosextra-caladea-fonts, google-crosextra-carlito-fonts
# Fonts para gob.mx
Requires: %{name}-gmx-fonts = %{epoch}:%{version}-%{release}
Requires: julietaula-montserrat-fonts
Requires: %{name}-langpack-es = %{epoch}:%{version}-%{release}
Requires: %{name}-myspell-dict-es = %{epoch}:%{version}-%{release}
%ifarch %{java_arches}
# rhbz#949106 libreoffice-core drags in both openjdk 1.7.0 and 1.8.0
Recommends: java-17-headless >= 1:1.6
%else
Obsoletes: libreoffice-nlpsolver < 1:7.4.0.0
Obsoletes: libreoffice-officebean < 1:7.4.0.0
Obsoletes: libreoffice-officebean-common < 1:7.4.0.0
Obsoletes: libreoffice-wiki-publisher < 1:7.4.0.0
%endif
Obsoletes: libreoffice-headless < 1:4.4.0.0
Obsoletes: libreoffice-math-debuginfo < 1:6.4.7.2
Provides: libreoffice-headless = %{epoch}:%{version}-%{release}
Provides: libreoffice-headless%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: libreoffice-bsh < 1:7.3.0.4
Obsoletes: libreoffice-rhino < 1:7.3.0.4
%description core
The shared core libraries and support files for LibreOffice.
%package pyuno
Summary: Python support for LibreOffice
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{libo_python_executable}
%description pyuno
Python bindings for the LibreOffice UNO component model. Allows scripts both
external to LibreOffice and within the internal LibreOffice scripting framework
to be written in python.
%package base
Summary: Database front-end for LibreOffice
%if 0%{?fedora}
Requires: firebird
%endif
%ifarch %{java_arches}
Requires: java-17-headless >= 1:1.6
%endif
Requires: pentaho-reporting-flow-engine
Requires: postgresql-jdbc
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-data = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description base
GUI database front-end for LibreOffice. Allows creation and management of
databases through a GUI.
%ifarch %{java_arches}
%package officebean
Summary: JavaBean for LibreOffice Components
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-officebean-common = %{epoch}:%{version}-%{release}
%description officebean
Allows embedding of LibreOffice documents within the Java environment. It
provides a Java AWT window into which the backend LibreOffice process draws
its visual representation
%package officebean-common
Summary: Common JavaBean for LibreOffice Components
Requires: %{name}-data = %{epoch}:%{version}-%{release}
BuildArch: noarch
%description officebean-common
Arch-independent part of %{name}-officebean.
%package wiki-publisher
Summary: Create Wiki articles on MediaWiki servers with LibreOffice
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description wiki-publisher
The Wiki Publisher enables you to create Wiki articles on MediaWiki servers
without having to know the syntax of the MediaWiki markup language. Publish
your new and existing documents transparently with writer to a wiki page.
%package nlpsolver
Summary: Non-linear solver engine for LibreOffice Calc
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-calc%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description nlpsolver
A non-linear solver engine for Calc as an alternative to the default linear
programming model when more complex, nonlinear programming is required.
%endif
%package ogltrans
Summary: 3D OpenGL slide transitions for LibreOffice
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description ogltrans
OpenGL Transitions enable 3D slide transitions to be used in LibreOffice.
Requires good quality 3D support for your graphics card for best experience.
%package pdfimport
Summary: PDF Importer for LibreOffice Draw
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description pdfimport
The PDF Importer imports PDF into drawing documents to preserve layout
and enable basic editing of PDF documents.
%package %{fontname}-fonts
Summary: LibreOffice dingbats font
Requires: fontpackages-filesystem
BuildArch: noarch
%description %{fontname}-fonts
A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and
mathematical symbols.
%package gmx-fonts
Summary: gob.mx font
Requires: fontpackages-filesystem
BuildArch: noarch
%description gmx-fonts
GMX, tipografía de la nación mexicana. Gobierno de México 2018 - 2024
%package writer
Summary: LibreOffice Word Processor Application
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-data = %{epoch}:%{version}-%{release}
Requires: %{name}-pdfimport%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description writer
The LibreOffice Word Processor application.
%package emailmerge
Summary: Email mail-merge component for LibreOffice
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
%description emailmerge
Enables the LibreOffice writer module to mail-merge to email.
%package calc
Summary: LibreOffice Spreadsheet Application
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-data = %{epoch}:%{version}-%{release}
Requires: %{name}-pdfimport%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description calc
The LibreOffice Spreadsheet application.
%package draw
Summary: LibreOffice Drawing Application
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-data = %{epoch}:%{version}-%{release}
Requires: %{name}-pdfimport%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-graphicfilter%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description draw
The LibreOffice Drawing Application.
%package impress
Summary: LibreOffice Presentation Application
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-data = %{epoch}:%{version}-%{release}
Requires: %{name}-ogltrans%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-pdfimport%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-graphicfilter%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description impress
The LibreOffice Presentation Application.
%package math
Summary: LibreOffice Equation Editor Application
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-pdfimport%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description math
The LibreOffice Equation Editor Application.
%package graphicfilter
Summary: LibreOffice Extra Graphic filters
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-data = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description graphicfilter
The graphicfilter module for LibreOffice provides graphic filters, e.g. svg.
%package xsltfilter
Summary: Optional xsltfilter module for LibreOffice
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
%description xsltfilter
The xsltfilter module for LibreOffice, provides additional docbook and
xhtml export transforms. Install this to enable docbook export.
%package postgresql
Summary: PostgreSQL connector for LibreOffice
Requires: %{name}-base%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description postgresql
A PostgreSQL connector for the database front-end for LibreOffice. Allows
creation and management of PostgreSQL databases through a GUI.
%package ure
Summary: UNO Runtime Environment
Requires: %{name}-ure-common = %{epoch}:%{version}-%{release}
Requires: unzip%{?_isa}
%ifarch %{java_arches}
#rhbz#1164551 we want to ensure that a libjvm.so of this arch is available
Requires: libjvm.so%{?mark64}
%endif
%description ure
UNO is the component model of LibreOffice. UNO offers interoperability between
programming languages, other components models and hardware architectures,
either in process or over process boundaries, in the Intranet as well as in the
Internet. UNO components may be implemented in and accessed from any
programming language for which a UNO implementation (AKA language binding) and
an appropriate bridge or adapter exists
%package ure-common
Summary: Common UNO Runtime Environment
%description ure-common
Arch-independent part of %{name}-ure.
%package sdk
Summary: Software Development Kit for LibreOffice
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
Requires: unzip%{?_isa}
%ifarch %{java_arches}
Requires: java-17-devel
%endif
%description sdk
The LibreOffice SDK is an add-on for the LibreOffice office suite. It provides
the necessary tools for programming using the LibreOffice APIs and for creating
extensions (UNO components) for LibreOffice. To set the build environment for
building against the sdk use %{sdkinstdir}/setsdkenv_unix.sh.
%package sdk-doc
Summary: Software Development Kit documentation for LibreOffice
%description sdk-doc
This provides documentation for programming using the LibreOffice APIs
and examples of creating extensions (UNO components) for LibreOffice.
%package glade
Summary: Support for creating LibreOffice dialogs in glade
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
%description glade
%{name}-glade contains a catalog of LibreOffice-specific widgets for
glade tool to check the visual appearance of dialogs.
%package librelogo
Summary: LibreLogo scripting language
Requires: %{name}-writer%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno%{?_isa} = %{epoch}:%{version}-%{release}
%description librelogo
Enables LibreLogo scripting in Writer. LibreLogo is a Logo-like
programming language with interactive vectorgraphics for education and
DTP.
%package data
Summary: LibreOffice data files
%description data
%{name}-data contains platform-independent data files.
%package x11
Summary: LibreOffice generic X11 support plug-in
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
Provides: %{name}-plugin = %{epoch}:%{version}-%{release}
Provides: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
Supplements: (%{name}-core%{?_isa} and Xserver)
%description x11
A plug-in for LibreOffice that enables generic X11 support.
%package gtk3
Summary: LibreOffice GTK+ 3 integration plug-in
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
Requires: gstreamer1(element-gtksink)%{?mark64}
Obsoletes: libreoffice-gtk2 < 1:6.2.0.0
Obsoletes: libreoffice-gtk2-debuginfo < 1:6.2.0.0
Supplements: (%{name}-core%{?_isa} and gtk3%{?_isa})
%description gtk3
A plug-in for LibreOffice that enables integration into GTK+ 3 environment.
%package gtk4
Summary: LibreOffice GTK+ 4 experimental integration plug-in
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
Supplements: (%{name}-core%{?_isa} and gtk4%{?_isa})
%description gtk4
An experimental plug-in for LibreOffice that enables integration into GTK+ 4 environment.
%if 0%{?fedora}
%package kf5
Summary: LibreOffice KDE Frameworks 5 integration plug-in
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
Provides: %{name}-plugin = %{epoch}:%{version}-%{release}
Provides: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: libreoffice-kde4 < 1:6.3.0.0
Obsoletes: libreoffice-kde5 < 1:6.4.7.3
Obsoletes: libreoffice-kde4-debuginfo < 1:6.3.0.0
Obsoletes: libreoffice-kde5-debuginfo < 1:6.4.7.3
Supplements: (%{name}-core%{?_isa} and plasma-workspace)
%description kf5
A plug-in for LibreOffice that enables integration into the KDE Frameworks 5.
%endif
%package -n libreofficekit
Summary: A library providing access to LibreOffice functionality
License: MPLv2.0
%description -n libreofficekit
LibreOfficeKit can be used to access LibreOffice functionality
through C/C++, without any need to use UNO.
For now it only offers document conversion (in addition to an
experimental tiled rendering API).
%package -n libreofficekit-devel
Summary: Development files for libreofficekit
Requires: libreofficekit%{?_isa} = %{epoch}:%{version}-%{release}
License: MPLv2.0
%description -n libreofficekit-devel
The libreofficekit-devel package contains libraries and header files for
developing applications that use libreofficekit.
%if 0%{?_enable_debug_packages}
%package gdb-debug-support
Summary: Additional support for debugging with gdb
Requires: gdb%{?_isa}
Requires: %{libo_python}-six
Requires: libreoffice-core%{?_isa} = %{epoch}:%{version}-%{release}
Supplements: libreoffice-debuginfo%{?_isa}
%description gdb-debug-support
This package provides gdb pretty printers for package %{name}.
%files gdb-debug-support
%{_datadir}/gdb/auto-load%{baseinstdir}
%{_datadir}/libreoffice/gdb
%endif
%define _langpack_common(Eg:j:l:) \
%{!-E: \
%{baseinstdir}/program/resource/%{-g:%{-g*}}%{!-g:%{-l*}}/LC_MESSAGES/*.mo \
%{baseinstdir}/share/registry/res/registry_%{-l*}.xcd \
} \
%{baseinstdir}/share/template/%{-l*} \
%{baseinstdir}/share/registry/Langpack-%{-l*}.xcd \
%{baseinstdir}/share/registry/res/fcfg_langpack_%{-l*}.xcd \
%{baseinstdir}/share/wizards/resources_%{-j:%{-j*}}%{!-j:%{-l*}}.properties \
%{nil}
# Defines a language pack subpackage.
#
# It's necessary to define language code (-l) and language name (-n).
# Additionally, it's possible
# * to require autocorr, hunspell, hyphen or mythes package or font for
# given language,
# * to provide libreoffice-langpack-loc package, where loc is glibc
# locale--this is necessary for yum to pick it automatically,
# * to require other, unrelated, packages,
# * to specify file serving as file list.
# For these, lower case character argument takes an argument specifying
# language, upper case character argument uses language from -l.
#
# All remaining arguments are considered to be files and added to the file
# list.
#
# Aa: autocorr dependency
# c: additional config file (just the name stem)
# E: base (US English) langpack
# Ff: font language dependency
# g: glibc/java locale
# Hh: hunspell dependency
# i: additional language added to this package
# j: java locale for the additional language
# k: glibc locale for the additional language
# L: internal (LibreOffice) language code, used in file names
# l: language code, e.g., cs
# Mm: mythes dependency
# n: language name, e.g., Czech
# p: Provides: of libreoffice-langpack
# r: comma-separated list of additional requires
# S:s: script classification (cjk, ctl). -S is only a marker, as it does
# not add any .xcd into the package (the file does not exist for at
# least one CTL-using locale, si)
# T has help files
# Xx: has autotext definitions
# Yy: hyphen dependency
#
# Example:
# libreoffice-langpack-cs: langpack for Czech lang. requiring hyphen-cs,
# autocorr-cs, mythes-cs-CZ and suitable font:
# %%langpack -l cs -n Czech -H -A -m cs-CZ
# b de q tu z BCD G IJK N PQR U Z0123456789
%define langpack(Aa:c:EFf:g:Hh:i:j:k:L:l:Mm:n:p:r:S:s:TXx:Yy:) \
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
%define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \
%define pkgname langpack-%{lang} \
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
\
%global langpack_langs %{langpack_langs} %{_langpack_lang} %{-i:%{-i*}} \
\
%package %{pkgname} \
Summary: %{langname} language pack for LibreOffice \
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} \
%{-a:Requires: autocorr-%{-a*}}%{!-a:%{-A:Requires: autocorr-%{lang}}} \
%{-f:Recommends: langpacks-%{-f*}}%{!-f:%{-F:Recommends: langpacks-%{lang}}} \
%{-h:Requires: hunspell-%{-h*}}%{!-h:%{-H:Requires: hunspell-%{lang}}} \
%{-m:Requires: mythes-%{-m*}}%{!-m:%{-M:Requires: mythes-%{lang}}} \
%{-y:Requires: hyphen-%{-y*}}%{!-y:%{-Y:Requires: hyphen-%{lang}}} \
%{-r:Requires: %{-r*}} \
%{-p:Provides: %{name}-langpack-%{-p*} = %{epoch}:%{version}-%{release}} \
%{-p:Provides: %{name}-langpack-%{-p*}%{?_isa} = %{epoch}:%{version}-%{release}} \
%{-p:Supplements: (%{name}-core%{?_isa} and langpacks-%{-p*})} \
%{!-p:Supplements: (%{name}-core%{?_isa} and langpacks-%{lang})} \
%if 0%{?rhel} \
%{-T:Requires: %{name}-help-%{lang}} \
%else \
%{-T:Recommends: %{name}-help-%{lang}} \
%endif \
\
%description %{pkgname} \
Provides additional %{langname} translations and resources for LibreOffice. \
\
%{-T: \
%package help-%{lang} \
Summary: %{langname} help for LibreOffice \
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} \
\
%description help-%{lang} \
Provides %{langname} help for LibreOffice. \
\
%files help-%{lang} \
%docdir %{baseinstdir}/help/%{_langpack_lang} \
%{baseinstdir}/help/%{_langpack_lang} \
} \
\
%files %{pkgname} \
%{expand:%%_langpack_common %{-E} -l %{_langpack_lang} %{-g:-g %{-g*} -j %{-g*}}} \
%{-x:%{baseinstdir}/share/autotext/%{-x*}}%{!-x:%{-X:%{baseinstdir}/share/autotext/%{_langpack_lang}}} \
%{-c:%{baseinstdir}/share/registry/%{-c*}.xcd} \
%{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \
%{-i:%{expand:%%_langpack_common %{-E} -l %{-i*} %{-k:-g %{-k*}} %{-j:-j %{-j*}}}} \
%{nil}
# Defines an auto-correction subpackage.
#
# i: add autocorrections from additional language
# l: language code
# n: language name
# L the filename does not contain country code
#
# All remaining arguments are considered to be files and added to the file
# list.
%define autocorr(i:Ll:n:) \
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
%define pkgname autocorr-%{lang} \
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
\
%package -n %{pkgname} \
Summary: %{langname} auto-correction rules \
BuildArch: noarch \
\
%description -n %{pkgname} \
Rules for auto-correcting common %{langname} typing errors. \
\
%files -n %{pkgname} \
%doc instdir/LICENSE \
%dir %{_datadir}/autocorr \
%{-L:%{_datadir}/autocorr/acor_%{lang}.dat} \
%{!-L:%{_datadir}/autocorr/acor_%{lang}-*.dat} \
%{nil}
%langpack -l en -n English -F -h en-US -Y -M -A -E -L en-US -T -X -g en_US
%if %{with langpacks}
%langpack -l af -n Afrikaans -F -H -Y -A -X
%langpack -l ar -n Arabic -F -H -s ctl -T -X
%langpack -l as -n Assamese -F -H -Y -X
%langpack -l bg -n Bulgarian -F -H -Y -M -A -T -X
%langpack -l bn -n Bengali -F -H -Y -T -X
%langpack -l br -n Breton -F -H -X
%langpack -l ca -n Catalan -F -H -Y -M -A -T -X
%langpack -l cs -n Czech -F -H -Y -M -A -T -X
%langpack -l cy -n Welsh -F -H -Y -X
%langpack -l da -n Danish -F -H -Y -M -A -T -X
%langpack -l de -n German -F -H -Y -M -A -T -X
%langpack -l dz -n Dzongkha -F -s ctl -T -X
%langpack -l el -n Greek -F -H -Y -M -A -T -X
%langpack -l eo -n Esperanto -F -H -M -T -X
%langpack -l es -n Spanish -F -H -Y -M -A -T -X
%langpack -l et -n Estonian -F -H -Y -T -X
%langpack -l eu -n Basque -F -H -Y -T -X
%langpack -l fa -n Farsi -A -H -Y -s ctl -X
%langpack -l fi -n Finnish -F -r libreoffice-voikko -A -T -X
%langpack -l fr -n French -F -H -Y -M -A -T -X
%langpack -l fy -n Frisian -F -H -X
%langpack -l ga -n Irish -F -H -Y -M -A -X
%langpack -l gl -n Galician -F -H -Y -T -X
%langpack -l gu -n Gujarati -F -H -Y -s ctl -T -X
%langpack -l he -n Hebrew -F -H -s ctl -T -X
%langpack -l hi -n Hindi -F -H -Y -s ctl -T -X
%langpack -l hr -n Croatian -F -H -Y -A -T -X
%langpack -l hu -n Hungarian -F -H -Y -M -A -T -X
%{baseinstdir}/share/wordbook/hu_AkH11.dic
%langpack -l id -n Indonesian -F -H -Y -T -X
%langpack -l it -n Italian -F -H -Y -M -A -T -X
%langpack -l ja -n Japanese -F -A -s cjk -T -X
%{baseinstdir}/share/template/common/l10n/ja_ott_normal.ott
%langpack -l kk -n Kazakh -F -H -X
%langpack -l kn -n Kannada -F -H -Y -X
%langpack -l ko -n Korean -F -H -A -s cjk -T -X
%langpack -l lt -n Lithuanian -F -H -Y -A -T -X
%langpack -l lv -n Latvian -F -H -Y -M -T -X
%langpack -l mai -n Maithili -F -X
%langpack -l ml -n Malayalam -F -H -Y -X
%langpack -l mr -n Marathi -F -H -Y -X
%langpack -l nb -n Bokmal -F -H -Y -M -T -X
%langpack -l nl -n Dutch -F -H -Y -M -A -T -X -X
%langpack -l nn -n Nynorsk -F -H -Y -M -T
%define langpack_lang Southern Ndebele
%langpack -l nr -n %{langpack_lang} -F -H -X
%define langpack_lang Northern Sotho
%langpack -l nso -n %{langpack_lang} -F -H -X
%langpack -l or -n Odia -F -H -Y -s ctl -X
%langpack -l pa -n Punjabi -F -H -Y -s ctl -L pa-IN -g pa_IN -X
%langpack -l pl -n Polish -F -H -Y -M -A -T -X
%if 0%{?rhel} > 9
%define langpack_lang Brazilian Portuguese
%langpack -l pt-BR -n %{langpack_lang} -f pt_BR -H -Y -m pt -a pt -p pt_BR -T -X -g pt_BR
%else
%define langpack_lang Brazilian Portuguese
%langpack -l pt-BR -n %{langpack_lang} -f pt_BR -h pt -y pt -m pt -a pt -p pt_BR -T -X -g pt_BR
%endif
%langpack -l pt-PT -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -x pt
%langpack -l ro -n Romanian -A -F -H -Y -M -T -X
%langpack -l ru -n Russian -F -H -Y -M -A -T -X
%langpack -l si -n Sinhalese -F -H -S ctl -T -X
%langpack -l sk -n Slovak -F -H -Y -M -A -T -X
%langpack -l sl -n Slovenian -F -H -Y -M -A -T -X
%{baseinstdir}/share/wordbook/sl.dic
#rhbz#452379 clump serbian translations together
%langpack -l sr -n Serbian -F -H -Y -A -i sr-Latn -k sr@latin -j sr_Latn -x sr*
%langpack -l ss -n Swati -F -H -X
%define langpack_lang Southern Sotho
# note that langpacks-st seems to be missing as of the time of writing, so no -F here
%langpack -l st -n %{langpack_lang} -H -X
%langpack -l sv -n Swedish -F -H -Y -M -A -T -X
%langpack -l ta -n Tamil -F -H -Y -s ctl -T -X
%langpack -l te -n Telugu -F -H -Y -X
%langpack -l th -n Thai -F -H -s ctl -c ctlseqcheck_th -X
%langpack -l tn -n Tswana -F -H -X
%langpack -l tr -n Turkish -F -A -T -X
%langpack -l ts -n Tsonga -F -H -X
%langpack -l uk -n Ukrainian -F -H -Y -M -T -X
%langpack -l ve -n Venda -F -H -X
%langpack -l xh -n Xhosa -F -H -X
%define langpack_lang Simplified Chinese
%langpack -l zh-Hans -n %{langpack_lang} -f zh_CN -a zh -p zh_CN -s cjk -T -L zh-CN -x zh-CN -g zh_CN
%{baseinstdir}/share/template/common/l10n/zh_CN_ott_normal.ott
%define langpack_lang Traditional Chinese
%langpack -l zh-Hant -n %{langpack_lang} -f zh_TW -a zh -p zh_TW -s cjk -T -L zh-TW -x zh-TW -g zh_TW
%langpack -l zu -n Zulu -F -H -Y -X
%undefine langpack_lang
%endif
%autocorr -l en -n English
%if %{with langpacks}
%autocorr -l af -n Afrikaans
%autocorr -l bg -n Bulgarian
%autocorr -l ca -n Catalan
%autocorr -l cs -n Czech
%autocorr -l da -n Danish
%autocorr -l de -n German -L
%define autocorr_lang Lower Sorbian
%autocorr -l dsb -n %{autocorr_lang} -L
%autocorr -l el -n Greek
%autocorr -l es -n Spanish -L
%autocorr -l fa -n Farsi
%autocorr -l fi -n Finnish
%autocorr -l fr -n French -L
%autocorr -l ga -n Irish
%autocorr -l hr -n Croatian
%define autocorr_lang Upper Sorbian
%autocorr -l hsb -n %{autocorr_lang} -L
%autocorr -l hu -n Hungarian
%autocorr -l is -n Icelandic
%autocorr -l it -n Italian -L
%autocorr -l ja -n Japanese
%autocorr -l ko -n Korean
%autocorr -l lb -n Luxembourgish
%autocorr -l lt -n Lithuanian
%autocorr -l mn -n Mongolian
%autocorr -l nl -n Dutch
%autocorr -l pl -n Polish
%autocorr -l pt -n Portuguese
%autocorr -l ro -n Romanian
%autocorr -l ru -n Russian
%autocorr -l sk -n Slovak
%autocorr -l sl -n Slovenian
%autocorr -l sr -n Serbian
%autocorr -l sv -n Swedish
%autocorr -l th -n Thai
%autocorr -l tr -n Turkish
%autocorr -l vi -n Vietnamese
%autocorr -l vro -n Võro
%autocorr -l zh -n Chinese
%endif
%define make_autocorr_aliases(l:) \
%{?-l: \
for lang in %{*}; do \
ln -sf acor_%{-l*}.dat acor_$lang.dat \
done \
} \
%{!?-l:%{error:-l must be present}}
# Diccionarios myspell
%package myspell-dict-af
Summary: Myspell Afrikaans dictionary
BuildArch: noarch
%description myspell-dict-af
Myspell Afrikaans dictionary
%files myspell-dict-af
%{baseinstdir}/share/extensions/dict-af
%package myspell-dict-ar
Summary: Myspell Arabic dictionary
BuildArch: noarch
%description myspell-dict-ar
Myspell Arabic dictionary
%files myspell-dict-ar
%{baseinstdir}/share/extensions/dict-ar
%package myspell-dict-bg
Summary: Myspell Bulgarian dictionary
BuildArch: noarch
%description myspell-dict-bg
Myspell Bulgarian dictionary
%files myspell-dict-bg
%{baseinstdir}/share/extensions/dict-bg
%package myspell-dict-bn
Summary: Myspell Bengali dictionary
BuildArch: noarch
%description myspell-dict-bn
Myspell Bengali dictionary
%files myspell-dict-bn
%{baseinstdir}/share/extensions/dict-bn
%package myspell-dict-br
Summary: Myspell Breton dictionary
BuildArch: noarch
%description myspell-dict-br
Myspell Breton dictionary
%files myspell-dict-br
%{baseinstdir}/share/extensions/dict-br
%package myspell-dict-ca
Summary: Myspell Catalan dictionary
BuildArch: noarch
%description myspell-dict-ca
Myspell Catalan dictionary
%files myspell-dict-ca
%{baseinstdir}/share/extensions/dict-ca
%package myspell-dict-cs
Summary: Myspell Czech dictionary
BuildArch: noarch
%description myspell-dict-cs
Myspell Czech dictionary
%files myspell-dict-cs
%{baseinstdir}/share/extensions/dict-cs
%package myspell-dict-da
Summary: Myspell Danish dictionary
BuildArch: noarch
%description myspell-dict-da
Myspell Danish dictionary
%files myspell-dict-da
%{baseinstdir}/share/extensions/dict-da
%package myspell-dict-de
Summary: Myspell German dictionary
BuildArch: noarch
%description myspell-dict-de
Myspell German dictionary
%files myspell-dict-de
%{baseinstdir}/share/extensions/dict-de
%package myspell-dict-el
Summary: Myspell Greek dictionary
BuildArch: noarch
%description myspell-dict-el
Myspell Greek dictionary
%files myspell-dict-el
%{baseinstdir}/share/extensions/dict-el
%package myspell-dict-en
Summary: Myspell English dictionary
BuildArch: noarch
%description myspell-dict-en
Myspell English dictionary
%files myspell-dict-en
%{baseinstdir}/share/extensions/dict-en
%package myspell-dict-eo
Summary: Myspell Esperanto dictionary
BuildArch: noarch
%description myspell-dict-eo
Myspell Esperanto dictionary
%files myspell-dict-eo
%{baseinstdir}/share/extensions/dict-eo
%package myspell-dict-es
Summary: Myspell Spanish dictionary
BuildArch: noarch
%description myspell-dict-es
Myspell Spanish dictionary
%files myspell-dict-es
%{baseinstdir}/share/extensions/dict-es
%package myspell-dict-et
Summary: Myspell Estonian dictionary
BuildArch: noarch
%description myspell-dict-et
Myspell Estonian dictionary
%files myspell-dict-et
%{baseinstdir}/share/extensions/dict-et
%package myspell-dict-fa
Summary: Myspell Farsi dictionary
BuildArch: noarch
%description myspell-dict-fa
Myspell Farsi dictionary
%files myspell-dict-fa
%{baseinstdir}/share/extensions/dict-fa
%package myspell-dict-fr
Summary: Myspell French dictionary
BuildArch: noarch
%description myspell-dict-fr
Myspell French dictionary
%files myspell-dict-fr
%{baseinstdir}/share/extensions/dict-fr
%package myspell-dict-gl
Summary: Myspell Galician dictionary
BuildArch: noarch
%description myspell-dict-gl
Myspell Galician dictionary
%files myspell-dict-gl
%{baseinstdir}/share/extensions/dict-gl
%package myspell-dict-gu
Summary: Myspell Gujarati dictionary
BuildArch: noarch
%description myspell-dict-gu
Myspell Gujarati dictionary
%files myspell-dict-gu
%{baseinstdir}/share/extensions/dict-gu
%package myspell-dict-he
Summary: Myspell Hebrew dictionary
BuildArch: noarch
%description myspell-dict-he
Myspell Hebrew dictionary
%files myspell-dict-he
%{baseinstdir}/share/extensions/dict-he
%package myspell-dict-hi
Summary: Myspell Hindi dictionary
BuildArch: noarch
%description myspell-dict-hi
Myspell Hindi dictionary
%files myspell-dict-hi
%{baseinstdir}/share/extensions/dict-hi
%package myspell-dict-hr
Summary: Myspell Croatian dictionary
BuildArch: noarch
%description myspell-dict-hr
Myspell Croatian dictionary
%files myspell-dict-hr
%{baseinstdir}/share/extensions/dict-hr
%package myspell-dict-hu
Summary: Myspell Hungarian dictionary
BuildArch: noarch
%description myspell-dict-hu
Myspell Hungarian dictionary
%files myspell-dict-hu
%{baseinstdir}/share/extensions/dict-hu
%package myspell-dict-id
Summary: Myspell Indonesian dictionary
BuildArch: noarch
%description myspell-dict-id
Myspell Indonesian dictionary
%files myspell-dict-id
%{baseinstdir}/share/extensions/dict-id
%package myspell-dict-it
Summary: Myspell Italian dictionary
BuildArch: noarch
%description myspell-dict-it
Myspell Italian dictionary
%files myspell-dict-it
%{baseinstdir}/share/extensions/dict-it
%package myspell-dict-ko
Summary: Myspell Korean dictionary
BuildArch: noarch
%description myspell-dict-ko
Myspell Korean dictionary
%files myspell-dict-ko
%{baseinstdir}/share/extensions/dict-ko
%package myspell-dict-lt
Summary: Myspell Lithuanian dictionary
BuildArch: noarch
%description myspell-dict-lt
Myspell Lithuanian dictionary
%files myspell-dict-lt
%{baseinstdir}/share/extensions/dict-lt
%package myspell-dict-lv
Summary: Myspell Latvian dictionary
BuildArch: noarch
%description myspell-dict-lv
Myspell Latvian dictionary
%files myspell-dict-lv
%{baseinstdir}/share/extensions/dict-lv
%package myspell-dict-nl
Summary: Myspell Dutch dictionary
BuildArch: noarch
%description myspell-dict-nl
Myspell Dutch dictionary
%files myspell-dict-nl
%{baseinstdir}/share/extensions/dict-nl
%package myspell-dict-pl
Summary: Myspell Polish dictionary
BuildArch: noarch
%description myspell-dict-pl
Myspell Polish dictionary
%files myspell-dict-pl
%{baseinstdir}/share/extensions/dict-pl
%package myspell-dict-no
Summary: Myspell Norwegian dictionary
BuildArch: noarch
%description myspell-dict-no
Myspell Norwegian dictionary
%files myspell-dict-no
%{baseinstdir}/share/extensions/dict-no
%package myspell-dict-pt-BR
Summary: Myspell Brazilian Portuguese dictionary
BuildArch: noarch
%description myspell-dict-pt-BR
Myspell Brazilian Portuguese dictionary
%files myspell-dict-pt-BR
%{baseinstdir}/share/extensions/dict-pt-BR
%package myspell-dict-pt-PT
Summary: Myspell Portuguese dictionary
BuildArch: noarch
%description myspell-dict-pt-PT
Myspell Portuguese dictionary
%files myspell-dict-pt-PT
%{baseinstdir}/share/extensions/dict-pt-PT
%package myspell-dict-ro
Summary: Myspell Romanian dictionary
BuildArch: noarch
%description myspell-dict-ro
Myspell Romanian dictionary
%files myspell-dict-ro
%{baseinstdir}/share/extensions/dict-ro
%package myspell-dict-ru
Summary: Myspell Russian dictionary
BuildArch: noarch
%description myspell-dict-ru
Myspell Russian dictionary
%files myspell-dict-ru
%{baseinstdir}/share/extensions/dict-ru
%package myspell-dict-si
Summary: Myspell Sinhalese dictionary
BuildArch: noarch
%description myspell-dict-si
Myspell Sinhalese dictionary
%files myspell-dict-si
%{baseinstdir}/share/extensions/dict-si
%package myspell-dict-sk
Summary: Myspell Slovak dictionary
BuildArch: noarch
%description myspell-dict-sk
Myspell Slovak dictionary
%files myspell-dict-sk
%{baseinstdir}/share/extensions/dict-sk
%package myspell-dict-sl
Summary: Myspell Slovenian dictionary
BuildArch: noarch
%description myspell-dict-sl
Myspell Slovenian dictionary
%files myspell-dict-sl
%{baseinstdir}/share/extensions/dict-sl
%package myspell-dict-sr
Summary: Myspell Serbian dictionary
BuildArch: noarch
%description myspell-dict-sr
Myspell Serbian dictionary
%files myspell-dict-sr
%{baseinstdir}/share/extensions/dict-sr
%package myspell-dict-sv
Summary: Myspell Swedish dictionary
BuildArch: noarch
%description myspell-dict-sv
Myspell Swedish dictionary
%files myspell-dict-sv
%{baseinstdir}/share/extensions/dict-sv
%package myspell-dict-te
Summary: Myspell Telugu dictionary
BuildArch: noarch
%description myspell-dict-te
Myspell Telugu dictionary
%files myspell-dict-te
%{baseinstdir}/share/extensions/dict-te
%package myspell-dict-th
Summary: Myspell Thai dictionary
BuildArch: noarch
%description myspell-dict-th
Myspell Thai dictionary
%files myspell-dict-th
%{baseinstdir}/share/extensions/dict-th
%package myspell-dict-tr
Summary: Myspell Turkish dictionary
BuildArch: noarch
%description myspell-dict-tr
Myspell Turkish dictionary
%files myspell-dict-tr
%{baseinstdir}/share/extensions/dict-tr
%package myspell-dict-uk
Summary: Myspell Ukrainian dictionary
BuildArch: noarch
%description myspell-dict-uk
Myspell Ukrainian dictionary
%files myspell-dict-uk
%{baseinstdir}/share/extensions/dict-uk
%package myspell-dict-zu
Summary: Myspell Zulu dictionary
BuildArch: noarch
%description myspell-dict-zu
Myspell Zulu dictionary
%files myspell-dict-zu
%{baseinstdir}/share/extensions/dict-zu
%prep
# verify tarballs
gpg2 --dearmor < %{SOURCE6} > keyring.gpg
gpgv2 --keyring ./keyring.gpg %{SOURCE1} %{SOURCE0}
gpgv2 --keyring ./keyring.gpg %{SOURCE3} %{SOURCE2}
gpgv2 --keyring ./keyring.gpg %{SOURCE5} %{SOURCE4}
gpgv2 --keyring ./keyring.gpg %{SOURCE67} %{SOURCE66}
%setup -q -n %{name}-%{version}%{?libo_prerelease} -b 2 -b 4 -b 66
rm -rf git-hooks */git-hooks
#Customize Palette to add Red Hat colours
(head -n -1 extras/source/palettes/standard.soc && \
echo -e '
' && \
tail -n 1 extras/source/palettes/standard.soc) > redhat.soc
mv -f redhat.soc extras/source/palettes/standard.soc
# apply patches
%autopatch -p1 -M 99
%if 0%{?rhel}
%patch500 -p1
%endif
%ifarch aarch64 s390x ppc64le
%patch501 -p1
%endif
# Temporarily disable failing tests
%ifarch ppc64le
sed -i -e s/CppunitTest_dbaccess_RowSetClones// dbaccess/Module_dbaccess.mk
%endif
%ifarch aarch64
# Nothing to do
%endif
%ifarch s390x
# SwMacrosTest::testVba fails
sed -i -e s/CppunitTest_sw_macros_test// sw/Module_sw.mk
# https://bugs.documentfoundation.org/show_bug.cgi?id=125978
sed -i -e s/CustomTarget_uno_test// testtools/Module_testtools.mk
# failing testTdf149402_vba
sed -i -e s/CppunitTest_basic_macros// basic/Module_basic.mk
# Other test exclusions pointed out by sharkcz
sed -i -e /CppunitTest_vcl_svm_test/d vcl/Module_vcl.mk
sed -i -e /CppunitTest_sw_core_layout/d sw/Module_sw.mk
%endif
%if 0%{?rhel}
# Pruebas unitarias que fallan en 24.2.0.1
sed -i -e /CppunitTest_sc_ucalc_formula\ /d sc/Module_sc.mk
sed -i -e /CppunitTest_sdext_pdfimport/d sdext/Module_sdext.mk
sed -i -e /CppunitTest_sw_core_layout/d sw/Module_sw.mk
sed -i -e /CppunitTest_sw_htmlimport/d sw/Module_sw.mk
sed -i -e /CppunitTest_sw_layoutwriter/d sw/Module_sw.mk # Se borran todas, 1 2 y 3
sed -i -e /CppunitTest_sw_uiwriter6/d sw/Module_sw.mk
%endif
#see rhbz#2072615
rm -f vcl/qa/cppunit/graphicfilter/data/tiff/fail/CVE-2017-9936-1.tiff
%if 0%{?rhel}
# Pruebas unitarias que fallaban en CentOS 8
#sed -i -e /CppunitTest_i18nlangtag_test_languagetag/d i18nlangtag/Module_i18nlangtag.mk
#sed -i -e /CppunitTest_i18npool_test_breakiterator/d i18npool/Module_i18npool.mk
#sed -i -e /CppunitTest_vcl_text/d vcl/Module_vcl.mk
#sed -i -e /CppunitTest_writerperfect_writer/d writerperfect/Module_writerperfect.mk
# Pruebas unitarias que fallaban en 7.4.6
#sed -i -e /CppunitTest_dbaccess_dialog_save/d dbaccess/Module_dbaccess.mk
#sed -i -e /CppunitTest_dbaccess_empty_stdlib_save/d dbaccess/Module_dbaccess.mk
sed -i -e /CppunitTest_sdext_pdfimport/d sdext/Module_sdext.mk
sed -i -e /CppunitTest_sw_uiwriter6/d sw/Module_sw.mk
# Pruebas unitarias que fallaban en 7.5.0
sed -i -e /CppunitTest_sw_core_layout/d sw/Module_sw.mk
# Pruebas unitarias que fallaban en 7.5.1
sed -i -e /CppunitTest_sw_layoutwriter2/d sw/Module_sw.mk
# Pruebas unitarias que fallan en la 7.5.5
sed -i -e /CppunitTest_sw_layoutwriter\\s/d sw/Module_sw.mk
# Pruebas unitarias que fallan en la 7.6.0
#sed -i -e /CppunitTest_sc_tiledrendering/d sc/Module_sc.mk
sed -i -e /CppunitTest_sc_ucalc_formula\\s/d sc/Module_sc.mk
# Pruebas unitarias que fallan en la 7.6.2
sed -i -e /CppunitTest_sw_htmlimport/d sw/Module_sw.mk
sed -i -e /CppunitTest_sw_layoutwriter3/d sw/Module_sw.mk
# Pruebas que fallan al poner la opción --with-product-name=Office
sed -i -e /CppunitTest_sc_subsequent_export_test2/d sc/Module_sc.mk
sed -i -e /CppunitTest_sc_subsequent_export_test4/d sc/Module_sc.mk
# Pruebas unitarias que fallan en gob.mx 1.1
sed -i -e /CppunitTest_vcl_text/d vcl/Module_vcl.mk
%endif
%build
# path to external tarballs
EXTSRCDIR=`dirname %{SOURCE0}`
#use the RPM_OPT_FLAGS but remove the LibreOffice overridden ones
for i in $RPM_OPT_FLAGS; do
case "$i" in
-pipe|-Wall|-Werror*|-fexceptions) continue;;
esac
ARCH_FLAGS="$ARCH_FLAGS $i"
done
%ifarch s390 s390x %{arm}
# these builders typically do not have enough memory to link the big libs with -g2
ARCH_FLAGS="$ARCH_FLAGS -g1"
%endif
export ARCH_FLAGS
export CFLAGS=$ARCH_FLAGS
export CXXFLAGS=$ARCH_FLAGS
%if 0%{?rhel}
%define distrooptions --disable-eot --disable-firebird-sdbc
%else
# fedora
%define distrooptions --enable-eot --enable-kf5
%endif
%ifarch %{java_arches}
%define javaoptions --with-java --enable-ext-nlpsolver --enable-ext-wiki-publisher
%else
%define javaoptions --without-java
%endif
%if %{with langpacks}
%define with_lang --with-lang='%{langpack_langs}'
%endif
aclocal -I m4
autoconf
SMP_MFLAGS=%{?_smp_mflags}
SMP_MFLAGS=$[${SMP_MFLAGS/-j/}]
%if 0%{?flatpak}
%define flatpakoptions --with-beanshell-jar=/app/share/java/bsh.jar --with-boost-libdir=%{_libdir} --with-external-dict-dir=/app/share/hunspell --with-external-hyph-dir=/app/share/hyphen --with-external-thes-dir=/app/share/mythes --with-flute-jar=/app/share/java/flute.jar --with-jdk-home=/app/lib/jvm/java --with-jfreereport-jar=/app/share/java/flow-engine.jar --with-libbase-jar=/app/share/java/libbase.jar --with-libfonts-jar=/app/share/java/libfonts.jar --with-libformula-jar=/app/share/java/libformula.jar --with-liblayout-jar=/app/share/java/liblayout.jar --with-libloader-jar=/app/share/java/libloader.jar --with-librepository-jar=/app/share/java/librepository.jar --with-libserializer-jar=/app/share/java/libserializer.jar --with-libxml-jar=/app/share/java/libxml.jar --with-sac-jar=/app/share/java/sac.jar FIREBIRDCONFIG=%{_libdir}/fb_config QT4INC=%{_includedir}
%endif
%define gobmxoptions --with-branding=custom_images --with-product-name=Office --disable-community-flavor --with-myspell-dicts
#define gobmxoptions --with-branding=custom_images --disable-community-flavor
# TODO: enable coinmp?
# avoid running autogen.sh on make
touch autogen.lastrun
%configure \
%vendoroption \
%{gobmxoptions} \
%{?with_lang} \
--with-parallelism=$SMP_MFLAGS \
--disable-coinmp \
--disable-community-flavor \
--disable-fetch-external \
--disable-openssl \
--disable-pdfium \
--disable-skia \
--enable-dconf \
--enable-evolution2 \
--enable-introspection \
--enable-odk \
--enable-release-build \
--enable-symbols \
--with-external-dict-dir=/usr/share/hunspell \
--with-external-tar="$EXTSRCDIR" \
--with-help \
--with-system-dicts \
--with-system-libs \
--without-export-validation \
--without-lxml \
--without-system-libfixmath \
--enable-python=system \
--disable-scripting-beanshell --disable-scripting-javascript \
--enable-gtk4 \
%{javaoptions} \
%{distrooptions} \
%{?bundling_options} \
%{?archoptions} \
%{?flatpakoptions} \
if ! %make_build; then
echo "build attempt 1 failed"
make verbose=true build
fi
#generate the icons and mime type stuff
export DESTDIR=../output
export KDEMAINDIR=/usr
export GNOMEDIR=/usr
export GNOME_MIME_THEME=hicolor
export PREFIXDIR=/usr
# TODO use empty variables? Should make the renaming hacks in %%install
# unnecessary.
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR PKG_CONFIG INSTDIR
pushd $WORKDIR/CustomTarget/sysui/share/libreoffice
./create_tree.sh
popd
mkdir $WORKDIR/os-integration
cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration
cp -pr $WORKDIR/CustomTarget/sysui/share/libreoffice/LOKDocView-%{girapiversion}.* $WORKDIR/os-integration
%install
# remove workdir before install, to allow build on space-constrained machines
# remove the biggest offenders
rm -rf $WORKDIR/CxxObject $WORKDIR/GenCxxObject $WORKDIR/HelpTarget $WORKDIR/LinkTarget
# TODO investigate use of make distro-pack-install
#figure out the icon version
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR
export PRODUCTVERSIONSHORT PRODUCTVERSION
# installation
install -m 0755 -d %{buildroot}%{instdir}
if ! make instsetoo_native PKGFORMAT=installed DISABLE_STRIP=1 EPM=not-used-but-must-be-set; then
echo - ---dump log start---
cat $WORKDIR/installation/Office/installed/logging/en-US/log_*_en-US.log
echo - ---dump log end---
echo - ---dump log start -- SDK---
cat $WORKDIR/installation/Office_SDK/installed/logging/en-US/log_*_en-US.log
echo - ---dump log end -- SDK---
echo - ---dump log start -- languagepacks---
cat $WORKDIR/installation/Office_languagepack/installed/logging/en-US/log_*_en-US.log
echo - ---dump log end -- languagepacks---
exit 1
fi
install -m 0755 -d %{buildroot}%{baseinstdir}
mv $WORKDIR/installation/Office/installed/install/en-US/* %{buildroot}%{baseinstdir}
%if %{with langpacks}
for langpack in $WORKDIR/installation/Office_languagepack/installed/install/*; do
[ `basename $langpack` = log ] && continue
cp -rp $langpack/* %{buildroot}%{baseinstdir}
rm -rf $langpack
done
%endif
mv $WORKDIR/installation/Office_SDK/installed/install/en-US/sdk %{buildroot}%{sdkinstdir}
chmod -R +w %{buildroot}%{baseinstdir}
# postprocessing and tweaks
# The installer currently sets UserInstallation to
# $ORIGIN/../libreoffice/4, which is of course total nonsense. Because I
# have no inclination to crawl through mountains of perl code to figure out
# where it comes from, I am just going to replace it by a sensible
# value here.
sed -i -e '/UserInstallation/s@\$ORIGIN/..@$SYSUSERCONFIG@' %{buildroot}%{baseinstdir}/program/bootstraprc
#configure sdk
pushd %{buildroot}%{sdkinstdir}
sed -e "s,@OO_SDK_NAME@,sdk," \
-e "s,@OO_SDK_HOME@,%{sdkinstdir}," \
-e "s,@OFFICE_HOME@,%{baseinstdir}," \
-e "s,@OO_SDK_MAKE_HOME@,/usr/bin," \
-e "s,@OO_SDK_ZIP_HOME@,/usr/bin," \
-e "s,@OO_SDK_CPP_HOME@,/usr/bin," \
-e "s,@OO_SDK_CAT_HOME@,/usr/bin," \
-e "s,@OO_SDK_SED_HOME@,/usr/bin," \
-e "s,@OO_SDK_CC_55_OR_HIGHER@,," \
-e "s,@OO_SDK_JAVA_HOME@,$JAVA_HOME," \
-e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \
-e "s,@SDK_AUTO_DEPLOYMENT@,NO," \
setsdkenv_unix.sh.in > setsdkenv_unix.sh
# ensure no unexpanded vars sneaked in
grep '@[A_Z0-9_]\+@' setsdkenv_unix.sh && exit 1
chmod 755 setsdkenv_unix.sh
# we don't want to install the input file
rm -f setsdkenv_unix.sh.in
# TODO: is this still necessary?
#fix permissions
find examples -type f -exec chmod -x {} \;
popd
#ensure a template dir for each lang
pushd %{buildroot}%{baseinstdir}/share/template
for I in %{langpack_langs}; do
mkdir -p $I
done
popd
#Set some aliases to canonical autocorrect language files for locales with matching languages
pushd %{buildroot}%{baseinstdir}/share/autocorr
%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
%make_autocorr_aliases -l en-US en-PH
#en-ZA exists and has a good autocorrect file with two or three extras that make sense for
#neighbouring english speaking territories
%make_autocorr_aliases -l en-ZA en-NA en-ZW
%if %{with langpacks}
%make_autocorr_aliases -l af-ZA af-NA
%make_autocorr_aliases -l nl-NL nl-AW
%make_autocorr_aliases -l sv-SE sv-FI
%else
rm -f acor_[a-df-z]*.dat acor_e[lsu]*.dat
%endif
popd
#rhbz#484055 make these shared across multiple applications
install -m 0755 -d %{buildroot}%{_datadir}
mv -f %{buildroot}%{baseinstdir}/share/autocorr %{buildroot}%{_datadir}/autocorr
chmod 755 %{buildroot}%{_datadir}/autocorr
ln -s %{_datadir}/autocorr %{buildroot}%{baseinstdir}/share/autocorr
#remove it in case we didn't build with gcj
rm -f %{buildroot}%{baseinstdir}/program/classes/sandbox.jar
# we don't need this in the install
rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
#remove dummy .dat files
rm -f %{buildroot}%{baseinstdir}/program/root?.dat
#set standard permissions for rpmlint
find %{buildroot}%{baseinstdir} -exec chmod +w {} \;
find %{buildroot}%{baseinstdir} -type d -exec chmod 0755 {} \;
# move python bits into site-packages
install -m 0755 -d %{buildroot}%{libo_python_sitearch}
pushd %{buildroot}%{libo_python_sitearch}
echo "import sys, os" > uno.py
echo "sys.path.append('%{baseinstdir}/program')" >> uno.py
echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{baseinstdir}/program/fundamentalrc')" >> uno.py
cat %{buildroot}%{baseinstdir}/program/uno.py >> uno.py
rm -f %{buildroot}%{baseinstdir}/program/uno.py*
mv -f %{buildroot}%{baseinstdir}/program/unohelper.py* .
mv -f %{buildroot}%{baseinstdir}/program/officehelper.py* .
popd
#https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
%py_byte_compile %{libo_python_executable} %{buildroot}%{baseinstdir}/program
rm -rvf %{buildroot}%{baseinstdir}/program/__pycache__
# rhbz#477435 package opensymbol separately
pushd %{buildroot}%{baseinstdir}/program/resource/common/fonts
install -d -m 0755 %{buildroot}%{_fontdir}
install -p -m 0644 *.ttf %{buildroot}%{_fontdir}
popd
# Fonts GMX
pushd %{buildroot}%{baseinstdir}/share/fonts/truetype
install -d -m 0755 %{buildroot}%{_datadir}/fonts/gmx
install -p -m 0644 GMX-* %{buildroot}%{_datadir}/fonts/gmx
install -d -m 0755 %{buildroot}%{_datadir}/licenses/gmx-fonts/
install -p -m 0644 %{SOURCE22} %{buildroot}%{_datadir}/licenses/gmx-fonts/
popd
rm -vf %{buildroot}%{baseinstdir}/program/resource/common/fonts/*ttf
rm -vf %{buildroot}%{baseinstdir}/share/fonts/truetype/*.ttf
rm -vf %{buildroot}%{baseinstdir}/share/fonts/truetype/*.otf
# move platform-independent data into shared dir
install -m 0755 -d %{buildroot}%{datadir}
rm -f %{buildroot}%{baseinstdir}/CREDITS.fodt %{buildroot}%{baseinstdir}/LICENSE* %{buildroot}%{baseinstdir}/NOTICE
# rhbz#1473749 ensure display of files in license/about dialogs works
ln -sr %{buildroot}%{lodatadocdir}/CREDITS.fodt %{buildroot}%{baseinstdir}/CREDITS.fodt
ln -sr %{buildroot}%{lodatadocdir}/LICENSE.html %{buildroot}%{baseinstdir}/LICENSE.html
#ensure that no sneaky un-prelinkable, un-fpic or non executable shared libs
#have snuck through
pic=0
executable=0
for foo in `find %{buildroot}%{instdir} -name "*" -exec file {} \;| grep ": ELF" | cut -d: -f 1` ; do
chmod +wx $foo
ls -asl $foo
result=`readelf -d $foo | grep TEXTREL` || true
if [ "$result" != "" ]; then
echo "TEXTREL Warning: $foo is b0rked (-fpic missing)"
pic=1
fi
result=`readelf -l $foo | grep GNU_STACK | grep RWE` || true
if [ "$result" != "" ]; then
echo "GNU_STACK Warning: $foo is b0rked (-noexecstack missing)"
executable=1
fi
done
if [ $pic == 1 ]; then false; fi
if [ $executable == 1 ]; then false; fi
#make up some /usr/bin scripts
install -m 0755 -d %{buildroot}%{_bindir}
pushd %{buildroot}%{_bindir}
echo \#\!/bin/sh > ooffice
echo exec libreoffice \"\$@\" >> ooffice
chmod a+x ooffice
echo \#\!/bin/sh > ooviewdoc
echo exec libreoffice --view \"\$@\" >> ooviewdoc
chmod a+x ooviewdoc
for app in base calc draw impress math writer; do
echo \#\!/bin/sh > oo$app
echo exec libreoffice --$app \"\$@\" >> oo$app
chmod a+x oo$app
done
sed -e s/LAUNCHER/unopkg/g -e s/BRAND/libreoffice/g %{SOURCE8} > unopkg
chmod a+x unopkg
sed -e s/LAUNCHER/soffice/g -e s/BRAND/libreoffice/g %{SOURCE8} > libreoffice
chmod a+x libreoffice
%if 0%{?flatpak}
sed -i -e 's|/usr/lib|/app/lib|g' unopkg libreoffice
%endif
# rhbz#499474 provide a /usr/bin/soffice for .recently-used.xbel
ln -s %{baseinstdir}/program/soffice soffice
# rhbz#499474 provide a /usr/bin/openoffice.org for backwards compat
ln -s libreoffice openoffice.org
popd
pushd %{buildroot}%{baseinstdir}/share/xdg/
chmod u+w *.desktop
ICONVERSION=`echo $PRODUCTVERSION | sed -e 's/\.//'`
for file in *.desktop; do
# rhbz#156677 remove the version from Name=
# rhbz#156067 don't version the icons
sed -i -e "s/ *$PRODUCTVERSION//g" \
-e "s/$ICONVERSION//g" \
-e "s/$PRODUCTVERSIONSHORT//g" \
$file
done
# rhbz#186515 do not show startcenter
desktop-file-edit --set-key=NoDisplay --set-value=true startcenter.desktop
%if %{with serverconfig}
for app in base calc draw impress math startcenter writer xsltfilter; do
desktop-file-edit --set-key=NoDisplay --set-value=true $app.desktop
done
%endif
# relocate the .desktop and icon files
install -m 0755 -d %{buildroot}%{_datadir}/applications
for app in base calc draw impress math startcenter writer xsltfilter; do
sed -i -e 's/\${UNIXBASISROOTNAME}/%{name}/' $app.desktop
desktop-file-validate $app.desktop
install -m 0644 -p $app.desktop %{buildroot}%{_datadir}/applications/libreoffice-$app.desktop
done
popd
%if 0%{?flatpak}
# Transform the libreoffice-*.desktop files into
# org.libreoffice.LibreOffice.*.desktop ones:
solenv/bin/assemble-flatpak-desktop.sh %{buildroot}%{_datadir}/applications/ \
%{buildroot}%{_datadir}/applications/
rm %{buildroot}%{_datadir}/applications/libreoffice-*.desktop
%endif
pushd $WORKDIR/os-integration
#get rid of the gnome icons and other unneeded files
rm -rf icons/gnome applications application-registry
#relocate the rest of them
# rhbz#901346 512x512 icons are not used by anything
for icon in `find icons -path '*/512x512' -prune -o -type f -print`; do
install -m 0755 -d %{buildroot}%{_datadir}/`dirname $icon`
install -m 0644 -p $icon %{buildroot}%{_datadir}/`echo $icon | sed -e s@libreoffice$ICONVERSION-@libreoffice-@ | sed -e s@libreoffice$PRODUCTVERSION-@libreoffice-@`
done
#add our mime-types, e.g. for .oxt extensions
install -m 0755 -d %{buildroot}%{_datadir}/mime/packages
install -m 0644 -p mime/packages/libreoffice$PRODUCTVERSION.xml %{buildroot}%{_datadir}/mime/packages/libreoffice.xml
%if 0%{?fedora}
# restrict abipkgdiff to shared objects that actually have a stable ABI
for pkg in core base officebean ogltrans pdfimport calc writer impress graphicfilter postgresql ure pyuno x11 gtk3 gtk4 kf5 libreofficekit; do
cat > %{buildroot}%{baseinstdir}/program/${pkg}.abignore << _EOF
[suppress_file]
file_name_not_regexp=.*\.so\.[0-9]+
_EOF
done
%endif
# install LibreOfficeKit
install -m 0755 -d %{buildroot}%{_libdir}/girepository-1.0
install -m 0644 -p LOKDocView-%{girapiversion}.typelib %{buildroot}%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib
install -m 0755 -d %{buildroot}%{_libdir}/gir-1.0
install -m 0644 -p LOKDocView-%{girapiversion}.gir %{buildroot}%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir
mv %{buildroot}%{baseinstdir}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}
popd
# install LibreOfficeKit headers
install -m 0755 -d %{buildroot}%{_includedir}/LibreOfficeKit
install -m 0644 -p include/LibreOfficeKit/* %{buildroot}%{_includedir}/LibreOfficeKit
rm -rf %{buildroot}%{baseinstdir}/readmes
rm -rf %{buildroot}%{baseinstdir}/licenses
rm -rf %{buildroot}%{baseinstdir}/share/theme_definitions
# to-do, remove this in libreoffice 4.4 when --without-ppds is gone, it'll do the right thing on its own then
install -m 0755 -d %{buildroot}%{baseinstdir}/share/psprint/driver
install -m 0644 -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS
# rhbz#452385 to auto have postgres in classpath if subsequently installed
sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc
# move glade catalog to system glade dir
install -m 0755 -d %{buildroot}%{_datadir}/glade/catalogs
mv %{buildroot}%{baseinstdir}/share/glade/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade/catalogs
install -m 0755 -d %{buildroot}%{_datadir}/glade3/catalogs
ln -sr %{buildroot}%{_datadir}/glade/catalogs/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade3/catalogs
# rhbz#1049543 install appdata
install -m 0755 -d %{buildroot}%{_datadir}/metainfo
install -m 0644 -p sysui/desktop/appstream-appdata/*.appdata.xml %{buildroot}%{_datadir}/metainfo
# rhbz#1215800 install symbolic icons
install -m 0755 -d %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE42} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE43} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE44} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE45} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE46} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE47} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE48} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
%if 0%{?flatpak}
# Duplicate icons/*/*/apps/libreoffice-* as
# icons/*/*/apps/org.libreoffice.LibreOffice.* (so they end up "with both their
# original libreoffice-* name as well as the org.libreoffice name needed by
# Flatpak, which fixes the window icons", see
# "clean up desktop integration"):
for i in %{buildroot}%{_datadir}/icons/*/*/apps/libreoffice-*; do
cp -a "$i" \
"$(dirname "$i")"/org.libreoffice.LibreOffice."${i##*/apps/libreoffice-}"
done
%endif
# install man pages
install -m 0755 -d %{buildroot}%{_mandir}/man1
install -m 0644 -p sysui/desktop/man/*.1 %{buildroot}%{_mandir}/man1
for app in oobase oocalc oodraw ooffice ooimpress oomath ooviewdoc oowriter openoffice.org soffice; do
echo '.so man1/libreoffice.1' > $app.1
install -m 0644 -p $app.1 %{buildroot}%{_mandir}/man1
done
export DESTDIR=%{buildroot}
./solenv/bin/install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb
%if 0%{?flatpak}
# Assemble the libreoffice-*.appdata.xml files into a single
# org.libreoffice.LibreOffice.appdata.xml:
solenv/bin/assemble-flatpak-appdata.sh \
%{buildroot}%{_datadir}/metainfo/ 0
rm %{buildroot}%{_datadir}/metainfo/libreoffice-*.appdata.xml
%endif
%ifarch %{java_arches}
# rhbz#1247399 - move stable API jars to noarch java location
install -m 0755 -d %{buildroot}%{_javadir}/%{name}
for jar in %{buildroot}%{baseinstdir}/program/classes/*.jar; do
j=`basename $jar`
case ${j%.jar} in
juh|jurt|libreoffice|ridl|unoloader|unoil|officebean)
mv $jar %{buildroot}%{_javadir}/%{name}
ln -sr %{buildroot}%{_javadir}/%{name}/$j $jar
;;
esac
done
%else
# make sure something creates this dir
install -m 0755 -d %{buildroot}%{baseinstdir}/share/extensions
# and remove this
rm -f %{buildroot}%{baseinstdir}/program/officebean.abignore
%endif
# Clean other pyhon 3.9 pycache in CentOS 9
# rm -rf /home/sandino/rpmbuild/BUILDROOT/libreoffice-7.3.1.3-4.el9.x86_64/usr/lib64/python3.9/site-packages/__pycache__
#rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__
%check
make unitcheck slowcheck
# we don't need this anymore
rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
# Clean other pyhon 3.9 pycache in CentOS 9
# rm -rf /home/sandino/rpmbuild/BUILDROOT/libreoffice-7.3.1.3-4.el9.x86_64/usr/lib64/python3.9/site-packages/__pycache__
#rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__
%files
%files filters
%files core
%dir %{baseinstdir}
%{baseinstdir}/CREDITS.fodt
%{baseinstdir}/LICENSE.html
%dir %{baseinstdir}/help
%{baseinstdir}/help/idxcaption.xsl
%{baseinstdir}/help/idxcontent.xsl
%{baseinstdir}/help/main_transform.xsl
%{baseinstdir}/presets
%dir %{baseinstdir}/program
%if 0%{?fedora}
%{baseinstdir}/program/core.abignore
%endif
%{baseinstdir}/program/libbasprovlo.so
%{baseinstdir}/program/libcairocanvaslo.so
%{baseinstdir}/program/libcanvasfactorylo.so
%ifarch %{java_arches}
%dir %{baseinstdir}/program/classes
%{baseinstdir}/program/classes/commonwizards.jar
%{baseinstdir}/program/classes/form.jar
%{baseinstdir}/program/classes/query.jar
%{baseinstdir}/program/classes/report.jar
%{baseinstdir}/program/classes/ScriptFramework.jar
%{baseinstdir}/program/classes/ScriptProviderForJava.jar
%{baseinstdir}/program/classes/table.jar
%{baseinstdir}/program/classes/unoil.jar
%{baseinstdir}/program/classes/XMergeBridge.jar
%{baseinstdir}/program/classes/xmerge.jar
%endif
%{baseinstdir}/program/libcmdmaillo.so
%{baseinstdir}/program/libdeployment.so
%{baseinstdir}/program/libdeploymentgui.so
%{baseinstdir}/program/libdlgprovlo.so
#%%{baseinstdir}/program/libexpwraplo.so
%{baseinstdir}/program/libfps_officelo.so
%{baseinstdir}/program/gdbtrace
%{baseinstdir}/program/gengal
%{baseinstdir}/program/gengal.bin
%{baseinstdir}/program/libi18nsearchlo.so
%{baseinstdir}/program/libldapbe2lo.so
%{baseinstdir}/program/libacclo.so
%{baseinstdir}/program/libanimcorelo.so
%{baseinstdir}/program/libavmedia*.so
%{baseinstdir}/program/libbasctllo.so
%{baseinstdir}/program/libbiblo.so
%{baseinstdir}/program/libcached1.so
%{baseinstdir}/program/libcanvastoolslo.so
%{baseinstdir}/program/libchart*lo.so
%{baseinstdir}/program/libclewlo.so
%{baseinstdir}/program/libcollator_data.so
%{baseinstdir}/program/libcppcanvaslo.so
%{baseinstdir}/program/libctllo.so
%{baseinstdir}/program/libcuilo.so
%{baseinstdir}/program/libdbalo.so
%{baseinstdir}/program/libdbahsqllo.so
%{baseinstdir}/program/libdbaselo.so
%{baseinstdir}/program/libdbaxmllo.so
#{baseinstdir}/program/libdbmmlo.so
%{baseinstdir}/program/libdbpool2.so
%{baseinstdir}/program/libdbtoolslo.so
%{baseinstdir}/program/libdbulo.so
%{baseinstdir}/program/libdeploymentmisclo.so
%{baseinstdir}/program/libdesktop_detectorlo.so
%{baseinstdir}/program/libdict_ja.so
%{baseinstdir}/program/libdict_zh.so
%{baseinstdir}/program/libdocmodello.so
%{baseinstdir}/program/libdrawinglayerlo.so
%{baseinstdir}/program/libdrawinglayercorelo.so
%{baseinstdir}/program/libeditenglo.so
%{baseinstdir}/program/libembobj.so
%{baseinstdir}/program/libemboleobj.so
%{baseinstdir}/program/libemfiolo.so
%{baseinstdir}/program/libevoab*.so
%{baseinstdir}/program/libevtattlo.so
%{baseinstdir}/program/libicglo.so
%{baseinstdir}/program/libindex_data.so
%{baseinstdir}/program/libfilelo.so
%{baseinstdir}/program/libfilterconfiglo.so
%{baseinstdir}/program/libflatlo.so
%{baseinstdir}/program/libfrmlo.so
%{baseinstdir}/program/libguesslanglo.so
%{baseinstdir}/program/libhelplinkerlo.so
%{baseinstdir}/program/libhyphenlo.so
%ifarch %{java_arches}
%{baseinstdir}/program/libjdbclo.so
%endif
%{baseinstdir}/program/libLanguageToollo.so
%{baseinstdir}/program/liblnglo.so
%{baseinstdir}/program/libloglo.so
%{baseinstdir}/program/liblocaledata_en.so
%{baseinstdir}/program/liblocaledata_es.so
%{baseinstdir}/program/liblocaledata_euro.so
%{baseinstdir}/program/liblocaledata_others.so
%{baseinstdir}/program/libmozbootstraplo.so
%{baseinstdir}/program/libmsfilterlo.so
%{baseinstdir}/program/libmtfrendererlo.so
%{baseinstdir}/program/libmysql_jdbclo.so
%{baseinstdir}/program/libmysqlclo.so
%{baseinstdir}/program/libodbclo.so
%{baseinstdir}/program/liboglcanvaslo.so
%{baseinstdir}/program/liboffacclo.so
%{baseinstdir}/program/libooxlo.so
%{baseinstdir}/program/libopencllo.so
%{baseinstdir}/program/libpcrlo.so
%{baseinstdir}/program/libpdffilterlo.so
%{baseinstdir}/program/libprotocolhandlerlo.so
%{baseinstdir}/program/libsaxlo.so
%{baseinstdir}/program/libscnlo.so
%{baseinstdir}/program/libscriptframe.so
%{baseinstdir}/program/libsdlo.so
%{baseinstdir}/program/libsdbc2.so
%{baseinstdir}/program/libsdbtlo.so
%{baseinstdir}/program/libsddlo.so
%{baseinstdir}/program/libsduilo.so
%{baseinstdir}/program/libspelllo.so
%{baseinstdir}/program/libsrtrs1.so
%{baseinstdir}/program/libstoragefdlo.so
%{baseinstdir}/program/libsvgiolo.so
%{baseinstdir}/program/libsvxlo.so
%{baseinstdir}/program/libsvxcorelo.so
%{baseinstdir}/program/libswdlo.so
%{baseinstdir}/program/libswlo.so
%{baseinstdir}/program/libtextconv_dict.so
%{baseinstdir}/program/libtextconversiondlgslo.so
%{baseinstdir}/program/libtextfdlo.so
%{baseinstdir}/program/libodfflatxmllo.so
# TODO: shouldn't it have lo suffix?
%{baseinstdir}/program/libucbhelper.so
%{baseinstdir}/program/libucpchelp1.so
%{baseinstdir}/program/libucpdav1.so
#%{baseinstdir}/program/libucpftp1.so
%{baseinstdir}/program/libucphier1.so
%{baseinstdir}/program/libucppkg1.so
%{baseinstdir}/program/libunordflo.so
%{baseinstdir}/program/libunopkgapp.so
%{baseinstdir}/program/libunoxmllo.so
%{baseinstdir}/program/libuuilo.so
%{baseinstdir}/program/libvbahelperlo.so
%{baseinstdir}/program/libxmlfalo.so
%{baseinstdir}/program/libxmlfdlo.so
%{baseinstdir}/program/libxoflo.so
%{baseinstdir}/program/libxsec_xmlsec.so
%{baseinstdir}/program/libxsltdlglo.so
%{baseinstdir}/program/libxsltfilterlo.so
%{baseinstdir}/program/libxstor.so
# TODO how useful this is in Fedora?
%{baseinstdir}/program/liblosessioninstalllo.so
%{baseinstdir}/program/libmigrationoo2lo.so
%{baseinstdir}/program/libmigrationoo3lo.so
%{baseinstdir}/program/libmsformslo.so
%{baseinstdir}/program/opencl
%dir %{baseinstdir}/program/opengl
%{baseinstdir}/program/opengl/*.glsl
%{baseinstdir}/program/types/offapi.rdb
%{baseinstdir}/program/libpasswordcontainerlo.so
%{baseinstdir}/program/pagein-common
%dir %{baseinstdir}/program/resource
%dir %{baseinstdir}/program/resource/common
%dir %{baseinstdir}/program/resource/common/fonts
%{baseinstdir}/program/senddoc
%dir %{baseinstdir}/program/services
%{baseinstdir}/program/services/services.rdb
%{baseinstdir}/program/libsimplecanvaslo.so
%{baseinstdir}/program/libslideshowlo.so
%{baseinstdir}/program/libsmlo.so
%{baseinstdir}/program/libsmdlo.so
%{baseinstdir}/program/libsofficeapp.so
%{baseinstdir}/program/libstringresourcelo.so
%{baseinstdir}/program/libsysshlo.so
%{baseinstdir}/program/libucpcmis1lo.so
%{baseinstdir}/program/libucpexpand1lo.so
%{baseinstdir}/program/libucpextlo.so
%{baseinstdir}/program/libucpimagelo.so
%{baseinstdir}/program/libucptdoc1lo.so
%{baseinstdir}/program/lounorc
%{baseinstdir}/program/libupdatefeedlo.so
%{baseinstdir}/program/uri-encode
%{baseinstdir}/program/libvbaeventslo.so
%{baseinstdir}/program/libvclcanvaslo.so
%{baseinstdir}/program/versionrc
%dir %{baseinstdir}/share
%dir %{baseinstdir}/share/classification
%{baseinstdir}/share/classification/example*.xml
%dir %{baseinstdir}/share/fonts
%dir %{baseinstdir}/share/fonts/truetype
%{baseinstdir}/share/fonts/truetype/fc_local.conf
%dir %{baseinstdir}/share/Scripts
%ifarch %{java_arches}
%{baseinstdir}/share/Scripts/java
%endif
%dir %{baseinstdir}/share/autotext
%dir %{_datadir}/autocorr
%{baseinstdir}/share/autocorr
%{baseinstdir}/share/basic
%dir %{baseinstdir}/share/config
%{baseinstdir}/share/config/images_breeze.zip
%{baseinstdir}/share/config/images_breeze_svg.zip
%{baseinstdir}/share/config/images_breeze_dark.zip
%{baseinstdir}/share/config/images_breeze_dark_svg.zip
%{baseinstdir}/share/config/images_colibre.zip
%{baseinstdir}/share/config/images_colibre_svg.zip
%{baseinstdir}/share/config/images_colibre_dark.zip
%{baseinstdir}/share/config/images_colibre_dark_svg.zip
%{baseinstdir}/share/config/images_elementary.zip
%{baseinstdir}/share/config/images_elementary_svg.zip
%{baseinstdir}/share/config/images_helpimg.zip
%{baseinstdir}/share/config/images_karasa_jaga.zip
%{baseinstdir}/share/config/images_karasa_jaga_svg.zip
%{baseinstdir}/share/config/images_sifr.zip
%{baseinstdir}/share/config/images_sifr_dark.zip
%{baseinstdir}/share/config/images_sifr_dark_svg.zip
%{baseinstdir}/share/config/images_sifr_svg.zip
%{baseinstdir}/share/config/images_sukapura.zip
%{baseinstdir}/share/config/images_sukapura_svg.zip
%{baseinstdir}/share/config/images_sukapura_dark.zip
%{baseinstdir}/share/config/images_sukapura_dark_svg.zip
%dir %{baseinstdir}/share/tipoftheday
%{baseinstdir}/share/tipoftheday/*
%dir %{baseinstdir}/share/toolbarmode
%{baseinstdir}/share/toolbarmode/*
%dir %{baseinstdir}/share/config/soffice.cfg
%{baseinstdir}/share/config/soffice.cfg/modules
%{baseinstdir}/share/config/soffice.cfg/*/ui
%{baseinstdir}/share/palette
#%{baseinstdir}/share/config/webcast
%{baseinstdir}/share/config/wizard
%dir %{baseinstdir}/share/dtd
%{baseinstdir}/share/dtd/officedocument
%{baseinstdir}/share/gallery
%dir %{baseinstdir}/share/labels
%{baseinstdir}/share/labels/labels.xml
%dir %{baseinstdir}/share/psprint
%config %{baseinstdir}/share/psprint/psprint.conf
%{baseinstdir}/share/psprint/driver
%dir %{baseinstdir}/share/registry
%{baseinstdir}/share/registry/draw.xcd
%{baseinstdir}/share/registry/gnome.xcd
%{baseinstdir}/share/registry/lingucomponent.xcd
%{baseinstdir}/share/registry/main.xcd
%{baseinstdir}/share/registry/math.xcd
%{baseinstdir}/share/registry/oo-ad-ldap.xcd.sample
%{baseinstdir}/share/registry/oo-ldap.xcd.sample
%dir %{baseinstdir}/share/registry/res
%dir %{baseinstdir}/share/template
%dir %{baseinstdir}/share/template/common
%{baseinstdir}/share/template/common/draw
%{baseinstdir}/share/template/common/internal
%{baseinstdir}/share/template/common/officorr
%{baseinstdir}/share/template/common/offimisc
%{baseinstdir}/share/template/common/personal
%{baseinstdir}/share/template/common/presnt
%{baseinstdir}/share/template/common/styles
%{baseinstdir}/share/template/common/wizard
%dir %{baseinstdir}/share/template/common/l10n
%{baseinstdir}/share/template/wizard
%dir %{baseinstdir}/share/wordbook
%{baseinstdir}/share/wordbook/en-GB.dic
%{baseinstdir}/share/wordbook/en-US.dic
%{baseinstdir}/share/wordbook/technical.dic
%{baseinstdir}/program/liblnthlo.so
%{_bindir}/unopkg
%{_mandir}/man1/unopkg.1*
%{baseinstdir}/program/libxmlsecurity.so
%{baseinstdir}/program/libconfigmgrlo.so
%{baseinstdir}/program/libdesktopbe1lo.so
%{baseinstdir}/program/libfsstoragelo.so
%{baseinstdir}/program/libi18npoollo.so
%{baseinstdir}/program/libbasegfxlo.so
# TODO: shouldn't it have lo suffix?
%{baseinstdir}/program/libcomphelper.so
%{baseinstdir}/program/libfwklo.so
# TODO: shouldn't it have lo suffix?
%{baseinstdir}/program/libi18nutil.so
%{baseinstdir}/program/libpackage2.so
%{baseinstdir}/program/libsblo.so
%{baseinstdir}/program/libsfxlo.so
%{baseinstdir}/program/libsotlo.so
%{baseinstdir}/program/libspllo.so
%{baseinstdir}/program/libsvllo.so
%{baseinstdir}/program/libsvtlo.so
%{baseinstdir}/program/libtklo.so
%{baseinstdir}/program/libtllo.so
%{baseinstdir}/program/libucb1.so
%{baseinstdir}/program/libucpfile1.so
%{baseinstdir}/program/libutllo.so
%{baseinstdir}/program/libvcllo.so
%{baseinstdir}/program/libwriterperfectlo.so
%{baseinstdir}/program/libxmlscriptlo.so
%{baseinstdir}/program/libxolo.so
%{baseinstdir}/program/liblocalebe1lo.so
%{baseinstdir}/program/libucpgio1lo.so
%{baseinstdir}/program/types/oovbaapi.rdb
#share unopkg
%dir %{baseinstdir}/share/extensions
%{baseinstdir}/program/unopkg
%{baseinstdir}/program/unopkg.bin
%{baseinstdir}/program/bootstraprc
%{baseinstdir}/program/fundamentalrc
%{baseinstdir}/program/setuprc
%{baseinstdir}/program/intro.png
%{baseinstdir}/program/intro-highres.png
%{baseinstdir}/program/opencltest
%{baseinstdir}/program/soffice
%{baseinstdir}/program/soffice.bin
%{baseinstdir}/program/sofficerc
%{baseinstdir}/program/unoinfo
%{baseinstdir}/program/oosplash
%{baseinstdir}/program/shell/
%dir %{baseinstdir}/share/filter
%{baseinstdir}/share/filter/oox-drawingml-adj-names
%{baseinstdir}/share/filter/oox-drawingml-cs-presets
%{baseinstdir}/share/filter/signature-line.svg
%{baseinstdir}/share/filter/signature-line-draw.svg
%{baseinstdir}/share/filter/vml-shape-types
%{baseinstdir}/share/xdg/
%{baseinstdir}/program/redirectrc
%if 0%{?flatpak}
%{_datadir}/metainfo/org.libreoffice.LibreOffice.appdata.xml
%{_datadir}/applications/org.libreoffice.LibreOffice.desktop
%else
%{_datadir}/applications/libreoffice-startcenter.desktop
%endif
#launchers
%{_bindir}/libreoffice
%{_bindir}/openoffice.org
%{_bindir}/soffice
%{_bindir}/ooffice
%{_bindir}/ooviewdoc
%{_mandir}/man1/libreoffice.1*
%{_mandir}/man1/openoffice.org.1*
%{_mandir}/man1/soffice.1*
%{_mandir}/man1/ooffice.1*
%{_mandir}/man1/ooviewdoc.1*
%files base
%ifarch %{java_arches}
%{baseinstdir}/program/classes/hsqldb.jar
%{baseinstdir}/program/classes/reportbuilder.jar
%{baseinstdir}/program/classes/reportbuilderwizard.jar
%{baseinstdir}/program/classes/sdbc_hsqldb.jar
%endif
%{baseinstdir}/program/access2base.py
%if 0%{?fedora}
%{baseinstdir}/program/base.abignore
%endif
%{baseinstdir}/program/libabplo.so
%{baseinstdir}/program/libdbplo.so
%if 0%{?fedora}
%{baseinstdir}/program/libfirebird_sdbclo.so
%endif
%ifarch %{java_arches}
%{baseinstdir}/program/libhsqldb.so
%{baseinstdir}/program/librptlo.so
%{baseinstdir}/program/librptuilo.so
%{baseinstdir}/program/librptxmllo.so
%endif
%{baseinstdir}/share/registry/base.xcd
%ifarch %{java_arches}
%{baseinstdir}/share/registry/reportbuilder.xcd
%endif
%{baseinstdir}/program/sbase
%if 0%{?flatpak}
%{_datadir}/applications/org.libreoffice.LibreOffice.base.desktop
%else
%{_datadir}/metainfo/libreoffice-base.appdata.xml
%{_datadir}/applications/libreoffice-base.desktop
%endif
%{_bindir}/oobase
%{_mandir}/man1/oobase.1*
%ifarch %{java_arches}
%files wiki-publisher
%docdir %{baseinstdir}/share/extensions/wiki-publisher/license
%{baseinstdir}/share/extensions/wiki-publisher
%files nlpsolver
%docdir %{baseinstdir}/share/extensions/nlpsolver/help
%{baseinstdir}/share/extensions/nlpsolver
%files officebean
%{baseinstdir}/program/classes/officebean.jar
%if 0%{?fedora}
%{baseinstdir}/program/officebean.abignore
%endif
%{baseinstdir}/program/libofficebean.so
%files officebean-common
%{_javadir}/%{name}/officebean.jar
%endif
%files ogltrans
%if 0%{?fedora}
%{baseinstdir}/program/ogltrans.abignore
%endif
%{baseinstdir}/program/libOGLTranslo.so
%{baseinstdir}/program/opengl/basicFragmentShader.glsl
%{baseinstdir}/program/opengl/basicVertexShader.glsl
%{baseinstdir}/program/opengl/dissolveFragmentShader.glsl
%{baseinstdir}/program/opengl/fadeBlackFragmentShader.glsl
%{baseinstdir}/program/opengl/fadeFragmentShader.glsl
%{baseinstdir}/program/opengl/glitterFragmentShader.glsl
%{baseinstdir}/program/opengl/glitterVertexShader.glsl
%{baseinstdir}/program/opengl/honeycombFragmentShader.glsl
%{baseinstdir}/program/opengl/honeycombGeometryShader.glsl
%{baseinstdir}/program/opengl/honeycombVertexShader.glsl
%{baseinstdir}/program/opengl/rippleFragmentShader.glsl
%{baseinstdir}/program/opengl/reflectionFragmentShader.glsl
%{baseinstdir}/program/opengl/reflectionVertexShader.glsl
%{baseinstdir}/program/opengl/staticFragmentShader.glsl
%{baseinstdir}/program/opengl/vortexFragmentShader.glsl
%{baseinstdir}/program/opengl/vortexGeometryShader.glsl
%{baseinstdir}/program/opengl/vortexVertexShader.glsl
%{baseinstdir}/share/config/soffice.cfg/simpress/transitions-ogl.xml
%{baseinstdir}/share/registry/ogltrans.xcd
%files pdfimport
%if 0%{?fedora}
%{baseinstdir}/program/pdfimport.abignore
%endif
%{baseinstdir}/program/libpdfimportlo.so
%{baseinstdir}/program/xpdfimport
%{baseinstdir}/share/registry/pdfimport.xcd
%dir %{baseinstdir}/share/xpdfimport
%{baseinstdir}/share/xpdfimport/xpdfimport_err.pdf
%_font_pkg -n %{fontname} opens___.ttf
%doc instdir/LICENSE
%files gmx-fonts
%{_datadir}/fonts/gmx/GMX-*
%license %{_datadir}/licenses/gmx-fonts/GMX-Acuerdo.pdf
%files calc
%if 0%{?fedora}
%{baseinstdir}/program/calc.abignore
%endif
%{baseinstdir}/program/libanalysislo.so
%{baseinstdir}/program/libcalclo.so
%{baseinstdir}/program/libdatelo.so
%{baseinstdir}/program/libforlo.so
%{baseinstdir}/program/libforuilo.so
%{baseinstdir}/program/libnumbertextlo.so
%{baseinstdir}/program/libpricinglo.so
%{baseinstdir}/program/libsclo.so
%{baseinstdir}/program/libscdlo.so
%{baseinstdir}/program/libscfiltlo.so
%{baseinstdir}/program/libscuilo.so
%{baseinstdir}/program/libsolverlo.so
%{baseinstdir}/program/libwpftcalclo.so
%{baseinstdir}/program/libvbaobjlo.so
%{baseinstdir}/share/calc/styles.xml
%{baseinstdir}/share/registry/calc.xcd
%{baseinstdir}/program/pagein-calc
%{baseinstdir}/program/scalc
%if 0%{?flatpak}
%{_datadir}/applications/org.libreoffice.LibreOffice.calc.desktop
%else
%{_datadir}/metainfo/libreoffice-calc.appdata.xml
%{_datadir}/applications/libreoffice-calc.desktop
%endif
%{_bindir}/oocalc
%{_mandir}/man1/oocalc.1*
%files draw
%{baseinstdir}/program/pagein-draw
%{baseinstdir}/program/sdraw
%if 0%{?flatpak}
%{_datadir}/applications/org.libreoffice.LibreOffice.draw.desktop
%else
%{_datadir}/metainfo/libreoffice-draw.appdata.xml
%{_datadir}/applications/libreoffice-draw.desktop
%endif
%{_bindir}/oodraw
%{_mandir}/man1/oodraw.1*
%files emailmerge
%{baseinstdir}/program/mailmerge.py*
%{baseinstdir}/program/msgbox.py*
%files writer
%if 0%{?fedora}
%{baseinstdir}/program/writer.abignore
%endif
%{baseinstdir}/program/libhwplo.so
%{baseinstdir}/program/liblwpftlo.so
%{baseinstdir}/program/libmswordlo.so
%{baseinstdir}/program/libswuilo.so
%{baseinstdir}/program/libt602filterlo.so
%{baseinstdir}/program/libwpftwriterlo.so
%{baseinstdir}/program/libwriterfilterlo.so
%{baseinstdir}/program/libwriterlo.so
%{baseinstdir}/program/libvbaswobjlo.so
%{baseinstdir}/share/registry/writer.xcd
%{baseinstdir}/program/pagein-writer
%{baseinstdir}/program/swriter
%if 0%{?flatpak}
%{_datadir}/applications/org.libreoffice.LibreOffice.writer.desktop
%else
%{_datadir}/metainfo/libreoffice-writer.appdata.xml
%{_datadir}/applications/libreoffice-writer.desktop
%endif
%{_bindir}/oowriter
%{_mandir}/man1/oowriter.1*
%files impress
%if 0%{?fedora}
%{baseinstdir}/program/impress.abignore
%endif
%{baseinstdir}/program/libPresentationMinimizerlo.so
#%%{baseinstdir}/program/libPresenterScreenlo.so
%{baseinstdir}/program/libwpftimpresslo.so
%dir %{baseinstdir}/share/config/soffice.cfg/simpress
%{baseinstdir}/share/config/soffice.cfg/simpress/effects.xml
%{baseinstdir}/share/config/soffice.cfg/simpress/layoutlist.xml
%{baseinstdir}/share/config/soffice.cfg/simpress/objectlist.xml
%{baseinstdir}/share/config/soffice.cfg/simpress/styles.xml
%{baseinstdir}/share/config/soffice.cfg/simpress/transitions.xml
%{baseinstdir}/share/registry/impress.xcd
%{baseinstdir}/program/pagein-impress
%{baseinstdir}/program/simpress
%if 0%{?flatpak}
%{_datadir}/applications/org.libreoffice.LibreOffice.impress.desktop
%else
%{_datadir}/metainfo/libreoffice-impress.appdata.xml
%{_datadir}/applications/libreoffice-impress.desktop
%endif
%{_bindir}/ooimpress
%{_mandir}/man1/ooimpress.1*
%files math
%{baseinstdir}/program/smath
%if 0%{?flatpak}
%{_datadir}/applications/org.libreoffice.LibreOffice.math.desktop
%else
%{_datadir}/applications/libreoffice-math.desktop
%endif
%{_bindir}/oomath
%{_mandir}/man1/oomath.1*
%files graphicfilter
%if 0%{?fedora}
%{baseinstdir}/program/graphicfilter.abignore
%endif
%{baseinstdir}/program/libgraphicfilterlo.so
%{baseinstdir}/program/libsvgfilterlo.so
%{baseinstdir}/program/libwpftdrawlo.so
%{baseinstdir}/share/registry/graphicfilter.xcd
%files xsltfilter
%{baseinstdir}/share/xslt
%{baseinstdir}/share/registry/xsltfilter.xcd
%if 0%{?flatpak}
%{_datadir}/applications/org.libreoffice.LibreOffice.xsltfilter.desktop
%else
%{_datadir}/applications/libreoffice-xsltfilter.desktop
%endif
%files postgresql
%if 0%{?fedora}
%{baseinstdir}/program/postgresql.abignore
%endif
%{baseinstdir}/program/libpostgresql-sdbclo.so
%{baseinstdir}/program/libpostgresql-sdbc-impllo.so
%{baseinstdir}/program/services/postgresql-sdbc.rdb
%{baseinstdir}/share/registry/postgresql.xcd
%files ure
%ifarch %{java_arches}
%{baseinstdir}/program/classes/java_uno.jar
%{baseinstdir}/program/classes/juh.jar
%{baseinstdir}/program/classes/jurt.jar
%{baseinstdir}/program/classes/libreoffice.jar
%{baseinstdir}/program/classes/ridl.jar
%{baseinstdir}/program/classes/unoloader.jar
%{baseinstdir}/program/javaldx
%{baseinstdir}/program/javavendors.xml
%{baseinstdir}/program/jvmfwk3rc
%{baseinstdir}/program/JREProperties.class
%endif
%if 0%{?fedora}
%{baseinstdir}/program/ure.abignore
%endif
%{baseinstdir}/program/libaffine_uno_uno.so
%{baseinstdir}/program/libbinaryurplo.so
%{baseinstdir}/program/libbootstraplo.so
%{baseinstdir}/program/libgcc3_uno.so
%{baseinstdir}/program/libi18nlangtag.so
%{baseinstdir}/program/libintrospectionlo.so
%{baseinstdir}/program/libinvocadaptlo.so
%{baseinstdir}/program/libinvocationlo.so
%{baseinstdir}/program/libiolo.so
%ifarch %{java_arches}
%{baseinstdir}/program/libjava_uno.so
%{baseinstdir}/program/libjavaloaderlo.so
%{baseinstdir}/program/libjavavmlo.so
%{baseinstdir}/program/libjpipe.so
%{baseinstdir}/program/libjuh.so
%{baseinstdir}/program/libjuhx.so
%{baseinstdir}/program/libjvmaccesslo.so
%{baseinstdir}/program/libjvmfwklo.so
%endif
%{baseinstdir}/program/liblog_uno_uno.so
%{baseinstdir}/program/libnamingservicelo.so
%{baseinstdir}/program/libproxyfaclo.so
%{baseinstdir}/program/libreflectionlo.so
%{baseinstdir}/program/libreglo.so
%{baseinstdir}/program/libsal_textenclo.so
%{baseinstdir}/program/libstocserviceslo.so
%{baseinstdir}/program/libstorelo.so
%{baseinstdir}/program/libuno_cppu.so.3
%{baseinstdir}/program/libuno_cppuhelpergcc3.so.3
%{baseinstdir}/program/libuno_purpenvhelpergcc3.so.3
%{baseinstdir}/program/libuno_sal.so.3
%{baseinstdir}/program/libuno_salhelpergcc3.so.3
%{baseinstdir}/program/libunoidllo.so
%{baseinstdir}/program/libunsafe_uno_uno.so
%{baseinstdir}/program/libuuresolverlo.so
%{baseinstdir}/program/libxmlreaderlo.so
%{baseinstdir}/program/regview
%{baseinstdir}/program/services.rdb
%{baseinstdir}/program/types.rdb
%{baseinstdir}/program/uno
%{baseinstdir}/program/uno.bin
%{baseinstdir}/program/unorc
%files ure-common
%ifarch %{java_arches}
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/juh.jar
%{_javadir}/%{name}/jurt.jar
%{_javadir}/%{name}/libreoffice.jar
%{_javadir}/%{name}/ridl.jar
%{_javadir}/%{name}/unoloader.jar
%endif
%license instdir/LICENSE
%files sdk
%{sdkinstdir}/
%exclude %{sdkinstdir}/docs/
%exclude %{sdkinstdir}/examples/
%files sdk-doc
%docdir %{sdkinstdir}/docs
%license instdir/LICENSE
%{sdkinstdir}/docs/
%{sdkinstdir}/examples/
%files pyuno
%if 0%{?fedora}
%{baseinstdir}/program/pyuno.abignore
%endif
%{baseinstdir}/program/libpyuno.so
%{baseinstdir}/program/pythonloader.py*
%{baseinstdir}/program/libpythonloaderlo.so
%{baseinstdir}/program/pythonloader.unorc
%{baseinstdir}/program/pythonscript.py*
%{baseinstdir}/program/pyuno.so
%{baseinstdir}/program/scriptforge.py*
%{baseinstdir}/program/services/pyuno.rdb
%{baseinstdir}/program/services/scriptproviderforpython.rdb
%{baseinstdir}/program/wizards
%{baseinstdir}/share/Scripts/python
%exclude %{baseinstdir}/share/Scripts/python/LibreLogo
%{libo_python_sitearch}/uno.py*
%{libo_python_sitearch}/unohelper.py*
%{libo_python_sitearch}/officehelper.py*
%{libo_python_sitearch}/__pycache__/uno.cpython-*
%{libo_python_sitearch}/__pycache__/unohelper.cpython-*
%{libo_python_sitearch}/__pycache__/officehelper.cpython-*
#%{baseinstdir}/share/registry/pyuno.xcd
%files librelogo
%{baseinstdir}/share/registry/librelogo.xcd
%{baseinstdir}/share/Scripts/python/LibreLogo
%files glade
%{_datadir}/glade
%{_datadir}/glade3/
%files data
%{_datadir}/icons/hicolor/*/*/libreoffice*
%if 0%{?flatpak}
%{_datadir}/icons/hicolor/*/*/org.libreoffice.LibreOffice.*
%endif
%{_datadir}/mime/packages/libreoffice.xml
%ifarch %{java_arches}
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/unoil.jar
%endif
%dir %{datadir}
%doc instdir/CREDITS.fodt
%doc instdir/LICENSE.html
%doc instdir/LICENSE
%doc instdir/NOTICE
%license instdir/LICENSE
%post data
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun data
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans data
gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || :
%files x11
%if 0%{?fedora}
%{baseinstdir}/program/x11.abignore
%endif
%{baseinstdir}/program/libvclplug_genlo.so
%files gtk3
%if 0%{?fedora}
%{baseinstdir}/program/gtk3.abignore
%endif
%{baseinstdir}/program/libvclplug_gtk3lo.so
%files gtk4
%if 0%{?fedora}
%{baseinstdir}/program/gtk4.abignore
%endif
%{baseinstdir}/program/libvclplug_gtk4lo.so
%if 0%{?fedora}
%files kf5
%{baseinstdir}/program/kf5.abignore
%{baseinstdir}/program/libkf5be1lo.so
%{baseinstdir}/program/libvclplug_kf5lo.so
%{baseinstdir}/program/libvclplug_qt5lo.so
%endif
%files -n libreofficekit
%{baseinstdir}/share/libreofficekit
%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib
%if 0%{?fedora}
%{baseinstdir}/program/libreofficekit.abignore
%endif
%{_libdir}/liblibreofficekitgtk.so
%files -n libreofficekit-devel
%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir
%{_includedir}/LibreOfficeKit
%changelog
* Sat May 11 2024 Arkady L. Shane 1:24.2.0.2-3.inferit
- Rebuilt for MSVSphere 9.4
* Mon Feb 19 2024 Sandino Araico Sánchez - 1:24.2.0.2-3+gob.mx
- Temporarily deleted failing unit tests
* Fri Feb 16 2024 Sandino Araico Sánchez - 1:24.2.0.2-3+gob.mx
- Patchset gobmx-1.1_24.2
* Sun Jan 28 2024 Sandino Araido Sánchez - 1:24.2.0.2-2+gob.mx
- Merge 24.2.0.2-1
- Patchset gobmx-1.0_24.2 (no compila)
- Paquetes de fonts Noto
* Wed Jan 24 2024 Sandino Araico Sánchez - 24.2.0.2-1
- Subida de versión
- autocorr para Thai
* Tue Jan 23 2024 Sandino Araico Sánchez - 24.2.0.1-1
- Subida de versión
- Requerimiento de gcc-12 para compilación usando gcc-toolset-12
- Dependencias: liborcus 0.19 y libargon2
- Pruebas unitarias que fallan, temporalmente borradas
- Correcciones en la sección %files
* Tue Dec 12 2023 Sandino Araico Sánchez - 1:7.6.4.1-2
- Backport de 7.6.4.1 para CentOS 9
* Fri Dec 08 2023 Gwyn Ciesla - 1:7.6.4.1-1
- 7.6.4.1
* Sat Dec 02 2023 Sandino Araico Sánchez - 1:7.6.3.1-4
- Backport de 7.6.3.1 para CentOS 9
* Wed Nov 29 2023 Sandino Araido Sánchez - 1:7.6.2.1-5+gob.mx
- Myspell dictionary packages are noarch
* Tue Nov 28 2023 Sandino Araido Sánchez - 1:7.6.2.1-4+gob.mx
- Myspell dictionaries
* Thu Nov 23 2023 Sandino Araido Sánchez - 1:7.6.2.1-3+gob.mx
- Removed ICU patch (already applied)
- Disabled some unit tests failing on CentOS 9
* Wed Nov 15 2023 Gwyn Ciesla - 1:7.6.3.1-3
- libcmis rebuild.
* Tue Nov 14 2023 Gwyn Ciesla - 1:7.6.3.1-2
- libcmis rebuild
* Wed Nov 08 2023 Gwyn Ciesla - 1:7.6.3.1-1
- 7.6.3.1
* Sun Oct 15 2023 Mattia Verga - 1:7.6.2.1-6
- re-enable a bunch of tests that were previously failing
* Thu Oct 12 2023 Gwyn Ciesla - 1:7.6.2.1-5
- libcmis rebuild
* Sun Oct 01 2023 Mattia Verga - 1:7.6.2.1-2
- Add patch 501 for failing tests on aarc64 and s390x
* Sat Sep 30 2023 Mattia Verga - 1:7.6.2.1-1
- 7.6.2.1
* Fri Sep 08 2023 Gwyn Ciesla - 1:7.6.1.2-1
- 7.6.1.2
* Mon Sep 04 2023 Mattia Verga - 1:7.6.1.1-2
- Unbundle dragonbox
* Mon Aug 28 2023 Gwyn Ciesla - 1:7.6.1.1-1
- 7.6.1.1
* Sun Aug 27 2023 Mattia Verga - 1:7.6.0.3-4
- Remove test exclusions from aarch64
- Link aarch64 executable with standard -g level
* Wed Aug 23 2023 Sandino Araico Sánchez - 1:7.6.0.3-3+gob.mx
- Acuerdo de uso tipográfico (gmx) en el directorio de licencias
* Wed Aug 23 2023 Mattia Verga - 1:7.6.0.3-3
- Disable other failing tests under s390x
- Add patch to fix FTB under ppc64le
* Tue Aug 22 2023 Sandino Araico Sánchez - 1:7.6.0.3-2+gob.mx
- merge 7.6.0-el9
- Actualización de parches backports de gob.mx
* Mon Aug 21 2023 Sandino Araico Sánchez - 1:7.6.0.3-1
- 7.6.0.3 (versión release de libreoffice.org)
* Fri Aug 18 2023 Sandino Araico Sánchez - 1:7.5.5.2-5+gob.mx
- Actualización de parches de gob.mx
- Acuerdo de licenciamiento de fuentes GMX
* Thu Aug 17 2023 Sandino Araico Sánchez - 1:7.5.5.2-4+gob.mx
- Se cambió la ruta de gmx-fonts a /usr/share/fonts/gmx
- Opción de compilación --with-product-name=Office
- Directorio $WORKDIR/installation/Office (en vez de LibreOffice)
- Se agregan los fonts GMX y Montserrat a la lista de Requires:
* Wed Aug 16 2023 Sandino Araico Sánchez - 1:7.5.5.2-3+gob.mx
- parches de gob.mx: fonts y logo
- Subpaquete de fonts GMX
- Se habilitan los more_fonts, donde viene el font GMX
- Se omiten los more_fonts que ya proporciona la distro
* Tue Aug 15 2023 Mattia Verga - 1:7.6.0.3-2
- Disable unreliable test under s390x
- Try verbose make if first build attempt fails
* Sun Aug 13 2023 Mattia Verga - 1:7.6.0.3-1
- 7.6.0.3
* Wed Aug 02 2023 Gwyn Ciesla - 1:7.5.5.2-2
- Poppler rebuild.
* Mon Jul 31 2023 Gwyn Ciesla - 1:7.5.5.2-1
- 7.5.5.2
* Sat Jul 29 2023 Sandino Araico Sánchez - 1:7.5.5.2-2+gob.mx
- merge gob.mx
* Wed Jul 26 2023 Sandino Araico Sánchez - 1:7.6.0.1-1
- Subida de versión a la 7.6.0
- Se removieron un par de parches que ya están aplicados en esta versión
- Backport de correcciones a cui/source/options/optjava.cxx
* Tue Jul 25 2023 Sandino Araico Sánchez - 1:7.5.5.2-1
- Subida de versión a la 7.5.5
- La prueba unitaria sw_layoutwriter truena. la dejo deshabilitada temporalmente
* Thu Jul 20 2023 Fedora Release Engineering - 1:7.5.4.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 17 2023 Sandino Araico Sánchez - 1:7.5.4.2-9+gob.mx
- opciones de branding
* Tue Jul 11 2023 František Zatloukal - 1:7.5.4.2-4
- Rebuilt for ICU 73.2
* Sat Jul 08 2023 Sandino Araico Sánchez - 1:7.5.4.2-8.gob.mx
- Parches de Israel Paredes
- 0002-Archivos-de-distro-config-de-brand-Office.patch
- 0003-Modificacion-al-build-y-borrado-UPDATEURL.patch
* Fri Jun 30 2023 Vitaly Zaitsev - 1:7.5.4.2-3
- Make Java optional. Fixes rhbz#2084071.
* Tue Jun 20 2023 Sandino Araico Sánchez - 1:7.5.4.2-7.gob.mx
- Merge 7.5.4.2-6
* Tue Jun 20 2023 Sandino Araico Sánchez - 1:7.5.4.2-6
- Parche de pruebas initarias se pasó a sed -i en %setup
- Se rehabilitaron algunas pruebas unitarias para CentOS 9
* Tue Jun 20 2023 Sandino Araico Sánchez - 1:7.5.4.2-5.gob.mx
- Parches de Adlair Cerecedo-Mendez
- 0001-Custom-images-and-referencies-added.patch
* Tue Jun 20 2023 Sandino Araico Sánchez - 1:7.5.4.2-4
- Compilar en CentOS 9
* Mon Jun 19 2023 Mamoru TASAKA - 1:7.5.4.2-2
- Backport upstream fix for testSignDocument_PEM_PDF test failure
- Enable test again
* Fri Jun 16 2023 Gwyn Ciesla - 1:7.5.4.2-1
- 7.5.4.2
- Drop 0001-tdf-155161-Always-embed-fonts-with-CFF2-table-as-PDF.patch, upstreamed.
* Thu Jun 15 2023 Gwyn Ciesla - 1:7.5.3.2-4
- Disable tests temporarily to resolve FTBFS.
* Thu Jun 15 2023 Python Maint - 1:7.5.3.2-3
- Rebuilt for Python 3.12
* Wed May 10 2023 Sandino Araico Sánchez - 1:7.5.3.2-3
- Compilar en CentOS 9
* Tue May 09 2023 Caolán McNamara - 1:7.5.3.2-2
- rhbz#2192915 Japanese font not printed
* Mon May 08 2023 Sandino Araico Sánchez - 1:7.5.3.1-2
- Compilar en CentOS 9
* Mon May 08 2023 Sandino Araico Sánchez - 1:7.5.2.2-2
- Compilar en CentOS 9
* Mon May 08 2023 Sandino Araico Sánchez - 1:7.5.1.2-5
- Compilar en CentOS 9
* Sun May 07 2023 Sandino Araico Sánchez - 1:7.5.0.3-3
- Compilar en CentOS 9
* Sat May 06 2023 Sandino Araico Sánchez - 1:7.4.6.2-3
- Compilar en CentOS 9
* Thu May 04 2023 Caolán McNamara - 1:7.5.3.2-1
- latest version
* Fri Mar 31 2023 Caolán McNamara - 1:7.5.2.2-1
- latest version
* Wed Mar 22 2023 Stephan Bergmann - 1:7.5.1.2-4
- Resolves: rhbz#2171265 Failure to start with junk in program/services/
* Wed Mar 22 2023 Stephan Bergmann - 1:7.4.6.2-2
- Resolves: rhbz#2171265 Failure to start with junk in program/services/
* Fri Mar 10 2023 Caolán McNamara - 1:7.5.1.2-3
- Use sifr/sifr_dark for gnome,
https://pagure.io/fedora-workstation/issue/361
* Thu Mar 09 2023 Caolán McNamara - 1:7.5.1.2-2
- fix gray background in kf5 print preview
* Thu Mar 02 2023 Caolán McNamara - 1:7.5.1.2-1
- latest version
* Fri Feb 24 2023 Caolán McNamara - 1:7.5.0.3-4
- Rebuild for zxing-cpp 2.0.0
* Mon Feb 20 2023 Jonathan Wakely - 1:7.5.0.3-3
- Rebuilt for Boost 1.81
* Mon Feb 06 2023 Marek Kasik - 1:7.5.0.3-2
- Rebuild for poppler-23.02.0
* Thu Feb 02 2023 Caolán McNamara - 1:7.5.0.3-1
- 7.5.0 release
* Fri Jan 20 2023 Caolán McNamara - 1:7.5.0.2-1
- 7.5.0 beta
* Thu Jan 19 2023 Fedora Release Engineering - 1:7.4.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 12 2023 Caolán McNamara - 1:7.4.4.2-1
- 7.4.4 release
* Sat Dec 31 2022 Pete Walter - 1:7.4.3.2-4
- Rebuild for ICU 72
* Fri Dec 16 2022 Caolán McNamara - 1:7.4.3.2-3
- fix License syntax "and/or" -> "AND/OR"
* Tue Dec 06 2022 Caolán McNamara - 1:7.4.3.2-2
- add BuildRequires on hunspell-en-US for testTdf124603
* Thu Nov 17 2022 Caolán McNamara - 1:7.4.3.2-1
- 7.4.3 release
* Thu Nov 17 2022 Caolán McNamara - 1:7.4.2.3-2
- Resolves: rhbz#2143431 fix autofilter missing search entry
* Tue Oct 25 2022 Sandino Araico Sánchez - 1:7.4.2.3-2
- compile on CentOS 9
* Mon Oct 24 2022 Sandino Araico Sánchez - 1:7.4.1.2-2
- compile on CentOS 9
* Thu Oct 13 2022 Caolán McNamara - 1:7.4.2.3-1
- 7.4.2 release
* Wed Sep 21 2022 Sandino Araico Sánchez - 1:7.4.0.3-2
- compile on CentOS 9
* Fri Sep 16 2022 Caolán McNamara - 1:7.4.1.2-1
- 7.4.1 release
* Thu Aug 18 2022 Caolán McNamara - 1:7.4.0.3-1
- 7.4.0 release
* Tue Aug 09 2022 Caolán McNamara - 1:7.4.0.2-1
- 7.4rc2
* Wed Aug 03 2022 Caolán McNamara - 1:7.3.5.2-3
- Rebuilt for poppler 22.08.0
* Tue Aug 02 2022 Frantisek Zatloukal - 1:7.3.5.2-2
- Rebuilt for ICU 71.1
* Thu Jul 21 2022 Caolán McNamara - 1:7.3.5.2-1
- latest version
* Tue Jul 19 2022 Caolán McNamara - 1:7.3.4.2-5
- rhbz#2104072 build on i686 without java support
* Mon Jul 11 2022 Stephan Bergmann - 1:7.3.4.2-4
- Resolves: rhbz#2104545 Avoid call to utl::IsYounger if possible
* Thu Jun 23 2022 Parag Nemade - 1:7.3.4.2-3
- Fix Requires: hunspell-pt-BR and hyphen-pt-BR for libreoffice-langpack-pt-BR
* Mon Jun 13 2022 Python Maint - 1:7.3.4.2-2
- Rebuilt for Python 3.11
* Thu Jun 09 2022 Caolán McNamara - 1:7.3.4.2-1
- 7.3.4 release
* Wed May 04 2022 Thomas Rodgers - 1:7.3.3.2-2
- Rebuilt for Boost 1.78
* Mon May 02 2022 Caolán McNamara - 1:7.3.3.2-1
- 7.3.3 release
* Tue Apr 05 2022 Caolán McNamara - 1:7.3.2.2-1
- 7.3.2 release
* Tue Mar 29 2022 Sandino Araico Sánchez - 1:7.3.1.3-4
- Compile on CentOS 8
- temporarily disable failing tests
* Mon Mar 14 2022 Caolán McNamara - 1:7.3.1.3-4
- tdf#144862 use resolution independent text rendering
* Tue Mar 08 2022 Caolán McNamara - 1:7.3.1.3-3
- rhbz#2061598 No Icons Launcher of LibreOffice Apps in Raspberry Pi
* Mon Mar 07 2022 Caolán McNamara - 1:7.3.1.3-2
- rhbz#2061268 finally drop the dependency on the dejavu fonts
* Sat Mar 05 2022 Caolán McNamara - 1:7.3.1.3-1
- 7.3.1 release
* Sat Feb 05 2022 Jiri Vanek - 1:7.3.0.3-3
- Rebuilt for java-17-openjdk as system jdk
* Sat Feb 05 2022 Caolán McNamara - 1:7.3.0.3-2
- reenable tests
* Wed Feb 02 2022 Caolán McNamara - 1:7.3.0.3-1
- 7.3.0 release
- drop conditionals for rhel < 9
- drop conditionals for fedora < 36
* Tue Feb 01 2022 Caolán McNamara - 1:7.2.5.2-5
- Related: rhbz#2029810 set NoDisplay=true for .desktop on s390x/aarch64
- Related: rhbz#2029810 don't Require any vclplug for s390x/aarch64
* Mon Jan 24 2022 Parag Nemade - 1:7.2.5.2-4
- Update hunspell dictionary directory path
https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change
* Thu Jan 20 2022 Fedora Release Engineering - 1:7.2.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jan 13 2022 Caolán McNamara - 1:7.2.5.2-2
- rebuild for rebase of poppler to 22.01.0
* Thu Jan 06 2022 Caolán McNamara - 1:7.2.5.2-1
- upgrade to 7.2.5
* Mon Dec 13 2021 Caolán McNamara - 1:7.2.4.1-2
- Resolves: rhbz#2028991 fix insert, object, QR code
* Mon Dec 06 2021 Caolán McNamara - 1:7.2.4.1-1
- upgrade to 7.2.4
* Fri Nov 19 2021 Caolán McNamara - 1:7.2.3.2-1
- upgrade to 7.2.3 (likely will fix rhbz#2022410)
* Tue Oct 12 2021 Caolán McNamara - 1:7.2.2.2-3
- Icon=document-new shouldn't get prefixed to become
Icon=libreoffice-document-new
* Fri Oct 08 2021 Kalev Lember - 1:7.2.2.2-2
- Use -g1 on arm builders as well
* Thu Oct 07 2021 Caolán McNamara - 1:7.2.2.2-1
- upgrade to 7.2.2 (likely will fix rhbz#2011384)
* Tue Oct 05 2021 Caolán McNamara - 1:7.2.1.2-4
- rhbz#2010520 move libroffice.jar to noarch java location
* Wed Sep 22 2021 Caolán McNamara - 1:7.2.1.2-3
- reenable make check for s390x
* Fri Sep 10 2021 Caolán McNamara - 1:7.2.1.2-2
- remove obscure rhino and bsh scripting for fedora >= 36 like in rhel
* Thu Sep 09 2021 Caolán McNamara - 1:7.2.1.2-1
- upgrade to 7.2.1
* Sat Aug 21 2021 Caolán McNamara - 1:7.2.0.4-3
- fix arm32 uno bridge
* Fri Aug 20 2021 Caolán McNamara - 1:7.2.0.4-2
- s390x firebird is available again
* Mon Aug 16 2021 Caolán McNamara - 1:7.2.0.4-1
- upgrade to 7.2.0
* Sat Aug 14 2021 Caolán McNamara - 1:7.2.0.3-1
- prep upgrade to 7.2.0
* Thu Aug 12 2021 Caolán McNamara - 1:7.1.5.2-5
- replace use of ucpp with gcc cpp
- Resolves: tdf#132739 two html style tags where there should be just one
* Sat Aug 07 2021 Jonathan Wakely - 1:7.1.5.2-4
- Rebuilt for Boost 1.76
* Wed Aug 04 2021 Caolán McNamara - 1:7.1.5.2-3
- rebuild for poppler rebase to 21.07.0
* Thu Jul 22 2021 Fedora Release Engineering - 1:7.1.5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun Jul 18 2021 Caolán McNamara - 1:7.1.5.2-1
- latest version
- drop merged patches
* Wed Jul 14 2021 Caolán McNamara - 1:7.1.4.2-3
- Related: rhbz#1980800 allow convert to csv to write each sheet to
a separate file
* Wed Jun 30 2021 Caolán McNamara - 1:7.1.4.2-2
- Remove unused DOCTYPE from odk/examples xcu file
- drop bsh buildrequires in rhel
* Wed Jun 09 2021 Caolán McNamara - 1:7.1.4.2-1
- latest version
- replace 'badfuncs' of inet_addr and inet_ntoa
- allow system firebird-4
* Fri Jun 04 2021 Python Maint - 1:7.1.3.2-5
- Rebuilt for Python 3.10
* Wed Jun 02 2021 Caolán McNamara - 1:7.1.3.2-4
- gtk3: workaround missing gdk_threads_enter calls in gio errordialog callback
* Mon May 31 2021 Stephan Bergmann - 1:7.1.3.2-3
- Resolves: rhbz#1965975 Adapt to "libstdc++: Implement LWG 1203 for rvalue iostreams"
- Resolves: rhbz#1965975 Adapt to hamcrest-2.2-3.fc35.noarch.rpm
* Thu May 20 2021 Pete Walter - 1:7.1.3.2-2
- Rebuild for ICU 69
* Thu May 06 2021 Caolán McNamara - 1:7.1.3.2-1
- latest version
* Wed May 05 2021 Caolán McNamara - 1:7.1.2.2-4
- Resolves: rhbz#1956977 Impress crashes on switch from commenting to slide sorter
- Resolves: rhbz#1957034 fix assertion on avmedia volumne control
* Thu Apr 29 2021 Caolán McNamara - 1:7.1.2.2-3
- Resolves: rhbz#1955013 build libreoffice-langpack-fy for libreoffice
* Mon Apr 12 2021 Stephan Bergmann - 1:7.1.2.2-2
- Related: rhbz#1895921 Get rid of apache-commons-logging
* Thu Apr 01 2021 Caolán McNamara - 1:7.1.2.2-1
- latest version
* Wed Mar 24 2021 Caolán McNamara - 1:7.1.1.2-2
- tdf#141197 expose gtk-widgets inside vcl-containers to atk hierarchy
* Thu Mar 04 2021 Caolán McNamara - 1:7.1.1.2-1
- latest version
* Mon Feb 08 2021 Pavel Raiskup - 1:7.1.0.3-3
- rebuild for libpq ABI fix rhbz#1908268
* Fri Feb 05 2021 Caolán McNamara - 1:7.1.0.3-2
- use classic brand
* Wed Feb 03 2021 Caolán McNamara - 1:7.1.0.3-1
- bump to 7.1.0 series
- drop integrated 0001-rhbz-1870501-crash-on-reexport-of-odg.patch
- drop integrated 0001-rhbz-1882616-move-cursor-one-step-at-a-time-in-the-d.patch
- drop integrated 0001-export-HYPERLINK-target-in-html-clipboard-export.patch
- drop integrated 0001-gcc11.patch
- drop integrated 0001-disable-tests-that-don-t-work-without-pdfium.patch
- drop integrated 0001-rhbz-1913828-SfxViewFrame-Current-can-return-null.patch
- drop integrated 0001-Upgrade-liborcus-to-0.16.0.patch
* Thu Jan 28 2021 Stephan Bergmann - 1:7.0.4.2-9
- Make libreoffice-bsh, libreoffice-rhino depend on full java
* Wed Jan 27 2021 Caolán McNamara - 1:7.0.4.2-8
- drop unneeded BuildRequires: gdb
* Wed Jan 27 2021 Caolán McNamara - 1:7.0.4.2-7
- Resolves: rhbz#1916539 text not wrapping in right hand help brower pane
* Mon Jan 25 2021 Caolán McNamara - 1:7.0.4.2-6
- really rebuild for Boost 1.75
* Fri Jan 22 2021 Jonathan Wakely - 1:7.0.4.2-5
- Rebuilt for Boost 1.75
* Fri Jan 15 2021 Caolán McNamara - 1:7.0.4.2-4
- rebuild for poppler
* Mon Jan 11 2021 Caolán McNamara - 1:7.0.4.2-3
- Resolves: rhbz#1913828 SfxViewFrame::Current() can return null
* Sun Dec 20 2020 Caolán McNamara - 1:7.0.4.2-2
- workaround for make check failure
* Wed Dec 09 2020 Caolán McNamara - 1:7.0.4.2-1
- latest version
* Wed Dec 02 2020 Thierry Vignaud 1:7.0.4.1-1
- Update to 7.0.4 RC1
* Tue Nov 24 2020 Caolán McNamara - 1:7.0.3.1-4
- Resolves: rhbz#1900937 fix null deref in non-pdfium build
* Mon Nov 23 2020 Caolán McNamara - 1:7.0.3.1-3
- Resolves: rhbz#1900428 don't crash on invalid index used in StarBasic macro
* Tue Nov 03 2020 Jeff Law - 1:7.0.3.1-2
- Fix missing #include for gcc-11
* Thu Oct 29 2020 Caolán McNamara - 1:7.0.3.1-1
- latest version
* Sun Oct 25 2020 Caolán McNamara - 1:7.0.2.2-3
- Resolves: rhbz#1891326 suggest package install of the best pt-* langpack
* Sat Oct 24 18:45:56 CEST 2020 David Tardon - 1:7.0.2.2-2
- fix upgrade from Fedora 32
* Sat Oct 10 2020 Caolán McNamara - 1:7.0.2.2-1
- latest version
* Tue Oct 06 2020 Rex Dieter - 1:7.0.1.2-7
- -kf5: enable Supplements: (%%name-core and plasma-workspace)
* Tue Sep 29 2020 Caolán McNamara - 1:7.0.1.2-6
- export HYPERLINK target in html clipboard export
* Fri Sep 25 2020 Caolán McNamara - 1:7.0.1.2-5
- Resolves: rhbz#1882616 IM cursor pos problem with emojis in writer
* Thu Sep 24 2020 Caolán McNamara - 1:7.0.1.2-4
- upgrade liborcus
* Fri Sep 04 2020 Caolán McNamara - 1:7.0.1.2-3
- rhbz#1875377 prefer Cantarell-Regular to Cantarell-VF
* Thu Sep 03 2020 Merlin Mathesius - 1:7.0.1.2-2
- Rebase RHEL patch to disable libe-book support to libreoffice-7.0
- Add BR perl(base)
* Tue Sep 01 2020 Caolán McNamara - 1:7.0.1.2-1
- 7.0.1 RC2
* Fri Aug 21 2020 Caolán McNamara - 1:7.0.1.1-3
- rhbz#1870501 crash on reexport of odg
* Fri Aug 21 2020 Stephan Bergmann 1:7.0.1.1-2
- Build the binary UNO bridge with -fno-lto
* Thu Aug 20 2020 Thierry Vignaud 1:7.0.1.1-1
- 7.0.1 RC1
* Thu Aug 06 2020 Caolán McNamara - 1:7.0.0.3-1
- 7.0.0
* Wed Aug 05 2020 Caolán McNamara - 1:6.4.5.2-6
- Resolves: rhbz#1745771
+ drop the GTK3-KF5 VCL plugin (formerly subpackage kf5)
+ rename the current -kde5 subpackage (the Qt5/KF5 VCL plugin) to -kf5
* Wed Jul 29 2020 Caolán McNamara - 1:6.4.5.2-5
- Resolves: rhbz#1861794 missing csv fixed width handles
* Tue Jul 28 2020 Fedora Release Engineering - 1:6.4.5.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 25 2020 Caolán McNamara - 1:6.4.5.2-3
- Related: rhbz#1859588 workaround vcldemo ICE
- add py_byte_compile call for
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
* Tue Jul 14 2020 Jiri Vanek - 1:6.4.5.2-2
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Sat Jul 11 2020 Caolán McNamara - 1:6.4.5.2-1
- latest stable
* Sat Jul 11 2020 Jiri Vanek - 1:6.4.4.2-4
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Sat May 30 2020 Jonathan Wakely - 1:6.4.4.2-3
- Rebuilt for Boost 1.73
* Tue May 26 2020 Miro Hrončok - 1:6.4.4.2-2
- Rebuilt for Python 3.9
* Thu May 21 2020 Caolán McNamara - 1:6.4.4.2-1
- latest stable
* Sun May 17 2020 Pete Walter - 1:6.4.3.2-2
- Rebuild for ICU 67
* Thu Apr 16 2020 Caolán McNamara - 1:6.4.3.2-1
- latest stable
* Mon Mar 30 2020 Thierry Vignaud 1:6.4.2.2-1
- 6.4.2.2
* Mon Mar 23 2020 Caolán McNamara - 1:6.4.1.2-4
- help->license->license doesn't do anything
* Fri Mar 20 2020 Caolán McNamara - 1:6.4.1.2-3
- disable tip-of-the-day dialog by default
* Wed Mar 18 2020 Caolán McNamara - 1:6.4.1.2-2
- rhbz#1776774 make math subpackage just a superficial package for
math launcher
* Tue Feb 25 2020 Caolán McNamara - 1:6.4.1.2-1
- 6.4.1 beta 2
* Mon Feb 10 2020 Caolán McNamara - 1:6.4.0.3-2
- rhbz#1793632 make draw subpackage just a superficial package for
draw launcher
* Wed Jan 29 2020 Caolán McNamara - 1:6.4.0.3-1
- latest release
* Wed Jan 22 2020 Caolán McNamara - 1:6.3.4.2-1
- latest stable release
* Fri Jan 17 2020 Marek Kasik - 1:6.3.3.2-6
- Rebuild for poppler-0.84.0
* Fri Jan 17 2020 Marek Kasik - 1:6.3.3.2-5
- Rebuild for poppler-0.84.0
* Wed Nov 27 2019 Caolán McNamara - 1:6.3.3.2-4
- rhbz#1776774 undo rhbz#156677 and stop customizing math.desktop
* Mon Nov 18 2019 Caolán McNamara - 1:6.3.3.2-3
- rhbz#1773525 fix find&replace search save limit
* Sat Nov 02 2019 Pete Walter - 1:6.3.3.2-2
- Rebuild for ICU 65
* Thu Oct 24 2019 Caolán McNamara - 1:6.3.3.2-1
- latest stable release
* Thu Sep 26 2019 Caolán McNamara - 1:6.3.2.2-1
- latest stable release
* Thu Sep 05 2019 Caolán McNamara - 1:6.3.1.2-1
- latest stable release
* Sat Aug 31 2019 Caolán McNamara - 1:6.3.0.4-6
- Related: rhbz#1747596 see if a depend on firebird from just base is
sufficient
* Thu Aug 29 2019 Caolán McNamara - 1:6.3.0.4-5
- Resolves: rhbz#1736810 disable opencl by default again
* Sun Aug 25 2019 Caolán McNamara - 1:6.3.0.4-4
- Resolves: rhbz#1744876 firebird not an automatically dependency
* Wed Aug 21 2019 Caolán McNamara - 1:6.3.0.4-3
- Resolves: rhbz#1743894 make build with mdds-1.5
* Mon Aug 19 2019 Miro Hrončok - 1:6.3.0.4-2
- Rebuilt for Python 3.8
* Thu Aug 08 2019 Caolán McNamara - 1:6.3.0.4-1
- upgrade to RC4
* Tue Aug 06 2019 Caolán McNamara - 1:6.3.0.3-1
- upgrade to RC3
* Thu Jul 25 2019 Fedora Release Engineering - 1:6.3.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jul 19 2019 Caolán McNamara - 1:6.3.0.1-2
- missing ldap support
- kde4 support is gone, replace with kde5
* Tue Jul 16 2019 Caolán McNamara - 1:6.3.0.1-1
- move rawhide to 6.3.0
* Tue Jul 16 2019 Caolán McNamara - 1:6.2.5.2-1
- latest stable
* Fri Jun 14 2019 Caolán McNamara - 1:6.2.4.2-5
- Resolves: rhbz#1720483 make all app rpms depend on pdfimport
* Tue Jun 11 2019 Caolán McNamara - 1:6.2.4.2-4
- Resolves: rhbz#1667039 drop Requires: font(:lang=XX) requires in
favor of langpacks
* Mon Jun 10 2019 Caolán McNamara - 1:6.2.4.2-3
- Related: rhbz#1718063 look for pkg-config python-version-embed
* Fri Jun 07 2019 Stephan Bergmann - 1:6.2.4.2-2
- Resolves: rhbz#1718063 adapt to upcoming Python 3.8
* Thu May 30 2019 Caolán McNamara - 1:6.2.4.2-1
- latest stable version
* Sun May 26 2019 Caolán McNamara - 1:6.2.3.2-5
- Resolves: rhbz#1713827 protect against null ViewShell
- Resolves: rhbz#1713908 stop disabling firebird-sdbc
* Thu May 23 2019 Caolán McNamara - 1:6.2.3.2-4
- Resolves: rhbz#1712823 crash in extended tooltips over pattern editor
- Resolves: rhbz#1711143 calc not rounding time calculation correctly
* Tue May 21 2019 Caolán McNamara - 1:6.2.3.2-3
- rebuild for e-d-s
* Thu May 02 2019 Caolán McNamara - 1:6.2.3.2-2
- add Esperanto
* Tue Apr 30 2019 Caolán McNamara - 1:6.2.3.2-1
- latest stable release
* Fri Apr 26 2019 Caolán McNamara - 1:6.2.2.2-6
- Related: rhbz#1703375 disable bsh and rhino for rhel
* Thu Apr 25 2019 Caolán McNamara - 1:6.2.2.2-5
- Resolves: rhbz#1702810 Prepare for upcoming libebook
* Sat Apr 13 2019 Caolán McNamara - 1:6.2.2.2-4
- tdf#119890 followup Forbid HOME to be the default dir for templates
* Fri Apr 12 2019 Caolán McNamara - 1:6.2.2.2-3
- Resolves: rhbz#1699347 __glibcxx_requires_subscript-enabled enabled
* Thu Apr 04 2019 Caolán McNamara - 1:6.2.2.2-2
- Related: rhbz#1692584 mythes-de is available again
* Tue Apr 02 2019 Caolán McNamara - 1:6.2.2.2-1
- latest stable release
* Wed Mar 27 2019 Caolán McNamara - 1:6.2.1.2-6
- Resolves: rhbz#1693388 mythes-de got retired so is unavailable
* Thu Mar 21 2019 Caolán McNamara - 1:6.2.1.2-5
- Resolves: rhbz#1690732 basic font variation support
* Wed Mar 20 2019 Stephan Bergmann - 1:6.2.1.2-4
- Resolves: rhbz#1687589 KDE4 gpoll_wrapper can be called with SolarMutex locked
* Tue Mar 12 2019 Caolán McNamara - 1:6.2.1.2-3
- currency menu too narrow
* Thu Mar 07 2019 Caolán McNamara - 1:6.2.1.2-2
- bump n-v-r
* Sat Mar 02 2019 Caolán McNamara - 1:6.2.1.2-1
- latest stable
* Mon Feb 25 2019 Caolán McNamara - 1:6.2.0.3-4
- Related: rhbz#1678319 workaround weird compilation result
* Thu Feb 21 2019 Caolán McNamara - 1:6.2.0.3-3
- menu of currency combobox is too wide
* Thu Feb 21 2019 Caolán McNamara - 1:6.2.0.3-2
- Resolves: tdf#122623 theme unwanted tab into invisibilty
* Thu Feb 07 2019 Caolán McNamara - 1:6.2.0.3-1
- latest version
* Fri Feb 01 2019 Caolán McNamara - 1:6.1.4.2-5
- Resolves: rhbz#1671340 extended tooltips not working in impress navigator
* Thu Jan 31 2019 Kalev Lember - 1:6.1.4.2-4
- Rebuilt for Boost 1.69
* Sat Jan 26 2019 Marek Kasik - 1:6.1.4.2-3
- Additional fixes needed for rebuild
* Fri Jan 25 2019 Marek Kasik - 1:6.1.4.2-2
- Rebuild for poppler-0.73.0
* Mon Jan 07 2019 Caolán McNamara - 1:6.1.4.2-1
- latest version
- Resolves: rhbz#1662616 crash in macro dialog editor
- Resolves: rhbz#1662512 a11y freeze in calc
* Tue Dec 04 2018 Caolán McNamara - 1:6.1.2.1-8
- Resolves: rhbz#1639174 desire to block en-help install
* Tue Nov 20 2018 Caolán McNamara - 1:6.1.2.1-7
- Resolves: rhbz#1651469 improve obsoletes
* Wed Nov 14 2018 Rex Dieter - 1:6.1.2-6
- -kf5 subpackage: include support for --enable-gtk3-kde5 (#1647233)
- -kde4: adjust summary/description s/KDE/KDE4/
* Tue Nov 13 2018 Caolán McNamara - 1:6.1.2.1-5
- Rebuild for hunspell 1.7.0
* Thu Nov 08 2018 Caolán McNamara - 1:6.1.2.1-4
- drop gtk2 support and obsolete it
* Wed Nov 07 2018 Caolán McNamara - 1:6.1.2.1-3
- drop rhel 7 conditionals
* Tue Oct 30 2018 Caolán McNamara - 1:6.1.2.1-2
- Related: rhbz#1644128 gtk tooltip problems
* Wed Oct 10 2018 Caolán McNamara - 1:6.1.2.1-1
- latest version
- rhbz#1637848 keep Supplements but not Recommends
* Fri Sep 14 2018 Caolán McNamara - 1:6.1.1.2-1
- latest version
* Sun Sep 02 2018 David Tardon - 1:6.1.0.3-2
- rebuild for liborcus 0.14.0
* Thu Aug 16 2018 Caolán McNamara