bubblewrap/bubblewrap.spec

47 lines
1.1 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:03:44 +08:00
Name: bubblewrap
2020-06-24 09:40:43 +08:00
Version: 0.4.1
2019-11-06 19:03:44 +08:00
Release: 1
Summary: Core execution tool for unprivileged containers
License: LGPLv2+
URL: https://github.com/projectatomic/bubblewrap
2020-06-24 09:40:43 +08:00
Source0: https://github.com/containers/bubblewrap/releases/download/v%{version}/bubblewrap-%{version}.tar.xz
2019-09-30 10:33:34 -04:00
2019-11-06 19:03:44 +08:00
BuildRequires: autoconf automake libtool gcc libcap-devel
BuildRequires: pkgconfig(libselinux) libxslt docbook-style-xsl
2019-09-30 10:33:34 -04:00
%description
2019-11-06 19:03:44 +08:00
There is an effort in the Linux kernel called user namespaces which
attempts to allow unprivileged users to use container features.
%package_help
2019-09-30 10:33:34 -04:00
%prep
2019-11-06 19:03:44 +08:00
%autosetup -n %{name}-%{version} -p1
2019-09-30 10:33:34 -04:00
%build
if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi
%configure --disable-silent-rules --with-priv-mode=none
%make_build
%install
2019-11-06 19:03:44 +08:00
%make_install
%delete_la
2019-09-30 10:33:34 -04:00
%files
2019-11-06 19:03:44 +08:00
%defattr(-,root,root)
2019-09-30 10:33:34 -04:00
%license COPYING
%{_bindir}/bwrap
2019-11-06 19:03:44 +08:00
%{_datadir}/bash-completion/completions/bwrap
%files help
%defattr(-,root,root)
%doc README.md
2019-09-30 10:33:34 -04:00
%{_mandir}/man1/*
%changelog
2020-06-24 09:40:43 +08:00
* Tue Jun 23 2020 shixuantong <shixuantong@huawei.com> -0.4.1-1
- Update to 0.4.1
2019-11-06 19:03:44 +08:00
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.3-1
- Package init