Initial import
This commit is contained in:
parent
c5fa9a0579
commit
423cb02dd3
2
.gitignore
vendored
2
.gitignore
vendored
@ -0,0 +1,2 @@
|
|||||||
|
/bubblewrap-0.1.1.tar.gz
|
||||||
|
/bubblewrap-v0.1.1.tar.gz
|
53
bubblewrap.spec
Normal file
53
bubblewrap.spec
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
%global commit0 f64a1917d13d9df8930fa5a767859b4e5328367f
|
||||||
|
%global gittag0 v0.1.1
|
||||||
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
||||||
|
|
||||||
|
Summary: Core execution tool for unprivileged containers
|
||||||
|
Name: bubblewrap
|
||||||
|
Version: 0.1.1
|
||||||
|
Release: 1%{?dist}
|
||||||
|
#VCS: git:https://github.com/projectatomic/bubblewrap
|
||||||
|
Source0: https://github.com/projectatomic/%{name}/archive/%{gittag0}.tar.gz#/%{name}-%{gittag0}.tar.gz
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: https://github.com/projectatomic/bubblewrap
|
||||||
|
|
||||||
|
BuildRequires: git
|
||||||
|
# We always run autogen.sh
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
|
BuildRequires: libcap-devel
|
||||||
|
BuildRequires: pkgconfig(libselinux)
|
||||||
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: docbook-style-xsl
|
||||||
|
|
||||||
|
%description
|
||||||
|
Bubblewrap (/usr/bin/bwrap) is a core execution engine for unprivileged
|
||||||
|
containers that works as a setuid binary on kernels without
|
||||||
|
user namespaces.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -Sgit -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
env NOCONFIGURE=1 ./autogen.sh
|
||||||
|
%configure --disable-silent-rules --with-priv-mode=none
|
||||||
|
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%{_datadir}/bash-completion/completions/bwrap
|
||||||
|
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
||||||
|
%attr(0755,root,root) %caps(cap_sys_admin,cap_net_admin,cap_sys_chroot=ep) %{_bindir}/bwrap
|
||||||
|
%else
|
||||||
|
%{_bindir}/bwrap
|
||||||
|
%endif
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 08 2016 Colin Walters <walters@verbum.org> - 0.1.1
|
||||||
|
- Initial package
|
Loading…
Reference in New Issue
Block a user