wireguard-tools/wireguard-tools.spec
Jian Liu 7a595aed2a Wireguard-tools: Enable gating test in tmt
Resolves: RHEL-128081

Signed-off-by: Jian Liu <jianliu@redhat.com>
2025-11-14 10:34:52 +08:00

73 lines
2.2 KiB
RPMSpec

Name: wireguard-tools
Version: 1.0.20250521
Release: 2%{?dist}
URL: https://www.wireguard.com/
Summary: Fast, modern, secure VPN tunnel
License: GPL-2.0-only
Source0: https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-%{version}.tar.xz
%{?systemd_requires}
BuildRequires: make
BuildRequires: systemd
BuildRequires: gcc
Requires: systemd-resolved
%description
WireGuard is a novel VPN that runs inside the Linux Kernel and uses
state-of-the-art cryptography (the "Noise" protocol). It aims to be
faster, simpler, leaner, and more useful than IPSec, while avoiding
the massive headache. It intends to be considerably more performant
than OpenVPN. WireGuard is designed as a general purpose VPN for
running on embedded interfaces and super computers alike, fit for
many different circumstances. It runs over UDP.
This package provides the wg binary for controlling WireGuard.
%prep
%autosetup -p1
%build
%set_build_flags
%make_build RUNSTATEDIR=%{_rundir} -C src
%install
%make_install BINDIR=%{_bindir} MANDIR=%{_mandir} RUNSTATEDIR=%{_rundir} \
WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes WITH_SYSTEMDUNITS=yes -C src
%files
%doc README.md contrib
%license COPYING
%{_bindir}/wg
%{_bindir}/wg-quick
%{_sysconfdir}/wireguard/
%{_datadir}/bash-completion/completions/wg
%{_datadir}/bash-completion/completions/wg-quick
%{_unitdir}/wg-quick@.service
%{_unitdir}/wg-quick.target
%{_mandir}/man8/wg.8*
%{_mandir}/man8/wg-quick.8*
%changelog
* Thu Nov 13 2025 Jian Liu <jianliu@redhat.com> - 1.0.20250521-2
- Enable gating test in tmt (RHEL-128081)
Resolves: RHEL-128081
* Wed Sep 24 2025 Hangbin Liu <haliu@redhat.com> - 1.0.20250521-1
- Bump to new release (RHEL-116973)
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0.20210914-6
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0.20210914-5
- Bump release for June 2024 mass rebuild
* Fri May 24 2024 Hangbin Liu <haliu@redhat.com> - 1.0.20210914-4
- Add gating test
* Fri Aug 11 2023 Hangbin Liu <haliu@redhat.com> - 1.0.20210914-3
- Convert spec license tag to SPDX format (RHELMISC-1353)