2010-10-21 01:05:15 +02:00
#
2011-09-07 17:42:32 +02:00
# spec file for package libreoffice
2010-10-21 01:05:15 +02:00
#
2021-01-13 07:28:51 +01:00
# Copyright (c) 2021 SUSE LLC
2010-10-21 01:05:15 +02:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2019-01-23 14:16:45 +01:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2010-10-21 01:05:15 +02:00
#
2015-05-06 17:26:45 +02:00
# extensions
%define numbertext_version 0.9.5
# Urls
2018-06-07 11:02:40 +02:00
%define external_url https://dev-www.libreoffice.org/src/
2019-12-03 15:00:06 +01:00
#%%define tarball_url https://download.documentfoundation.org/libreoffice/src/6.4.0
2018-06-15 13:08:27 +02:00
%define tarball_url https://dev-builds.libreoffice.org/pre-releases/src/
2018-04-17 11:27:24 +02:00
# LTO needs newer toolchain stack only
%if 0%{?suse_version} >= 1500
%bcond_without lto
%else
%bcond_with lto
%endif
2021-02-12 09:34:03 +01:00
# Enable the kde integration on openSUSE and SLE15-SP3 or newer
%if 0%{?is_opensuse} || 0%{?sle_version} >= 150300
2016-03-02 13:56:15 +01:00
%bcond_without kdeintegration
%else
%bcond_with kdeintegration
%endif
2017-11-02 14:42:43 +01:00
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
%bcond_without system_gpgme
%else
2017-12-11 15:36:20 +01:00
# Hack in the bundled libs to not pop up on requires/provides to avoid
# faking libreoffice provide some system packages
2018-01-17 20:29:30 +01:00
%global __provides_exclude_from ^%{_libdir} /libreoffice/program/lib(gpg|assuan).*\\.so.*$
%global __requires_exclude_from ^%{_libdir} /libreoffice/program/lib(gpg|assuan).*\\.so.*$
2018-01-19 13:56:23 +01:00
%global __requires_exclude ^libgpgmepp\\.so.*$
2017-11-02 14:42:43 +01:00
%bcond_with system_gpgme
%endif
2021-04-09 10:20:42 +02:00
%bcond_with firebird
2014-01-02 11:24:51 +01:00
Name : libreoffice
2021-05-04 08:57:28 +02:00
Version : 7.1.3.2
2012-03-16 13:17:00 +01:00
Release : 0
2010-10-21 01:05:15 +02:00
Summary : A Free Office Suite (Framework)
2018-03-05 11:28:17 +01:00
License : LGPL-3.0-or-later AND MPL-2.0+
2012-03-16 13:17:00 +01:00
Group : Productivity/Office/Suite
2018-06-07 11:02:40 +02:00
URL : https://www.documentfoundation.org/
2014-06-23 13:12:04 +02:00
Source0 : %{tarball_url} /libreoffice-%{version} .tar.xz
2018-04-10 13:01:15 +02:00
Source1 : %{tarball_url} /libreoffice-%{version} .tar.xz.asc
Source2 : %{tarball_url} /libreoffice-help-%{version} .tar.xz
Source3 : %{tarball_url} /libreoffice-help-%{version} .tar.xz.asc
Source4 : %{tarball_url} /libreoffice-translations-%{version} .tar.xz
Source5 : %{tarball_url} /libreoffice-translations-%{version} .tar.xz.asc
2021-01-21 17:38:51 +01:00
# SUSE color palette in year 2021: bsc#1181122 https://brand.suse.com/brand-system/color-palette
2017-06-21 15:07:36 +02:00
# SUSE color palette bsc#1045339 https://intra.microfocus.net/brandcentral/suse/identity.php#palette
2018-04-10 13:01:15 +02:00
Source6 : SUSE.soc
Source98 : %{name} .keyring
2015-05-06 17:26:45 +02:00
Source99 : %{name} -rpmlintrc
2019-05-06 10:54:44 +02:00
Source100 : %{name} .changes
2011-09-07 17:41:42 +02:00
# prebuilt extensions
2014-01-02 11:24:51 +01:00
Source402 : %{external_url} /b7cae45ad2c23551fd6ccb8ae2c1f59e-numbertext_%{numbertext_version} .oxt
2011-09-07 17:41:42 +02:00
# used extensions sources
2015-10-19 10:26:17 +02:00
Source450 : %{external_url} /1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt
2014-01-02 11:24:51 +01:00
Source452 : %{external_url} /90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2
2017-11-02 14:42:43 +01:00
# GPGME bundle list
2021-02-05 12:23:57 +01:00
Source1000 : %{external_url} /gpgme-1.13.1.tar.bz2
Source1001 : %{external_url} /libgpg-error-1.37.tar.bz2
Source1002 : %{external_url} /libassuan-2.5.3.tar.bz2
2014-01-02 11:24:51 +01:00
# Internal bundled stuff we can't remove
# To build this we would pull cygwin; not worth it
2018-06-07 11:02:40 +02:00
Source2001 : https://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
2014-01-02 11:24:51 +01:00
# hsqldb simply does not work with new system version, but luckily we migrate to firebird
Source2002 : %{external_url} /17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
# Heavily patched and not possible to use system one
Source2003 : %{external_url} /798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
Source2004 : %{external_url} /35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
# Needed for wiki-published and always taken as bundled
Source2005 : %{external_url} /a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
2016-12-19 14:27:44 +01:00
# Needed for integration tests
2018-06-07 11:02:40 +02:00
Source2006 : https://dev-www.libreoffice.org/extern/8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar
2020-06-18 15:01:34 +02:00
Source2007 : https://dev-www.libreoffice.org/extern/odfvalidator-0.9.0-RC2-SNAPSHOT-jar-with-dependencies-2726ab578664434a545f8379a01a9faffac0ae73.jar
2017-05-27 13:25:22 +02:00
# PDFium is bundled everywhere
2021-01-28 06:48:41 +01:00
Source2008 : %{external_url} /pdfium-4306.tar.bz2
2020-06-18 15:01:34 +02:00
# Single C file with patches from LO
Source2009 : %{external_url} /dtoa-20180411.tgz
2020-06-24 13:33:02 +02:00
# Skia is part of chromium and bundled everywhere as by google only way is monorepo way
2021-02-05 12:23:57 +01:00
Source2010 : %{external_url} /skia-m88-59bafeeaa7de9eb753e3778c414e01dcf013dcd8.tar.xz
2016-11-21 09:14:58 +01:00
# change user config dir name from ~/.libreoffice/3 to ~/.libreoffice/3-suse
# to avoid BerkleyDB incompatibility with the plain build
Patch1 : scp2-user-config-suse.diff
2011-09-07 17:41:42 +02:00
# do not use the broken help; unopkg complained about it when registering extensions
# FIXME: the right fix is to compile the help and produce the .db_, .ht_, and other files
2018-02-13 12:29:58 +01:00
Patch2 : nlpsolver-no-broken-help.diff
Patch3 : mediawiki-no-broken-help.diff
2021-02-05 12:23:57 +01:00
# PATCH-FIX-UPSTREAM https://github.com/LibreOffice/core/commit/f14b83b38d35a585976ef5d422754d8e0d0266a6 ucp: fix call to getComponentContext
Patch4 : use-comphelper.patch
2021-05-04 15:08:22 +02:00
# PATCH-FIX-UPSTREAM https://github.com/LibreOffice/core/commit/9fed7b07af44792012028eb57900640a5ee833cb tdf#141930 document set as unmodified if editengine didn't modify on keyevent
Patch5 : bsc1184961.patch
2021-04-09 10:20:42 +02:00
# Build with java 8
Patch101 : 0001-Revert-java-9-changes.patch
2012-11-23 17:08:34 +01:00
# try to save space by using hardlinks
Patch990 : install-with-hardlinks.diff
2019-02-25 13:56:57 +01:00
# save time by relying on rpm check rather than doing stupid find+grep
Patch991 : libreoffice-no-destdircheck.patch
2015-05-20 10:51:35 +02:00
BuildRequires : %{name} -share-linker
2015-05-06 17:26:45 +02:00
BuildRequires : ant
BuildRequires : autoconf
2017-09-12 11:34:00 +02:00
BuildRequires : awk
2019-01-23 14:54:06 +01:00
BuildRequires : binutils-gold
2015-05-06 17:26:45 +02:00
BuildRequires : bison
2016-06-02 11:02:44 +02:00
BuildRequires : bsh2
BuildRequires : commons-logging
2015-05-06 17:26:45 +02:00
BuildRequires : cups-devel
BuildRequires : curl-devel
2017-08-11 11:23:52 +02:00
# Needed for tests
BuildRequires : dejavu-fonts
2016-06-02 11:02:44 +02:00
BuildRequires : doxygen >= 1.8.4
2015-05-06 17:26:45 +02:00
BuildRequires : fdupes
2019-08-16 14:27:27 +02:00
BuildRequires : flex >= 2.6.0
2016-06-02 11:02:44 +02:00
BuildRequires : flute
2019-01-23 14:54:06 +01:00
BuildRequires : fontforge
2016-06-02 11:02:44 +02:00
BuildRequires : glm-devel
2017-05-27 13:25:22 +02:00
# Needed for tests
BuildRequires : google-carlito-fonts
2019-08-19 10:25:23 +02:00
BuildRequires : gperf >= 3.1
2019-08-08 10:30:51 +02:00
BuildRequires : graphviz
2015-05-06 17:26:45 +02:00
BuildRequires : hyphen-devel
2016-06-02 11:02:44 +02:00
BuildRequires : junit4
BuildRequires : libbase
2017-05-27 13:25:22 +02:00
BuildRequires : libcppunit-devel >= 1.14.0
2018-04-03 11:20:43 +02:00
BuildRequires : liberation-fonts
2016-06-02 11:02:44 +02:00
BuildRequires : libexif
BuildRequires : libfonts
BuildRequires : libformula
BuildRequires : libjpeg-devel
BuildRequires : liblayout
BuildRequires : libloader
BuildRequires : librepository
BuildRequires : libserializer
2015-05-06 17:26:45 +02:00
BuildRequires : libtool
2016-06-02 11:02:44 +02:00
BuildRequires : lpsolve-devel
2015-05-06 17:26:45 +02:00
BuildRequires : make
BuildRequires : openldap2-devel
2016-06-02 11:02:44 +02:00
BuildRequires : pentaho-libxml
BuildRequires : pentaho-reporting-flow-engine
BuildRequires : pkgconfig
2018-06-07 11:02:40 +02:00
BuildRequires : python3-lxml
2016-06-02 11:02:44 +02:00
BuildRequires : python3-xml
2019-12-03 15:00:06 +01:00
BuildRequires : qrcodegen-devel
2016-06-02 11:02:44 +02:00
BuildRequires : sac
BuildRequires : ucpp
2015-05-06 17:26:45 +02:00
BuildRequires : unixODBC-devel
BuildRequires : unzip
2016-03-07 13:24:40 +01:00
BuildRequires : update-desktop-files
2016-06-02 11:02:44 +02:00
BuildRequires : xml-commons-apis
2015-05-06 17:26:45 +02:00
BuildRequires : xz
BuildRequires : zip
2016-06-02 11:02:44 +02:00
BuildRequires : perl(Archive::Zip)
BuildRequires : perl(Digest::MD5)
2018-09-18 10:27:43 +02:00
BuildRequires : pkgconfig(apr-util-1)
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(bluez)
2019-01-23 14:54:06 +01:00
BuildRequires : pkgconfig(dbus-1) >= 0.60
2019-01-23 15:03:53 +01:00
BuildRequires : pkgconfig(epoxy) >= 1.2
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(expat)
BuildRequires : pkgconfig(gl)
2019-10-07 09:45:09 +02:00
BuildRequires : pkgconfig(glib-2.0) >= 2.40
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(glu)
BuildRequires : pkgconfig(gobject-introspection-1.0)
BuildRequires : pkgconfig(graphite2) >= 0.9.3
BuildRequires : pkgconfig(gssrpc)
BuildRequires : pkgconfig(gstreamer-plugins-base-1.0)
2021-04-09 10:20:42 +02:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.18
2017-05-11 15:52:37 +02:00
BuildRequires : pkgconfig(harfbuzz) >= 0.9.42
BuildRequires : pkgconfig(harfbuzz-icu) >= 0.9.42
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(hunspell)
BuildRequires : pkgconfig(krb5)
BuildRequires : pkgconfig(lcms2)
BuildRequires : pkgconfig(libabw-0.1)
BuildRequires : pkgconfig(libcdr-0.1) >= 0.1
BuildRequires : pkgconfig(libclucene-core)
2019-07-08 13:31:46 +02:00
BuildRequires : pkgconfig(libcmis-0.5) >= 0.5.2
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(libe-book-0.1) >= 0.1.1
2017-05-27 13:25:22 +02:00
BuildRequires : pkgconfig(libeot) >= 0.01
2017-12-20 21:01:15 +01:00
BuildRequires : pkgconfig(libepubgen-0.1)
2018-06-07 11:02:40 +02:00
BuildRequires : pkgconfig(libetonyek-0.1) >= 0.1.8
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(libexttextcat) >= 3.1.1
BuildRequires : pkgconfig(libfreehand-0.1)
BuildRequires : pkgconfig(liblangtag)
BuildRequires : pkgconfig(libmspub-0.1) >= 0.1
2020-06-18 15:01:34 +02:00
BuildRequires : pkgconfig(libmwaw-0.3) >= 0.3.16
2020-08-25 10:24:59 +02:00
BuildRequires : pkgconfig(libnumbertext) >= 1.0.6
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(libodfgen-0.1) >= 0.1.4
2020-10-15 09:03:17 +02:00
BuildRequires : pkgconfig(liborcus-0.16)
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(libpagemaker-0.0)
2018-04-11 09:49:24 +02:00
BuildRequires : pkgconfig(libpq)
2017-11-29 13:24:57 +01:00
BuildRequires : pkgconfig(libqxp-0.0)
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(librevenge-0.0) >= 0.0.1
BuildRequires : pkgconfig(librsvg-2.0)
2020-06-18 15:01:34 +02:00
BuildRequires : pkgconfig(libstaroffice-0.0) >= 0.0.7
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(libvisio-0.1) >= 0.1
BuildRequires : pkgconfig(libwpd-0.10) >= 0.10
BuildRequires : pkgconfig(libwpg-0.3)
2020-06-18 15:01:34 +02:00
BuildRequires : pkgconfig(libwps-0.4) >= 0.4.11
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(libxml-2.0)
BuildRequires : pkgconfig(libxslt)
2016-12-03 14:33:06 +01:00
BuildRequires : pkgconfig(libzmf-0.0)
2019-08-16 10:46:25 +02:00
BuildRequires : pkgconfig(mdds-1.5) >= 1.5.0
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(mythes)
BuildRequires : pkgconfig(nspr) >= 4.8
BuildRequires : pkgconfig(nss) >= 3.9.3
BuildRequires : pkgconfig(poppler)
BuildRequires : pkgconfig(poppler-cpp)
BuildRequires : pkgconfig(python3)
BuildRequires : pkgconfig(redland)
BuildRequires : pkgconfig(sane-backends)
2018-09-18 10:27:43 +02:00
BuildRequires : pkgconfig(serf-1) >= 1.1.0
2019-12-03 15:00:06 +01:00
BuildRequires : pkgconfig(xmlsec1-nss) >= 1.2.28
2018-04-04 11:09:53 +02:00
BuildRequires : pkgconfig(xrandr)
2016-06-02 11:02:44 +02:00
BuildRequires : pkgconfig(xt)
2018-03-14 10:34:08 +01:00
Requires : liberation-fonts
2018-04-03 11:20:43 +02:00
Requires : libreoffice-branding >= 6.0
Requires : libreoffice-icon-themes = %{version}
2019-09-11 10:03:28 +02:00
# We need at least english to launch ourselves
2015-05-06 17:26:45 +02:00
Requires : libreoffice-l10n-en = %{version}
2016-06-02 11:02:44 +02:00
Requires : python3
2017-05-27 13:25:22 +02:00
Recommends: dejavu-fonts
2016-09-12 12:12:40 +02:00
Recommends: google-carlito-fonts
2021-04-21 12:13:34 +02:00
Recommends: (libreoffice-qt5 if lxqt-session)
2015-05-06 17:26:45 +02:00
Provides : %{name} -draw-extensions = %{version}
Obsoletes : %{name} -draw-extensions < %{version}
Provides : %{name} -impress-extensions = %{version}
Obsoletes : %{name} -impress-extensions < %{version}
Provides : %{name} -base-extensions = %{version}
Obsoletes : %{name} -base-extensions < %{version}
Provides : %{name} -kde = %{version}
Obsoletes : %{name} -kde < %{version}
Provides : %{name} -l10n-prebuild = %{version}
Obsoletes : %{name} -l10n-prebuild < %{version}
2015-10-16 09:42:30 +02:00
Provides : %{name} -mono = %{version}
Obsoletes : %{name} -mono < %{version}
2015-05-06 17:26:45 +02:00
Provides : %{name} -ure = %{version}
Obsoletes : %{name} -ure < %{version}
2015-06-23 10:20:52 +02:00
Provides : %{name} -icon-theme-crystal = %{version}
Obsoletes : %{name} -icon-theme-crystal < %{version}
2017-06-07 17:20:17 +02:00
Provides : %{name} -icon-theme-oxygen = %{version}
Obsoletes : %{name} -icon-theme-oxygen < %{version}
2019-10-03 09:06:45 +02:00
ExclusiveArch : aarch64 %{ix86} x86_64 ppc64le
2021-04-09 10:20:42 +02:00
%if 0%{?suse_version} < 1500
# Too old boost on the system
Source2020 : %{external_url} /boost_1_71_0.tar.xz
# Too old icu on the system
Source2021 : %{external_url} /icu4c-68_1-src.tgz
Source2022 : %{external_url} /icu4c-68_1-data.zip
2019-03-04 12:06:59 +01:00
BuildRequires : gcc7
BuildRequires : gcc7-c++
2021-04-09 10:20:42 +02:00
BuildRequires : java-devel >= 1.8
BuildRequires : libBox2D-devel
BuildRequires : libmysqlclient-devel
BuildConflicts : java < 1.8
BuildConflicts : java >= 9
BuildConflicts : java-devel < 1.8
BuildConflicts : java-devel >= 9
BuildConflicts : java-headless < 1.8
BuildConflicts : java-headless >= 9
2018-04-25 10:47:27 +02:00
Requires(post) : update-desktop-files
2021-04-21 12:13:34 +02:00
Requires(postun) : update-desktop-files
2021-04-09 10:20:42 +02:00
%else
BuildRequires : gcc >= 7
BuildRequires : gcc-c++ >= 7
2017-08-11 11:23:52 +02:00
BuildRequires : libboost_date_time-devel
BuildRequires : libboost_filesystem-devel
BuildRequires : libboost_iostreams-devel
2017-11-29 21:22:29 +01:00
BuildRequires : libboost_locale-devel
2017-08-11 11:23:52 +02:00
BuildRequires : libboost_system-devel
2021-04-09 10:20:42 +02:00
# genbrk binary is required
BuildRequires : icu
BuildRequires : java-devel >= 9
BuildRequires : libbox2d-devel
BuildRequires : libmariadb-devel
BuildRequires : pkgconfig(icu-i18n)
BuildConflicts : java < 9
BuildConflicts : java-devel < 9
BuildConflicts : java-headless < 9
%endif
%if %{with system_gpgme}
BuildRequires : libgpgmepp-devel
2017-08-11 11:23:52 +02:00
%endif
%if %{with firebird}
BuildRequires : pkgconfig(fbclient)
%endif
2016-03-02 13:56:15 +01:00
%if %{with kdeintegration}
2018-06-07 11:02:40 +02:00
BuildRequires : libqt5-qtbase-common-devel
BuildRequires : cmake(KF5Config)
BuildRequires : cmake(KF5CoreAddons)
BuildRequires : cmake(KF5I18n)
BuildRequires : cmake(KF5KIO)
BuildRequires : cmake(KF5WindowSystem)
BuildRequires : pkgconfig(Qt5Core)
BuildRequires : pkgconfig(Qt5Gui)
BuildRequires : pkgconfig(Qt5Network)
BuildRequires : pkgconfig(Qt5Widgets)
BuildRequires : pkgconfig(Qt5X11Extras)
2020-06-18 15:01:34 +02:00
BuildRequires : pkgconfig(xcb-icccm)
2015-04-15 14:44:39 +02:00
%else
2016-06-02 11:02:44 +02:00
Provides : %{name} -kde4 = %{version}
Obsoletes : %{name} -kde4 < %{version}
2017-11-29 13:24:57 +01:00
Provides : %{name} -qt5 = %{version}
Obsoletes : %{name} -qt5 < %{version}
2014-01-02 11:24:51 +01:00
%endif
2010-10-21 01:05:15 +02:00
%description
2010-12-05 22:38:34 +01:00
LibreOffice is a comprehensive office package featuring a word
2010-10-21 01:05:15 +02:00
processor, a spreadsheet, a presentation program, and much more. This
package provides only the basic framework. You have to install the
additional modules to get the required functionality, see packages:
- libreoffice-base
- libreoffice-calc
- libreoffice-draw
- libreoffice-impress
- libreoffice-math
- libreoffice-writer
Some optional features are provided by extra packages, for example:
- libreoffice-mailmerge
- libreoffice-filters
2017-11-29 13:24:57 +01:00
- libreoffice-qt5
2010-10-21 01:05:15 +02:00
- libreoffice-gnome
2014-02-12 14:37:15 +01:00
Non-English localizations are provided by extra packages as well, for
2010-10-21 01:05:15 +02:00
example:
2014-01-02 11:24:51 +01:00
- libreoffice-l10n-de
- libreoffice-l10n-fr
- libreoffice-l10n-it
2014-01-04 14:57:12 +01:00
%package branding-upstream
Summary : Original Branding for LibreOffice
Group : Productivity/Office/Suite
2018-04-11 09:49:24 +02:00
Supplements: libreoffice
2017-12-06 15:35:20 +01:00
Conflicts : libreoffice-branding
2015-05-06 17:26:45 +02:00
Provides : libreoffice-branding = %{version}
2015-08-04 12:57:38 +02:00
Provides : libreoffice-branding-openSUSE = 4.0.1
Obsoletes : libreoffice-branding-openSUSE < 4.0.1
2018-04-11 09:49:24 +02:00
Provides : libreoffice-branding-SLE = 4.0.1
Obsoletes : libreoffice-branding-SLE < 4.0.1
2015-04-15 13:56:56 +02:00
BuildArch : noarch
2014-01-04 14:57:12 +01:00
%description branding-upstream
This package includes the original branding for the LibreOffice office suite.
2017-12-04 17:08:15 +01:00
%package icon-themes
Summary : LibreOffice Icon Themes
2014-01-02 11:24:51 +01:00
Group : Productivity/Office/Suite
2015-05-20 10:48:27 +02:00
Requires(post) : %{name} -share-linker
2021-04-21 12:13:34 +02:00
Requires(postun) : %{name} -share-linker
2015-05-06 17:26:45 +02:00
Supplements: libreoffice
2017-12-04 17:08:15 +01:00
Provides : %{name} -icon-theme-breeze = %{version}
Obsoletes : %{name} -icon-theme-breeze < %{version}
Provides : %{name} -icon-theme-galaxy = %{version}
Obsoletes : %{name} -icon-theme-galaxy < %{version}
Provides : %{name} -icon-theme-hicontrast = %{version}
Obsoletes : %{name} -icon-theme-hicontrast < %{version}
Provides : %{name} -icon-theme-sifr = %{version}
Obsoletes : %{name} -icon-theme-sifr < %{version}
Provides : %{name} -icon-theme-tango = %{version}
Obsoletes : %{name} -icon-theme-tango < %{version}
2014-01-02 11:24:51 +01:00
BuildArch : noarch
2017-12-04 17:08:15 +01:00
%description icon-themes
This package provides all of the LibreOffice icon themes.
2010-10-21 01:05:15 +02:00
2016-04-01 12:31:16 +02:00
%package glade
Summary : Support for creating LibreOffice dialogs in glade
2016-04-27 13:29:21 +02:00
Group : Productivity/Office/Suite
2016-04-01 12:31:16 +02:00
Requires : %{name} = %{version}
2016-04-01 12:40:46 +02:00
BuildArch : noarch
2016-04-01 12:31:16 +02:00
%description glade
%{name} -glade contains a catalog of LibreOffice-specific widgets for
glade and ui-previewer tool to check the visual appearance of dialogs.
2016-04-01 12:40:46 +02:00
%package gdb-pretty-printers
Summary : Additional support for debugging with gdb
Group : Productivity/Office/Suite
Requires : gdb
Requires : libreoffice = %{version}
2016-06-02 11:02:44 +02:00
Requires : python3-six
2016-04-01 12:40:46 +02:00
Supplements: libreoffice-debuginfo = %{version}
BuildArch : noarch
%description gdb-pretty-printers
This package provides gdb pretty printers for package %{name} .
2011-09-07 17:41:42 +02:00
%package base
Summary : LibreOffice Base
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
2015-04-08 14:27:13 +02:00
Requires : pentaho-reporting-flow-engine
2014-01-02 11:24:51 +01:00
Supplements: %{name}
2019-08-08 10:30:51 +02:00
Obsoletes : %{name} -base-drivers-mysql
2019-03-08 10:24:57 +01:00
# default database connector
%if %{with firebird}
Requires : %{name} -base-drivers-firebird
2019-05-24 09:24:16 +02:00
%else
%ifarch %{ix86}
2021-05-14 10:34:42 +02:00
Requires : jre-32 >= 1.8
2019-05-24 09:24:16 +02:00
%endif
%ifarch x86_64 aarch64
2021-05-14 10:34:42 +02:00
Requires : jre-64 >= 1.8
2019-05-24 09:24:16 +02:00
%endif
2016-06-02 11:02:44 +02:00
%endif
2011-09-07 17:41:42 +02:00
%description base
This module allows you to manage databases, create queries and reports
to track and manage your information by using LibreOffice office
suite.
%package calc
Summary : LibreOffice Calc
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description calc
This module allows you to perform calculation, analyze information and
manage lists in spreadsheets by using LibreOffice office suite.
%package draw
Summary : LibreOffice Draw
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description draw
This module allows you to create and edit drawings, flow charts, and
logos by using LibreOffice office suite.
%package math
Summary : LibreOffice Math
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
%description math
2011-09-07 17:41:42 +02:00
This module allows you to create and edit scientific formulas and
equations by using LibreOffice office suite.
%package impress
Summary : LibreOffice Impress
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description impress
This module allows you to create and edit presentations for slideshows,
meeting and Web pages by using LibreOffice office suite.
%package writer
Summary : LibreOffice Writer and Web
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description writer
This module allows you to create and edit text and graphics in letters,
reports, documents and Web pages by using LibreOffice office suite.
%package base-drivers-postgresql
Summary : PostgreSQL Database Driver for LibreOffice
Group : Productivity/Office/Suite
Requires : postgresql
%description base-drivers-postgresql
2016-10-31 12:50:26 +01:00
This package allows to access PostgreSQL databases from LibreOffice Base.
%package base-drivers-firebird
Summary : Firebird Database Driver for LibreOffice
Group : Productivity/Office/Suite
Requires : firebird
%description base-drivers-firebird
This package allows to access Firebird databeses from LibreOffice Base.
2011-09-07 17:41:42 +02:00
%package filters-optional
Summary : Additional Import and Export Filters for LibreOffice
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} -calc = %{version}
Requires : %{name} -draw = %{version}
Requires : %{name} -impress = %{version}
Requires : %{name} -math = %{version}
Requires : %{name} -writer = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description filters-optional
This package includes some additional import and export filters for
LibreOffice:
- AportisDoc (Palm)
- Pocket Excel
- Pocket Word
- DocBook
- XHTML
%package mailmerge
Summary : Mail Merge Functionality for LibreOffice
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} -pyuno = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description mailmerge
This module allows you to create form letters or send E-mail messages
to many recipients using LibreOffice office suite.
%package pyuno
Summary : Python UNO Bridge for LibreOffice
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
Supplements: %{name}
2011-09-07 17:41:42 +02:00
%description pyuno
The Python-UNO bridge allows to use the standard LibreOffice API
from the well known Python scripting language. It can be used to
develop UNO components in python, thus python UNO components may be run
within the LibreOffice process and can be called from Java, C++ or
the built in StarBasic scripting language. You can create and invoke
scripts with the office scripting framework (OOo 2.0 and later) with
it. For example, it is used for the mail merge functionality.
You can find the more information at
http://udk.openoffice.org/python/python-bridge.html
2019-08-08 10:30:51 +02:00
%package librelogo
Summary : LibreLogo scripting language
Group : Productivity/Office/Suite
Requires : %{name} -pyuno = %{version}
Requires : %{name} -writer = %{version}
%description librelogo
Enables LibreLogo scripting in Writer. LibreLogo is a Logo-like
programming language with interactive vectorgraphics for education and
DTP.
2011-09-07 17:41:42 +02:00
%package gnome
Summary : GNOME Extensions for LibreOffice
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
2011-09-07 17:41:42 +02:00
%description gnome
2016-05-04 14:08:09 +02:00
This package contains some GNOME extensions and GTK2 interface for LibreOffice.
%package gtk3
Summary : Gtk3 interface for LibreOffice
Group : Productivity/Office/Suite
Requires : %{name} -gnome = %{version}
2019-08-16 13:44:19 +02:00
Supplements: packageand(libreoffice:gnome-session)
Supplements: packageand(libreoffice:mate-session-manager)
Supplements: packageand(libreoffice:xfce4-session)
%if !%{with kdeintegration}
Supplements: packageand(libreoffice:plasma5-workspace)
%endif
2016-05-04 14:08:09 +02:00
%description gtk3
This package contains Gtk3 interface rendering option for LibreOffice.
2011-09-07 17:41:42 +02:00
2017-11-29 13:24:57 +01:00
%package qt5
2018-06-08 16:22:57 +02:00
Summary : Qt5/KDE Frameworks interface for LibreOffice
2011-09-07 17:41:42 +02:00
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
2019-08-16 13:54:14 +02:00
Supplements: packageand(libreoffice:plasma5-workspace)
2018-06-08 16:22:57 +02:00
Provides : %{name} -kde4 = %{version}
Obsoletes : %{name} -kde4 < %{version}
2011-09-07 17:41:42 +02:00
2017-11-29 13:24:57 +01:00
%description qt5
2018-06-08 16:22:57 +02:00
This package contains Qt5/KDE Frameworks interface rendering options for LibreOffice.
2011-09-07 17:41:42 +02:00
%package sdk
Summary : LibreOffice SDK
Group : Documentation/HTML
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
2012-03-16 13:17:00 +01:00
Requires : gcc-c++
Requires : make
2016-06-02 11:02:44 +02:00
Requires : ucpp
2012-03-16 13:17:00 +01:00
Requires : zip
2020-06-18 15:01:34 +02:00
Recommends: java-devel >= 9.0
2015-05-06 17:26:45 +02:00
Provides : libreoffice-ure-devel = %{version}
Obsoletes : libreoffice-ure-devel < %{version}
2011-09-07 17:41:42 +02:00
%description sdk
This package contains the files needed to build plugins/add-ons for
LibreOffice. It includes header files, IDL files, needed build
tools, etc.
2013-07-16 18:32:06 +02:00
The documentation is in the package libreoffice-sdk-doc
2011-09-07 17:41:42 +02:00
%package sdk-doc
Summary : LibreOffice SDK Documentation
Group : Development/Libraries/Other
2014-01-02 11:24:51 +01:00
Suggests : %{name} -sdk = %{version}
Enhances: %{name} -sdk = %{version}
2015-05-06 17:26:45 +02:00
Provides : libreoffice-ure-devel-doc = %{version}
Obsoletes : libreoffice-ure-devel-doc < %{version}
2011-09-07 17:41:42 +02:00
%description sdk-doc
This package includes documentation and examples for the LibreOffice
Software Development Kit (SDK).
%package officebean
Summary : OfficeBean Java Bean component for LibreOffice
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : %{name} = %{version}
2018-04-04 11:09:53 +02:00
%ifarch %{ix86}
2021-05-14 10:34:42 +02:00
Requires : jre-32 >= 1.8
2016-06-02 11:02:44 +02:00
%endif
2019-10-03 09:06:45 +02:00
%ifarch x86_64 aarch64 ppc64le
2021-05-14 10:34:42 +02:00
Requires : jre-64 >= 1.8
2016-06-02 11:02:44 +02:00
%endif
2011-09-07 17:41:42 +02:00
%description officebean
With the OfficeBean, a developer can easily write Java applications,
harnessing the power of LibreOffice. It encapsulates a connection to
a locally running LibreOffice process, and hides the complexity of
establishing and maintaining that connection from the developer.
It also allows embedding of LibreOffice documents within the Java
environment. It provides an interface the developer can use to obtain
Java AWT windows into which the backend LibreOffice process draws
its visual representation. These windows are then plugged into the UI
hierarchy of the hosting Java application. The embedded document is
controlled from the Java environment, since the OfficeBean allows
developers to access the complete LibreOffice API from their Java
environment giving them full control over the embedded document, its
appearance and behavior.
%package calc-extensions
Summary : LibreOffice Calc Extensions
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : libreoffice-calc = %{version}
2011-09-07 17:41:42 +02:00
# pyuno is needed for the numbertext extension
2014-01-02 11:24:51 +01:00
Requires : libreoffice-pyuno = %{version}
Requires(pre) : libreoffice = %{version}
2011-09-07 17:41:42 +02:00
# the watchWindow extension is written in java
2018-04-04 11:09:53 +02:00
%ifarch %{ix86}
2021-05-14 10:34:42 +02:00
Requires : jre-32 >= 1.8
2011-09-07 17:41:42 +02:00
%endif
2019-10-03 09:06:45 +02:00
%ifarch x86_64 aarch64 ppc64le
2021-05-14 10:34:42 +02:00
Requires : jre-64 >= 1.8
2011-09-07 17:41:42 +02:00
%endif
%description calc-extensions
This package provides extensions for LibreOffice Calc:
- Convert Text to Number
- New Functions NUMBERTEXT and MONEYTEXT
- Solver for Nonlinear Programming
%package writer-extensions
Summary : LibreOffice Writer Extensions
Group : Productivity/Office/Suite
2014-01-02 11:24:51 +01:00
Requires : libreoffice-writer = %{version}
Requires(pre) : libreoffice = %{version}
2011-09-07 17:41:42 +02:00
# the wiki extension is written in java
2018-04-04 11:09:53 +02:00
%ifarch %{ix86}
2021-05-14 10:34:42 +02:00
Requires : jre-32 >= 1.8
2011-09-07 17:41:42 +02:00
%endif
2019-10-03 09:06:45 +02:00
%ifarch x86_64 aarch64 ppc64le
2021-05-14 10:34:42 +02:00
Requires : jre-64 >= 1.8
2011-09-07 17:41:42 +02:00
%endif
%description writer-extensions
This package provides extensions for LibreOffice Writer:
- MediaWiki Publisher
2016-02-21 10:51:20 +01:00
%package -n libreofficekit
Summary : A library providing access to LibreOffice functionality
Group : Productivity/Office/Suite
Requires : %{name} = %{version}
%description -n libreofficekit
LibreOfficeKit can be used to access LibreOffice functionality
through C/C++, without any need to use UNO.
%package -n libreofficekit-devel
Summary : Development files for libreofficekit
Group : Productivity/Office/Suite
Requires : libreofficekit = %{version}
%description -n libreofficekit-devel
The libreofficekit-devel package contains libraries and header files for
developing applications that use libreofficekit.
2014-05-05 15:52:23 +02:00
# Symlink autocorr files for various conversion items
%define make_autocorr_aliases(l:) \
%{?-l: \
for lang in %{*}; do \
ln -sf acor_%{-l*}.dat %{buildroot} %{_libdir} /%{name} /share/autocorr/acor_$lang.dat \
done \
} \
%{!?-l:%{error:-l must be present}}
2014-01-31 14:44:47 +01:00
# Symlinking macro for /usr/lib64 and /usr/share packing
# As argument takes name of the package
%define _link_noarch_files() \
%posttrans %{1} \
rpm -ql %{name} -%{1} > %{_datadir} /libreoffice/%{1}_list.txt || true \
if [ -f %{_datadir} /libreoffice/%{1}_list.txt ] ; then \
2015-05-20 10:48:27 +02:00
%{_bindir} /libreoffice-share-linker %{_datadir} /libreoffice/%{1}_list.txt || true \
2014-01-31 14:44:47 +01:00
fi \
\
%postun %{1} \
2015-06-03 14:09:23 +02:00
if [ " $ 1 " = " 0 " -a -f %{_datadir} /libreoffice/%{1}_list.txt -a -x %{_bindir} /libreoffice-share-linker ]; then \
2015-05-20 10:48:27 +02:00
%{_bindir} /libreoffice-share-linker --unlink %{_datadir} /libreoffice/%{1}_list.txt || true \
2014-01-31 14:44:47 +01:00
rm -f %{_datadir} /libreoffice/%{1}_list.txt 2> /dev/null || true \
fi \
%{nil}
2014-01-02 11:24:51 +01:00
# Crazy magic for the auto help/lang generating.
# Inspired and adjusted from Fedora spec.
2017-12-04 17:08:15 +01:00
%define _langpack_common(g:l:j:) \
%if "%{-l*}" != "en-US" \
%dir %{_datadir} /libreoffice/program/resource \
%dir %{_datadir} /libreoffice/program/resource/%{-g:%{-g*}}%{!-g:%{-l*}} \
%dir %{_datadir} /libreoffice/program/resource/%{-g:%{-g*}}%{!-g:%{-l*}}/LC_MESSAGES \
%{_datadir} /%{name} /program/resource/%{-g:%{-g*}}%{!-g:%{-l*}}/LC_MESSAGES/*.mo \
2014-01-06 20:00:59 +01:00
%endif \
2014-01-22 16:48:10 +01:00
%dir %{_datadir} /%{name} /share/registry \
%dir %{_datadir} /%{name} /share/registry/res \
2017-12-04 17:08:15 +01:00
%{_datadir} /%{name} /share/registry/Langpack-%{-l*}.xcd \
%if "%{-l*}" != "en-US" \
%{_datadir} /%{name} /share/registry/res/registry_%{-l*}.xcd \
2014-01-06 20:00:59 +01:00
%endif \
2017-12-04 17:08:15 +01:00
%{_datadir} /%{name} /share/registry/res/fcfg_langpack_%{-l*}.xcd \
2017-12-05 10:43:00 +01:00
%dir %{_datadir} /%{name} /share/wizards \
2017-12-04 17:08:15 +01:00
%{_datadir} /%{name} /share/wizards/resources_%{-j:%{-j*}}%{!-j:%{-l*}}.properties \
2014-01-02 11:24:51 +01:00
%{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 obsolete openoffice.org-langpack package,
# * 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.
#
# c: additional config file (just the name stem)
# E the package does not contain any files (i.e., has empty filelist)
# i: additional language added to this package
# L: internal (LibreOffice) language code, used in file names
# l: language code, e.g., cs
2017-12-04 17:08:15 +01:00
# g: glibc/java locale
2018-06-20 12:52:51 +02:00
# j: java locale
# k: glibc locale for the additional language -i
# o: java locale for the additional language -i
2014-04-25 13:43:03 +02:00
# Mm: myspell dependency
2014-01-02 11:24:51 +01:00
# n: language name, e.g., Czech
# p: Provides: of libreoffice-l10n
2016-01-21 15:01:12 +01:00
# q: Provides: of libreoffice-l10n if one provide is not enough
2014-01-02 11:24:51 +01:00
# 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)
2018-04-11 09:49:24 +02:00
# T has help files
2014-01-02 11:24:51 +01:00
# Xx: has autotext definitions
#
# Example:
2014-04-25 13:43:03 +02:00
# libreoffice-l10n-cs: langpack for Czech lang. Requiring myspell-cs_CZ:
# %%langpack -l cs -n Czech -m cs_CZ
2018-06-20 12:57:56 +02:00
%define langpack(c:Ei:g:j:k:L:l:Mm:n:o:p:q:r:S:s:TXx:) \
2014-01-02 11:24:51 +01:00
%define project LibreOffice \
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
%define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \
%define pkgname l10n-%{lang} \
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
\
%package %{pkgname} \
2018-08-07 15:04:25 +02:00
Summary : %{langname} localization files for %{project} \
2014-01-02 11:24:51 +01:00
Group : Productivity/Office/Suite \
Requires : %{name} = %{version} \
2015-05-20 10:48:27 +02:00
Requires : %{name} -share-linker \
2015-05-20 10:51:35 +02:00
Provides : locale(libreoffice:%{lang} ) \
2014-01-02 11:24:51 +01:00
BuildArch : noarch \
2014-04-25 13:43:03 +02:00
%{-m:Requires: myspell-%{-m*}}%{!-m:%{-M:Requires: myspell-%{lang} }} \
2014-01-02 11:24:51 +01:00
%{-r:Requires: %{-r*}} \
2016-01-21 16:25:37 +01:00
%{-p: \
Provides : %{name} -l10n-%{-p*} = %{version} \
Obsoletes : %{name} -l10n-%{-p*} < %{version} \
} \
%{-q: \
Provides : %{name} -l10n-%{-q*} = %{version} \
Obsoletes : %{name} -l10n-%{-q*} < %{version} \
} \
2015-04-15 14:44:39 +02:00
Provides : %{name} -help-%{lang} = %{version} \
Obsoletes : %{name} -help-%{lang} < %{version} \
2014-07-29 17:07:59 +02:00
%{-L: \
2015-04-15 14:44:39 +02:00
Provides : %{name} -help-%{-L*} = %{version} \
Obsoletes : %{name} -help-%{-L*} < %{version} \
2014-07-29 17:07:59 +02:00
} \
%{-p: \
2015-04-15 14:44:39 +02:00
Provides : %{name} -help-%{-p*} = %{version} \
Obsoletes : %{name} -help-%{-p*} < %{version} \
2014-07-29 17:07:59 +02:00
} \
2016-01-21 15:01:12 +01:00
%{-q: \
Provides : %{name} -help-%{-q*} = %{version} \
Obsoletes : %{name} -help-%{-q*} < %{version} \
} \
2014-01-02 11:24:51 +01:00
\
%description %{pkgname} \
2018-08-07 15:04:25 +02:00
Provides %{langname} translations and additional resources (help files, etc.) for %{project} . \
2014-01-02 11:24:51 +01:00
\
%files %{pkgname} \
2018-04-11 09:49:24 +02:00
%{-T: \
%dir %{_datadir} /libreoffice/help/%{_langpack_lang} \
2018-06-19 12:37:31 +02:00
%{_datadir} /libreoffice/help/%{_langpack_lang}/* \
2019-01-23 14:54:06 +01:00
%if "%{-L*}" == "en-US" \
%{_datadir} /libreoffice/help/*.js \
%{_datadir} /libreoffice/help/*.css \
%{_datadir} /libreoffice/help/*.html \
%{_datadir} /libreoffice/help/media* \
%endif \
2018-06-19 12:37:31 +02:00
} \
2014-01-02 11:24:51 +01:00
%{!-E: \
%define autotextdir %{_datadir}/%{name}/share/autotext \
2014-01-25 10:29:34 +01:00
%dir %{autotextdir} \
2018-06-19 16:40:39 +02:00
%{expand:%%_langpack_common -l %{_langpack_lang} %{-g:-g %{-g*}} %{-j:-j %{-j*}}} \
2014-01-02 11:24:51 +01:00
%{-x:%{autotextdir} /%{-x*}}%{!-x:%{-X:%{autotextdir} /%{_langpack_lang}}} \
%{-c:%{_datadir} /%{name} /share/registry/%{-c*}.xcd} \
%{-s:%{_datadir} /%{name} /share/registry/%{-s*}_%{_langpack_lang}.xcd} \
2018-06-20 12:52:51 +02:00
%{-i:%{expand:%%_langpack_common -l %{-i*} %{-k:-g %{-k*}} %{-o:-j %{-o*}}}} \
2014-01-02 11:24:51 +01:00
} \
2014-01-27 21:35:55 +01:00
\
2014-01-31 14:44:47 +01:00
%{expand:%%_link_noarch_files %{pkgname} } \
2014-01-02 11:24:51 +01:00
%{nil}
2020-01-02 14:15:04 +01:00
%langpack -l af -n Afrikaans -m af_ZA -X
%langpack -l am -n Amharic -T -X
%langpack -l ar -n Arabic -s ctl -m ar -T -X
%langpack -l as -n Assamese -X
%langpack -l ast -n Asturian -T -X
%langpack -l be -n Belarusian -m be_BY -X
2018-04-11 09:49:24 +02:00
%langpack -l bg -n Bulgarian -X -m bg_BG -T
2020-01-02 14:15:04 +01:00
%langpack -l bn -n Bengali -m bn_BD -T -X
%langpack -l bn_IN -n Bengali_India -T -p bn-IN -m bn_IN -L bn-IN -g bn_IN -j bn_IN -X
%langpack -l bo -n Tibetian -T -s ctl -m bo -X
%langpack -l br -n Breton -m br_FR -X
%langpack -l brx -n Bodo -X
%langpack -l bs -n Bosnian -T -X
2018-04-11 09:49:24 +02:00
%langpack -l ca -n Catalan -M -X -T
2020-01-02 14:15:04 +01:00
%langpack -l ca_valencia -n Valencian -m ca_ES_valencia -T -L ca-valencia -g ca@valencia -j ca_valencia -X
2020-07-07 09:37:24 +02:00
%langpack -l ckb -n Central_Kurdish
2018-04-11 09:49:24 +02:00
%langpack -l cs -n Czech -X -m cs_CZ -T
2020-01-02 14:15:04 +01:00
%langpack -l cy -n Welsh -X
2018-04-11 09:49:24 +02:00
%langpack -l da -n Danish -X -m da_DK -T
%langpack -l de -n German -X -M -T
2020-01-02 14:15:04 +01:00
%langpack -l dgo -n Dogri -X
%langpack -l dsb -n Lower_Sorbian -X
%langpack -l dz -n Dzongkha -s ctl -T -X
%langpack -l el -n Greek -m el_GR -T -X
2018-06-19 22:45:14 +02:00
%langpack -l en -n English -L en-US -X -M -g en_US -T -j en_US
%langpack -l en_GB -n English_GB -M -T -X -L en-GB -g en_GB -j en_GB
%langpack -l en_ZA -n English_ZA -M -T -X -L en-ZA -g en_ZA -j en_ZA
2020-01-02 14:15:04 +01:00
%langpack -l eo -n Esperanto -T -X
2018-04-11 09:49:24 +02:00
%langpack -l es -n Spanish -M -X -T
2020-01-02 14:15:04 +01:00
%langpack -l et -n Estonian -m et_EE -T -X
%langpack -l eu -n Basque -T -X
2014-06-20 21:04:10 +02:00
%langpack -l fa -n Farsi -s ctl -X
2018-04-11 09:49:24 +02:00
%langpack -l fi -n Finnish -r libreoffice-voikko -X -T
%langpack -l fr -n French -X -m fr_FR -T
2020-06-19 10:57:46 +02:00
%langpack -l fur -n Friulian
2020-01-02 14:15:04 +01:00
%langpack -l fy -n Frisian -X
%langpack -l ga -n Irish -X
%langpack -l gd -n Gaelic -m gd_GB -X
%langpack -l gl -n Galician -M -T -X
%langpack -l gu -n Gujarati -s ctl -p gu-IN -m gu_IN -T -X
%langpack -l gug -n Paraguayan_Guaraní -M -X
%langpack -l he -n Hebrew -s ctl -m he_IL -T -X
%langpack -l hi -n Hindi -s ctl -p hi-IN -m hi_IN -T -X
2018-04-11 09:49:24 +02:00
%langpack -l hr -n Croatian -m hr_HR -X -T
2020-01-02 14:15:04 +01:00
%langpack -l hsb -n Upper_Sorbian -X
2018-04-11 09:49:24 +02:00
%langpack -l hu -n Hungarian -X -m hu_HU -T
%langpack -l it -n Italian -X -m it_IT -T
2020-01-02 14:15:04 +01:00
%langpack -l id -n Indonesian -T -M -X
2018-06-18 09:44:53 +02:00
%langpack -l is -n Icelandic -T -X -M
2018-04-11 09:49:24 +02:00
%langpack -l ja -n Japanese -s cjk -X -T
2020-01-02 14:15:04 +01:00
%langpack -l ka -n Georgian -T -X
%langpack -l kab -n Kabyle -X
%langpack -l kk -n Kazakh -X
2020-01-02 14:37:20 +01:00
%langpack -l kn -n Kannada -X
2018-06-20 12:52:51 +02:00
%langpack -l km -n Khmer -T -X -s ctl -c ctlseqcheck_km
2020-01-02 14:15:04 +01:00
%langpack -l kmr_Latn -n Kurdish -M -g kmr@latin -L kmr-Latn -j kmr_Latn -X
2018-04-11 09:49:24 +02:00
%langpack -l ko -n Korean -s cjk -X -T
2020-01-02 14:15:04 +01:00
%langpack -l kok -n Konkani -X
%langpack -l ks -n Kashmiri -X
%langpack -l lb -n Luxembourgish -X
%langpack -l lo -n Lao -T -s ctl -m lo_LA -c ctlseqcheck_lo -X
2018-04-11 09:49:24 +02:00
%langpack -l lt -n Lithuanian -m lt_LT -X -T
2020-01-02 14:15:04 +01:00
%langpack -l lv -n Latvian -m lv_LV -T -X
%langpack -l mai -n Maithili -X
%langpack -l mk -n Macedonian -T -X
%langpack -l ml -n Malayalam -X
2018-06-18 09:34:08 +02:00
%langpack -l mn -n Monglolian -X
2020-01-02 14:15:04 +01:00
%langpack -l mni -n Manipuri -X
%langpack -l mr -n Marathi -X
%langpack -l my -n Burnese -s ctl -X
%langpack -l nb -n Bokmal -M -m no -T -X
%langpack -l ne -n Nepali -T -s ctl -m ne_NP -X
2018-04-11 09:49:24 +02:00
%langpack -l nl -n Dutch -X -m nl_NL -T
2020-01-02 14:15:04 +01:00
%langpack -l nn -n Nynorsk -m nn_NO -T -X
%langpack -l nr -n Southern_Ndebele -X
%langpack -l nso -n Northern_Sotho -X
%langpack -l oc -n Occitan -m oc_FR -X
%langpack -l om -n Oromo -T -X
%langpack -l or -n Odia -s ctl -X
%langpack -l pa -n Punjabi -s ctl -L pa-IN -p pa-IN -g pa_IN -j pa_IN -x pa-IN
2018-04-11 09:49:24 +02:00
%langpack -l pl -n Polish -X -m pl_PL -T
%langpack -l pt_BR -n Brazilian_Portuguese -m pt_BR -L pt-BR -p pt-BR -X -g pt_BR -j pt_BR -T
%langpack -l pt_PT -n Portuguese -m pt_PT -L pt -x pt -p pt -q pt-PT -T
%langpack -l ro -n Romanian -M -X -T
%langpack -l ru -n Russian -X -m ru_RU -T
2020-01-02 14:15:04 +01:00
%langpack -l rw -n Kinyarwanda -X
%langpack -l sa_IN -n Sanskrit -L sa-IN -g sa_IN -j sa_IN -x sa-IN
%langpack -l sat -n Santali -X
%langpack -l sd -n Sindhi -X
%langpack -l si -n Sinhalese -S ctl -m si_LK -T -X
%langpack -l sid -n Sidamo -T -X
2018-04-11 09:49:24 +02:00
%langpack -l sk -n Slovak -X -m sk_SK -T
%langpack -l sl -n Slovenian -X -m sl_SI -T
2020-01-02 14:15:04 +01:00
%langpack -l sq -n Albanian -T -m sq_AL -X
%langpack -l sr -n Serbian -i sr-Latn -M -j sr -g sr -k sr@latin -o sr_Latn -x sr-Latn
%langpack -l ss -n Swati -X
%langpack -l st -n Southern_Sotho -X
2018-04-11 09:49:24 +02:00
%langpack -l sv -n Swedish -X -m sv_SE -T
2020-01-02 14:15:04 +01:00
%langpack -l sw_TZ -n Swahili -M -L sw-TZ -g sw_TZ -j sw_TZ -x sw-TZ
%langpack -l szl -n Silesian -X
%langpack -l ta -n Tamil -s ctl -T -X
%langpack -l te -n Telugu -m te_IN -X
%langpack -l tg -n Tajik -T -X
%langpack -l th -n Thai -s ctl -c ctlseqcheck_th -m th_TH -X
%langpack -l tn -n Tswana -X
2018-10-25 16:17:57 +02:00
%langpack -l tr -n Turkish -X -T -m tr_TR
2020-01-02 14:15:04 +01:00
%langpack -l ts -n Tsonga -X
%langpack -l tt -n Tatar -X
%langpack -l ug -n Uyghur -T -X
%langpack -l uk -n Ukrainian -m uk_UA -T -X
%langpack -l uz -n Uzbek -X
2018-06-18 09:44:53 +02:00
%langpack -l vi -n Vietnamese -T -X -M
2020-01-02 14:15:04 +01:00
%langpack -l ve -n Venda -X
%langpack -l vec -n Venetian -X
%langpack -l xh -n Xhosa -X
2018-04-11 09:49:24 +02:00
%langpack -l zh_CN -n Simplified_Chinese -p zh-CN -s cjk -L zh-CN -x zh-CN -q zh-Hans -g zh_CN -j zh_CN -T
%langpack -l zh_TW -n Traditional_Chinese -p zh-TW -s cjk -L zh-TW -x zh-TW -q zh-Hant -g zh_TW -j zh_TW -T
2020-01-02 14:15:04 +01:00
%langpack -l zu -n Zulu -m zu_ZA -X
2010-10-21 01:05:15 +02:00
%prep
2018-04-10 13:01:15 +02:00
%setup -q -b2 -b4
2019-03-04 12:06:59 +01:00
%if 0%{?suse_version} < 1500
2018-02-17 14:30:07 +01:00
# The rename of the configdir is needed only on older than factory for compat
2016-11-21 09:14:58 +01:00
%patch1
2018-02-17 14:30:07 +01:00
%endif # Leap 42/SLE-12
2018-02-13 12:29:58 +01:00
%patch2
%patch3
2020-10-14 11:16:28 +02:00
%patch4 -p1
2021-04-01 15:01:06 +02:00
%patch5 -p1
2021-04-09 10:20:42 +02:00
%if 0%{?suse_version} < 1500
%patch101 -p1
%endif
2013-07-30 18:39:30 +02:00
%patch990 -p1
2019-02-25 13:56:57 +01:00
%patch991 -p1
2015-04-16 14:24:06 +02:00
2017-11-16 13:53:27 +01:00
# Disable some of the failing tests (some are random)
%if 0%{?suse_version} < 1330
sed -i -e '/CppunitTest_desktop_lib/d' desktop/Module_desktop.mk
%endif
2018-01-17 20:29:30 +01:00
# Following two tests are really flaky
sed -i -e /CppunitTest_dbaccess_hsqldb_test/d dbaccess/Module_dbaccess.mk
sed -i -e s/CppunitTest_dbaccess_RowSetClones// dbaccess/Module_dbaccess.mk
2018-02-02 12:19:09 +01:00
# Fails due to diff caused by fonts
2018-02-02 13:08:47 +01:00
sed -i -e /CppunitTest_sw_rtfimport/d sw/Module_sw.mk
# only due to the above
sed -i -e /CppunitTest_sw_uiwriter/d sw/Module_sw.mk
2018-02-02 13:32:07 +01:00
# The gpg files are not loaded properly
sed -i -e /CPPUNIT_TEST\(testODFEncryptedGPG\)/d xmlsecurity/qa/unit/signing/signing.cxx
2019-07-25 09:42:44 +02:00
# breaks on LTO https://bugs.documentfoundation.org/show_bug.cgi?id=126442
sed -i -e /CppunitTest_sw_apitests/d sw/Module_sw.mk
2019-10-03 09:06:45 +02:00
# Disable failing tests on ppc64le for now
%ifarch ppc64le
sed -i -e /CppunitTest_sc_addin_functions_test/d sc/Module_sc.mk
sed -i -e /CppunitTest_sc_array_functions_test/d sc/Module_sc.mk
sed -i -e /CppunitTest_sc_dataprovider/d sc/Module_sc.mk # https://bugs.documentfoundation.org/show_bug.cgi?id=127099
sed -i -e /CppunitTest_sc_financial_functions_test/d sc/Module_sc.mk # https://bugs.documentfoundation.org/show_bug.cgi?id=127083
sed -i -e /CppunitTest_sc_statistical_functions_test/d sc/Module_sc.mk
%endif
2017-11-16 13:53:27 +01:00
2014-10-01 14:25:02 +02:00
# Do not generate doxygen timestamp
echo " H T M L _ T I M E S T A M P = N O " >> odk/docs/cpp/Doxyfile
echo " H T M L _ T I M E S T A M P = N O " >> odk/docs/idl/Doxyfile
2014-01-02 11:24:51 +01:00
%build
2019-05-15 17:48:41 +02:00
# Strip lto from %_lto_cflags as the project has --enable-lto option
%define _lto_cflags %{nil}
2014-01-02 11:24:51 +01:00
# do not eat all memory
2017-08-24 09:46:40 +02:00
# make sure that JAVA_HOME is set correctly
2014-01-07 16:24:37 +01:00
source %{_sysconfdir} /profile.d/alljava.sh
2014-01-02 11:24:51 +01:00
# use RPM_OPT_FLAGS, ...
2016-06-02 11:02:44 +02:00
# remove big debugsymbols as we simply consume too much space
2018-04-17 11:27:24 +02:00
%if %{with lto}
2018-04-12 09:58:10 +02:00
ARCH_FLAGS=" ` e c h o %{optflags} - f l i f e t i m e - d s e = 1 | s e d - e ' s / ^ - g / - g 1 / g ' - e ' s / - g / - g 1 / g ' - e ' s / - g $ / - g 1 / g ' ` "
2018-04-17 11:27:24 +02:00
%else
ARCH_FLAGS=" ` e c h o %{optflags} | s e d - e ' s / ^ - g / - g 1 / g ' - e ' s / - g / - g 1 / g ' - e ' s / - g $ / - g 1 / g ' ` "
%endif
CFLAGS=" $ A R C H _ F L A G S "
CXXFLAGS=" $ A R C H _ F L A G S "
2014-01-02 11:24:51 +01:00
export ARCH_FLAGS CFLAGS CXXFLAGS
2010-10-21 01:05:15 +02:00
2019-03-04 12:06:59 +01:00
%if 0%{?suse_version} < 1500
export CC=gcc-7
export CXX=g++-7
%endif
2019-05-06 10:54:44 +02:00
# Fake the epoch stuff in generated zip files
2019-08-08 10:30:51 +02:00
export SOURCE_DATE_EPOCH=$(date -d " $ ( h e a d - n 2 %{_sourcedir} / %{name} . c h a n g e s | t a i l - n 1 | c u t - d - - f 1 ) " +%%s)
2019-05-06 10:54:44 +02:00
2015-01-04 16:54:18 +01:00
# Colada does not have .pc file and configure creator was really lazy
export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser'
export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser'
2017-07-04 12:30:28 +02:00
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys
# Note: these are for the openSUSE Chromium builds ONLY. For your own distribution,
# please get your own set of keys.
google_api_key=" A I z a S y D 1 h T e 8 5 _ a 1 4 k r 1 K s 8 T 3 C e 7 5 r v b R 1 _ D x 7 Q "
google_default_client_id=" 4 1 3 9 8 0 4 4 4 1 . a p p s . g o o g l e u s e r c o n t e n t . c o m "
google_default_client_secret=" K D T R K E Z k 2 j w T _ 7 C D p c m M A - - P "
2014-01-02 11:24:51 +01:00
# do not run configure in autogen but use macro later
export NOCONFIGURE=yes
./autogen.sh
%configure \
2018-04-06 16:52:02 +02:00
--with-parallelism=%{jobs} \
2017-05-27 13:25:22 +02:00
--enable-eot \
2019-01-23 14:54:06 +01:00
--enable-ld=gold \
2018-04-17 11:27:24 +02:00
%if %{with lto}
2018-04-06 16:52:02 +02:00
--enable-lto \
2018-04-17 11:27:24 +02:00
%endif
2015-01-04 16:54:18 +01:00
--enable-mergelibs \
2012-04-26 17:35:13 +02:00
--docdir=%{_docdir} /%{name} \
2014-03-12 13:03:20 +01:00
--with-compat-oowrappers \
2015-04-15 21:41:11 +02:00
--with-system-headers \
2014-01-02 11:24:51 +01:00
--with-system-libs \
--with-system-jars \
2015-04-15 13:56:56 +02:00
--with-system-ucpp \
2014-01-02 11:24:51 +01:00
--with-system-dicts \
2012-10-31 17:59:37 +01:00
--with-vendor=SUSE \
2017-05-15 17:30:36 +02:00
--with-tls=nss \
--disable-openssl \
2018-06-16 11:21:21 +02:00
--with-lang=ALL \
2012-04-26 17:35:13 +02:00
--disable-fetch-external \
2011-09-07 17:41:42 +02:00
--with-external-tar=" $RPM_SOURCE_DIR " \
2014-01-02 11:24:51 +01:00
--disable-epm \
--disable-online-update \
2015-04-15 13:56:56 +02:00
--enable-gstreamer-1-0 \
2015-04-15 21:41:11 +02:00
--enable-gtk3 \
2018-06-07 11:02:40 +02:00
%if %{with kdeintegration}
2019-01-25 12:09:54 +01:00
--disable-gtk3-kde5 \
2019-12-03 15:00:06 +01:00
--enable-kf5 \
2019-01-25 12:09:54 +01:00
--enable-qt5 \
2019-01-25 13:57:17 +01:00
%else
2019-12-03 15:00:06 +01:00
--disable-kf5 \
2019-01-25 13:57:17 +01:00
--disable-qt5 \
2018-04-03 13:54:07 +02:00
%endif
2016-02-21 10:51:20 +01:00
--enable-introspection \
2015-04-15 21:41:11 +02:00
--with-doxygen \
2013-04-17 14:53:49 +02:00
--enable-release-build \
2012-04-26 17:35:13 +02:00
--enable-split-app-modules \
--enable-split-opt-features \
2014-01-02 11:24:51 +01:00
--enable-cairo-canvas \
--enable-largefile \
2013-04-17 14:53:49 +02:00
--enable-python=system \
2014-01-02 11:24:51 +01:00
--enable-randr \
2012-04-26 17:35:13 +02:00
--without-fonts \
--without-myspell-dicts \
2014-01-02 11:24:51 +01:00
--with-jdk-home=$JAVA_HOME \
2018-09-18 10:27:43 +02:00
--with-webdav=serf \
2014-01-06 20:00:59 +01:00
--with-beanshell-jar=%{_datadir} /java/bsh2/bsh.jar \
2014-01-02 11:24:51 +01:00
--with-ant-home=%{_datadir} /ant \
2014-05-05 09:15:16 +02:00
--with-external-dict-dir=%{_datadir} /hunspell \
--with-external-hyph-dir=%{_datadir} /hyphen \
--with-external-thes-dir=%{_datadir} /mythes \
2019-01-23 14:54:06 +01:00
--with-help=html \
2017-05-27 13:25:22 +02:00
--without-export-validation \
2012-04-26 17:35:13 +02:00
--enable-odk \
2017-11-02 14:42:43 +01:00
%if %{with system_gpgme}
--with-system-gpgmepp \
%else
--without-system-gpgmepp \
%endif
2017-01-04 21:31:11 +01:00
%if %{with firebird}
--enable-firebird-sdbc \
%else
--disable-firebird-sdbc \
2021-04-09 10:20:42 +02:00
%endif
%if 0%{?suse_version} < 1500
--without-system-boost \
--without-system-icu \
2016-03-02 13:56:15 +01:00
%endif
2012-04-26 17:35:13 +02:00
--enable-evolution2 \
--enable-dbus \
--enable-ext-ct2n \
--enable-ext-nlpsolver \
--enable-ext-numbertext \
--enable-ext-wiki-publisher \
2013-04-17 14:53:49 +02:00
--enable-scripting-beanshell \
--enable-scripting-javascript \
2019-01-23 14:54:06 +01:00
--enable-build-opensymbol \
2015-03-30 16:25:14 +02:00
--disable-vlc \
2014-06-16 12:43:39 +02:00
--disable-ccache \
2014-09-27 17:46:59 +02:00
--disable-coinmp \
2017-07-04 12:30:28 +02:00
--enable-symbols \
--with-gdrive-client-secret=" $ { g o o g l e _ d e f a u l t _ c l i e n t _ s e c r e t } " \
2020-06-18 15:01:34 +02:00
--with-gdrive-client-id=" $ { g o o g l e _ d e f a u l t _ c l i e n t _ i d } " \
2021-04-09 10:20:42 +02:00
--enable-skia
2014-09-19 15:53:43 +02:00
# no coinormp packages for coinmp
2014-01-02 11:24:51 +01:00
2017-08-24 09:46:40 +02:00
# just call make here as we added the jobs in configure
2018-06-23 08:29:17 +02:00
make verbose=t build-nocheck
2017-05-27 13:25:22 +02:00
%check
2020-01-06 07:42:21 +01:00
export LANG=C.UTF-8
2019-10-03 09:06:45 +02:00
# Run tests only on x86_64 and ppc64le as they are resource hogs
%ifarch x86_64 ppc64le
2018-06-07 11:02:40 +02:00
# safeguard jarfires that can get magically overriden by the make
mkdir savejar
cp %{buildroot} %{_libdir} /%{name} /program/classes/*.jar savejar/
2018-03-05 17:05:57 +01:00
make
2018-06-07 11:02:40 +02:00
cp savejar/*.jar %{buildroot} %{_libdir} /%{name} /program/classes/
2017-06-08 16:02:30 +02:00
%endif
2010-10-21 01:05:15 +02:00
%install
2018-06-23 08:29:17 +02:00
make verbose=t DESTDIR=%{buildroot} distro-pack-install
2014-01-03 10:43:27 +01:00
2015-04-17 13:18:36 +02:00
# Do not pollute build log
set +x
2016-05-04 14:08:09 +02:00
# Split out gtk3 interface to -gtk3 subpackage
grep -v " %{_libdir} / l i b r e o f f i c e / p r o g r a m / l i b v c l p l u g _ g t k 3 l o . s o " file-lists/gnome_list.txt > tmplist
mv tmplist file-lists/gnome_list.txt
2016-10-31 12:50:26 +01:00
# Remove firebird connector from main package filelist
2017-01-04 21:31:11 +01:00
%if %{with firebird}
2016-11-06 14:58:30 +01:00
grep -v " %{_libdir} / l i b r e o f f i c e / p r o g r a m / l i b f i r e b i r d _ s d b c l o . s o " file-lists/common_list.txt > tmplist
2016-11-06 10:03:14 +01:00
mv tmplist file-lists/common_list.txt
2017-01-04 21:31:11 +01:00
%endif
2016-10-31 12:50:26 +01:00
2020-01-30 11:33:21 +01:00
# Remove the libanimcore from impress and put it to base (needed by draw too)
grep -v " %{_libdir} / l i b r e o f f i c e / p r o g r a m / l i b a n i m c o r e l o . s o " file-lists/impress_list.txt > tmplist
mv tmplist file-lists/impress_list.txt
echo " %{_libdir} / l i b r e o f f i c e / p r o g r a m / l i b a n i m c o r e l o . s o " >> file-lists/common_list.txt
2011-09-07 17:41:42 +02:00
################
# update desktop files
2011-09-19 17:50:45 +02:00
builddir=`pwd`
2014-01-02 11:24:51 +01:00
cd %{buildroot} %{_datadir} /applications
2011-09-07 17:41:42 +02:00
for desktop in * ; do
2011-09-19 17:50:45 +02:00
# relative link is needed by %%suse_update_desktop_file
2014-01-07 16:24:37 +01:00
relative_target=`readlink $desktop | sed " s | %{_libdir} | . . / . . / % { _ l i b } | " `
# FIXME: remove the libreoffice- prefix because the old desktop files are preferred in %{_sysconfdir}/gnome_defaults.conf
desktop_new=`echo $desktop | sed -e " s / %{name} - / / " `
2011-09-19 17:50:45 +02:00
rm $desktop
2014-01-07 16:24:37 +01:00
sed -i -e " s | %{_datadir} / a p p l i c a t i o n s / $ d e s k t o p | %{_datadir} / a p p l i c a t i o n s / $ d e s k t o p _ n e w | " $builddir/file-lists/*.txt
2011-09-19 17:50:45 +02:00
# finally, create the right link
ln -sf $relative_target $desktop_new
2013-02-11 17:51:22 +01:00
# enable startup notification (bnc#796875)
2013-02-20 12:39:37 +01:00
grep -q " N o D i s p l a y = t r u e " $desktop_new || sed -i " s / \ ( \ [ D e s k t o p E n t r y \ ] \ ) / \1 \n S t a r t u p N o t i f y = t r u e / " $desktop_new
2011-09-07 17:41:42 +02:00
# suse_update
2011-09-19 17:50:45 +02:00
app=`echo $desktop_new | sed " s / . d e s k t o p / / " `
2011-10-24 12:37:06 +02:00
%suse_update_desktop_file $app
2011-09-07 17:41:42 +02:00
done
2015-09-11 13:57:22 +02:00
sed -i -e 's:NoDisplay=false:NoDisplay=true:g' %{buildroot} /%{_datadir} /applications/math.desktop
2011-09-07 17:41:42 +02:00
cd -
################
# compat stuff for noarch packages
2014-01-03 22:05:27 +01:00
mkdir -p %{buildroot} /%{_datadir} /%{name} /program
2014-01-25 10:29:34 +01:00
echo " % d i r %{_libdir} / %{name} " >>file-lists/common_list.txt
2014-01-03 22:05:27 +01:00
echo " % d i r %{_datadir} / %{name} " >>file-lists/common_list.txt
echo " % d i r %{_datadir} / %{name} / p r o g r a m " >>file-lists/common_list.txt
2011-09-07 17:41:42 +02:00
################
# helper script for noarch packages
# add missing directories to the file list
2021-02-05 12:23:57 +01:00
for dir in `find %{buildroot} /%{_datadir} /icons/hicolor -type d` ; do
2014-01-02 11:24:51 +01:00
dir=`echo $dir | sed -e " s | %{buildroot} | | " `
2011-09-07 17:41:42 +02:00
echo " % d i r $ d i r " >>file-lists/common_list.txt
done
2020-06-18 09:58:45 +02:00
2014-01-03 10:43:27 +01:00
#################################
# Move split noarch data to share
#################################
2017-12-04 17:08:15 +01:00
for i in %{buildroot} %{_libdir} /%{name} /program/resource/*/*/*.mo \
2014-01-03 22:05:27 +01:00
%{buildroot} %{_libdir} /%{name} /share/registry/res/fcfg_langpack_*.xcd \
%{buildroot} %{_libdir} /%{name} /share/registry/res/registry_*.xcd \
%{buildroot} %{_libdir} /%{name} /share/registry/Langpack-*.xcd \
%{buildroot} %{_libdir} /%{name} /share/config/images*.zip \
%{buildroot} %{_libdir} /%{name} /share/registry/{cjk,ctl}_*.xcd \
2021-04-09 10:20:42 +02:00
%{buildroot} %{_libdir} /%{name} /share/registry/ctlseqcheck_*.xcd \
2017-12-04 17:08:15 +01:00
%{buildroot} %{_libdir} /%{name} /share/wizards/*.properties \
2014-01-03 10:43:27 +01:00
; do
trg=" ` d i r n a m e " $i" | s e d ' s | %{_libdir} | %{_datadir} | ' ` "
mkdir -p " $ t r g "
mv " $ i " " $ t r g "
done
2014-01-03 22:05:27 +01:00
# help files are luckily in just one folder
mkdir -p %{buildroot} /%{_datadir} /%{name} /help/
2014-01-05 21:08:04 +01:00
grep -v '%{_libdir}/%{name}/help' file-lists/common_list.txt > tmplist
mv tmplist file-lists/common_list.txt
2014-01-03 22:05:27 +01:00
echo " % d i r %{_datadir} / %{name} / h e l p " >>file-lists/common_list.txt
2014-01-05 21:08:04 +01:00
mv %{buildroot} /%{_libdir} /%{name} /help/ %{buildroot} /%{_datadir} /%{name} /
2015-05-14 11:14:44 +02:00
mkdir -p %{buildroot} /%{_libdir} /%{name} /help/
2015-05-14 21:14:16 +02:00
echo " % d i r %{_libdir} / %{name} / h e l p " >>file-lists/common_list.txt
2014-01-03 22:05:27 +01:00
for file in idxcaption.xsl idxcontent.xsl main_transform.xsl ; do
2015-05-13 13:32:26 +02:00
mv " %{buildroot} / %{_datadir} / %{name} / h e l p / $ f i l e " " %{buildroot} / %{_libdir} / %{name} / h e l p / $ f i l e "
echo " %{_libdir} / %{name} / h e l p / $ f i l e " >> file-lists/common_list.txt
2014-01-03 22:05:27 +01:00
done
2014-01-06 20:00:59 +01:00
# autotext is another self contained dir
2014-04-09 11:44:48 +02:00
mkdir -p %{buildroot} /%{_datadir} /%{name} /share/autotext/
2014-01-06 20:00:59 +01:00
grep -v '%{_libdir}/%{name}/share/autotext' file-lists/common_list.txt > tmplist
mv tmplist file-lists/common_list.txt
mv %{buildroot} /%{_libdir} /%{name} /share/autotext/ %{buildroot} /%{_datadir} /%{name} /share/
2017-12-04 17:08:15 +01:00
# translations of java apps should be in lang pkgs too
grep -v '%{_libdir}/%{name}/share/wizards' file-lists/common_list.txt > tmplist
mv tmplist file-lists/common_list.txt
# the sr is dupe of sr_Latn
rm -rf %{buildroot} %{datadir} /%{name} /share/wizards/resources_sr.properties
2014-01-03 10:43:27 +01:00
################
# branding split
2011-09-07 17:41:42 +02:00
################
2014-01-03 10:43:27 +01:00
# create symlinks for all brandings to noarch pkg
2014-01-03 22:05:27 +01:00
mkdir -p %{buildroot} /%{_datadir} /%{name} /program/shell
2014-01-25 15:33:55 +01:00
echo " %{_datadir} / %{name} / p r o g r a m / s h e l l " >> file-lists/branding_upstream.txt
2011-09-07 17:41:42 +02:00
for file in sofficerc \
intro.png \
2020-06-18 16:28:34 +02:00
intro-highres.png \
2020-06-18 16:00:48 +02:00
shell/about.svg \
shell/logo.svg \
shell/logo_inverted.svg; do
2014-01-04 14:57:12 +01:00
mv " %{buildroot} %{_libdir} / %{name} / p r o g r a m / $ f i l e " " %{buildroot} %{_datadir} / %{name} / p r o g r a m / $ f i l e "
ln -sf " %{_datadir} / %{name} / p r o g r a m / $ f i l e " " %{buildroot} / %{_libdir} / %{name} / p r o g r a m / $ f i l e "
2014-01-05 21:08:04 +01:00
echo " %{_datadir} / %{name} / p r o g r a m / $ f i l e " >> file-lists/branding_upstream.txt
2011-09-07 17:41:42 +02:00
done
2014-01-03 10:43:27 +01:00
2014-05-05 15:52:23 +02:00
# Fix autocorr names for various language mutations
%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
%make_autocorr_aliases -l en-ZA en-NA en-ZW
%make_autocorr_aliases -l af-ZA af-NA
2015-04-14 15:49:39 +02:00
%make_autocorr_aliases -l de de-DE de-AT de-BE de-CH de-LI de-LU
%make_autocorr_aliases -l es es-ES es-AR es-BO es-CL es-CO es-CR es-CU es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE
%make_autocorr_aliases -l fr fr-FR fr-BE fr-CA fr-CH fr-LU fr-MC
2020-02-12 12:32:58 +01:00
%make_autocorr_aliases -l it it-IT it-CH fur_IT lld_IT sc_IT vec_IT
2014-05-05 15:52:23 +02:00
%make_autocorr_aliases -l nl-NL nl-AW
%make_autocorr_aliases -l sv-SE sv-FI
2014-05-07 10:51:28 +02:00
pushd %{buildroot} %{_libdir} /%{name} /share/autocorr
2014-05-07 14:23:29 +02:00
files=" "
for file in acor*.dat; do
2021-04-09 10:20:42 +02:00
files=" $ f i l e s $ f i l e "
2014-05-05 15:52:23 +02:00
done
2014-05-07 10:51:28 +02:00
popd
2014-05-07 21:15:06 +02:00
for file in $files; do
2014-05-07 14:23:29 +02:00
echo " %{_libdir} / %{name} / s h a r e / a u t o c o r r / $ f i l e " >> file-lists/common_list.txt
done
2011-09-07 17:41:42 +02:00
2020-01-03 09:23:58 +01:00
# we don't bother with serbian non-latin autocorr (as the lang logic allows us to dynamically allocate
# just one autotext filler and it does not make sense to have special case just for serbian
rm -r %{buildroot} %{_datadir} /libreoffice/share/autotext/sr/
2016-02-07 18:12:17 +01:00
# Install appdata files, so we're shown in gnome-software (and other, future app stores)
# upstream ships the files called libreoffice-{base,writer,...}, but the destop files are called base.destop [...]
# fixup the appdata files internal reference to the .desktop file and rename them on the go to match the name
2021-02-05 12:23:57 +01:00
install -m 0755 -d %{buildroot} %{_datadir} /metainfo
2016-02-07 18:12:17 +01:00
for appdata in base calc draw impress writer; do
sed " s / l i b r e o f f i c e - $ { a p p d a t a } . d e s k t o p / $ { a p p d a t a } . d e s k t o p / " \
2021-02-05 12:23:57 +01:00
sysui/desktop/appstream-appdata/libreoffice-${appdata}.appdata.xml > %{buildroot} %{_datadir} /metainfo/${appdata}.appdata.xml
echo " %{_datadir} / m e t a i n f o / $ { a p p d a t a } . a p p d a t a . x m l " >>file-lists/${appdata}_list.txt
2016-02-09 10:23:29 +01:00
%if 0%{?suse_version} < 1320
2021-02-05 12:23:57 +01:00
echo " % d i r %{_datadir} / m e t a i n f o / " >>file-lists/${appdata}_list.txt
2016-02-09 10:23:29 +01:00
%endif
2021-02-05 12:23:57 +01:00
rm -rf %{buildroot} %{_datadir} /metainfo/libreoffice-${appdata}.appdata.xml
2016-02-07 18:12:17 +01:00
done
2017-08-24 09:45:13 +02:00
%if %{with kdeintegration}
2021-02-05 12:23:57 +01:00
echo " %{_datadir} / m e t a i n f o / o r g . l i b r e o f f i c e . k d e . m e t a i n f o . x m l " >>file-lists/kde4_list.txt
2017-08-24 09:45:13 +02:00
%else
2021-02-05 12:23:57 +01:00
rm -f %{buildroot} %{_datadir} /metainfo/org.libreoffice.kde.metainfo.xml
2017-08-24 09:45:13 +02:00
%endif
2016-02-07 18:12:17 +01:00
2014-01-06 20:00:59 +01:00
# Remove pointless readmes
rm -rf %{buildroot} %{_libdir} /%{name} /readmes/
2017-02-14 13:22:41 +01:00
# Prepare uno path detection, can't be patched in because it breaks tests
echo " i m p o r t s y s , o s " > uno.py
2017-11-02 10:23:58 +01:00
echo " s y s . p a t h . a p p e n d ( ' %{_libdir} / %{name} / p r o g r a m ' ) " >> uno.py
2017-02-14 13:22:41 +01:00
echo " o s . p u t e n v ( ' U R E _ B O O T S T R A P ' , ' v n d . s u n . s t a r . p a t h n a m e : %{_libdir} / l i b r e o f f i c e / p r o g r a m / f u n d a m e n t a l r c ' ) " >> uno.py
cat %{buildroot} %{_libdir} /%{name} /program/uno.py >> uno.py
cp uno.py %{buildroot} %{_libdir} /%{name} /program/uno.py
2015-06-03 14:09:23 +02:00
# Generate python cache files
2015-06-12 20:17:44 +02:00
%py3_compile %{buildroot} /%{_libdir} /libreoffice/program/
%py3_compile %{buildroot} /%{_libdir} /libreoffice/share/extensions/
%py3_compile %{buildroot} /%{_libdir} /libreoffice/share/Scripts/python/
%py3_compile %{buildroot} /%{_libdir} /libreoffice/sdk/examples/python/
2015-06-04 12:51:03 +02:00
# Move python cache to respective filelist
for i in file-lists/*.txt; do
2015-06-09 16:40:27 +02:00
if [ `cat " $ { i } " | grep '\.py$' |wc -l` -gt 0 ]; then
cat " $ { i } " | grep '\.py$' > pyfiles.txt
2015-06-04 12:51:03 +02:00
for j in `cat pyfiles.txt`; do
# python3 has __pycache__ dir while py2 does not
2016-06-02 11:02:44 +02:00
pydir=" $ { j % / * } "
pyname=" $ { j # # * / } "
echo " % d i r $ { p y d i r } / _ _ p y c a c h e _ _ / " >> " $ { i } "
echo " $ { p y d i r } / _ _ p y c a c h e _ _ / $ { p y n a m e % . * } * . p y c " >> " $ { i } "
2015-06-04 12:51:03 +02:00
done
fi
done
rm pyfiles.txt
2015-06-03 14:09:23 +02:00
2017-06-21 15:07:36 +02:00
# Install color palette
2018-04-10 13:01:15 +02:00
cp %{SOURCE6} %{buildroot} %{_libdir} /libreoffice/share/palette/SUSE.soc
2017-06-21 15:07:36 +02:00
echo " %{_libdir} / l i b r e o f f i c e / s h a r e / p a l e t t e / S U S E . s o c " >> file-lists/common_list.txt
2018-04-04 12:27:19 +02:00
# Symlink gtk3 libreofficekit to libdir
2016-02-21 10:51:20 +01:00
ln -s %{_libdir} /%{name} /program/liblibreofficekitgtk.so %{buildroot} %{_libdir} /liblibreofficekitgtk.so
2018-04-04 12:27:19 +02:00
# Libreofficekit headers
mkdir -p %{buildroot} %{_includedir} /LibreOfficeKit/
2018-11-28 13:52:13 +01:00
install -m 0644 include/LibreOfficeKit/* %{buildroot} %{_includedir} /LibreOfficeKit/
2016-02-21 10:51:20 +01:00
2020-01-02 12:32:47 +01:00
# typelib data
mkdir -p %{buildroot} %{_libdir} /girepository-1.0/
install -m 0644 workdir/CustomTarget/sysui/share/libreoffice/LOKDocView-0.1.typelib %{buildroot} %{_libdir} /girepository-1.0/
mkdir -p %{buildroot} %{_datadir} /gir-1.0/
install -m 0644 workdir/CustomTarget/sysui/share/libreoffice/LOKDocView-0.1.gir %{buildroot} %{_datadir} /gir-1.0/
2015-06-11 10:43:41 +02:00
# Symlink uno.py and unohelper.py so that python can find them
# This is done after the cache files generating on purpose
mkdir -p %{buildroot} %{python3_sitelib}
ln -s %{_libdir} /libreoffice/program/uno.py %{buildroot} %{python3_sitelib} /uno.py
ln -s %{_libdir} /libreoffice/program/unohelper.py %{buildroot} %{python3_sitelib} /unohelper.py
2017-02-14 13:22:41 +01:00
ln -s %{_libdir} /libreoffice/program/officehelper.py %{buildroot} %{python3_sitelib} /officehelper.py
2015-06-11 10:43:41 +02:00
echo " %{python3_sitelib} / u n o . p y " >> file-lists/pyuno_list.txt
echo " %{python3_sitelib} / u n o h e l p e r . p y " >> file-lists/pyuno_list.txt
2017-02-14 13:22:41 +01:00
echo " %{python3_sitelib} / o f f i c e h e l p e r . p y " >> file-lists/pyuno_list.txt
2015-06-11 10:43:41 +02:00
2016-04-01 12:31:16 +02:00
# move glade catalog to system glade dir
install -m 0755 -d %{buildroot} %{_datadir} /glade/catalogs
mv %{buildroot} %{_libdir} /%{name} /share/glade/libreoffice-catalog.xml %{buildroot} %{_datadir} /glade/catalogs
install -m 0755 -d %{buildroot} %{_datadir} /glade3/catalogs
2016-04-04 13:21:15 +02:00
ln -s %{_datadir} /glade/catalogs/libreoffice-catalog.xml %{buildroot} %{_datadir} /glade3/catalogs
2016-04-01 12:31:16 +02:00
grep -v '%{_libdir}/%{name}/share/glade/libreoffice-catalog.xml' file-lists/common_list.txt > tmplist
mv tmplist file-lists/common_list.txt
2016-04-01 12:40:46 +02:00
# install gdb pretty printers
export DESTDIR=%{buildroot}
2016-04-01 15:10:37 +02:00
export SRCDIR=" . / "
2016-04-01 12:40:46 +02:00
./solenv/bin/install-gdb-printers -a %{_datadir} /gdb/auto-load%{_libdir} /%{name} -c -i %{_libdir} /%{name} -p %{_datadir} /libreoffice/gdb
2020-02-09 15:55:29 +01:00
# Why would the mysql lib which is only USED by base not be IN THE BASE PACKAGE?!?
grep -v " %{_libdir} / l i b r e o f f i c e / p r o g r a m / l i b m y s q l c l o . s o " file-lists/common_list.txt > tmplist
mv tmplist file-lists/common_list.txt
echo " %{_libdir} / l i b r e o f f i c e / p r o g r a m / l i b m y s q l c l o . s o " >> file-lists/base_list.txt
2014-01-02 11:24:51 +01:00
# We have ton of duped files so run over it
2015-05-06 17:26:45 +02:00
%fdupes %{buildroot} %{_prefix}
2010-10-21 01:05:15 +02:00
%post
/sbin/ldconfig
2018-04-25 10:47:27 +02:00
%if 0%{?suse_version} < 1500
2012-11-07 17:25:42 +01:00
%mime_database_post
%desktop_database_post
2011-02-21 15:30:09 +01:00
%icon_theme_cache_post
2018-04-25 10:47:27 +02:00
%endif
2010-10-21 01:05:15 +02:00
%preun
2015-04-14 15:49:39 +02:00
uno_cache=" %{_libdir} / %{name} / s h a r e / u n o _ p a c k a g e s / c a c h e / u n o _ p a c k a g e s / "
2014-02-01 13:05:43 +01:00
if [ " $ 1 " = " 0 " ] ; then
2015-04-14 15:49:39 +02:00
test -d " $ u n o _ c a c h e " && rm -rf " $ u n o _ c a c h e " /*
2014-02-01 13:05:43 +01:00
fi
2015-04-09 15:13:32 +02:00
exit 0
2010-10-21 01:05:15 +02:00
%postun
/sbin/ldconfig
2018-04-25 10:47:27 +02:00
%if 0%{?suse_version} < 1500
2011-02-21 15:30:09 +01:00
%icon_theme_cache_postun
2012-11-07 17:25:42 +01:00
%desktop_database_postun
%mime_database_postun
2018-04-25 10:47:27 +02:00
%endif
2011-09-07 17:41:42 +02:00
2018-04-25 10:47:27 +02:00
%if 0%{?suse_version} < 1500
2012-11-07 17:25:42 +01:00
%post base
%desktop_database_post
%postun base
%desktop_database_postun
%post calc
%desktop_database_post
%postun calc
%desktop_database_postun
%post draw
%desktop_database_post
%postun draw
%desktop_database_postun
%post math
%desktop_database_post
%postun math
%desktop_database_postun
%post impress
%desktop_database_post
%postun impress
%desktop_database_postun
%post writer
%desktop_database_post
%postun writer
%desktop_database_postun
2018-04-25 10:47:27 +02:00
%endif
2011-09-19 17:50:45 +02:00
2017-12-04 17:08:15 +01:00
%_link_noarch_files icon-themes
2014-01-31 14:44:47 +01:00
2011-09-07 17:41:42 +02:00
%files -f file-lists/common_list.txt
# ignore helper files for brp-symlink check
2014-01-03 22:05:27 +01:00
%exclude %{_datadir} /%{name} /program/sofficerc
%exclude %{_datadir} /%{name} /program/*.png
%exclude %{_datadir} /%{name} /program/shell/*.svg
2016-06-02 11:02:44 +02:00
%if 0%{?suse_version} < 1330
2014-01-02 11:24:51 +01:00
%dir %{_datadir} /icons/hicolor/512x512
%dir %{_datadir} /icons/hicolor/512x512/apps
%dir %{_datadir} /icons/hicolor/512x512/mimetypes
2016-06-02 11:02:44 +02:00
%endif
2011-09-07 17:41:42 +02:00
2016-02-21 10:51:20 +01:00
%files -n libreofficekit
%dir %{_libdir} /girepository-1.0
%{_libdir} /girepository-1.0/LOKDocView-0.1.typelib
%{_libdir} /liblibreofficekitgtk.so
2016-06-02 11:02:44 +02:00
%dir %{_libdir} /libreoffice/share/libreofficekit
%{_libdir} /libreoffice/share/libreofficekit/handle_image_end.png
%{_libdir} /libreoffice/share/libreofficekit/handle_image_middle.png
%{_libdir} /libreoffice/share/libreofficekit/handle_image_start.png
2016-02-21 10:51:20 +01:00
%files -n libreofficekit-devel
%dir %{_datadir} /gir-1.0
%{_datadir} /gir-1.0/LOKDocView-0.1.gir
2017-06-01 14:14:04 +02:00
%dir %{_includedir} /LibreOfficeKit
2018-11-29 09:32:47 +01:00
%{_includedir} /LibreOfficeKit/*
2016-02-21 10:51:20 +01:00
2016-04-01 12:31:16 +02:00
%files glade
2016-04-02 20:13:53 +02:00
%dir %{_datadir} /glade
2016-04-01 12:31:16 +02:00
%dir %{_datadir} /glade/catalogs
%{_datadir} /glade/catalogs/libreoffice-catalog.xml
2016-04-02 20:13:53 +02:00
%dir %{_datadir} /glade3
2016-04-01 12:31:16 +02:00
%dir %{_datadir} /glade3/catalogs
%{_datadir} /glade3/catalogs/libreoffice-catalog.xml
2016-04-01 12:40:46 +02:00
%files gdb-pretty-printers
%{_datadir} /gdb/auto-load/%{_libdir} /%{name}
%{_datadir} /libreoffice/gdb
2011-09-07 17:41:42 +02:00
%files -f file-lists/base_list.txt base
%files -f file-lists/calc_list.txt calc
%files -f file-lists/draw_list.txt draw
2010-10-21 01:05:15 +02:00
2011-09-07 17:41:42 +02:00
%files -f file-lists/math_list.txt math
2010-10-21 01:05:15 +02:00
2011-09-07 17:41:42 +02:00
%files -f file-lists/impress_list.txt impress
2010-10-21 01:05:15 +02:00
2011-09-07 17:41:42 +02:00
%files -f file-lists/writer_list.txt writer
2010-11-22 15:01:32 +01:00
2012-04-04 19:20:25 +02:00
%files -f file-lists/postgresql_list.txt base-drivers-postgresql
2011-09-07 17:41:42 +02:00
2017-01-04 21:31:11 +01:00
%if %{with firebird}
2016-10-31 12:50:26 +01:00
%files base-drivers-firebird
%{_libdir} /libreoffice/program/libfirebird_sdbclo.so
2017-01-04 21:31:11 +01:00
%endif
2016-10-31 12:50:26 +01:00
2011-09-07 17:41:42 +02:00
%files -f file-lists/filters_list.txt filters-optional
2014-01-02 11:24:51 +01:00
%files -f file-lists/mailmerge_list.txt mailmerge
2011-09-07 17:42:32 +02:00
2014-01-02 11:24:51 +01:00
%files -f file-lists/pyuno_list.txt pyuno
2019-08-08 10:30:51 +02:00
%exclude %{_libdir} /libreoffice/share/Scripts/python/LibreLogo
%exclude %{_libdir} /libreoffice/share/registry/librelogo.xcd
%files librelogo
%{_libdir} /libreoffice/share/registry/librelogo.xcd
%{_libdir} /libreoffice/share/Scripts/python/LibreLogo
2011-09-19 17:50:45 +02:00
2011-09-07 17:41:42 +02:00
%files -f file-lists/gnome_list.txt gnome
2016-05-04 14:08:09 +02:00
%files gtk3
%{_libdir} /libreoffice/program/libvclplug_gtk3lo.so
2017-12-12 09:54:38 +01:00
2016-03-02 13:56:15 +01:00
%if %{with kdeintegration}
2018-06-08 16:22:57 +02:00
%files -f file-lists/kde4_list.txt qt5
2019-12-05 13:45:25 +01:00
%{_libdir} /libreoffice/program/libkf5be1lo.so
%{_libdir} /libreoffice/program/libvclplug_kf5lo.so
2019-07-25 09:42:44 +02:00
%{_libdir} /libreoffice/program/libvclplug_qt5lo.so
2016-03-02 13:56:15 +01:00
%endif
2011-09-07 17:41:42 +02:00
%files -f file-lists/officebean_list.txt officebean
2011-09-07 17:42:32 +02:00
2014-01-02 11:24:51 +01:00
%files -f file-lists/sdk_list.txt sdk
2017-05-27 13:25:22 +02:00
%dir %{_libdir} /libreoffice/sdk/lib
2011-09-07 17:42:32 +02:00
2014-01-02 11:24:51 +01:00
%files -f file-lists/sdk_doc_list.txt sdk-doc
2011-09-07 17:41:42 +02:00
%files calc-extensions
2014-01-03 22:05:27 +01:00
%{_libdir} /%{name} /share/extensions/ConvertTextToNumber
%{_libdir} /%{name} /share/extensions/nlpsolver
%{_libdir} /%{name} /share/extensions/numbertext
2011-09-07 17:41:42 +02:00
%files writer-extensions
2014-01-03 22:05:27 +01:00
%{_libdir} /%{name} /share/extensions/wiki-publisher
2011-09-07 17:41:42 +02:00
2017-12-04 17:08:15 +01:00
%files icon-themes
2014-01-03 22:05:27 +01:00
%dir %{_datadir} /%{name}
%dir %{_datadir} /%{name} /share
%dir %{_datadir} /%{name} /share/config
2020-06-19 08:47:59 +02:00
%{_datadir} /%{name} /share/config/images_*.zip
2011-09-07 17:42:32 +02:00
2014-01-04 14:57:12 +01:00
%files -f file-lists/branding_upstream.txt branding-upstream
2010-10-21 01:05:15 +02:00
%changelog