Name: boot-repair-andres Version: 0.1.2.1 Release: 1%{?dist} Summary: Swiss-army live rescue tool: GRUB repair, display reset, initramfs, kernel, system update, boot freedom, diagnostics. License: MIT URL: https://github.com/AndresDev859674/boot-repair Source1: boot-repair-andres.desktop Source2: com.andresdev859674.boot-repair.policy Source3: boot-repair-andres.png Source4: boot-repair-andres-128.png BuildRequires: bash, git Requires: bash, git BuildArch: noarch %description %{summary} %prep %setup -q -T -n boot-repair %install # 1. Instalar el script principal (está en la raíz del tarball) install -Dm755 boot-repair.sh %{buildroot}/usr/bin/boot-repair install -d -m755 %{buildroot}/usr/share/boot-repair-andres # 2. Copiar la carpeta 'art' (está en la raíz del tarball) cp -r art %{buildroot}/usr/share/boot-repair-andres/ # 3. Archivos adicionales (SourceN). Estos se instalan directamente desde el # directorio de SOURCES, por lo que estas líneas deberían estar bien: install -Dm644 %{SOURCE3} %{buildroot}/usr/share/icons/hicolor/512x512/apps/boot-repair-andres.png # ... y los demás SourceN %files /usr/bin/boot-repair /usr/share/boot-repair-andres/art /usr/share/icons/hicolor/128x128/apps/boot-repair-andres.png /usr/share/icons/hicolor/512x512/apps/boot-repair-andres.png /usr/share/applications/boot-repair-andres.desktop /usr/share/polkit-1/actions/com.andresdev859674.boot-repair.policy %changelog * Mon Oct 06 2025 andres8596 - 0.1.2.1-1 - Initial release for fedora.