Imported from SRPM

This commit is contained in:
Sergey Zhemoytel 2023-06-11 23:10:00 +03:00
commit 02feba196e
2 changed files with 35 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
slirp4netns-1.2.0.tar.gz: 946ec8b117908ef77131975584e95599cadb5e4a

33
slirp4netns.spec Normal file
View file

@ -0,0 +1,33 @@
Name: slirp4netns
Version: 1.2.0
Release: 1
Summary: User-mode networking for unprivileged network namespaces
URL: https://github.com/rootless-containers/slirp4netns
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
License: GPLv2
Group: Development/Other
BuildRequires: gcc
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(slirp) >= 4.1.0
BuildRequires: pkgconfig(libcap)
BuildRequires: pkgconfig(libseccomp)
%description
slirp4netns: User-mode networking for unprivileged network
namespaces
%prep
%setup -q
%build
./autogen.sh
%configure
%make
%install
%makeinstall
%files
%doc README.md COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.*