2024-01-05 19:27:43 +01:00
|
|
|
Name: wireguard-tools
|
2024-01-05 19:27:43 +01:00
|
|
|
Version: 1.0.20210223
|
2024-01-05 19:27:43 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Userspace tools to configure WireGuard implementations
|
|
|
|
Group: Network/Security
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.wireguard.com
|
|
|
|
Source: https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-%{version}.tar.xz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: ldconfig
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Userspace tools to configure WireGuard implementations.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
cd src
|
|
|
|
%make \
|
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
LIBDIR=%{_libdir} \
|
|
|
|
MANDIR=%{_mandir} \
|
|
|
|
RUNSTATEDIR=/run
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
cd src
|
|
|
|
%makeinstall \
|
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
LIBDIR=%{_libdir} \
|
|
|
|
MANDIR=%{_mandir} \
|
|
|
|
RUNSTATEDIR=/run
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/wg
|
|
|
|
%{_datadir}/bash-completion/completions/wg
|
|
|
|
%{_mandir}/man8/wg.8*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 19:27:43 +01:00
|
|
|
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 1.0.20210223-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:27:43 +01:00
|
|
|
* Tue Nov 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.20200827-1mamba
|
|
|
|
- package created using the webbuild interface
|