%global debug_package %{nil} Name: senemos-nabu-plymouth Version: 1.0.0 Release: 5.test%{?dist} Summary: Xiaomi Pad 5 native Plymouth BGRT theme License: MIT URL: https://copr.fedorainfracloud.org/coprs/mcc45tr/nabu-linux/ Source0: %{name}-%{version}.tar.zst BuildArch: noarch BuildRequires: plymouth-theme-spinner BuildRequires: ImageMagick Requires: plymouth Requires: plymouth-plugin-two-step Requires: abattis-cantarell-fonts Requires: dracut Conflicts: plymouth-theme-spinner %description SENEMOS boot, shutdown, reboot and offline-update visuals for Xiaomi Pad 5. The package deliberately uses Plymouth's native DRM renderer, allowing the panel-orientation property supplied by the Nabu device tree to be honoured. %prep %autosetup %build %install theme_dir=%{buildroot}%{_datadir}/plymouth/themes/bgrt install -d -m0755 "$theme_dir" install -m0644 bgrt.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 %post if command -v plymouth-set-default-theme >/dev/null 2>&1; then plymouth-set-default-theme bgrt || : fi %posttrans -p /usr/bin/bash latest_nabu_kernel="$(find /usr/lib/modules -mindepth 1 -maxdepth 1 -type d -name '*nabu*' -printf '%%f\n' 2>/dev/null | sort -V | tail -n1)" if [[ -n "$latest_nabu_kernel" && -x /usr/bin/nabu-regenerate-uki ]]; then /usr/bin/nabu-regenerate-uki "$latest_nabu_kernel" || \ printf 'Warning: Plymouth was installed but UKI regeneration failed for %s\n' "$latest_nabu_kernel" >&2 fi %files %{_datadir}/plymouth/themes/bgrt/ %changelog * 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.