diff --git a/anda/rust/felix/anda.hcl b/anda/rust/felix/anda.hcl new file mode 100644 index 0000000000..2930c35fee --- /dev/null +++ b/anda/rust/felix/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-felix.spec" + } +} diff --git a/anda/rust/felix/rust-felix.spec b/anda/rust/felix/rust-felix.spec new file mode 100644 index 0000000000..738425d09c --- /dev/null +++ b/anda/rust/felix/rust-felix.spec @@ -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 diff --git a/anda/rust/felix/update.rhai b/anda/rust/felix/update.rhai new file mode 100644 index 0000000000..81890a7f1a --- /dev/null +++ b/anda/rust/felix/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("felix"));