Initial import
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
8693200d2c
commit
80e84b2aa6
|
@ -0,0 +1 @@
|
|||
/gitui-0.4.0.crate
|
|
@ -0,0 +1,61 @@
|
|||
# Generated by rust2rpm 15
|
||||
%bcond_without check
|
||||
%global __cargo_skip_build 0
|
||||
|
||||
%global crate gitui
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.4.0
|
||||
Release: 1%{?dist}
|
||||
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}
|
||||
# * (MIT or ASL 2.0) and BSD
|
||||
# * ASL 2.0 or MIT
|
||||
# * MIT
|
||||
# * MIT or ASL 2.0
|
||||
License: MIT and BSD
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE.md
|
||||
%doc README.md THEMES.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
|
||||
* Thu May 28 16:14:15 CEST 2020 Igor Raits <i.gnatenko.brain@gmail.com> - 0.4.0-1
|
||||
- Initial package
|
Loading…
Reference in New Issue