# Generated by rust2rpm 28 %bcond check 1 %global crate syd-tui Name: rust-syd-tui Version: 0.2.2 Release: %autorelease Summary: Syd's Terminal User Interface License: GPL-3.0 URL: https://crates.io/crates/syd-tui Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Syd's Terminal User Interface.} %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 %doc ChangeLog.md %doc README.md %{_bindir}/syd-tui %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog