Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libreoffice for openSUSE:Factory 
checked in at 2026-11-24 12:23:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libreoffice (Old)
 and      /work/SRC/openSUSE:Factory/.libreoffice.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libreoffice"

Tue Nov 24 12:23:09 2026 rev:327 rq:1399854 version:26.8.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libreoffice/libreoffice.changes  2026-10-01 
17:01:16.105757455 +0200
+++ /work/SRC/openSUSE:Factory/.libreoffice.new.1340718/libreoffice.changes     
2026-11-24 12:23:59.039235659 +0100
@@ -1,0 +2,258 @@
+Mon Nov 23 06:28:45 UTC 2026 - Martin Schreiner <[email protected]>
+
+- Declare the SLE-only patches unconditionally, so that source_validator sees 
them
+
+-------------------------------------------------------------------
+Thu Nov 19 12:15:57 UTC 2026 - Martin Schreiner <[email protected]>
+
+- Refresh fontconfig-python36.patch for 26.8.3.1
+- Update the bundled libraries to the versions in 26.8.3.1's download.lst
+- Byte-compile the Python files without %py3_compile, which SLE 15's python3 
no longer provides
+- Fix bugs and CVEs with the 26.8.3.1 release:
+  * bsc#1290627 CVE-2026-100101
+  * bsc#1290628 CVE-2026-101351
+  * bsc#1290629 CVE-2026-101352
+  * bsc#1290630 CVE-2026-101353
+  * bsc#1290631 CVE-2026-101892
+  * bsc#1290632 CVE-2026-101929
+  * bsc#1290633 CVE-2026-101930
+  * bsc#1290634 CVE-2026-101933
+  * bsc#1290635 CVE-2026-104007
+  * bsc#1290636 CVE-2026-104692
+  * bsc#1290637 CVE-2026-104920
+  * bsc#1290638 CVE-2026-104933
+  * bsc#1290640 CVE-2026-108169
+  * bsc#1290641 CVE-2026-18563
+  * bsc#1290642 CVE-2026-18564
+  * bsc#1290643 CVE-2026-18565
+  * bsc#1290644 CVE-2026-18566
+  * bsc#1290645 CVE-2026-84234
+  * bsc#1290646 CVE-2026-84443
+  * bsc#1290647 CVE-2026-87932
+  * bsc#1290648 CVE-2026-97892
+  * bsc#1290649 CVE-2026-97894
+  * bsc#1290650 CVE-2026-97999
+  * bsc#1290651 CVE-2026-98100
+
+-------------------------------------------------------------------
+Tue Nov 10 17:01:16 UTC 2026 - Carsten Ziepke <[email protected]>
+
+- Update to 26.8.3.1:
+  * cool#15754 do not paint a master's picture placeholder
+    on slides
+  * tdf#91400 LibreOffice doesn’t use system font since
+    OS X 10.10+ 
+  * tdf#116727 EDITING: Undo while Clone Formatting leads to text
+    having double font size (see comment 4)
+  * tdf#143449 Cursor doesn't blink in comment box
+  * tdf#144299 SheetCellRanges service SEARCHING FOR STYLE cant
+    FindAll or ReplaceAll if .Count=1 / simple SheetCellRange
+    also can't.
+  * tdf#163206 Impress list bullets are not centered / drifting
+  * tdf#165714 Font Preview Display Issue When Selecting a Table
+    in LibreOffice Writer's Paragraph Style Settings
+  * tdf#167028 [FormControls-TableControl] BorderColor cannot be
+    set directly with a Macro, without setPropertyValue 
+  * tdf#168166 Wrong merged cells when copying a table from HTML
+    that includes colspan/rowspan
+  * tdf#169252 Draw/Impress: Crash on copy, paste and click
+    comment
+  * tdf#171018 Digital Signature of a document with a
+    X.509 certificate is not working
+  * tdf#171416 The order of Link and Text fields was changed in
+    Hyperlink dialog. Link should be before Text.
+  * tdf#171555 NON-BREAKING HYPHEN U+2011 fails to render after
+    update from 25.8.4.2 (AARCH64) via
+    LibreOffice_26.2.2_MacOS_aarch64.dmg
+  * tdf#171730 Pick a Color dialog: slider head doesn't update
+    when users selects the color component radio button
+  * tdf#172128 Resetting style inheritance introduced by
+    Bug 89826 can cause reverse style inheritance
+  * tdf#172282 Menu bar color is ignored in KDE Plasma
+  * tdf#172565 EDITING: Libre Office Impress crashes when text
+    copied from website and pasted to notes as Unformatted text
+  * tdf#172956 Other paragraph styles except the current one,
+    from text, can not be selected and edited using sidebar
+    (only gtk3 bug)
+  * tdf#172966 Sending attachment to Thunderbird fails
+  * tdf#173297 don't let python change locale when initializing
+    pyuno
+  * tdf#173342 use the macOS system UI font 
+  * tdf#173357 sw/sectfrm: Don't dereference potentially
+  * tdf#173370 EDITING: Crash when pasting into the Notes as
+    plain-text
+  * tdf#173462 revert "lsan: fix clipboard leak"
+  * tdf#173510 svx: prevent another crash when table style deselected
+  * tdf#173547 Kurdish (Latin/Hawar) alphabetical sorting does
+    not follow the Kurdish alphabet order 
+  * tdf#173562 shell: fix PropVariantClear on an uninitialized
+    PROPVARIANT
+  * tdf#173579 fix collator func loading to make at least Japanese
+    collators work 
+  * tdf#173626 Hang when editing default table style
+  * tdf#173698 revert "sw: RTF import: fix signedness of
+    cell counter..."
+  * tdf#173712 FILEOPEN PPTX: numbered list with startAt on every
+    paragraph shows "2. 2. 2." instead of "2. 3. 4."
+  * tdf#173739 Fallback of icon themes should take dark UI
+    into account
+  * tdf#173801 Navigator loop with groupshape in footer 
+    (continuous CPU consumption) since 26.8
+  * tdf#173808 Text decoratived with "Long Dash (Bold)" may appear
+    as "Long Dash" by "Automatic spell checking, CJK or
+    multi-line" (win/gen)
+  * tdf#173810 Input line does not show sometimes the content of
+    formula - it just shows an empty input line
+  * tdf#173876 TEXTBEFORE and TEXTAFTER behave differently than
+    the Excel version
+  * tdf#173887 sw: don't apply table style to toolbar's
+    inserted table
+  * tdf#173902 Crash in SwSectionFrame::IsEndnoteAtMyEnd() when
+    inserting a section around a nested section whose leading
+    frame has been emptied
+  * tdf#173936 FEATURE REQUEST: Bring back the "None" style
+    for tables
+  * tdf#173993 macOS Sonoma x86 + Xcode 16.2 FP precision fails
+    testTdf128206 but other platforms pass
+  * tdf#174010 Calc: Words remain underlined after being added to
+    the spelling dictionary
+  * tdf#174093 Libreoffice Calc crashes when you rearrange 'Data'
+    in the Column Fields of a pivot table
+  * tdf#174172 FILEOPEN: valid non-Zip64 package > 2 GiB reported
+    as corrupt (central directory offset read as signed 32-bit) 
+  * tdf#174211 Lines copied from Draw/Impress into Writer change
+    width to 0
+  * tdf#174243 OOXML Document Theme dialog is just too tall in UI
+    should be reduced to fit the count of themes
+
+-------------------------------------------------------------------
+Thu Oct 22 18:06:29 UTC 2026 - Carsten Ziepke <[email protected]>
+
+- Update to 26.8.2.2:
+  * ofz#528260798 out-of-memory
+  * tdf#106359 Support for Web Query (.iqy) files
+  * tdf#144175 Remove strings from l10n in html export
+  * tdf#150754 GtkCheckMenuItem shows no check mark on macOS
+    (GtkRadioMenuItem does)
+  * tdf#154463 AutoCorrect (multiple characters => 1 character)
+    in Text Form Field crashes Writer
+  * tdf#162752 Writer freezes when entering the menu
+    "Character..." of a rich text or plain text control element
+    while it is fully selected
+  * tdf#167472 Issues with some template names
+  * tdf#168461 I am receiving error when calling
+    Libre Office 25.8.1.1, (PYTHONHOME var?)
+  * tdf#168910 White lines across the image when scrolling
+  * tdf#169219 Frame with relative size and anchored to page
+    changes size when opening properties.
+  * tdf#169387 Error after upgrading LibreOffice (PYTHONHOME var?)
+  * tdf#169697 Can't hear audio in presentations anymore (Windows)
+  * tdf#170177 Add options to limit hyphenation 1) if it is too
+    close to the right constituent boundary and 2) only at
+    constituent boundaries
+  * tdf#170653 Transition names disappear until selected
+  * tdf#170842 Crash in inspecting a database range with
+    Development Tools
+  * tdf#171555 NON-BREAKING HYPHEN U+2011 fails to render after
+    update from 25.8.4.2 (AARCH64)
+    via LibreOffice_26.2.2_MacOS_aarch64.dmg
+  * tdf#172918 Inserting an audio file (mp3 for example) and
+    starting the presentation not playing the audio file
+  * tdf#173273 Crash in: SalInstanceTreeView::
+    get_children_on_demand(weld::TreeIter const &)
+  * tdf#173348 sw: Fix unwanted underflow after line containing
+    only spaces
+  * tdf#173418 With RTL UI, Custom Color dialog picker rectangle
+    is horizontally mirrored when clicking to select colors
+  * tdf#173510 Unable to create a table without a table style
+  * tdf#173541 Units are expressed in different measurement unit
+    in Navigator in Properties
+  * tdf#173578 Color picker increased spacing / padding around
+    swatches expands the selection grid too wide
+  * tdf#173585 findAll() with SearchAttributes crashes Writer
+  * tdf#173608 EDITING REGRESSION: Relative sheet reference
+    handled as absolute reference when copying sheet since 26.8.0
+  * tdf#173623 a11y: "activate" action of color palette items
+    ignores which item was activated (gtk3)
+  * tdf#173646 fix some issues in sc/notebookbar_compact
+  * tdf#173695 New color picker does not adjust height when
+    selecting a different color palette
+  * tdf#173759 WRITER - Image proportions change when image anchor
+    is changed after rotation
+  * tdf#173803 soffice.bin instead of the program name and
+    incorrect opening of the pinned application in Task Manager
+    (Linux X11 + qt6/kf6 only)
+  * tdf#173818 The "Letter spacing" label in the edit styles
+    dialog sometimes has the wrong enabled state
+  * tdf#173819 The "paragraph composer" and "split compound words"
+    checkboxes are sometimes left in an indeterminate state
+  * tdf#173869 FILEOPEN: Compound File Binary version 4
+    (4096-byte sectors) rejected - PPT/DOC fail to load, XLS opens
+    as garbage text
+  * tdf#173885 Impress crash when scrolling through slides, if
+    playback of an inserted media
+  * tdf#173917 CRASH on startup (SIGABRT): insertThreadId() aborts
+    on macOS 27.0.x because pthread_threadid_np returns thread IDs
+    larger than UINT32_MAX
+  * tdf#173964 avoid out-of-bounds access in isRootDir
+  * tdf#174015 lingucomponent: fix special hyphenation regression
+- Update bundled pdfium to 8073 as required by the new download.lst.
+- fix building for Leap 16
+
+-------------------------------------------------------------------
+Mon Oct 19 09:30:34 UTC 2026 - Martin Schreiner <[email protected]>
+
+- Add skia-skcms-powerpc-musttail.patch: fix building skia with GCC 15+
+  on ppc64le.
+- Fix the SLE 15 gcc14 pin, which the %elif from the previous change
+  dropped (SLE 15's rpm 4.14 has no %elif).
+
+-------------------------------------------------------------------
+Mon Oct 19 00:02:36 UTC 2026 - Martin Schreiner <[email protected]>
+
+- Improve compatibility in spec file between Leap 16, SLE and openSUSE:Factory.
+- Increase required disk build size to 50GB, and memory to 8GB.
+
+-------------------------------------------------------------------
+Thu Oct  8 19:58:50 UTC 2026 - Martin Schreiner <[email protected]>
+
+- Make every library in download.lst switchable between the system
+  copy and the bundled tarball.
+- Package a bundled Firebird in base-drivers-firebird.
+- Build with the versioned gcc14 packages where the default compiler
+  is older than that (SLE 15 ships gcc 7; LibreOffice 26.8 needs at
+  least 13). The minimum is set once, in min_gcc_version in the spec.
+- Add python3-soabi.patch: fix the bundled Python's extension module
+  and _sysconfigdata names on s390x and 32-bit x86. Only applied, and
+  configure only gets generic GNU --build/--host triplets, when Python
+  is bundled.
+- Add fontconfig-python36.patch: the bundled fontconfig 2.18.3 calls
+  sys.stdout.reconfigure(), which needs Python 3.7; SLE 15 builds
+  with Python 3.6. Only applied when fontconfig is bundled.
+- Add lxml-install-xml2-config.patch: the bundled lxml's install step
+  looked for a system xml2-config, which does not exist when libxml2
+  is bundled as well. Only applied when lxml is bundled.
+- Add nss-s390x-use-64.patch: build the bundled NSS as 64-bit on s390x.
+- Delete unused files, stale versions Tumbleweed no longer builds
+  with (the SLE package carries the current download.lst ones):
+  * 8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar
+  * boost_1_89_0.tar.xz
+  * curl-8.14.1.tar.xz
+  * fontconfig-2.17.1.tar.xz
+  * freetype-2.13.3.tar.xz
+  * gpgme-1.24.3.tar.bz2
+  * graphite2-minimal-1.3.14.tgz
+  * harfbuzz-11.4.3.tar.xz
+  * icu4c-77_1-data.zip
+  * icu4c-77_1-src.tgz
+  * libassuan-3.0.2.tar.bz2
+  * libcmis-0.6.2.tar.xz
+  * libgpg-error-1.55.tar.bz2
+  * meson-1.8.0.tar.gz
+  * 
odfvalidator-0.9.0-RC2-SNAPSHOT-jar-with-dependencies-2726ab578664434a545f8379a01a9faffac0ae73.jar
+  * phc-winner-argon2-20190702.tar.gz
+  * poppler-25.09.0.tar.xz
+  * poppler-data-0.4.12.tar.gz
+  * tiff-4.7.0.tar.xz
+
+-------------------------------------------------------------------

Old:
----
  8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar
  boost_1_89_0.tar.xz
  curl-8.14.1.tar.xz
  fontconfig-2.17.1.tar.xz
  freetype-2.13.3.tar.xz
  gpgme-1.24.3.tar.bz2
  graphite2-minimal-1.3.14.tgz
  harfbuzz-11.4.3.tar.xz
  icu4c-77_1-data.zip
  icu4c-77_1-src.tgz
  libassuan-3.0.2.tar.bz2
  libcmis-0.6.2.tar.xz
  libgpg-error-1.55.tar.bz2
  libreoffice-26.8.1.1.tar.xz
  libreoffice-26.8.1.1.tar.xz.asc
  libreoffice-help-26.8.1.1.tar.xz
  libreoffice-help-26.8.1.1.tar.xz.asc
  libreoffice-translations-26.8.1.1.tar.xz
  libreoffice-translations-26.8.1.1.tar.xz.asc
  meson-1.8.0.tar.gz
  
odfvalidator-0.9.0-RC2-SNAPSHOT-jar-with-dependencies-2726ab578664434a545f8379a01a9faffac0ae73.jar
  pdfium-7681.tar.bz2
  phc-winner-argon2-20190702.tar.gz
  poppler-25.09.0.tar.xz
  poppler-data-0.4.12.tar.gz
  tiff-4.7.0.tar.xz

New:
----
  fontconfig-python36.patch
  libreoffice-26.8.3.1.tar.xz
  libreoffice-26.8.3.1.tar.xz.asc
  libreoffice-help-26.8.3.1.tar.xz
  libreoffice-help-26.8.3.1.tar.xz.asc
  libreoffice-translations-26.8.3.1.tar.xz
  libreoffice-translations-26.8.3.1.tar.xz.asc
  lxml-install-xml2-config.patch
  nss-s390x-use-64.patch
  pdfium-8073.tar.bz2
  python3-soabi.patch
  skia-skcms-powerpc-musttail.patch

----------(New B)----------
  New:
- Refresh fontconfig-python36.patch for 26.8.3.1
- Update the bundled libraries to the versions in 26.8.3.1's download.lst
  New:  with Python 3.6. Only applied when fontconfig is bundled.
- Add lxml-install-xml2-config.patch: the bundled lxml's install step
  looked for a system xml2-config, which does not exist when libxml2
  New:  is bundled as well. Only applied when lxml is bundled.
- Add nss-s390x-use-64.patch: build the bundled NSS as 64-bit on s390x.
- Delete unused files, stale versions Tumbleweed no longer builds
  New:  least 13). The minimum is set once, in min_gcc_version in the spec.
