%global debug_package %{nil} Name: nabu-systemd-boot-config Version: 1.0.0 Release: 4.test%{?dist} Summary: systemd-boot and UKI entry policy for Xiaomi Pad 5 License: MIT URL: https://copr.fedorainfracloud.org/coprs/mcc45tr/nabu-linux/ Source0: loader.conf Source1: nabu.conf Source2: android.conf Source3: refind-nabu.conf Source4: limine-nabu.conf Source5: nabu-install-systemd-boot Source6: nabu-install-refind Source7: nabu-install-limine BuildArch: noarch Requires: systemd-boot-unsigned Requires: systemd-ukify Requires: dracut Requires: nabu-uki-config %description Provides Nabu loader and UKI entry templates plus an explicit EFI System Partition installer for Xiaomi Pad 5. The installer preserves the Android EFI directory and creates the Android-return menu entry only when a verified Reboot2Android.efi is already present. %package -n nabu-refind-config Summary: rEFInd configuration for Nabu test systems Requires: rEFInd %description -n nabu-refind-config Provides an rEFInd Nabu/Android menu fragment and an explicit installer. The Android entry is activated only when the verified Android-return EFI exists. %package -n nabu-limine-config Summary: Limine configuration template for Nabu test systems %description -n nabu-limine-config Provides the Nabu Limine configuration template only. Until Fedora offers a verified AArch64 Limine EFI binary, the accompanying installer intentionally refuses to claim that Limine has been installed. %prep %build %install root=%{buildroot}%{_datadir}/nabu/bootloader install -Dm0644 %{SOURCE0} "$root/systemd-boot/loader.conf" install -Dm0644 %{SOURCE1} "$root/systemd-boot/entries/nabu.conf" install -Dm0644 %{SOURCE2} "$root/systemd-boot/entries/android.conf" install -Dm0644 %{SOURCE3} "$root/refind/refind-nabu.conf" install -Dm0644 %{SOURCE4} "$root/limine/limine-nabu.conf" install -Dm0755 %{SOURCE5} %{buildroot}%{_bindir}/nabu-install-systemd-boot install -Dm0755 %{SOURCE6} %{buildroot}%{_bindir}/nabu-install-refind install -Dm0755 %{SOURCE7} %{buildroot}%{_bindir}/nabu-install-limine %files %{_bindir}/nabu-install-systemd-boot %{_datadir}/nabu/bootloader/systemd-boot/ %files -n nabu-refind-config %{_bindir}/nabu-install-refind %{_datadir}/nabu/bootloader/refind/ %files -n nabu-limine-config %{_bindir}/nabu-install-limine %{_datadir}/nabu/bootloader/limine/ %changelog * Sat Aug 15 2026 MCC45TR - 1.0.0-2 - Make the systemd-boot package the source package's primary binary. - Avoid an empty nabu-bootloaders-test binary package.