1 Summary: An open and reliable container runtime
7 Source0: https://github.com/containerd/containerd/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: aa0371db45d4e149e65ccbbddcbed8b1
9 URL: https://containerd.io/
10 BuildRequires: btrfs-progs-devel
11 BuildRequires: golang >= 1.16
12 BuildRequires: rpmbuild(macros) >= 2.009
14 ExclusiveArch: %go_arches
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _debugsource_packages 0
20 containerd is an industry-standard container runtime with an emphasis
21 on simplicity, robustness and portability. It is available as a daemon
22 for Linux and Windows, which can manage the complete container
23 lifecycle of its host system: image transfer and storage, container
24 execution and supervision, low-level storage and network attachments,
36 rm -rf $RPM_BUILD_ROOT
39 DESTDIR="$RPM_BUILD_ROOT" \
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc {ADOPTERS,BUILDING,README,RELEASES,ROADMAP,SCOPE}.md
48 %attr(755,root,root) %{_bindir}/containerd
49 %attr(755,root,root) %{_bindir}/containerd-shim
50 %attr(755,root,root) %{_bindir}/containerd-shim-runc-v1
51 %attr(755,root,root) %{_bindir}/containerd-shim-runc-v2
52 %attr(755,root,root) %{_bindir}/containerd-stress
53 %attr(755,root,root) %{_bindir}/ctr