- Add python3-soabi.patch: fix the bundled Python's extension module
  and _sysconfigdata names on s390x and 32-bit x86. Only applied, and
  New:
- Add skia-skcms-powerpc-musttail.patch: fix building skia with GCC 15+
  on ppc64le.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libreoffice.spec ++++++
--- /var/tmp/diff_new_pack.WYV21s/_old  2026-11-24 12:24:15.163918848 +0100
+++ /var/tmp/diff_new_pack.WYV21s/_new  2026-11-24 12:24:15.169919103 +0100
@@ -55,6 +55,27 @@
 %endif
 %endif
 
+# Generic GNU triplets for the bundled Python. %%configure passes SUSE
+# triplets (x86_64-suse-linux), and the bundled CPython names its
+# _sysconfigdata and extension modules after the triplet it is configured
+# for, which then no longer matches what external/python3 expects. Only
+# used when %%{bundle_python} is 1, see the configure invocation.
+%ifarch x86_64
+%define host_triplet x86_64-linux-gnu
+%endif
+%ifarch %{ix86}
+%define host_triplet i386-linux-gnu
+%endif
+%ifarch aarch64
+%define host_triplet aarch64-linux-gnu
+%endif
+%ifarch ppc64le
+%define host_triplet powerpc64le-linux-gnu
+%endif
+%ifarch s390x
+%define host_triplet s390x-linux-gnu
+%endif
+
 # When Leap 15.X or SLE15 (any service pack)
 # Enable firebird support
 %if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1600
@@ -65,20 +86,39 @@
 %bcond_with firebird
 %endif
 
+# Versioned compiler to build with, where the distribution default is not
+# the one we want: LibreOffice 26.8 refuses anything below gcc 13
+# (configure.ac), SLE 15 ships gcc 7 and Leap/SLES 16 default to gcc 13.
+# Tumbleweed's default gcc is used as is. No %%elif: SLE 15 has rpm 4.14.
+%if 0%{?suse_version} == 1600
+%global with_gcc 15
+%else
+%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1600
+%global with_gcc 14
+%endif
+%endif
+
 # ============================================================================
 # External library configuration
 #
+# Generated by tools/gen_libconfig.py from LibreOffice's download.lst. Every
+# tarball download.lst lists appears below, either as a library block or with
+# the reason it cannot be used by this package.
+#
 # Exactly one if/else per library, and it decides everything about that
 # library:
 #
-#   %enable_X    1 = the library is built at all, 0 = --disable-X
+#   %enable_X    1 = the library/feature is built at all
 #   %bundle_X    1 = build the external tarball, 0 = link the system copy
-#   %support_X   the literal configure switch (may be %{nil})
-#   %version_X   version download.lst would fetch, whatever %bundle_X says
+#   %support_X   the literal configure switches (may be %%{nil})
+#   %version_X   version download.lst fetches, whatever %bundle_X says
 #
-# Everything further down is derived from these: the Source/Provides block
-# after the patches keys off %bundle_X, and configure is handed %support_X.
-# Do not add a system-vs-bundled decision anywhere else in this file.
+# Tumbleweed links every library it can against the system copy. SLE 15
+# (suse_version < 1600) bundles every library LibreOffice can build itself.
+# To change one library, change its %if; nothing else in this file needs to
+# follow, because everything further down is derived from these macros: the
+# Source/Provides/BuildRequires block after the patches keys off %bundle_X,
+# and configure is handed %support_X.
 #
 # LibreOffice only has an --enable-X/--disable-X for a handful of these,
 # and spells most of them differently from the library (libeot is
@@ -90,9 +130,7 @@
 # Libraries that are only consumed by another one do not get their own
 # distro test; they follow their driver's %bundle_X.
 #
-# %version_X is the version that goes into Provides: bundled(X). Source:
-# lines use it when the tarball name contains it verbatim, and spell the
-# name out otherwise.
+# Do not use %elif here: SLE 15 ships rpm 4.14, which does not know it.
 # ============================================================================
 
 # --- libraries with a real system-vs-bundled choice -------------------------
@@ -114,7 +152,7 @@
 # ---- argon2
 %global version_argon2           20190702
 %global enable_argon2            1
-%if 0%{?suse_version} < 1500
+%if 0%{?suse_version} < 1600
 %global bundle_argon2            1
 %global support_argon2           --without-system-argon2
 %else
@@ -122,13 +160,19 @@
 %global support_argon2           --with-system-argon2
 %endif
 # ---- beanshell
+%global version_beanshell        2.1.1
 %global enable_beanshell         1
+%if 0%{?suse_version} < 1600
+%global bundle_beanshell         1
+%global support_beanshell        --enable-scripting-beanshell 
--without-system-beanshell
+%else
 %global bundle_beanshell         0
 %global support_beanshell        --enable-scripting-beanshell 
--with-system-beanshell
+%endif
 # ---- boost
-%global version_boost            1.89.0
+%global version_boost            1.91.0
 %global enable_boost             1
-%if 0%{?suse_version} < 1550
+%if 0%{?suse_version} < 1600
 %global bundle_boost             1
 %global support_boost            --without-system-boost
 %else
@@ -136,25 +180,44 @@
 %global support_boost            --with-system-boost
 %endif
 # ---- box2d
+%global version_box2d            3.1.1
 %global enable_box2d             1
+%if 0%{?suse_version} < 1600
+%global bundle_box2d             1
+%global support_box2d            --without-system-box2d
+%else
 %global bundle_box2d             0
 %global support_box2d            --with-system-box2d
-# ---- cairo
+%endif
+# ---- cairo (configure.ac: a non-system cairo combined with gtk3 "is known to 
cause trouble"; set %%bundle_cairo 1 and --without-system-cairo to override)
+%global version_cairo            1.18.4
 %global enable_cairo             1
 %global bundle_cairo             0
 %global support_cairo            --with-system-cairo
 # ---- clucene
+%global version_clucene          2.3.3.4
 %global enable_clucene           1
+%if 0%{?suse_version} < 1600
+%global bundle_clucene           1
+%global support_clucene          --without-system-clucene
+%else
 %global bundle_clucene           0
 %global support_clucene          --with-system-clucene
+%endif
 # ---- cppunit
+%global version_cppunit          1.15.1
 %global enable_cppunit           1
+%if 0%{?suse_version} < 1600
+%global bundle_cppunit           1
+%global support_cppunit          --without-system-cppunit
+%else
 %global bundle_cppunit           0
 %global support_cppunit          --with-system-cppunit
+%endif
 # ---- curl
-%global version_curl             8.14.1
+%global version_curl             8.23.0
 %global enable_curl              1
-%if 0%{?suse_version} <= 1500
+%if 0%{?suse_version} < 1600
 %global bundle_curl              1
 %global support_curl             --without-system-curl
 %else
@@ -162,26 +225,49 @@
 %global support_curl             --with-system-curl
 %endif
 # ---- dragonbox
+%global version_dragonbox        1.1.3
 %global enable_dragonbox         1
+%if 0%{?suse_version} < 1600
+%global bundle_dragonbox         1
+%global support_dragonbox        --without-system-dragonbox
+%else
 %global bundle_dragonbox         0
 %global support_dragonbox        --with-system-dragonbox
+%endif
 # ---- epoxy
+%global version_epoxy            1.5.10
 %global enable_epoxy             1
+%if 0%{?suse_version} < 1600
+%global bundle_epoxy             1
+%global support_epoxy            --without-system-epoxy
+%else
 %global bundle_epoxy             0
 %global support_epoxy            --with-system-epoxy
+%endif
 # ---- expat
+%global version_expat            2.10.0
 %global enable_expat             1
+%if 0%{?suse_version} < 1600
+%global bundle_expat             1
+%global support_expat            --without-system-expat
+%else
 %global bundle_expat             0
 %global support_expat            --with-system-expat
+%endif
 # ---- fast_float
 %global version_fast_float       8.2.10
 %global enable_fast_float        1
+%if 0%{?suse_version} < 1600
+%global bundle_fast_float        1
+%global support_fast_float       --without-system-fast-float
+%else
 %global bundle_fast_float        0
 %global support_fast_float       --with-system-fast-float
+%endif
 # ---- fontconfig
-%global version_fontconfig       2.17.1
+%global version_fontconfig       2.18.3
 %global enable_fontconfig        1
-%if 0%{?suse_version} < 1500
+%if 0%{?suse_version} < 1600
 %global bundle_fontconfig        1
 %global support_fontconfig       --without-system-fontconfig
 %else
@@ -189,9 +275,9 @@
 %global support_fontconfig       --with-system-fontconfig
 %endif
 # ---- freetype
-%global version_freetype         2.13.3
+%global version_freetype         2.15.0
 %global enable_freetype          1
-%if 0%{?suse_version} < 1500
+%if 0%{?suse_version} < 1600
 %global bundle_freetype          1
 %global support_freetype         --without-system-freetype
 %else
@@ -201,16 +287,27 @@
 # ---- frozen
 %global version_frozen           1.2.0
 %global enable_frozen            1
+%if 0%{?suse_version} < 1600
+%global bundle_frozen            1
+%global support_frozen           --without-system-frozen
+%else
 %global bundle_frozen            0
 %global support_frozen           --with-system-frozen
+%endif
 # ---- glm
+%global version_glm              1.0.3
 %global enable_glm               1
+%if 0%{?suse_version} < 1600
+%global bundle_glm               1
+%global support_glm              --without-system-glm
+%else
 %global bundle_glm               0
 %global support_glm              --with-system-glm
+%endif
 # ---- gpgme
 %global version_gpgme            1.24.3
 %global enable_gpgme             1
-%if 0%{?suse_version} <= 1500
+%if 0%{?suse_version} < 1600
 %global bundle_gpgme             1
 %global support_gpgme            --enable-gpgmepp --without-system-gpgmepp
 %else
@@ -218,38 +315,44 @@
 %global support_gpgme            --enable-gpgmepp --with-system-gpgmepp
 %endif
 # ---- harfbuzz
-%global version_harfbuzz         11.4.3
+%global version_harfbuzz         14.2.1
 %global enable_harfbuzz          1
-%if 0%{?suse_version} < 1300
+%if 0%{?suse_version} < 1600
 %global bundle_harfbuzz          1
 %global support_harfbuzz         --without-system-harfbuzz
 %else
 %global bundle_harfbuzz          0
 %global support_harfbuzz         --with-system-harfbuzz
 %endif
-# ---- graphite (graphite2 is only consumed by harfbuzz; it follows it)
-%global version_graphite         1.3.14
-%global enable_graphite          1
-%if %{bundle_harfbuzz}
-%global bundle_graphite          1
-%global support_graphite         --without-system-graphite
-%else
-%global bundle_graphite          0
-%global support_graphite         --with-system-graphite
-%endif
 # ---- hsqldb (the system version does not work with LibreOffice)
 %global version_hsqldb           1.8.0
 %global enable_hsqldb            1
 %global bundle_hsqldb            1
 %global support_hsqldb           --without-system-hsqldb
 # ---- hunspell
+%global version_hunspell         1.7.6
 %global enable_hunspell          1
+%if 0%{?suse_version} < 1600
+%global bundle_hunspell          1
+%global support_hunspell         --without-system-hunspell
+%else
 %global bundle_hunspell          0
 %global support_hunspell         --with-system-hunspell
+%endif
+# ---- hyphen (libhyphen; the switch is --with-system-altlinuxhyph)
+%global version_hyphen           2.8.9
+%global enable_hyphen            1
+%if 0%{?suse_version} < 1600
+%global bundle_hyphen            1
+%global support_hyphen           --without-system-altlinuxhyph
+%else
+%global bundle_hyphen            0
+%global support_hyphen           --with-system-altlinuxhyph
+%endif
 # ---- icu
-%global version_icu              77.1
+%global version_icu              78.3
 %global enable_icu               1
-%if 0%{?suse_version} < 1500
+%if 0%{?suse_version} < 1600
 %global bundle_icu               1
 %global support_icu              --without-system-icu
 %else
@@ -261,26 +364,45 @@
 %global enable_java_websocket    1
 %global bundle_java_websocket    1
 %global support_java_websocket   --without-system-java-websocket
-# ---- jfreereport (eleven separate zips, see the derived Source block; 
bsc#1195634)
+# ---- jfreereport (eleven separate zips; bsc#1195634)
+# (11 tarballs, see the derived region)
 %global enable_jfreereport       1
 %global bundle_jfreereport       1
 %global support_jfreereport      --enable-report-builder 
--without-system-jfreereport
 # ---- lcms2
+%global version_lcms2            2.20
 %global enable_lcms2             1
+%if 0%{?suse_version} < 1600
+%global bundle_lcms2             1
+%global support_lcms2            --without-system-lcms2
+%else
 %global bundle_lcms2             0
 %global support_lcms2            --with-system-lcms2
+%endif
 # ---- libabw
+%global version_libabw           0.1.4
 %global enable_libabw            1
+%if 0%{?suse_version} < 1600
+%global bundle_libabw            1
+%global support_libabw           --without-system-libabw
+%else
 %global bundle_libabw            0
 %global support_libabw           --with-system-libabw
+%endif
 # ---- libcdr
+%global version_libcdr           0.1.9
 %global enable_libcdr            1
+%if 0%{?suse_version} < 1600
+%global bundle_libcdr            1
+%global support_libcdr           --without-system-libcdr
+%else
 %global bundle_libcdr            0
 %global support_libcdr           --with-system-libcdr
+%endif
 # ---- libcmis
-%global version_libcmis          0.6.2
+%global version_libcmis          0.6.3
 %global enable_libcmis           1
-%if 0%{?suse_version} < 1550
+%if 0%{?suse_version} < 1600
 %global bundle_libcmis           1
 %global support_libcmis          --without-system-libcmis
 %else
@@ -288,53 +410,118 @@
 %global support_libcmis          --with-system-libcmis
 %endif
 # ---- libebook
+%global version_libebook         0.1.4
 %global enable_libebook          1
+%if 0%{?suse_version} < 1600
+%global bundle_libebook          1
+%global support_libebook         --without-system-libebook
+%else
 %global bundle_libebook          0
 %global support_libebook         --with-system-libebook
+%endif
 # ---- libeot
+%global version_libeot           0.01
 %global enable_libeot            1
+%if 0%{?suse_version} < 1600
+%global bundle_libeot            1
+%global support_libeot           --enable-eot --without-system-libeot
+%else
 %global bundle_libeot            0
 %global support_libeot           --enable-eot --with-system-libeot
+%endif
 # ---- libepubgen
+%global version_libepubgen       0.1.1
 %global enable_libepubgen        1
+%if 0%{?suse_version} < 1600
+%global bundle_libepubgen        1
+%global support_libepubgen       --without-system-libepubgen
+%else
 %global bundle_libepubgen        0
 %global support_libepubgen       --with-system-libepubgen
+%endif
 # ---- libetonyek
+%global version_libetonyek       0.1.13
 %global enable_libetonyek        1
+%if 0%{?suse_version} < 1600
+%global bundle_libetonyek        1
+%global support_libetonyek       --without-system-libetonyek
+%else
 %global bundle_libetonyek        0
 %global support_libetonyek       --with-system-libetonyek
+%endif
 # ---- libexttextcat
+%global version_libexttextcat    3.4.8
 %global enable_libexttextcat     1
+%if 0%{?suse_version} < 1600
+%global bundle_libexttextcat     1
+%global support_libexttextcat    --without-system-libexttextcat
+%else
 %global bundle_libexttextcat     0
 %global support_libexttextcat    --with-system-libexttextcat
-# ---- libfixmath (no tarball in download.lst)
+%endif
+# ---- libfixmath (LibreOffice carries an internal copy, there is no tarball)
 %global enable_libfixmath        1
+%if 0%{?suse_version} < 1600
+%global bundle_libfixmath        1
+%global support_libfixmath       --without-system-libfixmath
+%else
 %global bundle_libfixmath        0
 %global support_libfixmath       --with-system-libfixmath
+%endif
 # ---- libfreehand
+%global version_libfreehand      0.1.4
 %global enable_libfreehand       1
+%if 0%{?suse_version} < 1600
+%global bundle_libfreehand       1
+%global support_libfreehand      --without-system-libfreehand
+%else
 %global bundle_libfreehand       0
 %global support_libfreehand      --with-system-libfreehand
+%endif
 # ---- libjpeg (libjpeg-turbo)
+%global version_libjpeg          3.1.4.1
 %global enable_libjpeg           1
+%if 0%{?suse_version} < 1600
+%global bundle_libjpeg           1
+%global support_libjpeg          --without-system-jpeg
+%else
 %global bundle_libjpeg           0
 %global support_libjpeg          --with-system-jpeg
+%endif
 # ---- liblangtag
+%global version_liblangtag       0.6.8
 %global enable_liblangtag        1
+%if 0%{?suse_version} < 1600
+%global bundle_liblangtag        1
+%global support_liblangtag       --without-system-liblangtag
+%else
 %global bundle_liblangtag        0
 %global support_liblangtag       --with-system-liblangtag
+%endif
 # ---- libnumbertext
+%global version_libnumbertext    1.0.11
 %global enable_libnumbertext     1
+%if 0%{?suse_version} < 1600
+%global bundle_libnumbertext     1
+%global support_libnumbertext    --without-system-libnumbertext
+%else
 %global bundle_libnumbertext     0
 %global support_libnumbertext    --with-system-libnumbertext
+%endif
 # ---- libpng
+%global version_libpng           1.6.59
 %global enable_libpng            1
+%if 0%{?suse_version} < 1600
+%global bundle_libpng            1
+%global support_libpng           --without-system-libpng
+%else
 %global bundle_libpng            0
 %global support_libpng           --with-system-libpng
+%endif
 # ---- libtiff
-%global version_libtiff          4.7.0
+%global version_libtiff          4.7.2
 %global enable_libtiff           1
-%if 0%{?suse_version} < 1550
+%if 0%{?suse_version} < 1600
 %global bundle_libtiff           1
 %global support_libtiff          --without-system-libtiff
 %else
@@ -342,63 +529,138 @@
 %global support_libtiff          --with-system-libtiff
 %endif
 # ---- libwebp
+%global version_libwebp          1.6.0
 %global enable_libwebp           1
+%if 0%{?suse_version} < 1600
+%global bundle_libwebp           1
+%global support_libwebp          --without-system-libwebp
+%else
 %global bundle_libwebp           0
 %global support_libwebp          --with-system-libwebp
-# ---- libxml (covers libxml2 and libxslt)
+%endif
+# ---- libxml (libxml2; libxslt follows it)
+%global version_libxml           2.15.4
 %global enable_libxml            1
+%if 0%{?suse_version} < 1600
+%global bundle_libxml            1
+%global support_libxml           --without-system-libxml
+%else
 %global bundle_libxml            0
 %global support_libxml           --with-system-libxml
+%endif
 # ---- libzmf
+%global version_libzmf           0.0.2
 %global enable_libzmf            1
+%if 0%{?suse_version} < 1600
+%global bundle_libzmf            1
+%global support_libzmf           --without-system-libzmf
+%else
 %global bundle_libzmf            0
 %global support_libzmf           --with-system-libzmf
+%endif
 # ---- lpsolve
+%global version_lpsolve          5.5
 %global enable_lpsolve           1
+%if 0%{?suse_version} < 1600
+%global bundle_lpsolve           1
+%global support_lpsolve          --enable-lpsolve --without-system-lpsolve
+%else
 %global bundle_lpsolve           0
 %global support_lpsolve          --enable-lpsolve --with-system-lpsolve
+%endif
 # ---- lzma (xz)
-%global version_lzma             5.8.3
+%global version_lzma             5.8.4
 %global enable_lzma              1
+%if 0%{?suse_version} < 1600
+%global bundle_lzma              1
+%global support_lzma             --without-system-lzma
+%else
 %global bundle_lzma              0
 %global support_lzma             --with-system-lzma
+%endif
 # ---- mariadb
+%global version_mariadb          3.4.11
 %global enable_mariadb           1
+%if 0%{?suse_version} < 1600
+%global bundle_mariadb           1
+%global support_mariadb          --enable-mariadb-sdbc --without-system-mariadb
+%else
 %global bundle_mariadb           0
 %global support_mariadb          --enable-mariadb-sdbc --with-system-mariadb
+%endif
 # ---- md4c
-%global version_md4c             0.5.3
+%global version_md4c             0.6.0
 %global enable_md4c              1
+%if 0%{?suse_version} < 1600
+%global bundle_md4c              1
+%global support_md4c             --without-system-md4c
+%else
 %global bundle_md4c              0
 %global support_md4c             --with-system-md4c
+%endif
 # ---- mdds
 %global version_mdds             3.2.1
 %global enable_mdds              1
+%if 0%{?suse_version} < 1600
+%global bundle_mdds              1
+%global support_mdds             --without-system-mdds
+%else
 %global bundle_mdds              0
 %global support_mdds             --with-system-mdds
+%endif
 # ---- mspub
+%global version_mspub            0.1.5
 %global enable_mspub             1
+%if 0%{?suse_version} < 1600
+%global bundle_mspub             1
+%global support_mspub            --without-system-libmspub
+%else
 %global bundle_mspub             0
 %global support_mspub            --with-system-libmspub
+%endif
 # ---- mwaw
+%global version_mwaw             0.3.23
 %global enable_mwaw              1
+%if 0%{?suse_version} < 1600
+%global bundle_mwaw              1
+%global support_mwaw             --without-system-libmwaw
+%else
 %global bundle_mwaw              0
 %global support_mwaw             --with-system-libmwaw
+%endif
 # ---- mythes
+%global version_mythes           1.2.6
 %global enable_mythes            1
+%if 0%{?suse_version} < 1600
+%global bundle_mythes            1
+%global support_mythes           --without-system-mythes
+%else
 %global bundle_mythes            0
 %global support_mythes           --with-system-mythes
+%endif
 # ---- nss
+%global version_nss              3.133
 %global enable_nss               1
+%if 0%{?suse_version} < 1600
+%global bundle_nss               1
+%global support_nss              --enable-nss --without-system-nss
+%else
 %global bundle_nss               0
 %global support_nss              --enable-nss --with-system-nss
+%endif
 # ---- odfgen
+%global version_odfgen           0.1.8
 %global enable_odfgen            1
+%if 0%{?suse_version} < 1600
+%global bundle_odfgen            1
+%global support_odfgen           --without-system-libodfgen
+%else
 %global bundle_odfgen            0
 %global support_odfgen           --with-system-libodfgen
+%endif
 # ---- openjpeg (no tarball in download.lst; --without-system-openjpeg means 
no openjpeg at all)
 %global enable_openjpeg          1
-%if 0%{?suse_version} < 1500
+%if 0%{?suse_version} < 1600
 %global bundle_openjpeg          1
 %global support_openjpeg         --without-system-openjpeg
 %else
@@ -406,27 +668,49 @@
 %global support_openjpeg         --with-system-openjpeg
 %endif
 # ---- openldap
+%global version_openldap         2.7.2
 %global enable_openldap          1
+%if 0%{?suse_version} < 1600
+%global bundle_openldap          1
+%global support_openldap         --enable-ldap --without-system-openldap
+%else
 %global bundle_openldap          0
 %global support_openldap         --enable-ldap --with-system-openldap
-# ---- openssl (curl >= 8.20 needs OpenSSL >= 3.0, which SLE-15 does not ship 
by default)
-%global version_openssl          3.5.7
+%endif
+# ---- openssl
+%global version_openssl          3.5.9
 %global enable_openssl           1
+%if 0%{?suse_version} < 1600
+%global bundle_openssl           1
+%global support_openssl          --enable-openssl --without-system-openssl
+%else
 %global bundle_openssl           0
 %global support_openssl          --enable-openssl --with-system-openssl
+%endif
 # ---- orcus
 %global version_orcus            0.21.0
 %global enable_orcus             1
+%if 0%{?suse_version} < 1600
+%global bundle_orcus             1
+%global support_orcus            --without-system-orcus
+%else
 %global bundle_orcus             0
 %global support_orcus            --with-system-orcus
+%endif
 # ---- pagemaker
+%global version_pagemaker        0.0.4
 %global enable_pagemaker         1
+%if 0%{?suse_version} < 1600
+%global bundle_pagemaker         1
+%global support_pagemaker        --without-system-libpagemaker
+%else
 %global bundle_pagemaker         0
 %global support_pagemaker        --with-system-libpagemaker
+%endif
 # ---- poppler
-%global version_poppler          25.09.0
+%global version_poppler          26.11.0
 %global enable_poppler           1
-%if 0%{?suse_version} < 1550
+%if 0%{?suse_version} < 1600
 %global bundle_poppler           1
 %global support_poppler          --enable-poppler --without-system-poppler
 %else
@@ -434,94 +718,347 @@
 %global support_poppler          --enable-poppler --with-system-poppler
 %endif
 # ---- postgresql
+%global version_postgresql       15.19
 %global enable_postgresql        1
+%if 0%{?suse_version} < 1600
+%global bundle_postgresql        1
+%global support_postgresql       --enable-postgresql-sdbc 
--without-system-postgresql
+%else
 %global bundle_postgresql        0
 %global support_postgresql       --enable-postgresql-sdbc 
--with-system-postgresql
+%endif
 # ---- qxp
+%global version_qxp              0.0.3
 %global enable_qxp               1
+%if 0%{?suse_version} < 1600
+%global bundle_qxp               1
+%global support_qxp              --without-system-libqxp
+%else
 %global bundle_qxp               0
 %global support_qxp              --with-system-libqxp
-# ---- redland (covers raptor2 and rasqal)
+%endif
+# ---- redland (raptor2 and rasqal follow it)
+%global version_redland          1.0.17
 %global enable_redland           1
+%if 0%{?suse_version} < 1600
+%global bundle_redland           1
+%global support_redland          --without-system-redland
+%else
 %global bundle_redland           0
 %global support_redland          --with-system-redland
+%endif
 # ---- revenge
+%global version_revenge          0.0.6
 %global enable_revenge           1
+%if 0%{?suse_version} < 1600
+%global bundle_revenge           1
+%global support_revenge          --without-system-librevenge
+%else
 %global bundle_revenge           0
 %global support_revenge          --with-system-librevenge
+%endif
 # ---- rhino
+%global version_rhino            1.7.15.1
 %global enable_rhino             1
+%if 0%{?suse_version} < 1600
+%global bundle_rhino             1
+%global support_rhino            --enable-scripting-javascript 
--without-system-rhino
+%else
 %global bundle_rhino             0
 %global support_rhino            --enable-scripting-javascript 
--with-system-rhino
+%endif
 # ---- sqlite3
-%global version_sqlite3          3.53.4
+%global version_sqlite3          3.54.1
 %global enable_sqlite3           1
+%if 0%{?suse_version} < 1600
+%global bundle_sqlite3           1
+%global support_sqlite3          --without-system-sqlite3
+%else
 %global bundle_sqlite3           0
 %global support_sqlite3          --with-system-sqlite3
+%endif
 # ---- staroffice
+%global version_staroffice       0.0.8
 %global enable_staroffice        1
+%if 0%{?suse_version} < 1600
+%global bundle_staroffice        1
+%global support_staroffice       --without-system-libstaroffice
+%else
 %global bundle_staroffice        0
 %global support_staroffice       --with-system-libstaroffice
+%endif
 # ---- visio
+%global version_visio            0.1.11
 %global enable_visio             1
+%if 0%{?suse_version} < 1600
+%global bundle_visio             1
+%global support_visio            --without-system-libvisio
+%else
 %global bundle_visio             0
 %global support_visio            --with-system-libvisio
+%endif
 # ---- wpd
+%global version_wpd              0.10.3
 %global enable_wpd               1
+%if 0%{?suse_version} < 1600
+%global bundle_wpd               1
+%global support_wpd              --without-system-libwpd
+%else
 %global bundle_wpd               0
 %global support_wpd              --with-system-libwpd
+%endif
 # ---- wpg
+%global version_wpg              0.3.4
 %global enable_wpg               1
+%if 0%{?suse_version} < 1600
+%global bundle_wpg               1
+%global support_wpg              --without-system-libwpg
+%else
 %global bundle_wpg               0
 %global support_wpg              --with-system-libwpg
+%endif
 # ---- wps
+%global version_wps              0.4.14
 %global enable_wps               1
+%if 0%{?suse_version} < 1600
+%global bundle_wps               1
+%global support_wps              --without-system-libwps
+%else
 %global bundle_wps               0
 %global support_wps              --with-system-libwps
-# ---- xmlsec (SLE stages xmlsec1-1.3.12.tar.gz but builds against system 
xmlsec1-nss)
+%endif
+# ---- xmlsec
 %global version_xmlsec           1.3.12
 %global enable_xmlsec            1
+%if 0%{?suse_version} < 1600
+%global bundle_xmlsec            1
+%global support_xmlsec           --without-system-xmlsec
+%else
 %global bundle_xmlsec            0
 %global support_xmlsec           --with-system-xmlsec
+%endif
 # ---- zlib
+%global version_zlib             1.4
 %global enable_zlib              1
+%if 0%{?suse_version} < 1600
+%global bundle_zlib              1
+%global support_zlib             --without-system-zlib
+%else
 %global bundle_zlib              0
 %global support_zlib             --with-system-zlib
+%endif
 # ---- zstd
+%global version_zstd             1.5.7
 %global enable_zstd              1
+%if 0%{?suse_version} < 1600
+%global bundle_zstd              1
+%global support_zstd             --without-system-zstd
+%else
 %global bundle_zstd              0
 %global support_zstd             --with-system-zstd
+%endif
 # ---- zxcvbn
+%global version_zxcvbn           2.6
 %global enable_zxcvbn            1
+%if 0%{?suse_version} < 1600
+%global bundle_zxcvbn            1
+%global support_zxcvbn           --without-system-zxcvbn
+%else
 %global bundle_zxcvbn            0
 %global support_zxcvbn           --with-system-zxcvbn
+%endif
 # ---- zxing
+%global version_zxing            3.1.1
 %global enable_zxing             1
+%if 0%{?suse_version} < 1600
+%global bundle_zxing             1
+%global support_zxing            --enable-zxing --without-system-zxing
+%else
 %global bundle_zxing             0
 %global support_zxing            --enable-zxing --with-system-zxing
+%endif
 
 # --- python: the switch is --enable-python, not --with-system-python --------
 
 # ---- python
-%global version_python           3.13.15
+%global version_python           3.13.18
 %global enable_python            1
+%if 0%{?suse_version} < 1600
+%global bundle_python            1
+%global support_python           --enable-python=internal
+%else
 %global bundle_python            0
 %global support_python           --enable-python=system
+%endif
 
