update spec file
This commit is contained in:
parent
8ed892af0f
commit
327f368732
BIN
crun-0.20.1.tar.xz
Normal file
BIN
crun-0.20.1.tar.xz
Normal file
Binary file not shown.
43
crun.spec
Normal file
43
crun.spec
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user