# Generated by rust2rpm 27 %bcond check 1 # prevent library files from being installed %global cargo_install_lib 0 %global crate virtfw-efi-tools Name: rust-virtfw-efi-tools Version: 0.1.0 Release: 1%{?dist} Summary: Efi related linux applications License: MIT URL: https://crates.io/crates/virtfw-efi-tools Source: %{crates_source} Source: virtfw-efi-tools-0.1.0-vendor.tar.xz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: pkgconfig(libudev) %global _description %{expand: Efi related linux applications.} %description %{_description} %package -n %{crate} Summary: %{summary} # FIXME: paste output of %%cargo_license_summary here License: # FIXME # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} # FIXME: no license files detected %license LICENSE.dependencies %license cargo-vendor.txt %doc README.md %{_bindir}/generate-boot-csv %{_bindir}/mini-bootcfg %{_bindir}/uefi-boot-menu %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Thu Apr 03 2025 Gerd Hoffmann - 0.1.0-1 - Initial package