-# --- always bundled: no --with-system-* option exists ------------------------
+# --- features that are off or distro-dependent; flip %enable_X --------------
+
+# ---- firebird (follows the firebird bcond at the top of this file)
+%global version_firebird         3.0.14.33856
+%if %{with firebird}
+%global enable_firebird          1
+%else
+%global enable_firebird          0
+%endif
+%if %{enable_firebird}
+%if 0%{?suse_version} < 1600
+%global bundle_firebird          1
+%global support_firebird         --enable-firebird-sdbc 
--without-system-firebird
+%else
+%global bundle_firebird          0
+%global support_firebird         --enable-firebird-sdbc --with-system-firebird
+%endif
+%else
+%global bundle_firebird          0
+%global support_firebird         --disable-firebird-sdbc
+%endif
+# ---- breakpad: crash reporting
+%global version_breakpad         b324760c7f53667af128a6b77b790323da04fcb9
+%global enable_breakpad          0
+%if %{enable_breakpad}
+%global bundle_breakpad          1
+%global support_breakpad         --enable-breakpad
+%else
+%global bundle_breakpad          0
+%global support_breakpad         --disable-breakpad
+%endif
+# ---- coinmp: no coinmp packages to build against
+%global version_coinmp           1.8.4
+%global enable_coinmp            0
+%if %{enable_coinmp}
+%if 0%{?suse_version} < 1600
+%global bundle_coinmp            1
+%global support_coinmp           --enable-coinmp --without-system-coinmp
+%else
+%global bundle_coinmp            0
+%global support_coinmp           --enable-coinmp --with-system-coinmp
+%endif
+%else
+%global bundle_coinmp            0
+%global support_coinmp           --disable-coinmp
+%endif
+# ---- epm: LibreOffice's own packaging code, superfluous under rpmbuild
+%global version_epm              3.7
+%global enable_epm               0
+%if %{enable_epm}
+%global bundle_epm               1
+%global support_epm              --enable-epm
+%else
+%global bundle_epm               0
+%global support_epm              --disable-epm
+%endif
+# ---- onlineupdate: the distribution updates LibreOffice, not LibreOffice 
itself
+%global version_onlineupdate     c003be8b9727672e7d30972983b375f4c200233f-2
+%global enable_onlineupdate      0
+%if %{enable_onlineupdate}
+%global bundle_onlineupdate      1
+%global support_onlineupdate     --enable-online-update
+%else
+%global bundle_onlineupdate      0
+%global support_onlineupdate     --disable-online-update
+%endif
+# ---- quickjs: experimental QuickJS scripting
+%global version_quickjs          0.18.0
+%global enable_quickjs           0
+%if %{enable_quickjs}
+%global bundle_quickjs           1
+%global support_quickjs          --enable-quickjs
+%else
+%global bundle_quickjs           0
+%global support_quickjs          --disable-quickjs
+%endif
+# ---- export_validation: validator jars for the export integration tests
+# (3 tarballs, see the derived region)
+%global enable_export_validation 0
+%if %{enable_export_validation}
+%global bundle_export_validation 1
+%global support_export_validation --with-export-validation
+%else
+%global bundle_export_validation 0
+%global support_export_validation --without-export-validation
+%endif
+# ---- fonts: we use the distribution font packages
+# (33 tarballs, see the derived region)
+%global enable_fonts             0
+%if %{enable_fonts}
+%global bundle_fonts             1
+%global support_fonts            --with-fonts
+%else
+%global bundle_fonts             0
+%global support_fonts            --without-fonts
+%endif
+
+# --- always bundled: no --with-system-* option exists -----------------------
+
+# ---- pdfium
+%global version_pdfium           8073
+%ifarch %{aarch64}
+%if 0%{?suse_version} < 1550
+%global enable_pdfium            0
+%global support_pdfium           --disable-pdfium
+%else
+%global enable_pdfium            1
+%global support_pdfium           --enable-pdfium
+%endif
+%else
+%global enable_pdfium            1
+%global support_pdfium           --enable-pdfium
+%endif
+%global bundle_pdfium            1
+# ---- skia (part of chromium; upstream ships it monorepo-style only)
+%global version_skia             m147
+%ifnarch s390x ppc64 ppc %{ix86}
+%global enable_skia              1
+%global support_skia             --enable-skia
+%else
+%global enable_skia              0
+%global support_skia             --disable-skia
+%endif
+%global bundle_skia              1
+# ---- xsltml (needed by wiki-publisher)
+%global version_xsltml           2.1.2
+%global enable_xsltml            1
+%global bundle_xsltml            1
+%global support_xsltml           %{nil}
+
+# --- only consumed by another library; they follow it -----------------------
 
 # ---- antlr4 (build dependency of afdko)
 %global version_antlr4           4.13.2
 %global enable_antlr4            1
-%if %{bundle_afdko}
 %global bundle_antlr4            1
 %global support_antlr4           %{nil}
+# ---- bzip2 (only used by the internal Python)
+%global version_bzip2            1.0.8
+%global enable_bzip2             1
+%if %{bundle_python}
+%global bundle_bzip2             1
+%global support_bzip2            --without-system-bzip2
 %else
-%global bundle_antlr4            0
-%global support_antlr4           %{nil}
+%global bundle_bzip2             0
+%global support_bzip2            --with-system-bzip2
+%endif
+# ---- colamd (no tarball, the internal lpsolve builds it from the lp_solve 
sources; configure only asks when lpsolve is internal)
+%global enable_colamd            1
+%if %{bundle_lpsolve}
+%global bundle_colamd            1
+%global support_colamd           --without-system-colamd
+%else
+%global bundle_colamd            0
+%global support_colamd           --with-system-colamd
+%endif
+# ---- graphite (configure requires it to follow harfbuzz)
+%global version_graphite         1.3.15
+%global enable_graphite          1
+%if %{bundle_harfbuzz}
+%global bundle_graphite          1
+%global support_graphite         --without-system-graphite
+%else
+%global bundle_graphite          0
+%global support_graphite         --with-system-graphite
 %endif
 # ---- icu_data
-%global version_icu_data         77.1
+%global version_icu_data         78.3
 %global enable_icu_data          1
 %if %{bundle_icu}
 %global bundle_icu_data          1
@@ -530,6 +1067,16 @@
 %global bundle_icu_data          0
 %global support_icu_data         %{nil}
 %endif
+# ---- langtagreg (language-subtag-registry for the internal liblangtag)
+%global version_langtagreg       2026-9-17
+%global enable_langtagreg        1
+%if %{bundle_liblangtag}
+%global bundle_langtagreg        1
+%global support_langtagreg       %{nil}
+%else
+%global bundle_langtagreg        0
+%global support_langtagreg       %{nil}
+%endif
 # ---- libassuan
 %global version_libassuan        3.0.2
 %global enable_libassuan         1
@@ -540,8 +1087,28 @@
 %global bundle_libassuan         0
 %global support_libassuan        %{nil}
 %endif
+# ---- libatomic_ops (used by the internal firebird on non-Intel)
+%global version_libatomic_ops    7.10.0
+%global enable_libatomic_ops     1
+%if %{bundle_firebird}
+%global bundle_libatomic_ops     1
+%global support_libatomic_ops    --without-system-libatomic_ops
+%else
+%global bundle_libatomic_ops     0
+%global support_libatomic_ops    --with-system-libatomic_ops
+%endif
+# ---- libffi (only used by the internal Python)
+%global version_libffi           3.8.0
+%global enable_libffi            1
+%if %{bundle_python}
+%global bundle_libffi            1
+%global support_libffi           %{nil}
+%else
+%global bundle_libffi            0
+%global support_libffi           %{nil}
+%endif
 # ---- libgpgerror
-%global version_libgpgerror      1.55
+%global version_libgpgerror      1.61
 %global enable_libgpgerror       1
 %if %{bundle_gpgme}
 %global bundle_libgpgerror       1
@@ -550,18 +1117,28 @@
 %global bundle_libgpgerror       0
 %global support_libgpgerror      %{nil}
 %endif
-# ---- libffi (only needed by the internal Python)
-%global version_libffi           3.5.2
-%global enable_libffi            1
-%if %{bundle_python}
-%global bundle_libffi            1
-%global support_libffi           %{nil}
+# ---- libtommath (used by the internal firebird)
+%global version_libtommath       1.3.0
+%global enable_libtommath        1
+%if %{bundle_firebird}
+%global bundle_libtommath        1
+%global support_libtommath       --without-system-libtommath
 %else
-%global bundle_libffi            0
-%global support_libffi           %{nil}
+%global bundle_libtommath        0
+%global support_libtommath       --with-system-libtommath
+%endif
+# ---- libxslt (covered by --with-system-libxml)
+%global version_libxslt          1.1.45
+%global enable_libxslt           1
+%if %{bundle_libxml}
+%global bundle_libxslt           1
+%global support_libxslt          %{nil}
+%else
+%global bundle_libxslt           0
+%global support_libxslt          %{nil}
 %endif
-# ---- lxml (only needed by the internal Python)
-%global version_lxml             6.1.1
+# ---- lxml (only used by the internal Python)
+%global version_lxml             6.1.3
 %global enable_lxml              1
 %if %{bundle_python}
 %global bundle_lxml              1
@@ -570,41 +1147,26 @@
 %global bundle_lxml              0
 %global support_lxml             %{nil}
 %endif
-# ---- meson (build tool for the bundled harfbuzz / fontconfig / freetype)
-%global version_meson            1.8.0
+# ---- meson (build tool for the internal harfbuzz and cairo)
+%global version_meson            1.8.3
 %global enable_meson             1
-%if %{bundle_harfbuzz} || %{bundle_fontconfig} || %{bundle_freetype}
+%if %{bundle_harfbuzz} || %{bundle_cairo}
 %global bundle_meson             1
 %global support_meson            %{nil}
 %else
 %global bundle_meson             0
 %global support_meson            %{nil}
 %endif
-# ---- odfvalidator (integration tests; inert while 
--without-export-validation is passed)
-%global version_odfvalidator     0.9.0
-%global enable_odfvalidator      1
-%global bundle_odfvalidator      1
-%global support_odfvalidator     %{nil}
-# ---- officeotron (integration tests; inert while --without-export-validation 
is passed)
-%global version_officeotron      0.7.4
-%global enable_officeotron       1
-%global bundle_officeotron       1
-%global support_officeotron      %{nil}
-# ---- pdfium (bundled everywhere)
-%global version_pdfium           7681
-%ifarch %{aarch64}
-%if 0%{?suse_version} < 1550
-%global enable_pdfium            0
-%global support_pdfium           --disable-pdfium
-%else
-%global enable_pdfium            1
-%global support_pdfium           --enable-pdfium
-%endif
+# ---- pixman (only used by the internal cairo)
+%global version_pixman           0.46.4
+%global enable_pixman            1
+%if %{bundle_cairo}
+%global bundle_pixman            1
+%global support_pixman           %{nil}
 %else
-%global enable_pdfium            1
-%global support_pdfium           --enable-pdfium
+%global bundle_pixman            0
+%global support_pixman           %{nil}
 %endif
-%global bundle_pdfium            1
 # ---- poppler_data
 %global version_poppler_data     0.4.12
 %global enable_poppler_data      1
@@ -615,223 +1177,50 @@
 %global bundle_poppler_data      0
 %global support_poppler_data     %{nil}
 %endif
-# ---- skia (part of chromium; upstream ships it monorepo-style only)
-%global version_skia             m147
-%ifnarch s390x ppc64 ppc %{ix86}
-%global enable_skia              1
-%global support_skia             --enable-skia
+# ---- raptor
+%global version_raptor           2.0.16
+%global enable_raptor            1
+%if %{bundle_redland}
+%global bundle_raptor            1
+%global support_raptor           %{nil}
 %else
-%global enable_skia              0
-%global support_skia             --disable-skia
+%global bundle_raptor            0
+%global support_raptor           %{nil}
 %endif
-%global bundle_skia              1
-# ---- xsltml (needed by wiki-publisher)
-%global version_xsltml           2.1.2
-%global enable_xsltml            1
-%global bundle_xsltml            1
-%global support_xsltml           %{nil}
-
-# --- in download.lst but not reachable in this build -------------------------
-
-# ---- breakpad: crash reporting is not enabled
-%global enable_breakpad          0
-%global bundle_breakpad          0
-%global support_breakpad         --disable-breakpad
-# ---- bzip2: only used by --enable-online-update-mar or the internal Python, 
and both take the system copy via --with-system-libs
-%global enable_bzip2             0
-%global bundle_bzip2             0
-%global support_bzip2            %{nil}
-# ---- coinmp: no coinmp packages to build against
-%global enable_coinmp            0
-%global bundle_coinmp            0
-%global support_coinmp           --disable-coinmp
-# ---- epm: LibreOffice's own packaging code, superfluous under rpmbuild
-%global enable_epm               0
-%global bundle_epm               0
-%global support_epm              --disable-epm
-# ---- firebird: follows the firebird bcond at the top of this file
-%if %{with firebird}
-%global enable_firebird          1
-%global support_firebird         --enable-firebird-sdbc
+# ---- rasqal
+%global version_rasqal           0.9.33
+%global enable_rasqal            1
+%if %{bundle_redland}
+%global bundle_rasqal            1
+%global support_rasqal           %{nil}
 %else
-%global enable_firebird          0
-%global support_firebird         --disable-firebird-sdbc
+%global bundle_rasqal            0
+%global support_rasqal           %{nil}
 %endif
-%global bundle_firebird          0
-# ---- hyphen: --with-system-dicts plus --with-external-hyph-dir
-%global enable_hyphen            0
-%global bundle_hyphen            0
-%global support_hyphen           %{nil}
+
+# --- in download.lst, but cannot be used by this package --------------------
+
 # ---- iaccessible2: Windows only
-%global enable_iaccessible2      0
-%global bundle_iaccessible2      0
-%global support_iaccessible2     %{nil}
-# ---- langtagreg: only used with a bundled liblangtag
-%global enable_langtagreg        0
-%global bundle_langtagreg        0
-%global support_langtagreg       %{nil}
-# ---- libatomic_ops: only used by the internal firebird on non-Intel
-%global enable_libatomic_ops     0
-%global bundle_libatomic_ops     0
-%global support_libatomic_ops    %{nil}
-# ---- libtommath: only used by the internal firebird
-%global enable_libtommath        0
-%global bundle_libtommath        0
-%global support_libtommath       %{nil}
 # ---- mdnsresponder: Windows only
-%global enable_mdnsresponder     0
-%global bundle_mdnsresponder     0
-%global support_mdnsresponder    %{nil}
-# ---- onlineupdate: the distribution updates LibreOffice, not LibreOffice 
itself
-%global enable_onlineupdate      0
-%global bundle_onlineupdate      0
-%global support_onlineupdate     --disable-online-update
-# ---- pixman: only used with a bundled cairo
-%global enable_pixman            0
-%global bundle_pixman            0
-%global support_pixman           %{nil}
 # ---- python_bootstrap: Windows only
-%global enable_python_bootstrap  0
-%global bundle_python_bootstrap  0
-%global support_python_bootstrap %{nil}
-# ---- quickjs: experimental QuickJS scripting (LO 26.8 download.lst only)
-%global enable_quickjs           0
-%global bundle_quickjs           0
-%global support_quickjs          --disable-quickjs
-# ---- raptor: only used with a bundled redland
-%global enable_raptor            0
-%global bundle_raptor            0
-%global support_raptor           %{nil}
-# ---- rasqal: only used with a bundled redland
-%global enable_rasqal            0
-%global bundle_rasqal            0
-%global support_rasqal           %{nil}
 # ---- twain_dsm: Windows only
