rust-gitui/rust-gitui.spec
Igor Raits 6ffb9c2416
Update to 0.16.2
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2021-07-24 12:13:27 +02:00

67 lines
1.2 KiB
RPMSpec

# Generated by rust2rpm 18
%bcond_without check
%global __cargo_skip_build 0
%global crate gitui
Name: rust-%{crate}
Version: 0.16.2
Release: %autorelease
Summary: Blazing fast terminal-ui for git
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/gitui
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Blazing fast terminal-ui for git.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
# 0BSD or MIT or ASL 2.0
# ASL 2.0
# ASL 2.0 or Boost
# BSD
# MIT
# MIT or ASL 2.0
# MIT or ASL 2.0 or zlib
# MIT or zlib or ASL 2.0
# Unlicense or MIT
# zlib or ASL 2.0 or MIT
License: MIT and ASL 2.0 and BSD
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE.md
%doc THEMES.md README.md KEY_CONFIG.md CHANGELOG.md
%{_bindir}/gitui
%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