Name: linspectacles-boot-loaders Version: 0.1.8 Release: 1%{?dist} Summary: Read-only structured inspection of installed/reported boot loaders, EFI System Partitions and EFI boot stat... License: GPL-3.0-or-later URL: https://github.com/linspectacles/boot-loaders Vendor: LinSpectacles Packager: brunonlinespace Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3 Requires: python3 Requires: python3-pyqt6 Requires: polkit %description Read-only structured inspection of installed/reported boot loaders, EFI System Partitions and EFI boot state with optional ephemeral privileged visibility. %prep %autosetup %build # Pure Python/source applet; no build step is required. %install APPLET_DIR="%{buildroot}%{_libexecdir}/linspectacles/applets/linspectacles_boot_loaders" install -d "$APPLET_DIR" cp -a . "$APPLET_DIR/" find "$APPLET_DIR" -type d -name __pycache__ -prune -exec rm -rf {} + find "$APPLET_DIR" -type f \( -name '*.pyc' -o -name '*.pyo' \) -delete install -d "%{buildroot}%{_bindir}" cat > "%{buildroot}%{_bindir}/%{name}" <<'APPLET_LAUNCHER' #!/bin/sh exec /usr/bin/python3 "%{_libexecdir}/linspectacles/applets/linspectacles_boot_loaders/standalone.py" "$@" APPLET_LAUNCHER chmod 0755 "%{buildroot}%{_bindir}/%{name}" install -Dm0755 "boot_loaders/privileged/linspectacles-boot-helper" "%{buildroot}/usr/libexec/linspectacles-boot-helper" %check python3 -m compileall -q . %files %dir %{_libexecdir}/linspectacles %dir %{_libexecdir}/linspectacles/applets %license %{_libexecdir}/linspectacles/applets/linspectacles_boot_loaders/LICENSE %doc %{_libexecdir}/linspectacles/applets/linspectacles_boot_loaders/README.md %{_libexecdir}/linspectacles/applets/linspectacles_boot_loaders %{_bindir}/%{name} /usr/libexec/linspectacles-boot-helper %changelog * Mon Nov 16 2026 brunonlinespace - 0.1.8-1 - Package Boot Loaders from its self-describing LinSpectacles applet source.