-%global enable_twain_dsm         0
-%global bundle_twain_dsm         0
-%global support_twain_dsm        %{nil}
-# ---- verapdf: --without-export-validation (LO 26.8 download.lst only)
-%global enable_verapdf           0
-%global bundle_verapdf           0
-%global support_verapdf          %{nil}
-# ---- yrs: --with-yrs is not passed
-%global enable_yrs               0
-%global bundle_yrs               0
-%global support_yrs              %{nil}
-
-# ---- fonts: --without-fonts, we use the distribution font packages
-%global enable_font_agdasima     0
-%global bundle_font_agdasima     0
-%global support_font_agdasima    %{nil}
-%global enable_font_alef         0
-%global bundle_font_alef         0
-%global support_font_alef        %{nil}
-%global enable_font_amiri        0
-%global bundle_font_amiri        0
-%global support_font_amiri       %{nil}
-%global enable_font_bacasime_antique 0
-%global bundle_font_bacasime_antique 0
-%global support_font_bacasime_antique %{nil}
-%global enable_font_belanosima   0
-%global bundle_font_belanosima   0
-%global support_font_belanosima  %{nil}
-%global enable_font_caladea      0
-%global bundle_font_caladea      0
-%global support_font_caladea     %{nil}
-%global enable_font_caprasimo    0
-%global bundle_font_caprasimo    0
-%global support_font_caprasimo   %{nil}
-%global enable_font_carlito      0
-%global bundle_font_carlito      0
-%global support_font_carlito     %{nil}
-%global enable_font_culmus       0
-%global bundle_font_culmus       0
-%global support_font_culmus      %{nil}
-%global enable_font_dejavu       0
-%global bundle_font_dejavu       0
-%global support_font_dejavu      %{nil}
-%global enable_font_gentium      0
-%global bundle_font_gentium      0
-%global support_font_gentium     %{nil}
-%global enable_font_liberation   0
-%global bundle_font_liberation   0
-%global support_font_liberation  %{nil}
-%global enable_font_liberation_narrow 0
-%global bundle_font_liberation_narrow 0
-%global support_font_liberation_narrow %{nil}
-%global enable_font_libre_hebrew 0
-%global bundle_font_libre_hebrew 0
-%global support_font_libre_hebrew %{nil}
-%global enable_font_linlibertineg 0
-%global bundle_font_linlibertineg 0
-%global support_font_linlibertineg %{nil}
-%global enable_font_lugrasimo    0
-%global bundle_font_lugrasimo    0
-%global support_font_lugrasimo   %{nil}
-%global enable_font_lumanosimo   0
-%global bundle_font_lumanosimo   0
-%global support_font_lumanosimo  %{nil}
-%global enable_font_lunasima     0
-%global bundle_font_lunasima     0
-%global support_font_lunasima    %{nil}
-%global enable_font_noto_kufi_arabic 0
-%global bundle_font_noto_kufi_arabic 0
-%global support_font_noto_kufi_arabic %{nil}
-%global enable_font_noto_naskh_arabic 0
-%global bundle_font_noto_naskh_arabic 0
-%global support_font_noto_naskh_arabic %{nil}
-%global enable_font_noto_sans    0
-%global bundle_font_noto_sans    0
-%global support_font_noto_sans   %{nil}
-%global enable_font_noto_sans_arabic 0
-%global bundle_font_noto_sans_arabic 0
-%global support_font_noto_sans_arabic %{nil}
-%global enable_font_noto_sans_armenian 0
-%global bundle_font_noto_sans_armenian 0
-%global support_font_noto_sans_armenian %{nil}
-%global enable_font_noto_sans_georgian 0
-%global bundle_font_noto_sans_georgian 0
-%global support_font_noto_sans_georgian %{nil}
-%global enable_font_noto_sans_hebrew 0
-%global bundle_font_noto_sans_hebrew 0
-%global support_font_noto_sans_hebrew %{nil}
-%global enable_font_noto_sans_lao 0
-%global bundle_font_noto_sans_lao 0
-%global support_font_noto_sans_lao %{nil}
-%global enable_font_noto_sans_lisu 0
-%global bundle_font_noto_sans_lisu 0
-%global support_font_noto_sans_lisu %{nil}
-%global enable_font_noto_serif   0
-%global bundle_font_noto_serif   0
-%global support_font_noto_serif  %{nil}
-%global enable_font_noto_serif_armenian 0
-%global bundle_font_noto_serif_armenian 0
-%global support_font_noto_serif_armenian %{nil}
-%global enable_font_noto_serif_georgian 0
-%global bundle_font_noto_serif_georgian 0
-%global support_font_noto_serif_georgian %{nil}
-%global enable_font_noto_serif_hebrew 0
-%global bundle_font_noto_serif_hebrew 0
-%global support_font_noto_serif_hebrew %{nil}
-%global enable_font_noto_serif_lao 0
-%global bundle_font_noto_serif_lao 0
-%global support_font_noto_serif_lao %{nil}
-%global enable_font_reem         0
-%global bundle_font_reem         0
-%global support_font_reem        %{nil}
-%global enable_font_scheherazade 0
-%global bundle_font_scheherazade 0
-%global support_font_scheherazade %{nil}
+# ---- opensymbol: prebuilt opens___.ttf; --enable-build-opensymbol builds it 
from source
+# ---- yrs: --with-yrs runs `cargo fetch` for its Rust crates, which cannot 
work offline
 
-%if %{bundle_gpgme}
+# ============================ end of the external library configuration ====
+
+%if %{bundle_gpgme} || %{bundle_python} || %{bundle_firebird}
 # Hack in the bundled libs to not pop up on requires/provides to avoid
-# faking libreoffice provide some system packages
-%global __provides_exclude_from 
^%{_libdir}/libreoffice/program/lib(gpg|assuan).*\\.so.*$
-%global __requires_exclude_from 
^%{_libdir}/libreoffice/program/lib(gpg|assuan).*\\.so.*$
-%global __requires_exclude ^libgpgmepp\\.so.*$
+# faking libreoffice provide some system packages; the bundled Python's
+# scripts would otherwise require a /usr/bin/python nobody provides.
+# libfirebird_sdbclo.so links the bundled libfbclient, so its requirement
+# has to go along with the provide.
+%global __provides_exclude_from 
^%{_libdir}/libreoffice/program/(intl/)?lib(gpg|assuan|fbclient|Engine12|fbintl).*\\.so.*$
+%global __requires_exclude_from 
^%{_libdir}/libreoffice/program/(intl/)?lib(gpg|assuan|fbclient|Engine12|fbintl).*\\.so.*$
+%global __requires_exclude 
^(libgpgmepp\\.so.*|libfbclient\\.so.*|/usr/bin/python)$
 %endif
 Name:           libreoffice
-Version:        26.8.1.1
+Version:        26.8.3.1
 Release:        0
 Summary:        A Free Office Suite (Framework)
 License:        LGPL-3.0-or-later AND MPL-2.0+
@@ -868,6 +1257,25 @@
 Patch16:        box2d-detection.patch
 # PATCH-FIX-UPSTREAM do not crash in the Base wizard when Firebird is not built
 Patch17:        dbaccess-no-firebird-default-crash.patch
+# Patches 18-21 are only applied when the library they fix is bundled (see
+# %%prep), but they are declared unconditionally: they are files in the
+# package, and source_validator rejects tracked files it cannot see declared.
+# A "%%{name}" guard, as used for the bundled tarballs below, would hide them.
+# PATCH-FIX-SUSE fix the bundled Python's SOABI and _sysconfigdata names on
+# s390x and 32-bit x86
+Patch18:        python3-soabi.patch
+# PATCH-FIX-SUSE the bundled fontconfig's fc-genericfamily.py needs Python
+# >= 3.7 for sys.stdout.reconfigure(); SLE 15 builds with 3.6
+Patch19:        fontconfig-python36.patch
+# PATCH-FIX-UPSTREAM the bundled lxml's "setup.py install" step is not told
+# where the internal libxml2/libxslt are, only "setup.py build" is
+Patch20:        lxml-install-xml2-config.patch
+# PATCH-FIX-UPSTREAM the bundled NSS is built 32-bit on s390x: USE_64=1 is
+# only passed for x86_64, aarch64 and ppc64le
+Patch21:        nss-s390x-use-64.patch
+# PATCH-FIX-UPSTREAM GCC >= 15 cannot honour skcms' forced tail calls on
+# ppc64le; skia is bundled everywhere, so this applies to every distribution
+Patch22:        skia-skcms-powerpc-musttail.patch
 # try to save space by using hardlinks
 Patch990:       install-with-hardlinks.diff
 # save time by relying on rpm check rather than doing stupid find+grep
@@ -882,37 +1290,169 @@
 # Derived from the external library configuration
 #
 # Every block here is guarded by a single %bundle_* macro from that region.
-# Nothing here may test %suse_version to decide bundled-vs-system; the only
+# Nothing here may test %%suse_version to decide bundled-vs-system; the only
 # distro tests left are about how a system package happens to be split up.
 #
+# Why the guards read `"%%{name}" == "libreoffice" && %%{bundle_X}`: OBS'
+# source_validator does not evaluate %if, except for %if lines that mention
+# %%{name}, and it requires every Source: it can see to be a file in the
+# package. Without the %%{name} test, Tumbleweed would have to carry every
+# tarball SLE bundles. With it, the validator evaluates %%{bundle_X} -- as the
+# last value the region assigns, which is 0 for anything not always bundled
+# -- and only asks for the tarballs that are always shipped. rpmbuild itself
+# evaluates the whole condition normally.
+#
 # Source numbers are historical and carry no meaning beyond uniqueness.
 # ============================================================================
-%if %{bundle_afdko}
+%if !%{bundle_abseil}
+BuildRequires:  abseil-cpp-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_afdko}
 Source403:      %{external_url}/afdko-%{version_afdko}.tar.gz
+Provides:       bundled(afdko) = %{version_afdko}
 %endif
-%if %{bundle_antlr4}
-Source404:      %{external_url}/antlr4-cpp-runtime-%{version_antlr4}-source.zip
+%if "%{name}" == "libreoffice" && %{bundle_argon2}
+Source2027:     %{external_url}/phc-winner-argon2-%{version_argon2}.tar.gz
+Provides:       bundled(argon2) = %{version_argon2}
+%else
+BuildRequires:  argon2-devel
 %endif
-%if %{bundle_hsqldb}
+%if "%{name}" == "libreoffice" && %{bundle_beanshell}
+Source4000:     %{external_url}/bsh-%{version_beanshell}-src.zip
+Provides:       bundled(bsh) = %{version_beanshell}
+%else
+BuildRequires:  bsh2
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_boost}
+Source2020:     %{external_url}/boost_1_91_0.tar.xz
+Provides:       bundled(boost) = %{version_boost}
+%else
+BuildRequires:  libboost_date_time-devel
+BuildRequires:  libboost_filesystem-devel
+BuildRequires:  libboost_iostreams-devel
+BuildRequires:  libboost_locale-devel
+# boost_system stopped being a separate library after 1.69
+%if 0%{?suse_version} <= 1550
+BuildRequires:  libboost_system-devel
+%endif
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_box2d}
+Source4001:     %{external_url}/box2d-%{version_box2d}.tar.gz
+Provides:       bundled(box2d) = %{version_box2d}
+%else
+BuildRequires:  libbox2d-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_cairo}
+Source4002:     %{external_url}/cairo-%{version_cairo}.tar.xz
+Provides:       bundled(cairo) = %{version_cairo}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_clucene}
+Source4003:     
%{external_url}/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-%{version_clucene}.tar.gz
+Provides:       bundled(clucene) = %{version_clucene}
+%else
+BuildRequires:  pkgconfig(libclucene-core)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_cppunit}
+Source4004:     %{external_url}/cppunit-%{version_cppunit}.tar.gz
+Provides:       bundled(cppunit) = %{version_cppunit}
+%else
+BuildRequires:  libcppunit-devel >= 1.14.0
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_curl}
+Source2013:     %{external_url}/curl-%{version_curl}.tar.xz
+Provides:       bundled(curl) = %{version_curl}
+%else
+BuildRequires:  curl-devel >= 7.68.0
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_dragonbox}
+Source4005:     %{external_url}/dragonbox-%{version_dragonbox}.tar.gz
+Provides:       bundled(dragonbox) = %{version_dragonbox}
+%else
+BuildRequires:  dragonbox-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_epoxy}
+Source4006:     %{external_url}/libepoxy-%{version_epoxy}.tar.gz
+Provides:       bundled(libepoxy) = %{version_epoxy}
+BuildRequires:  pkgconfig(egl)
+%else
+BuildRequires:  pkgconfig(epoxy) >= 1.2
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_expat}
+Source4007:     %{external_url}/expat-%{version_expat}.tar.xz
+Provides:       bundled(expat) = %{version_expat}
+%else
+BuildRequires:  pkgconfig(expat)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_fast_float}
+Source3004:     %{external_url}/fast_float-%{version_fast_float}.tar.gz
+Provides:       bundled(fast_float) = %{version_fast_float}
+%else
+BuildRequires:  fast_float-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_fontconfig}
+Source2028:     %{external_url}/fontconfig-%{version_fontconfig}.tar.xz
+Provides:       bundled(fontconfig) = %{version_fontconfig}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_freetype}
+Source2029:     %{external_url}/freetype-%{version_freetype}.tar.xz
+Provides:       bundled(freetype) = %{version_freetype}
+%else
+BuildRequires:  pkgconfig(freetype2)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_frozen}
+Source2011:     %{external_url}/frozen-%{version_frozen}.tar.gz
+Provides:       bundled(frozen) = %{version_frozen}
+%else
+BuildRequires:  frozen-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_glm}
+Source4008:     %{external_url}/glm-%{version_glm}.zip
+Provides:       bundled(glm) = %{version_glm}
+%else
+BuildRequires:  glm-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_gpgme}
+Source1000:     %{external_url}/gpgme-%{version_gpgme}.tar.bz2
+Provides:       bundled(gpgme) = %{version_gpgme}
+%else
+BuildRequires:  libgpgmepp-devel >= 1.14
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_harfbuzz}
+Source2025:     %{external_url}/harfbuzz-%{version_harfbuzz}.tar.xz
+Provides:       bundled(harfbuzz) = %{version_harfbuzz}
+%else
+BuildRequires:  pkgconfig(harfbuzz) >= 5.1.0
+BuildRequires:  pkgconfig(harfbuzz-icu) >= 5.1.0
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_hsqldb}
 Source2002:     
