44 lines
1.2 KiB
RPMSpec
44 lines
1.2 KiB
RPMSpec
|
|
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
|