%global debug_package %{nil} Name: senemos-nabu-plymouth Version: 1.0.0 Release: 9.test%{?dist} Summary: Stable native Plymouth theme for Xiaomi Pad 5 License: MIT URL: https://copr.fedorainfracloud.org/coprs/mcc45tr/nabu-linux/ Source0: %{name}-%{version}.tar.zst BuildArch: noarch BuildRequires: ImageMagick BuildRequires: plymouth-theme-spinner Requires: plymouth Requires: plymouth-plugin-two-step Requires: abattis-cantarell-fonts Requires: dracut %description SENEMOS boot, shutdown, reboot and offline-update visuals for Xiaomi Pad 5. The theme uses Plymouth's maintained two-step renderer with the SENEMOS Nabu watermark and native DRM orientation. It avoids a script-plugin crash observed during the initramfs-to-real-root transition. %prep %autosetup %build %install theme_dir=%{buildroot}%{_datadir}/plymouth/themes/senemos-nabu install -d -m0755 "$theme_dir" install -m0644 senemos-nabu.plymouth watermark.png "$theme_dir"/ for asset in %{_datadir}/plymouth/themes/spinner/*; do name="${asset##*/}" case "$name" in spinner.plymouth|watermark.png) continue ;; esac magick "$asset" -filter Lanczos -resize 400%% "$theme_dir/$name" done %check grep -Fxq 'ModuleName=two-step' \ %{buildroot}%{_datadir}/plymouth/themes/senemos-nabu/senemos-nabu.plymouth test -s %{buildroot}%{_datadir}/plymouth/themes/senemos-nabu/watermark.png test ! -e %{buildroot}%{_datadir}/plymouth/themes/senemos-nabu/senemos-nabu.script %post if command -v plymouth-set-default-theme >/dev/null 2>&1; then plymouth-set-default-theme senemos-nabu || : fi %posttrans -p /usr/bin/bash install -d -m0755 /var/lib/nabu-kernel-maintenance/pending.d for item in \ alpha:senemos-nabu-kernel-alpha \ stable:senemos-nabu-kernel \ lts:senemos-nabu-kernel-lts \ mainline:senemos-nabu-kernel-mainline-alpha \ mainline-unstable:senemos-nabu-kernel-mainline-unstable; do channel=${item%%:*} package=${item#*:} rpm -q "$package" >/dev/null 2>&1 || continue temporary=$(mktemp "/var/lib/nabu-kernel-maintenance/pending.d/.${channel}.XXXXXX") printf 'plymouth-theme-update\n' >"$temporary" chmod 0644 "$temporary" mv -f "$temporary" "/var/lib/nabu-kernel-maintenance/pending.d/$channel" done %files %{_datadir}/plymouth/themes/senemos-nabu/ %changelog * Tue Sep 01 2026 mcc45tr - 1.0.0-9.test - Replace the crashing initramfs script plugin with the proven two-step renderer. - Queue deferred family UKI maintenance instead of running dracut in RPM scripts. * Thu Aug 27 2026 MCC45TR - 1.0.0-8.test - Keep the progress composition locale-neutral until Plymouth or PackageKit supplies a status message for the active locale. - Retain boot, system-update and update-status callback support. * Tue Aug 25 2026 SENEMOS Project - 1.0.0-7.test - Select the UKI regeneration target only from RPM-owned Nabu vmlinuz files. - Preserve the Figma-aligned callback-driven theme introduced in 1.0.0-6. * Tue Aug 25 2026 SENEMOS Project - 1.0.0-6.test - Replace the inherited two-step theme with a dedicated script theme. - Match the supplied 2560x1600 and 1600x2560 Figma logo geometry. - Add a callback-driven progress bar and live boot/offline-update status text. - Keep password and question prompts visible without hiding the composition. * Tue Aug 25 2026 SENEMOS Project - 1.0.0-5.test - Reduce the composite watermark from 1200x1500 to 720x900 pixels so it fits the native 2560x1600 landscape viewport without clipping. - Store the watermark as standard 8-bit RGBA while preserving Xiaomi and Fedora branding and the existing animation placement. * Sat Aug 22 2026 SENEMOS Project - 1.0.0-4.test - Move and enlarge the Xiaomi logo for the tablet panel. - Restore the Fedora watermark below the logo at high resolution. - Scale spinner and throbber assets for the tablet display density. * Sat Aug 22 2026 SENEMOS Project - 1.0.0-3.test - Reduce the centered Xiaomi watermark to half its previous visual size. * Fri Aug 21 2026 SENEMOS Project - 1.0.0-2.test - Own the complete BGRT theme instead of conflicting with Fedora spinner. - Bundle the animation assets while retaining the native two-step renderer. * Fri Aug 21 2026 SENEMOS Project - 1.0.0-1.test - Add the supplied Xiaomi logo to native Plymouth boot and shutdown flows. - Use the two-step renderer and Nabu device-tree panel orientation. - Keep the theme reusable from Plasma, GNOME and text-only installations.