%{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
 Provides:       bundled(hsqldb) = %{version_hsqldb}
 %endif
-%if %{bundle_xsltml}
-Source2005:     
%{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
-%endif
-%if %{bundle_officeotron}
-Source2006:     
https://dev-www.libreoffice.org/extern/8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar
+%if "%{name}" == "libreoffice" && %{bundle_hunspell}
+Source4009:     %{external_url}/hunspell-%{version_hunspell}.tar.gz
+Provides:       bundled(hunspell) = %{version_hunspell}
+%else
+BuildRequires:  pkgconfig(hunspell)
 %endif
-%if %{bundle_odfvalidator}
-Source2007:     
https://dev-www.libreoffice.org/extern/odfvalidator-0.9.0-RC2-SNAPSHOT-jar-with-dependencies-2726ab578664434a545f8379a01a9faffac0ae73.jar
+%if "%{name}" == "libreoffice" && %{bundle_hyphen}
+Source4010:     
%{external_url}/442b985e604f8143a5a0e7bacd6b2e40-hyphen-%{version_hyphen}.tar.gz
+Provides:       bundled(hyphen) = %{version_hyphen}
+%else
+BuildRequires:  hyphen-devel
 %endif
-%if %{bundle_pdfium}
-Source2008:     %{external_url}/pdfium-%{version_pdfium}.tar.bz2
+%if "%{name}" == "libreoffice" && %{bundle_icu}
+Source2021:     %{external_url}/icu4c-%{version_icu}-sources.tgz
+Provides:       bundled(icu) = %{version_icu}
+%else
+# the genbrk binary is required
+BuildRequires:  icu
+BuildRequires:  pkgconfig(icu-i18n)
 %endif
-%if %{bundle_skia}
-Source2010:     
%{external_url}/skia-m147-ad8ecedbfdef9f4ae4b1e73347b6dd56e6637d38.tar.xz
+%if "%{name}" == "libreoffice" && %{bundle_java_websocket}
+Source3000:     %{external_url}/Java-WebSocket-%{version_java_websocket}.tar.gz
+Provides:       bundled(java-websocket) = %{version_java_websocket}
 %endif
-%if %{bundle_jfreereport}
+%if "%{name}" == "libreoffice" && %{bundle_jfreereport}
 Source2101:     
%{external_url}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
 Source2102:     
%{external_url}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
 Source2103:     
%{external_url}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
@@ -924,121 +1464,471 @@
 Source2109:     
%{external_url}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
 Source2110:     
%{external_url}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
 Source2111:     
%{external_url}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
+%else
+BuildRequires:  flute
+BuildRequires:  libbase
+BuildRequires:  libfonts
+BuildRequires:  libformula
+BuildRequires:  liblayout
+BuildRequires:  libloader
+BuildRequires:  librepository
+BuildRequires:  libserializer
+BuildRequires:  sac
 %endif
-%if %{bundle_curl}
-Source2013:     %{external_url}/curl-%{version_curl}.tar.xz
-Provides:       bundled(curl) = %{version_curl}
+%if "%{name}" == "libreoffice" && %{bundle_lcms2}
+Source4011:     %{external_url}/lcms2-%{version_lcms2}.tar.gz
+Provides:       bundled(lcms2) = %{version_lcms2}
 %else
-BuildRequires:  curl-devel >= 7.68.0
+BuildRequires:  pkgconfig(lcms2)
 %endif
-# curl >= 8.20 requires OpenSSL >= 3.0 and SLE-15 only offers 1.1.1 by
-# default, so build the bundled curl against a bundled OpenSSL too
-%if %{bundle_boost}
-Source2020:     %{external_url}/boost_1_89_0.tar.xz
-Provides:       bundled(boost) = %{version_boost}
+%if "%{name}" == "libreoffice" && %{bundle_libabw}
+Source4012:     %{external_url}/libabw-%{version_libabw}.tar.xz
+Provides:       bundled(libabw) = %{version_libabw}
 %else
-BuildRequires:  libboost_date_time-devel
-BuildRequires:  libboost_filesystem-devel
-BuildRequires:  libboost_iostreams-devel
-BuildRequires:  libboost_locale-devel
-# boost_system stopped being a separate library after 1.69
-%if 0%{?suse_version} <= 1550
-BuildRequires:  libboost_system-devel
+BuildRequires:  pkgconfig(libabw-0.1)
 %endif
+%if "%{name}" == "libreoffice" && %{bundle_libcdr}
+Source4013:     %{external_url}/libcdr-%{version_libcdr}.tar.xz
+Provides:       bundled(libcdr) = %{version_libcdr}
+%else
+BuildRequires:  pkgconfig(libcdr-0.1) >= 0.1
 %endif
-%if %{bundle_icu}
-Source2021:     %{external_url}/icu4c-77_1-src.tgz
-Provides:       bundled(icu) = %{version_icu}
+%if "%{name}" == "libreoffice" && %{bundle_libcmis}
+Source2031:     %{external_url}/libcmis-%{version_libcmis}.tar.xz
+Provides:       bundled(libcmis) = %{version_libcmis}
 %else
-# the genbrk binary is required
-BuildRequires:  icu
-BuildRequires:  pkgconfig(icu-i18n)
+BuildRequires:  libcmis-devel
 %endif
-%if %{bundle_icu_data}
-Source2022:     %{external_url}/icu4c-77_1-data.zip
+%if "%{name}" == "libreoffice" && %{bundle_libebook}
+Source4014:     %{external_url}/libe-book-%{version_libebook}.tar.xz
+Provides:       bundled(libe-book) = %{version_libebook}
+%else
+BuildRequires:  pkgconfig(libe-book-0.1) >= 0.1.2
 %endif
-%if %{bundle_poppler}
+%if "%{name}" == "libreoffice" && %{bundle_libeot}
+Source4015:     %{external_url}/libeot-%{version_libeot}.tar.bz2
+Provides:       bundled(libeot) = %{version_libeot}
+%else
+BuildRequires:  pkgconfig(libeot) >= 0.01
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libepubgen}
+Source4016:     %{external_url}/libepubgen-%{version_libepubgen}.tar.xz
+Provides:       bundled(libepubgen) = %{version_libepubgen}
+%else
+BuildRequires:  pkgconfig(libepubgen-0.1)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libetonyek}
+Source4017:     %{external_url}/libetonyek-%{version_libetonyek}.tar.xz
+Provides:       bundled(libetonyek) = %{version_libetonyek}
+%else
+BuildRequires:  pkgconfig(libetonyek-0.1) >= 0.1.10
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libexttextcat}
+Source4018:     %{external_url}/libexttextcat-%{version_libexttextcat}.tar.xz
+Provides:       bundled(libexttextcat) = %{version_libexttextcat}
+%else
+BuildRequires:  pkgconfig(libexttextcat) >= 3.4.1
+%endif
+%if !%{bundle_libfixmath}
+BuildRequires:  fixmath-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libfreehand}
+Source4019:     %{external_url}/libfreehand-%{version_libfreehand}.tar.xz
+Provides:       bundled(libfreehand) = %{version_libfreehand}
+%else
+BuildRequires:  pkgconfig(libfreehand-0.1)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libjpeg}
+Source4020:     %{external_url}/libjpeg-turbo-%{version_libjpeg}.tar.gz
+Provides:       bundled(libjpeg-turbo) = %{version_libjpeg}
+%ifarch %{ix86} x86_64
+BuildRequires:  nasm
+%endif
+%else
+BuildRequires:  libjpeg-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_liblangtag}
+Source4021:     %{external_url}/liblangtag-%{version_liblangtag}.tar.bz2
+Provides:       bundled(liblangtag) = %{version_liblangtag}
+%else
+BuildRequires:  pkgconfig(liblangtag)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libnumbertext}
+Source4022:     %{external_url}/libnumbertext-%{version_libnumbertext}.tar.xz
+Provides:       bundled(libnumbertext) = %{version_libnumbertext}
+%else
+BuildRequires:  pkgconfig(libnumbertext) >= 1.0.6
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libpng}
+Source4023:     %{external_url}/libpng-%{version_libpng}.tar.xz
+Provides:       bundled(libpng) = %{version_libpng}
+%else
+BuildRequires:  pkgconfig(libpng)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libtiff}
+Source2030:     %{external_url}/tiff-%{version_libtiff}.tar.xz
+Provides:       bundled(tiff) = %{version_libtiff}
+%else
+BuildRequires:  pkgconfig(libtiff-4) >= 4.0.10
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libwebp}
+Source4024:     %{external_url}/libwebp-%{version_libwebp}.tar.gz
+Provides:       bundled(libwebp) = %{version_libwebp}
+%else
+BuildRequires:  libwebp-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libxml}
+Source4025:     %{external_url}/libxml2-%{version_libxml}.tar.xz
+Provides:       bundled(libxml2) = %{version_libxml}
+%else
+BuildRequires:  pkgconfig(libxml-2.0)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libzmf}
+Source4026:     %{external_url}/libzmf-%{version_libzmf}.tar.xz
+Provides:       bundled(libzmf) = %{version_libzmf}
+%else
+BuildRequires:  pkgconfig(libzmf-0.0)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_lpsolve}
+Source4027:     
%{external_url}/26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_%{version_lpsolve}.tar.gz
+Provides:       bundled(lp_solve) = %{version_lpsolve}
+%else
+BuildRequires:  lpsolve-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_lzma}
+Source3008:     %{external_url}/xz-%{version_lzma}.tar.gz
+Provides:       bundled(xz) = %{version_lzma}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_mariadb}
+Source4028:     
%{external_url}/mariadb-connector-c-%{version_mariadb}-src.tar.gz
+Provides:       bundled(mariadb-connector-c) = %{version_mariadb}
+%else
+BuildRequires:  libmariadb-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_md4c}
+Source3003:     %{external_url}/md4c-%{version_md4c}.tar.gz
+Provides:       bundled(md4c) = %{version_md4c}
+%else
+BuildRequires:  md4c-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_mdds}
+Source3001:     %{external_url}/mdds-%{version_mdds}.tar.xz
+Provides:       bundled(mdds) = %{version_mdds}
+%else
+BuildRequires:  pkgconfig(mdds-3.0)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_mspub}
+Source4029:     %{external_url}/libmspub-%{version_mspub}.tar.xz
+Provides:       bundled(libmspub) = %{version_mspub}
+%else
+BuildRequires:  pkgconfig(libmspub-0.1) >= 0.1
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_mwaw}
+Source4030:     %{external_url}/libmwaw-%{version_mwaw}.tar.xz
+Provides:       bundled(libmwaw) = %{version_mwaw}
+%else
+BuildRequires:  pkgconfig(libmwaw-0.3) >= 0.3.21
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_mythes}
+Source4031:     %{external_url}/mythes-%{version_mythes}.tar.xz
+Provides:       bundled(mythes) = %{version_mythes}
+%else
+BuildRequires:  pkgconfig(mythes)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_nss}
+Source4032:     %{external_url}/nss-%{version_nss}-with-nspr-4.39.tar.gz
+Provides:       bundled(nss) = %{version_nss}
+%else
+BuildRequires:  pkgconfig(nspr) >= 4.8
+BuildRequires:  pkgconfig(nss) >= 3.9.3
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_odfgen}
+Source4033:     %{external_url}/libodfgen-%{version_odfgen}.tar.xz
+Provides:       bundled(libodfgen) = %{version_odfgen}
+%else
+BuildRequires:  pkgconfig(libodfgen-0.1) >= 0.1.4
+%endif
+%if !%{bundle_openjpeg}
+BuildRequires:  pkgconfig(libopenjp2)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_openldap}
+Source4034:     %{external_url}/openldap-%{version_openldap}.tgz
+Provides:       bundled(openldap) = %{version_openldap}
+%else
+BuildRequires:  openldap2-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_openssl}
+Source2014:     %{external_url}/openssl-%{version_openssl}.tar.gz
+Provides:       bundled(openssl) = %{version_openssl}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_orcus}
+Source3002:     %{external_url}/liborcus-%{version_orcus}.tar.xz
+Provides:       bundled(liborcus) = %{version_orcus}
+%else
+BuildRequires:  pkgconfig(liborcus-0.21) >= 0.21.0
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_pagemaker}
+Source4035:     %{external_url}/libpagemaker-%{version_pagemaker}.tar.xz
+Provides:       bundled(libpagemaker) = %{version_pagemaker}
+%else
+BuildRequires:  pkgconfig(libpagemaker-0.0)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_poppler}
 Source2023:     %{external_url}/poppler-%{version_poppler}.tar.xz
 Provides:       bundled(poppler) = %{version_poppler}
 %else
 BuildRequires:  pkgconfig(poppler) >= 21.01.0
 BuildRequires:  pkgconfig(poppler-cpp)
 %endif
-%if %{bundle_poppler_data}
-Source2024:     %{external_url}/poppler-data-%{version_poppler_data}.tar.gz
-Provides:       bundled(poppler-data) = %{version_poppler_data}
+%if "%{name}" == "libreoffice" && %{bundle_postgresql}
+Source4036:     %{external_url}/postgresql-%{version_postgresql}.tar.bz2
+Provides:       bundled(postgresql) = %{version_postgresql}
+%else
+BuildRequires:  pkgconfig(libpq)
 %endif
-%if %{bundle_harfbuzz}
-Source2025:     %{external_url}/harfbuzz-%{version_harfbuzz}.tar.xz
-Provides:       bundled(harfbuzz) = %{version_harfbuzz}
+%if "%{name}" == "libreoffice" && %{bundle_qxp}
+Source4037:     %{external_url}/libqxp-%{version_qxp}.tar.xz
+Provides:       bundled(libqxp) = %{version_qxp}
 %else
-BuildRequires:  pkgconfig(harfbuzz) >= 5.1.0
-BuildRequires:  pkgconfig(harfbuzz-icu) >= 5.1.0
+BuildRequires:  pkgconfig(libqxp-0.0)
 %endif
-%if %{bundle_graphite}
-Source2026:     %{external_url}/graphite2-minimal-%{version_graphite}.tgz
-Provides:       bundled(graphite2) = %{version_graphite}
+%if "%{name}" == "libreoffice" && %{bundle_redland}
+Source4038:     
%{external_url}/e5be03eda13ef68aabab6e42aa67715e-redland-%{version_redland}.tar.gz
+Provides:       bundled(redland) = %{version_redland}
 %else
-BuildRequires:  pkgconfig(graphite2) >= 0.9.3
+BuildRequires:  pkgconfig(redland)
 %endif
-%if %{bundle_argon2}
-Source2027:     %{external_url}/phc-winner-argon2-%{version_argon2}.tar.gz
+%if "%{name}" == "libreoffice" && %{bundle_revenge}
+Source4039:     %{external_url}/librevenge-%{version_revenge}.tar.bz2
+Provides:       bundled(librevenge) = %{version_revenge}
 %else
-BuildRequires:  argon2-devel
+BuildRequires:  pkgconfig(librevenge-0.0) >= 0.0.1
 %endif
-%if %{bundle_fontconfig}
-Source2028:     %{external_url}/fontconfig-%{version_fontconfig}.tar.xz
+%if "%{name}" == "libreoffice" && %{bundle_rhino}
+Source4040:     %{external_url}/rhino-%{version_rhino}.zip
+Provides:       bundled(rhino) = %{version_rhino}
+%else
+BuildRequires:  rhino
 %endif
-%if %{bundle_freetype}
-Source2029:     %{external_url}/freetype-%{version_freetype}.tar.xz
+%if "%{name}" == "libreoffice" && %{bundle_sqlite3}
+Source3009:     %{external_url}/sqlite-amalgamation-3540100.zip
+Provides:       bundled(sqlite) = %{version_sqlite3}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_staroffice}
+Source4041:     %{external_url}/libstaroffice-%{version_staroffice}.tar.xz
+Provides:       bundled(libstaroffice) = %{version_staroffice}
+%else
+BuildRequires:  pkgconfig(libstaroffice-0.0) >= 0.0.7
 %endif
-%if %{bundle_libtiff}
-Source2030:     %{external_url}/tiff-%{version_libtiff}.tar.xz
-Provides:       bundled(tiff) = %{version_libtiff}
+%if "%{name}" == "libreoffice" && %{bundle_visio}
+Source4042:     %{external_url}/libvisio-%{version_visio}.tar.xz
+Provides:       bundled(libvisio) = %{version_visio}
 %else
-BuildRequires:  pkgconfig(libtiff-4) >= 4.0.10
+BuildRequires:  pkgconfig(libvisio-0.1) >= 0.1
 %endif
-%if %{bundle_libcmis}
-Source2031:     %{external_url}/libcmis-%{version_libcmis}.tar.xz
-Provides:       bundled(libcmis) = %{version_libcmis}
+%if "%{name}" == "libreoffice" && %{bundle_wpd}
+Source4043:     %{external_url}/libwpd-%{version_wpd}.tar.xz
+Provides:       bundled(libwpd) = %{version_wpd}
 %else
-BuildRequires:  libcmis-devel
+BuildRequires:  pkgconfig(libwpd-0.10) >= 0.10
 %endif
-%if %{bundle_meson}
-Source2032:     %{external_url}/meson-%{version_meson}.tar.gz
-BuildRequires:  meson >= 0.55
-BuildRequires:  ninja
+%if "%{name}" == "libreoffice" && %{bundle_wpg}
+Source4044:     %{external_url}/libwpg-%{version_wpg}.tar.xz
+Provides:       bundled(libwpg) = %{version_wpg}
+%else
+BuildRequires:  pkgconfig(libwpg-0.3)
 %endif
-%if %{bundle_gpgme}
-Source1000:     %{external_url}/gpgme-%{version_gpgme}.tar.bz2
-Provides:       bundled(gpgme) = %{version_gpgme}
+%if "%{name}" == "libreoffice" && %{bundle_wps}
+Source4045:     %{external_url}/libwps-%{version_wps}.tar.xz
+Provides:       bundled(libwps) = %{version_wps}
 %else
-BuildRequires:  libgpgmepp-devel >= 1.14
+BuildRequires:  pkgconfig(libwps-0.4) >= 0.4.11
 %endif
-%if %{bundle_libgpgerror}
-Source1001:     %{external_url}/libgpg-error-%{version_libgpgerror}.tar.bz2
-Provides:       bundled(libgpg-error) = %{version_libgpgerror}
+%if "%{name}" == "libreoffice" && %{bundle_xmlsec}
+Source3013:     %{external_url}/xmlsec1-%{version_xmlsec}.tar.gz
+Provides:       bundled(xmlsec1) = %{version_xmlsec}
+%else
+BuildRequires:  pkgconfig(xmlsec1-nss) >= 1.2.35
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_zlib}
+Source4046:     %{external_url}/zlib-%{version_zlib}.tar.xz
+Provides:       bundled(zlib) = %{version_zlib}
+%else
+BuildRequires:  zlib-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_zstd}
+Source4047:     %{external_url}/zstd-%{version_zstd}.tar.gz
+Provides:       bundled(zstd) = %{version_zstd}
+%else
+BuildRequires:  libzstd-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_zxcvbn}
+Source4048:     %{external_url}/zxcvbn-c-%{version_zxcvbn}.tar.gz
+Provides:       bundled(zxcvbn-c) = %{version_zxcvbn}
+%else
+BuildRequires:  zxcvbn-devel
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_zxing}
+Source4049:     %{external_url}/zxing-cpp-%{version_zxing}.tar.gz
+Provides:       bundled(zxing-cpp) = %{version_zxing}
+%else
+BuildRequires:  pkgconfig(zxing)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_python}
+Source3011:     %{external_url}/Python-%{version_python}.tar.xz
+Provides:       bundled(python3) = %{version_python}
+%else
+BuildRequires:  python3-xml
+BuildRequires:  pkgconfig(python3)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_firebird}
+Source4050:     %{external_url}/Firebird-%{version_firebird}-0.tar.bz2
+Provides:       bundled(firebird) = %{version_firebird}
+%else
+%if %{enable_firebird}
+BuildRequires:  pkgconfig(fbclient)
 %endif
