SHA256
1
0
forked from pool/slirp4netns
slirp4netns/slirp4netns.spec
Dominique Leuenberger 4f01e83877 Accepting request 686894 from devel:kubic
- Change _service to use releases instead of git commit references (forwarded request 686893 from RBrownSUSE)

OBS-URL: https://build.opensuse.org/request/show/686894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slirp4netns?expand=0&rev=2
2019-03-24 13:57:05 +00:00

59 lines
1.6 KiB
RPMSpec

#
# spec file for package slirp4netns
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: slirp4netns
Version: 0.3.0~beta1
Release: 0
Summary: User-mode networking for unprivileged network namespaces
License: GPL-2.0-only
Group: System/Management
URL: https://github.com/rootless-containers/slirp4netns
Source0: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: git
BuildRequires: glib2-devel
BuildRequires: go-go-md2man
BuildRequires: make
%description
slirp for network namespaces, without copying buffers across the namespaces.
%prep
%setup -q
%build
./autogen.sh
%configure
make %{?_smp_mflags}
make %{?_smp_mflags} generate-man
%install
install -D -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}
install -d %{buildroot}/%{_mandir}/man1
install -m 0644 %{name}.1 %{buildroot}/%{_mandir}/man1
%files
%doc README.md
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*.1%{?ext_man}
%changelog