%global debug_package %{nil} Name: nabu-kde-l10n Version: 1.0.0 Release: 5.test%{?dist} Summary: Complete KDE Plasma language catalog policy for Nabu License: (GPL-2.0-or-later or GPL-3.0-or-later) and GPL-2.0-or-later and GPL-3.0-or-later and (LGPL-2.0-or-later or LGPL-3.0-or-later) and (LGPL-2.1-or-later or LGPL-3.0-or-later) and LGPL-2.1-or-later and BSD-2-Clause and CC0-1.0 URL: https://invent.kde.org/plasma/plasma-setup Source0: %{name}-%{version}.tar.gz BuildArch: noarch Requires: bash Requires: coreutils Requires: filesystem Requires: gzip Requires: plasma-setup Requires: plasma-workspace Requires: rpm Requires: tar %description Ensures that KDE Plasma Setup and Plasma Shell language catalogs remain available on Nabu images even when a minimal composition filters translations. It preserves a complete first-run language selection experience and configures the RPM language policy so future Fedora updates install their current catalogs normally. %prep %autosetup %build %install install -Dm0755 nabu-restore-plasma-setup-locales \ %{buildroot}%{_libexecdir}/senemos-nabu/nabu-restore-plasma-setup-locales install -Dm0644 plasma-setup-locales.tar.gz \ %{buildroot}%{_datadir}/senemos-nabu/l10n/plasma-setup-locales.tar.gz install -Dm0644 macros.nabu-languages \ %{buildroot}%{_sysconfdir}/rpm/macros.nabu-languages %posttrans %{_libexecdir}/senemos-nabu/nabu-restore-plasma-setup-locales || : %transfiletriggerin -- %{_libexecdir}/plasma-setup %{_libexecdir}/senemos-nabu/nabu-restore-plasma-setup-locales || : %files %license LICENSES/* %dir %{_libexecdir}/senemos-nabu %{_libexecdir}/senemos-nabu/nabu-restore-plasma-setup-locales %dir %{_datadir}/senemos-nabu %dir %{_datadir}/senemos-nabu/l10n %{_datadir}/senemos-nabu/l10n/plasma-setup-locales.tar.gz %{_sysconfdir}/rpm/macros.nabu-languages %changelog * Fri Aug 21 2026 SENEMOS Project - 1.0.0-4.test - Restore Plasma Shell catalogs used to populate the first-boot language list. - Keep all future RPM language payloads enabled. * Sat Aug 15 2026 SENEMOS Project - 1.0.0-3.test - Restore missing catalogs directly with tar skip-old-files for FUSE safety * Sat Aug 15 2026 SENEMOS Project - 1.0.0-2.test - Avoid process substitution and extracted temporary trees in image chroots * Sat Aug 15 2026 SENEMOS Project - 1.0.0-1.test - Restore all 36 upstream Plasma Setup language catalogs after FOTA - Preserve all language payloads in future RPM transactions