[packages/slirp4netns] new
atler
atler at pld-linux.org
Thu May 13 17:02:52 CEST 2021
commit e9f57734e32bef84d6c441aaa9018a3c2df6f6c9
Author: Jan Palus <atler at pld-linux.org>
Date: Thu May 13 17:01:47 2021 +0200
new
slirp4netns.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
---
diff --git a/slirp4netns.spec b/slirp4netns.spec
new file mode 100644
index 0000000..c58c126
--- /dev/null
+++ b/slirp4netns.spec
@@ -0,0 +1,50 @@
+Summary: User-mode networking for unprivileged network namespaces
+Name: slirp4netns
+Version: 1.1.9
+Release: 1
+License: GPL v2
+Group: Applications/System
+Source0: https://github.com/rootless-containers/slirp4netns/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: fe9d1020205c41faa195e821730d8462
+URL: https://github.com/rootless-containers/slirp4netns
+BuildRequires: autoconf >= 2.69
+BuildRequires: automake >= 1:1.11.2
+BuildRequires: glib2-devel
+BuildRequires: go-md2man
+BuildRequires: libcap-devel
+BuildRequires: libseccomp-devel
+BuildRequires: libslirp-devel >= 4.1.0
+BuildRequires: pkgconfig
+Requires: libslirp >= 4.1.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+slirp4netns provides user-mode networking ("slirp") for unprivileged
+network namespaces.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/slirp4netns
+%{_mandir}/man1/slirp4netns.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/slirp4netns.git/commitdiff/e9f57734e32bef84d6c441aaa9018a3c2df6f6c9
More information about the pld-cvs-commit
mailing list