代码拉取完成,页面将自动刷新
%define debug_package %{nil}
Name: ssh-utils
Version: 0.1.0
Release: 1%{?dist}
Summary: ssh-utils is a tool for fast ssh connections.
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/ssh-utils
Source0: https://gitee.com/openeuler/ssh-utils/repository/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
BuildRequires: rust cargo openssl-devel wget
%description
ssh-utils is a tool for fast ssh connections.
%prep
if [ ! -f %{_sourcedir}/%{name}-v%{version}.tar.gz ]; then
wget -O %{_sourcedir}/%{name}-v%{version}.tar.gz https://gitee.com/openeuler/ssh-utils/repository/archive/v%{version}.tar.gz
fi
%setup -q -n %{name}-v%{version}
%build
cargo build --release
%install
install -D -m 0755 target/release/ssh-utils %{buildroot}/usr/bin/ssh-utils
%files
%license LICENSE
%doc README.md
/usr/bin/ssh-utils
%changelog
* Tue Sep 10 2024 Kurisu <i@kuri.su> - 0.1.0
- Initial release.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。