Add joshuto

This commit is contained in:
windowsboy111
2023-01-19 12:48:38 +08:00
parent c4f9cae037
commit eaf104b3cc
3 changed files with 54 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "rust-joshuto.spec"
}
}
+48
View File
@@ -0,0 +1,48 @@
# Generated by rust2rpm 23
%bcond_without check
%global crate joshuto
Name: rust-joshuto
Version: 0.9.4
Release: %autorelease
Summary: Terminal file manager inspired by ranger
License: LGPL-3.0
URL: https://crates.io/crates/joshuto
Source: %{crates_source}
BuildRequires: anda-srpm-macros rust-packaging >= 21
%global _description %{expand:
Terminal file manager inspired by ranger.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%doc README.md
%{_bindir}/joshuto
%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("joshuto"));