%global debug_package %{nil} Name: senemos-nabu-plymouth Version: 1.1.0 Release: 2.bgrt%{?dist} Summary: Native BGRT-aware Plymouth presentation for Xiaomi Pad 5 License: MIT URL: https://copr.fedorainfracloud.org/coprs/mcc45tr/nabu-linux/ Source0: %{name}-%{version}.tar.zst BuildArch: noarch BuildRequires: plymouth-theme-spinner BuildRequires: fedora-logos BuildRequires: ImageMagick Requires: plymouth Requires: plymouth-plugin-two-step Requires: plymouth-theme-spinner Requires: abattis-cantarell-fonts Requires: dracut %description Plymouth presentation that complements the native Nabu UEFI BGRT handoff. The Xiaomi logo remains firmware-owned; this package supplies high-density spinner frames, a Fedora watermark and graceful fallback behavior without replacing the firmware background or modifying bootloader assets. %prep %autosetup %build %install theme_dir=%{buildroot}%{_datadir}/plymouth/themes/senemos-bgrt install -d -m0755 "$theme_dir" install -m0644 senemos-bgrt.plymouth "$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 magick -background none -density 192 \ %{_datadir}/fedora-logos/fedora_logo_darkbackground.svg \ -resize 450x130 "$theme_dir/watermark.png" %post if command -v plymouth-set-default-theme >/dev/null 2>&1; then plymouth-set-default-theme senemos-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/senemos-bgrt/ %changelog * Sun Aug 23 2026 SENEMOS Project - 1.1.0-1.bgrt - Preserve the native ACPI BGRT firmware background. - Remove the Plymouth-composited Xiaomi watermark. - Add high-density spinner frames and a bottom Fedora watermark.