# Generated by rust2rpm 22 %bcond_without check %global crate lino Name: rust-lino Version: 0.10.0 Release: %autorelease Summary: Command line text editor with notepad like key bindings License: MIT URL: https://crates.io/crates/lino Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Command line text editor with notepad like key bindings.} %description %{_description} %package -n %{crate} Summary: %{summary} # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # BSD-3-Clause # ISC # MIT # MIT OR Apache-2.0 # MIT OR Zlib OR Apache-2.0 # Unlicense OR MIT License: Apache-2.0 and BSD-3-Clause and ISC and MIT %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %doc README.md %doc TODO.md %{_bindir}/lino %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog