crun/crun.spec

50 lines
1.3 KiB
RPMSpec
Raw Normal View History

2021-08-13 10:34:01 +08:00
Name: crun
2022-03-04 02:18:24 +00:00
Version: 1.4.3
2021-08-13 10:34:01 +08:00
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+
2022-03-04 02:18:24 +00:00
BuildRequires: autoconf automake gcc python
2021-08-13 10:34:01 +08:00
BuildRequires: libcap-devel systemd-devel yajl-devel libseccomp-devel libselinux-devel
2022-03-04 02:18:24 +00:00
BuildRequires: libtool make glibc-static protobuf-c-devel
%ifnarch %ix86
BuildRequires: criu-devel >= 3.15
%endif
2021-08-13 10:34:01 +08:00
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
2022-03-04 02:18:24 +00:00
rm -rf %{buildroot}%{_prefix}/lib*
2021-08-13 10:34:01 +08:00
%files
%license COPYING
%license COPYING.libcrun
%{_bindir}/%{name}
%files help
%{_mandir}/man1/*
%changelog
2022-03-04 02:18:24 +00:00
* Tue Mar 1 2022 fu-shanqing <fushanqing@kylinos.cn> - 1.4.3-1
- Update to 1.4.3
2021-08-13 10:34:01 +08:00
* Tue Aug 3 2021 fu-shanqing <fushanqing@kylinos.cn> - 0.20.1-1
- Package init