-%if %{bundle_libassuan}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_breakpad}
+Source4051:     %{external_url}/breakpad-%{version_breakpad}.tar.xz
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_coinmp}
+Source4052:     %{external_url}/CoinMP-%{version_coinmp}.tgz
+Provides:       bundled(coinmp) = %{version_coinmp}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_epm}
+Source4053:     
%{external_url}/3ade8cfe7e59ca8e65052644fed9fca4-epm-%{version_epm}.tar.gz
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_onlineupdate}
+Source4054:     %{external_url}/onlineupdate-%{version_onlineupdate}.tar.xz
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_quickjs}
+Source4055:     %{external_url}/quickjs-%{version_quickjs}-amalgam.zip
+Provides:       bundled(quickjs) = %{version_quickjs}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_export_validation}
+Source2007:     
https://dev-www.libreoffice.org/extern/odfvalidator-0.13.0-jar-with-dependencies.jar
+Source2006:     https://dev-www.libreoffice.org/extern/officeotron-0.8.8.jar
+Source4056:     https://dev-www.libreoffice.org/extern/verapdf-cli-1.29.0.jar
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_fonts}
+Source5000:     %{external_url}/Agdasima-2.002.zip
+Source5001:     %{external_url}/alef-1.001.tar.gz
+Source5002:     %{external_url}/Amiri-1.001.zip
+Source5003:     %{external_url}/Bacasime_Antique-2.000.zip
+Source5004:     %{external_url}/Belanosima-2.000.zip
+Source5005:     
%{external_url}/368f114c078f94214a308a74c7e991bc-crosextrafonts-20130214.tar.gz
+Source5006:     %{external_url}/Caprasimo-1.001.zip
+Source5007:     
%{external_url}/c74b7223abe75949b4af367942d96c7a-crosextrafonts-carlito-20130920.tar.gz
+Source5008:     %{external_url}/culmus-0.140.tar.gz
+Source5009:     
%{external_url}/33e1e61fab06a547851ed308b4ffef42-dejavu-fonts-ttf-2.37.zip
+Source5010:     %{external_url}/liberation-narrow-fonts-ttf-1.07.6.tar.gz
+Source5011:     %{external_url}/liberation-fonts-ttf-2.1.5.tar.gz
+Source5012:     %{external_url}/libre-hebrew-1.0.tar.gz
+Source5013:     
%{external_url}/e7a384790b13c29113e22e596ade9687-LinLibertineG-20120116.zip
+Source5014:     %{external_url}/Lugrasimo-1.001.zip
+Source5015:     %{external_url}/Lumanosimo-1.010.zip
+Source5016:     %{external_url}/Lunasima-2.009.zip
+Source5017:     %{external_url}/NotoKufiArabic-v2.110.zip
+Source5018:     %{external_url}/NotoNaskhArabic-v2.021.zip
+Source5019:     %{external_url}/NotoSansArabic-v2.010.zip
+Source5020:     %{external_url}/NotoSansArmenian-v2.008.zip
+Source5021:     %{external_url}/NotoSansGeorgian-v2.005.zip
+Source5022:     %{external_url}/NotoSansHebrew-v3.001.zip
+Source5023:     %{external_url}/NotoSansLao-v2.003.zip
+Source5024:     %{external_url}/NotoSansLisu-v2.102.zip
+Source5025:     %{external_url}/NotoSans-v2.015.zip
+Source5026:     %{external_url}/NotoSerifArmenian-v2.008.zip
+Source5027:     %{external_url}/NotoSerifGeorgian-v2.003.zip
+Source5028:     %{external_url}/NotoSerifHebrew-v2.004.zip
+Source5029:     %{external_url}/NotoSerifLao-v2.003.zip
+Source5030:     %{external_url}/NotoSerif-v2.015.zip
+Source5031:     %{external_url}/ReemKufi-2.0.zip
+Source5032:     %{external_url}/Scheherazade-2.100.zip
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_pdfium}
+Source2008:     %{external_url}/pdfium-%{version_pdfium}.tar.bz2
+Provides:       bundled(pdfium) = %{version_pdfium}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_skia}
+Source2010:     
%{external_url}/skia-%{version_skia}-ad8ecedbfdef9f4ae4b1e73347b6dd56e6637d38.tar.xz
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_xsltml}
+Source2005:     
%{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_%{version_xsltml}.zip
+Provides:       bundled(xsltml) = %{version_xsltml}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_antlr4}
+Source404:      %{external_url}/antlr4-cpp-runtime-%{version_antlr4}-source.zip
+Provides:       bundled(antlr4-cpp-runtime) = %{version_antlr4}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_bzip2}
+Source4057:     %{external_url}/bzip2-%{version_bzip2}.tar.gz
+Provides:       bundled(bzip2) = %{version_bzip2}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_graphite}
+Source2026:     %{external_url}/graphite2-minimal-%{version_graphite}.tgz
+Provides:       bundled(graphite2) = %{version_graphite}
+%else
+BuildRequires:  pkgconfig(graphite2) >= 0.9.3
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_icu_data}
+Source2022:     %{external_url}/icu4c-%{version_icu_data}-data.zip
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_langtagreg}
+Source4058:     
%{external_url}/language-subtag-registry-%{version_langtagreg}.tar.bz2
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libassuan}
 Source1002:     %{external_url}/libassuan-%{version_libassuan}.tar.bz2
 Provides:       bundled(libassuan) = %{version_libassuan}
 %endif
-%if %{bundle_java_websocket}
-Source3000:     %{external_url}/Java-WebSocket-%{version_java_websocket}.tar.gz
+%if "%{name}" == "libreoffice" && %{bundle_libatomic_ops}
+Source4059:     %{external_url}/libatomic_ops-%{version_libatomic_ops}.tar.gz
+Provides:       bundled(libatomic_ops) = %{version_libatomic_ops}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libffi}
+Source3010:     %{external_url}/libffi-%{version_libffi}.tar.gz
+Provides:       bundled(libffi) = %{version_libffi}
 %endif
-BuildRequires:  fast_float-devel
-BuildRequires:  md4c-devel
+%if "%{name}" == "libreoffice" && %{bundle_libgpgerror}
+Source1001:     %{external_url}/libgpg-error-%{version_libgpgerror}.tar.bz2
+Provides:       bundled(libgpg-error) = %{version_libgpgerror}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libtommath}
+Source4060:     %{external_url}/ltm-%{version_libtommath}.tar.xz
+Provides:       bundled(libtommath) = %{version_libtommath}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_libxslt}
+Source4061:     %{external_url}/libxslt-%{version_libxslt}.tar.xz
+Provides:       bundled(libxslt) = %{version_libxslt}
+%else
+BuildRequires:  pkgconfig(libxslt)
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_lxml}
+Source3012:     %{external_url}/lxml-%{version_lxml}.tar.gz
+Provides:       bundled(lxml) = %{version_lxml}
+%else
 BuildRequires:  python3-lxml
-BuildRequires:  python3-xml
-BuildRequires:  pkgconfig(liborcus-0.21) >= 0.21.0
-BuildRequires:  pkgconfig(mdds-3.0)
-BuildRequires:  pkgconfig(python3)
-BuildRequires:  pkgconfig(xmlsec1-nss) >= 1.2.35
-%if !%{bundle_openjpeg}
-BuildRequires:  pkgconfig(libopenjp2)
 %endif
-%if !%{bundle_abseil}
-BuildRequires:  abseil-cpp-devel
+%if "%{name}" == "libreoffice" && %{bundle_meson}
+Source2032:     %{external_url}/meson-%{version_meson}.tar.gz
+BuildRequires:  meson >= 0.55
+BuildRequires:  ninja
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_pixman}
+Source4062:     %{external_url}/pixman-%{version_pixman}.tar.xz
+Provides:       bundled(pixman) = %{version_pixman}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_poppler_data}
+Source2024:     %{external_url}/poppler-data-%{version_poppler_data}.tar.gz
+Provides:       bundled(poppler-data) = %{version_poppler_data}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_raptor}
+Source4063:     %{external_url}/raptor2-%{version_raptor}.tar.gz
+Provides:       bundled(raptor2) = %{version_raptor}
+%endif
+%if "%{name}" == "libreoffice" && %{bundle_rasqal}
+Source4064:     
%{external_url}/1f5def51ca0026cd192958ef07228b52-rasqal-%{version_rasqal}.tar.gz
+Provides:       bundled(rasqal) = %{version_rasqal}
 %endif
 # ============================================================================
 BuildRequires:  %{name}-share-linker
@@ -1046,49 +1936,25 @@
 BuildRequires:  autoconf
 BuildRequires:  awk
 BuildRequires:  bison
-BuildRequires:  bsh2
 BuildRequires:  cups-devel
-BuildRequires:  fixmath-devel
-BuildRequires:  libwebp-devel
 %if 0%{?suse_version} > 1500
 BuildRequires:  strip-nondeterminism
 %endif
-BuildRequires:  zlib-devel
-BuildRequires:  zxcvbn-devel
 # Needed for tests
 BuildRequires:  dejavu-fonts
 BuildRequires:  doxygen >= 1.8.4
-BuildRequires:  dragonbox-devel
 BuildRequires:  fdupes
 BuildRequires:  flex >= 2.6.0
-BuildRequires:  flute
 BuildRequires:  fontforge
-BuildRequires:  frozen-devel
-BuildRequires:  glm-devel
 BuildRequires:  google-carlito-fonts
 BuildRequires:  gperf >= 3.1
 BuildRequires:  graphviz
-BuildRequires:  hyphen-devel
 BuildRequires:  junit4
-BuildRequires:  libbase
-BuildRequires:  libcppunit-devel >= 1.14.0
 BuildRequires:  liberation-fonts
 BuildRequires:  libexif
-BuildRequires:  libfonts
-BuildRequires:  libformula
-BuildRequires:  libjpeg-devel
-BuildRequires:  liblayout
-BuildRequires:  libloader
-BuildRequires:  librepository
-BuildRequires:  libserializer
 BuildRequires:  libtool
-BuildRequires:  libzstd-devel
-BuildRequires:  lpsolve-devel
 BuildRequires:  make
-BuildRequires:  openldap2-devel
 BuildRequires:  pkgconfig
-BuildRequires:  rhino
-BuildRequires:  sac
 BuildRequires:  ucpp
 BuildRequires:  unixODBC-devel
 BuildRequires:  unzip
@@ -1102,9 +1968,6 @@
 BuildRequires:  pkgconfig(atk) >= 2.28
 BuildRequires:  pkgconfig(bluez)
 BuildRequires:  pkgconfig(dbus-1) >= 0.60
-BuildRequires:  pkgconfig(epoxy) >= 1.2
-BuildRequires:  pkgconfig(expat)
-BuildRequires:  pkgconfig(freetype2)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glib-2.0) >= 2.40
 BuildRequires:  pkgconfig(glu)
@@ -1112,45 +1975,11 @@
 BuildRequires:  pkgconfig(gssrpc)
 BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
-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)
-BuildRequires:  pkgconfig(libe-book-0.1) >= 0.1.2
-BuildRequires:  pkgconfig(libeot) >= 0.01
-BuildRequires:  pkgconfig(libepubgen-0.1)
-BuildRequires:  pkgconfig(libetonyek-0.1) >= 0.1.10
-BuildRequires:  pkgconfig(libexttextcat) >= 3.4.1
-BuildRequires:  pkgconfig(libfreehand-0.1)
-BuildRequires:  pkgconfig(liblangtag)
-BuildRequires:  pkgconfig(libmspub-0.1) >= 0.1
-BuildRequires:  pkgconfig(libmwaw-0.3) >= 0.3.21
-BuildRequires:  pkgconfig(libnumbertext) >= 1.0.6
-BuildRequires:  pkgconfig(libodfgen-0.1) >= 0.1.4
-BuildRequires:  pkgconfig(libpagemaker-0.0)
-BuildRequires:  pkgconfig(libpng)
-BuildRequires:  pkgconfig(libpq)
-BuildRequires:  pkgconfig(libqxp-0.0)
-BuildRequires:  pkgconfig(librevenge-0.0) >= 0.0.1
 BuildRequires:  pkgconfig(librsvg-2.0)
-BuildRequires:  pkgconfig(libstaroffice-0.0) >= 0.0.7
-BuildRequires:  pkgconfig(libvisio-0.1) >= 0.1
-BuildRequires:  pkgconfig(libwpd-0.10) >= 0.10
-BuildRequires:  pkgconfig(libwpg-0.3)
-BuildRequires:  pkgconfig(libwps-0.4) >= 0.4.11
-BuildRequires:  pkgconfig(libxml-2.0)
-BuildRequires:  pkgconfig(libxslt)
-BuildRequires:  pkgconfig(libzmf-0.0)
-BuildRequires:  pkgconfig(mythes)
-BuildRequires:  pkgconfig(nspr) >= 4.8
-BuildRequires:  pkgconfig(nss) >= 3.9.3
-BuildRequires:  pkgconfig(redland)
 BuildRequires:  pkgconfig(sane-backends)
 BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xt)
-BuildRequires:  pkgconfig(zxing)
 Requires:       liberation-fonts
 Requires:       libreoffice-branding >= 6.0
 Requires:       libreoffice-icon-themes = %{version}
@@ -1177,26 +2006,17 @@
 Obsoletes:      %{name}-icon-theme-crystal < %{version}
 Provides:       %{name}-icon-theme-oxygen = %{version}
 Obsoletes:      %{name}-icon-theme-oxygen < %{version}
-# Not a bundling decision: these system packages were simply renamed/split.
 %if 0%{?suse_version} < 1500
-BuildRequires:  libBox2D-devel
-BuildRequires:  libmysqlclient-devel
 Requires(post): update-desktop-files
 Requires(postun): update-desktop-files
-%else
-BuildRequires:  libbox2d-devel
-BuildRequires:  libmariadb-devel
 %endif
-BuildRequires:  gcc
-BuildRequires:  gcc-c++
+BuildRequires:  gcc%{?with_gcc}
+BuildRequires:  gcc%{?with_gcc}-c++
 BuildRequires:  java-devel >= 1.8
 %if 0%{?suse_version}
 # needed by python3_sitelib
 BuildRequires:  python-rpm-macros
 %endif
-%if %{with firebird}
-BuildRequires:  pkgconfig(fbclient)
-%endif
 %if %{with qt5}
 BuildRequires:  libqt5-qtbase-common-devel
 BuildRequires:  cmake(KF5Config)
@@ -1400,7 +2220,9 @@
 %package base-drivers-postgresql
 Summary:        PostgreSQL Database Driver for LibreOffice
 Group:          Productivity/Office/Suite
+%if !%{bundle_postgresql}
 Requires:       postgresql
+%endif
 
 %description base-drivers-postgresql
 This package allows to access PostgreSQL databases from LibreOffice Base.
@@ -1408,7 +2230,9 @@
 %package base-drivers-firebird
 Summary:        Firebird Database Driver for LibreOffice
 Group:          Productivity/Office/Suite
+%if !%{bundle_firebird}
 Requires:       firebird
+%endif
 
 %description base-drivers-firebird
 This package allows to access Firebird databeses from LibreOffice Base.
@@ -1928,6 +2752,19 @@
 %patch -P 15 -p1
 %patch -P 16 -p1
 %patch -P 17 -p1
+%if %{bundle_python}
+%patch -P 18 -p1
+%endif
+%if %{bundle_fontconfig}
+%patch -P 19 -p1
+%endif
+%if %{bundle_lxml}
+%patch -P 20 -p1
+%endif
+%if %{bundle_nss}
+%patch -P 21 -p1
+%endif
+%patch -P 22 -p1
 %patch -P 990 -p1
 %patch -P 991 -p1
 %if 0%{?suse_version} < 1550
@@ -1990,6 +2827,11 @@
 ### CXXFLAGS="-std=c++20 $ARCH_FLAGS"
 ### export ARCH_FLAGS CFLAGS CXXFLAGS
 
+%if 0%{?with_gcc}
+export CC=gcc-%{with_gcc}
+export CXX=g++-%{with_gcc}
+%endif
+
 # Fake the epoch stuff in generated zip files
 export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes 
| tail -n 1 | cut -d- -f1 )" +%%s)
 
