add: felix (#214)

* add: felix

* remove checks
This commit is contained in:
madomado
2023-02-20 12:15:50 +08:00
committed by GitHub
parent 9be2fdb0f8
commit 8f38d6d0d1
3 changed files with 53 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "rust-felix.spec"
}
}
+47
View File
@@ -0,0 +1,47 @@
# Generated by rust2rpm 23
%global crate felix
Name: rust-felix
Version: 2.2.5
Release: %autorelease
Summary: Tui file manager with vim-like key mapping
License: MIT
URL: https://crates.io/crates/felix
Source: %{crates_source}
BuildRequires: anda-srpm-macros rust-packaging >= 21
%global _description %{expand:
Tui file manager with vim-like key mapping.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%doc CHANGELOG.md
%doc README.md
%{_bindir}/fx
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep_online
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog
+1
View File
@@ -0,0 +1 @@
rpm.version(crates("felix"));