diff --git a/crun-1.4.3.tar.xz b/crun-1.4.3.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..4db42e73fbfbc5e6645585960787cab31380a3df Binary files /dev/null and b/crun-1.4.3.tar.xz differ diff --git a/crun.spec b/crun.spec new file mode 100644 index 0000000000000000000000000000000000000000..060d83306987e69606f9d0c23221ca663591b856 --- /dev/null +++ b/crun.spec @@ -0,0 +1,49 @@ +Name: crun +Version: 1.4.3 +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 +BuildRequires: libcap-devel systemd-devel yajl-devel libseccomp-devel libselinux-devel +BuildRequires: libtool make glibc-static protobuf-c-devel +%ifnarch %ix86 +BuildRequires: criu-devel >= 3.15 +%endif +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 %{buildroot}%{_prefix}/lib* + +%files +%license COPYING +%license COPYING.libcrun +%{_bindir}/%{name} + +%files help +%{_mandir}/man1/* + +%changelog +* Tue Mar 1 2022 fu-shanqing - 1.4.3-1 +- Update to 1.4.3 + +* Tue Aug 3 2021 fu-shanqing - 0.20.1-1 +- Package init