@@ -2014,6 +2856,10 @@
 ./autogen.sh
 %configure \
         $(echo %{?_smp_mflags} | sed 's/-j/--with-parallelism=/') \
+%if %{bundle_python}
+        --build=%{host_triplet} \
+        --host=%{host_triplet} \
+%endif
         --enable-ld=bfd \
 %if %{with lto}
         --enable-lto \
@@ -2058,7 +2904,6 @@
         --enable-cairo-canvas \
         --enable-largefile \
         --enable-randr \
-        --without-fonts \
         --without-myspell-dicts \
         --with-jdk-home=$JAVA_HOME \
         --with-webdav=curl \
@@ -2068,7 +2913,6 @@
         --with-external-hyph-dir=%{_datadir}/hyphen \
         --with-external-thes-dir=%{_datadir}/mythes \
         --with-help=html \
-        --without-export-validation \
         --enable-odk \
         --enable-evolution2 \
         --enable-dbus \
@@ -2095,18 +2939,22 @@
         %{support_boost} \
         %{support_box2d} \
         %{support_breakpad} \
+        %{support_bzip2} \
         %{support_cairo} \
         %{support_clucene} \
         %{support_coinmp} \
+        %{support_colamd} \
         %{support_cppunit} \
         %{support_curl} \
         %{support_dragonbox} \
         %{support_epm} \
         %{support_epoxy} \
         %{support_expat} \
+        %{support_export_validation} \
         %{support_fast_float} \
         %{support_firebird} \
         %{support_fontconfig} \
+        %{support_fonts} \
         %{support_freetype} \
         %{support_frozen} \
         %{support_glm} \
@@ -2115,11 +2963,13 @@
         %{support_harfbuzz} \
         %{support_hsqldb} \
         %{support_hunspell} \
+        %{support_hyphen} \
         %{support_icu} \
         %{support_java_websocket} \
         %{support_jfreereport} \
         %{support_lcms2} \
         %{support_libabw} \
+        %{support_libatomic_ops} \
         %{support_libcdr} \
         %{support_libcmis} \
         %{support_libebook} \
@@ -2134,6 +2984,7 @@
         %{support_libnumbertext} \
         %{support_libpng} \
         %{support_libtiff} \
+        %{support_libtommath} \
         %{support_libwebp} \
         %{support_libxml} \
         %{support_libzmf} \
@@ -2344,11 +3195,12 @@
 cat %{buildroot}%{_libdir}/%{name}/program/uno.py >> uno.py
 cp uno.py %{buildroot}%{_libdir}/%{name}/program/uno.py
 
-# Generate python cache files
-%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/
+# Generate python cache files. Spelled out: SLE 15's python3 dropped 
macros.python3,
+# and with it %%py3_compile. Like that macro, ignore files that do not compile.
+for d in program share/extensions share/Scripts/python sdk/examples/python; do
+    find %{buildroot}%{_libdir}/%{name}/$d -name '*.pyc' -delete
+    python3 -m compileall -q -d %{_libdir}/%{name}/$d 
%{buildroot}%{_libdir}/%{name}/$d || :
+done
 # Add python cache dir to respective filelist
 for filelist in file-lists/*.txt; do
     # For each python file in the filelist
@@ -2546,6 +3398,16 @@
 %if %{with firebird}
 %files base-drivers-firebird
 %{_libdir}/libreoffice/program/libfirebird_sdbclo.so
+%if %{bundle_firebird}
+# the bundled Firebird client, embedded engine and its data; LibreOffice's
+# installer file lists do not cover them
+%{_libdir}/libreoffice/program/libfbclient.so.2
+%{_libdir}/libreoffice/program/libEngine12.so
+%dir %{_libdir}/libreoffice/program/intl
+%{_libdir}/libreoffice/program/intl/fbintl.conf
+%{_libdir}/libreoffice/program/intl/libfbintl.so
+%{_libdir}/libreoffice/share/firebird
+%endif
 %endif
 
 %files -f file-lists/filters_list.txt filters-optional

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.WYV21s/_old  2026-11-24 12:24:15.417929606 +0100
+++ /var/tmp/diff_new_pack.WYV21s/_new  2026-11-24 12:24:15.424929903 +0100
@@ -2,10 +2,10 @@
 <constraints>
   <hardware>
     <physicalmemory>
-      <size unit="M">6500</size>
+      <size unit="M">8000</size>
     </physicalmemory>
     <disk>
-      <size unit="G">25</size>
+      <size unit="G">50</size>
     </disk>
   </hardware>
   <overwrite>

++++++ fontconfig-python36.patch ++++++
From: Martin Jungblut Schreiner <[email protected]>
Subject: [PATCH] Build the bundled fontconfig with Python 3.6

fontconfig 2.18.3 generates fcgenericfamily.gperf with fc-genericfamily.py,
which calls sys.stdout.reconfigure() whenever stdout is not UTF-8 (the C
locale of a package build). reconfigure() only exists since Python 3.7; SLE
15 has 3.6, so the bundled fontconfig fails with

  AttributeError: '_io.TextIOWrapper' object has no attribute 'reconfigure'

The build passes -o and the script opens that file as UTF-8 itself, so the
call can simply be skipped where it is unavailable.

--- a/external/fontconfig/UnpackedTarball_fontconfig.mk
+++ b/external/fontconfig/UnpackedTarball_fontconfig.mk
@@ -17,6 +17,7 @@
        external/fontconfig/fontconfig-2.12.1.patch.1 \
        external/fontconfig/nowarnnoconfig.patch.1 \
        external/fontconfig/apple-xlocale.patch.1 \
+       external/fontconfig/python36-no-reconfigure.patch.1 \
 ))
 
 ifneq ($(OS),MACOSX)
--- a/external/fontconfig/python36-no-reconfigure.patch.1
+++ b/external/fontconfig/python36-no-reconfigure.patch.1
@@ -0,0 +1,17 @@
+fc-genericfamily.py: do not call sys.stdout.reconfigure() where it does not
+exist. It needs Python >= 3.7, and SLE 15 builds with Python 3.6.
+
+--- a/fc-genericfamily/fc-genericfamily.py
++++ b/fc-genericfamily/fc-genericfamily.py
+@@ -142,8 +142,9 @@
+ 
+ 
+ def main():
+-    # Ensure stdout uses UTF-8 encoding
+-    if sys.stdout.encoding != 'utf-8':
++    # Ensure stdout uses UTF-8 encoding (reconfigure() needs Python >= 3.7;
++    # only matters for "-o -", files are opened as UTF-8 below)
++    if sys.stdout.encoding != 'utf-8' and hasattr(sys.stdout, 'reconfigure'):
+         sys.stdout.reconfigure(encoding='utf-8')
+ 
+     parser = argparse.ArgumentParser(

++++++ libreoffice-26.8.1.1.tar.xz -> libreoffice-26.8.3.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-26.8.1.1.tar.xz 
/work/SRC/openSUSE:Factory/.libreoffice.new.1340718/libreoffice-26.8.3.1.tar.xz 
differ: char 15, line 1

++++++ libreoffice-help-26.8.1.1.tar.xz -> libreoffice-help-26.8.3.1.tar.xz 
++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-help-26.8.1.1.tar.xz 
/work/SRC/openSUSE:Factory/.libreoffice.new.1340718/libreoffice-help-26.8.3.1.tar.xz
 differ: char 15, line 1

++++++ libreoffice-translations-26.8.1.1.tar.xz -> 
libreoffice-translations-26.8.3.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-translations-26.8.1.1.tar.xz 
/work/SRC/openSUSE:Factory/.libreoffice.new.1340718/libreoffice-translations-26.8.3.1.tar.xz
 differ: char 15, line 1


++++++ lxml-install-xml2-config.patch ++++++
From: Martin Jungblut Schreiner <[email protected]>
Subject: [PATCH] lxml: point setup.py install at the internal libxml2/libxslt 
too

Only "setup.py build" is told where the internal xml2-config/xslt-config
live. lxml reads those options on every invocation, and without them
"setup.py install" falls back to pkg-config and then xml2-config on PATH.
With an internal Python and an internal libxml2/libxslt, and no libxml2
development package installed, that fails:

  Error: Please make sure the libxml2 and libxslt development packages are 
installed.

Pass the same options to the install step. No change with a system
libxml2/libxslt, where both expand to nothing.

--- a/external/lxml/ExternalProject_lxml.mk
+++ b/external/lxml/ExternalProject_lxml.mk
@@ -38,6 +38,8 @@
                rm -fr install && \
                mkdir install && \
                $(lxml_PYTHON) -Wi setup.py install \
+                       $(if 
$(SYSTEM_LIBXML),,--with-xml2-config=$(gb_UnpackedTarball_workdir)/libxml2/xml2-config)
 \
+                       $(if 
$(SYSTEM_LIBXSLT),,--with-xslt-config=$(gb_UnpackedTarball_workdir)/libxslt/xslt-config)
 \
                        --install-lib install \
        )
        $(call gb_Trace_EndRange,lxml,EXTERNAL)

++++++ nss-s390x-use-64.patch ++++++
From: Martin Jungblut Schreiner <[email protected]>
Subject: [PATCH] nss: build the internal NSS as 64-bit on s390x

USE_64=1 is passed for X86_64, AARCH64 and POWERPC64 only, so on s390x NSS
and NSPR are configured as a 32-bit build and freebl fails its own size_t
check:

  drbg.c:617: PR_STATIC_ASSERT(sizeof(size_t) <= 4);
  prtypes.h:543: error: size of array 'arg' is negative

Pass USE_64=1 for S390X as well. CPU_ARCH needs no override: NSS's
coreconf/Linux.mk already takes it from uname -m (s390x).

--- a/external/nss/ExternalProject_nss.mk
+++ b/external/nss/ExternalProject_nss.mk
@@ -58,6 +58,7 @@
                $(if $(filter ANDROID FREEBSD LINUX MACOSX,$(OS)),$(if $(filter 
X86_64,$(CPUNAME)),USE_64=1 CPU_ARCH=x86_64)) \
                $(if $(filter AARCH64,$(CPUNAME)),USE_64=1 CPU_ARCH=aarch64) \
                $(if $(filter POWERPC64,$(CPUNAME)),USE_64=1 CPU_ARCH=ppc64le) \
+               $(if $(filter S390X,$(CPUNAME)),USE_64=1) \
                $(if $(filter MACOSX,$(OS)),\
                        MACOS_SDK_DIR=$(MACOSX_SDK_PATH) \
                        NSS_USE_SYSTEM_SQLITE=1) \

++++++ pdfium-7681.tar.bz2 -> pdfium-8073.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/libreoffice/pdfium-7681.tar.bz2 
/work/SRC/openSUSE:Factory/.libreoffice.new.1340718/pdfium-8073.tar.bz2 differ: 
char 11, line 1

++++++ python3-soabi.patch ++++++
From: Martin Jungblut Schreiner <[email protected]>
Subject: [PATCH] Fix bundled Python packaging on 32-bit x86 and s390x

external/python3/ExternalPackage_python3.mk hand-derives two platform tuples
and lacks branches for s390x and 32-bit x86 in both:

1. SOABI, used for python3_EXTENSION_MODULE_SUFFIX (the .so existence check).
   Only AARCH64 and POWERPC64 are handled; CPUNAME=INTEL and CPUNAME=S390X
   fall through to the x86_64 default, so the build looks for e.g.
   array.cpython-312-x86_64-linux-gnu.so while Python emits the -i386- or
   -s390x- suffixed file.

2. The generated _sysconfigdata file under LO_lib/. powerpc64le and aarch64
   have explicit branches; every other platform uses the HOST_PLATFORM
   fallback, which only strips a "-pc" vendor. s390x's HOST_PLATFORM is
   s390x-ibm-linux-gnu, so the "-pc" substitution is a no-op and the build
   requests _sysconfigdata__linux_s390x-ibm-linux-gnu.py, whereas CPython
   generates it as _sysconfigdata__linux_s390x-linux-gnu.py (its MULTIARCH
   carries no vendor field). The build aborts with
   "file ..._sysconfigdata__linux_s390x-ibm-linux-gnu.py does not exist in
   the tarball."

Add the missing INTEL and S390X SOABI branches, and an explicit s390x
sysconfigdata branch mirroring the existing aarch64 one.

--- a/external/python3/ExternalPackage_python3.mk       2026-05-24 
13:36:45.713158620 +0000
+++ b/external/python3/ExternalPackage_python3.mk       2026-05-24 
13:36:59.353830700 +0000
@@ -70,6 +70,10 @@
 SOABI=-aarch64-linux-gnu
 else ifeq ($(CPUNAME),POWERPC64)
 SOABI=-powerpc64le-linux-gnu
+else ifeq ($(CPUNAME),S390X)
+SOABI=-s390x-linux-gnu
+else ifeq ($(CPUNAME),INTEL)
+SOABI=-i386-linux-gnu
 else
 SOABI=-x86_64-linux-gnu
 endif
@@ -163,6 +167,11 @@
         LO_lib/_sysconfigdata_$(if 
$(ENABLE_DBGUTIL),d)_linux_aarch64-linux-gnu.py \
 ))
 else
+ifeq ($(HOST_PLATFORM),s390x-ibm-linux-gnu)
+$(eval $(call 
gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib,\
+        LO_lib/_sysconfigdata_$(if 
$(ENABLE_DBGUTIL),d)_linux_s390x-linux-gnu.py \
+))
+else
 # note: python configure overrides config.guess with something that doesn't
 # put -pc in its linux platform triplets, so filter that...
 ifneq ($(OS),WNT)
@@ -177,6 +186,7 @@
 endif
 endif
 endif
+endif
 endif
 
 

++++++ skia-skcms-powerpc-musttail.patch ++++++
From: Martin Jungblut Schreiner <[email protected]>
Subject: [PATCH] skia: build skcms with GCC >= 15 on ppc64le

skcms forces guaranteed tail calls ([[clang::musttail]]) between its
pipeline stages whenever the compiler knows the attribute. For clang it
excludes __powerpc__, for GCC only __riscv. GCC 15 gained the attribute,
and on ppc64le it cannot honour it for skcms's indirect calls (the TOC has
to be restored after the call), which is a hard error:

  skcms/src/Transform_inl.h:818:71: error: cannot tail-call: target is not
  able to optimize the call into a sibling call

Exclude __powerpc__ for GCC too. The attribute is only a performance hint
to skcms; without it the calls are ordinary calls.

--- a/external/skia/UnpackedTarball_skia.mk
+++ b/external/skia/UnpackedTarball_skia.mk
@@ -43,6 +43,7 @@
     msvc-unknown-attributes.patch.1 \
        fix-semaphore-include.patch.1 \
        fix-xputimage-depth.patch.1 \
+       skcms-gcc-powerpc-no-musttail.patch.1 \
 
 ifneq ($(MSYSTEM),)
 # use binary flag so patch from git-bash won't choke on mixed line-endings in 
patches
--- a/external/skia/skcms-gcc-powerpc-no-musttail.patch.1
+++ b/external/skia/skcms-gcc-powerpc-no-musttail.patch.1
@@ -0,0 +1,19 @@
+skcms: do not force [[clang::musttail]] with GCC on powerpc. GCC >= 15 has the
+attribute, but cannot turn skcms's indirect stage calls into sibling calls
+there; the clang branch already excludes __powerpc__.
+
+--- a/modules/skcms/src/skcms_internals.h
++++ b/modules/skcms/src/skcms_internals.h
+@@ -59,7 +59,11 @@
+     #elif defined(__GNUC__) && !defined(SKCMS_HAS_MUSTTAIL)
+         // GCC on riscv64 does not support our tail call functions
+         // cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121784
+-        #if __has_cpp_attribute(clang::musttail) && !defined(__riscv)
++        // Nor on powerpc64: the stages are called indirectly and the TOC has 
to
++        // be restored afterwards, so GCC cannot turn them into sibling calls
++        // ("cannot tail-call: target is not able to optimize the call into a
++        // sibling call"). The clang branch above excludes __powerpc__ as 
well.
++        #if __has_cpp_attribute(clang::musttail) && !defined(__riscv) && 
!defined(__powerpc__)
+             #define SKCMS_HAS_MUSTTAIL 1
+         #else
+             #define SKCMS_HAS_MUSTTAIL 0

Reply via email to