forked from pool/bubblewrap
Accepting request 446662 from home:sebix:branches:home:dmulder
specfile from project itself, with some minor modifications, and from home:dmulder needed for e.g. sandboxed-tor-browser OBS-URL: https://build.opensuse.org/request/show/446662 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/bubblewrap?expand=0&rev=1
This commit is contained in:
commit
44070bf510
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
51
bubblewrap.spec
Normal file
51
bubblewrap.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
Summary: Core execution tool for unprivileged containers
|
||||||
|
Name: bubblewrap
|
||||||
|
Version: 0.1.4
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Source0: https://github.com/projectatomic/bubblewrap/archive/v%version.tar.gz
|
||||||
|
License: LGPL-2.0+
|
||||||
|
URL: https://github.com/projectatomic/bubblewrap
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: git
|
||||||
|
# We always run autogen.sh
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
|
BuildRequires: libcap-devel
|
||||||
|
BuildRequires: pkgconfig(libselinux)
|
||||||
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
|
|
||||||
|
%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 -n %{name}-%{version}
|
||||||
|
sed -i '1d' completions/bash/bwrap
|
||||||
|
|
||||||
|
%build
|
||||||
|
env NOCONFIGURE=1 ./autogen.sh
|
||||||
|
%configure --disable-silent-rules --with-priv-mode=none
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
%make_build
|
||||||
|
%else
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install DESTDIR=%buildroot INSTALL="install -p -c"
|
||||||
|
find %buildroot -name '*.la' -delete
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%dir %{_datadir}/bash-completion
|
||||||
|
%dir %{_datadir}/bash-completion/completions
|
||||||
|
%{_datadir}/bash-completion/completions/bwrap
|
||||||
|
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
||||||
|
%attr(4755,root,root) %{_bindir}/bwrap
|
||||||
|
%else
|
||||||
|
%{_bindir}/bwrap
|
||||||
|
%endif
|
||||||
|
%{_mandir}/man1/*
|
25
bubblewrap.spec.changes
Normal file
25
bubblewrap.spec.changes
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 16 10:14:32 UTC 2016 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
- upgrade to upstream version 0.1.4
|
||||||
|
- Build also for Leap 42.2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 14 2016 Colin Walters <walters@verbum.org> - 0.1.3-2
|
||||||
|
|
||||||
|
- New upstream version
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 12 2016 Kalev Lember <klember@redhat.com> - 0.1.2-1
|
||||||
|
|
||||||
|
- Update to 0.1.2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.1.1-2
|
||||||
|
|
||||||
|
- Trivial fixes in packaging
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 08 2016 Colin Walters <walters@verbum.org> - 0.1.1
|
||||||
|
|
||||||
|
- Initial package
|
3
v0.1.4.tar.gz
Normal file
3
v0.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a98cf6aaafa5141a85c3fbd7f55608fb7d3ff4d10e166b27cbf371a100f9be02
|
||||||
|
size 91854
|
Loading…
Reference in New Issue
Block a user