# debugging firmwares does not go the same way as a normal program. # moreover, all architectures providing debuginfo for a single noarch # package is currently clashing in koji, so don't bother. %global debug_package %{nil} %global forgeurl https://github.com/ipxe/ipxe %global tag v2.0.0 %forgemeta Name: ipxe Version: 2.0.0 Release: 1%{?dist} Summary: A network boot loader License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND (GPL-2.0-only OR MPL-1.1) AND GPL-2.0-or-later AND GPL-2.0-or-later WITH UBDL-exception AND ISC AND MIT URL: https://ipxe.org/ Source: %{forgesource} Patch0001: 0001-build-customize-configuration.patch BuildRequires: perl-interpreter BuildRequires: xz-devel BuildRequires: gcc BuildRequires: make %package bootimgs-x86 Summary: x86 Network boot loader images BuildArch: noarch Provides: %{name}-bootimgs = %{version}-%{release} %description bootimgs-x86 iPXE is an open source network bootloader. It provides a direct replacement for proprietary PXE ROMs, with many extra features such as DNS, HTTP, iSCSI, etc. This package contains the iPXE boot images in PXE and UNDI formats. %description iPXE is an open source network bootloader. It provides a direct replacement for proprietary PXE ROMs, with many extra features such as DNS, HTTP, iSCSI, etc. %prep %forgesetup %autopatch -p1 %build cd src %make_build bin/undionly.kpxe \ bin-i386-efi/ipxe.efi \ bin-x86_64-efi/ipxe.efi %install mkdir -p %{buildroot}/%{_datadir}/%{name}/ cp -a src/bin/undionly.kpxe %{buildroot}/%{_datadir}/%{name}/ cp -a src/bin-i386-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/ipxe-i386.efi cp -a src/bin-x86_64-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/ipxe-x86_64.efi %files bootimgs-x86 %dir %{_datadir}/%{name} %{_datadir}/%{name}/ipxe-i386.efi %{_datadir}/%{name}/ipxe-x86_64.efi %{_datadir}/%{name}/undionly.kpxe %doc COPYING COPYING.GPLv2 %changelog %autochangelog