!1 package init

From: @fu-shanqing
Reviewed-by: 
Signed-off-by:
This commit is contained in:
openeuler-ci-bot 2021-11-03 07:25:06 +00:00 committed by Gitee
commit ea1c82794d
2 changed files with 43 additions and 0 deletions

BIN
crun-0.20.1.tar.xz Normal file

Binary file not shown.

43
crun.spec Normal file
View File

@ -0,0 +1,43 @@
Name: crun
Version: 0.20.1
Release: 1
Summary: A fast and low-memory footprint OCI Container Runtime fully written in C.
URL: https://github.com/containers/%{name}
Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.xz
License: GPLv2+ and LGPLv2.1+
BuildRequires: autoconf automake gcc python git-core
BuildRequires: libcap-devel systemd-devel yajl-devel libseccomp-devel libselinux-devel
BuildRequires: util-linux libtool make glibc-static criu-devel >= 3.15
Provides: oci-runtime
%description
crun is a fast and low-memory footprint OCI Container Runtime fully written in C.
%package help
Summary: Secondary development document and manual of interface function description.
%description help
Secondary development document and manual of interface function description.
%prep
%autosetup -p1 -n %{name}-%{version}
%build
./autogen.sh
%configure --disable-silent-rules
%make_build
%install
%make_install
rm -rf $RPM_BUILD_ROOT/usr/lib*
%files
%license COPYING
%license COPYING.libcrun
%{_bindir}/%{name}
%files help
%{_mandir}/man1/*
%changelog
* Tue Aug 3 2021 fu-shanqing <fushanqing@kylinos.cn> - 0.20.1-1
- Package init