Name: htb-toolkit Version: 0 Release: f1aff03.1.g%{?dist} Summary: Play Hack The Box machines directly on your system License: GPL-3.0-or-later URL: https://github.com/D3vil0p3r/htb-toolkit Source0: https://github.com/D3vil0p3r/htb-toolkit/archive/refs/heads/main.tar.gz#/htb-toolkit-main.tar.gz BuildRequires: cargo BuildRequires: openssl Requires: coreutils Requires: gnome-keyring Requires: gzip Requires: ImageMagick Requires: libsecret Requires: google-noto-emoji-fonts Requires: openssl Requires: openvpn Requires: cascadia-code-nf-fonts ExclusiveArch: x86_64 aarch64 %description HTB Toolkit lets you easily connect and manage Hack The Box machines directly from your local system, providing a smooth hacking lab experience with OpenVPN and related tools. %prep %autosetup -n %{name}-main %build cargo build --release --locked %install install -Dm 755 target/release/%{name} %{buildroot}/usr/bin/%{name} install -Dm 644 README.md %{buildroot}/usr/share/doc/%{name}/README.md install -Dm 644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE %files %license usr/share/licenses/%{name}/LICENSE %doc usr/share/doc/%{name}/README.md /usr/bin/%{name} %changelog Sun Apr 13 2025 Little Owl - synced with upstream