9 Star 1 Fork 2

openEuler/ssh-utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ssh-utils.spec 960 Bytes
一键复制 编辑 原始数据 按行查看 历史
Kurisu 提交于 2024-09-14 21:45 . chore: update compress file name.
%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.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler/ssh-utils.git
git@gitee.com:openeuler/ssh-utils.git
openeuler
ssh-utils
ssh-utils
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385