From 44070bf51010625be777337e29daa67474e37dfb1f848397b804af2c768f723e Mon Sep 17 00:00:00 2001 From: Miquel Sabate Sola Date: Thu, 26 Jan 2017 09:25:10 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++++++++++++ .gitignore | 1 + bubblewrap.spec | 51 +++++++++++++++++++++++++++++++++++++++++ bubblewrap.spec.changes | 25 ++++++++++++++++++++ v0.1.4.tar.gz | 3 +++ 5 files changed, 103 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 bubblewrap.spec create mode 100644 bubblewrap.spec.changes create mode 100644 v0.1.4.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/bubblewrap.spec b/bubblewrap.spec new file mode 100644 index 0000000..0e01735 --- /dev/null +++ b/bubblewrap.spec @@ -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/* diff --git a/bubblewrap.spec.changes b/bubblewrap.spec.changes new file mode 100644 index 0000000..bfdd2a2 --- /dev/null +++ b/bubblewrap.spec.changes @@ -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 - 0.1.3-2 + +- New upstream version + +------------------------------------------------------------------- +Mon Sep 12 2016 Kalev Lember - 0.1.2-1 + +- Update to 0.1.2 + +------------------------------------------------------------------- +Tue Jul 12 2016 Igor Gnatenko - 0.1.1-2 + +- Trivial fixes in packaging + +------------------------------------------------------------------- +Fri Jul 08 2016 Colin Walters - 0.1.1 + +- Initial package diff --git a/v0.1.4.tar.gz b/v0.1.4.tar.gz new file mode 100644 index 0000000..925108f --- /dev/null +++ b/v0.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a98cf6aaafa5141a85c3fbd7f55608fb7d3ff4d10e166b27cbf371a100f9be02 +size 91854