%global debug_package %{nil} Name: boringtun Version: 0.5.2 Release: 1%{?dist} Summary: Userspace WireGuard® Implementation in Rust License: GPLv3+ URL: https://github.com/cloudflare/boringtun Source0: %{url}/archive/%{name}-cli-%{version}/%{name}-cli-%{version}.tar.gz BuildRequires: cargo BuildRequires: rust %description BoringTun is an implementation of the WireGuard® protocol designed for portability and speed. %prep %autosetup -n %{name}-%{name}-cli-%{version} -p1 %build cargo build --bin %{name}-cli --release %install install -Dpm0755 target/release/%{name}-cli %{buildroot}%{_bindir}/%{name}-cli strip %{buildroot}%{_bindir}/* %files %license LICENSE.md %doc README.md %{_bindir}/%{name}-cli %changelog * Thu Jul 21 2022 Artem Polishchuk - 0.5.2-1 - chore(update): 0.5.2 * Mon Jul 18 2022 Artem Polishchuk - 0.5.0-1 - chore(update): 0.5.0 * Mon Mar 07 2022 Artem Polishchuk - 0.4.0-1 - chore(update): 0.4.0 * Fri Aug 14 2020 Artem Polishchuk - 0.3.0-1 - Update to 0.3.0 * Fri Mar 27 2020 Artem Polishchuk - 0.2.0-1.20200327git96bc927 - Update to latest git snapshot * Sun Nov 17 2019 Artem Polishchuk - 0.2.0-1.20191025git40c28d2 - Update to latest git snapshot * Mon Sep 30 2019 Artem Polishchuk - 0.2.0-1.20190919git0b980a2 - Initial package