Imported from SRPM

This commit is contained in:
Sergey Zhemoytel 2023-05-26 23:51:19 +03:00
commit 8be87f8a37
2 changed files with 33 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
joshuto-0.9.4.tar.gz: 50f6cb0b02d733daa01e61708163b449f80cea11

31
joshuto.spec Normal file
View file

@ -0,0 +1,31 @@
%define debug %nil
%define debug_package %nil
Name: joshuto
Version: 0.9.4
Release: 1
Summary: ranger-like terminal file manager
URL: https://crates.io/crates/joshuto
Source0: https://github.com/kamiyaa/joshuto/archive/v%{version}/%{name}-%{version}.tar.gz
License: LGPL-3.0
Group: Development/Other
BuildRequires: rust
BuildRequires: cargo
%description
ranger-like terminal file manager written in Rust.
%prep
%setup -q
%build
cargo build --release
%install
install -Dm0755 target/release/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md LICENSE
%{_bindir}/%{name}