2024-01-05 21:30:27 +01:00
|
|
|
%define _commit 09814d48d50816305a8e6c1a4ae3e2bcc4ba725a
|
2024-01-05 21:30:27 +01:00
|
|
|
Name: containerd
|
2024-01-05 21:30:27 +01:00
|
|
|
Version: 1.6.12
|
2024-01-05 21:30:27 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 21:30:27 +01:00
|
|
|
Summary: A daemon to control OCI container runtimes
|
|
|
|
Group: System/Servers
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:30:27 +01:00
|
|
|
URL: https://containerd.io/
|
|
|
|
Source: https://github.com/containerd/containerd.git/v%{version}/containerd-%{version}.tar.bz2
|
2024-01-05 21:30:27 +01:00
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:30:27 +01:00
|
|
|
BuildRequires: libgo-devel >= 7.3.0-1mamba
|
2024-01-05 21:30:27 +01:00
|
|
|
BuildRequires: gcc-go
|
2024-01-05 21:30:27 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A daemon to control OCI container runtimes.
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
#% debug_package
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 21:30:27 +01:00
|
|
|
mkdir -p src/github.com/containerd
|
|
|
|
ln -rsf $PWD src/github.com/containerd/containerd
|
|
|
|
|
|
|
|
# fix paths in service
|
|
|
|
sed -i 's,/sbin,/usr/bin,;s,/usr/local,/usr,' containerd.service
|
2024-01-05 21:30:27 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:30:27 +01:00
|
|
|
export GOPATH=$PWD
|
|
|
|
cd src/github.com/containerd/containerd
|
|
|
|
export GOFLAGS="-trimpath"
|
2024-01-05 21:30:27 +01:00
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
# Required since Go 1.16
|
|
|
|
export GO111MODULE=off
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
%make VERSION=v%{version}.m REVISION=%{_commit}.m
|
2024-01-05 21:30:27 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:30:27 +01:00
|
|
|
cd src/github.com/containerd/containerd
|
2024-01-05 21:30:27 +01:00
|
|
|
%makeinstall DESTDIR=%{buildroot} PREFIX=%{_prefix} BINDIR=%{_bindir}
|
2024-01-05 21:30:27 +01:00
|
|
|
install -Dm644 containerd.service %{buildroot}%{_unitdir}/containerd.service
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post containerd
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun containerd
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun containerd
|
|
|
|
:
|
2024-01-05 21:30:27 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/containerd
|
|
|
|
%{_bindir}/containerd-shim
|
2024-01-05 21:30:27 +01:00
|
|
|
%{_bindir}/containerd-shim-runc-v1
|
|
|
|
%{_bindir}/containerd-shim-runc-v2
|
|
|
|
%{_bindir}/containerd-stress
|
2024-01-05 21:30:27 +01:00
|
|
|
%{_bindir}/ctr
|
2024-01-05 21:30:27 +01:00
|
|
|
%{_unitdir}/containerd.service
|
|
|
|
%doc LICENSE
|
2024-01-05 21:30:27 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:30:27 +01:00
|
|
|
* Thu Dec 08 2022 Automatic Build System <autodist@mambasoft.it> 1.6.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Wed Dec 07 2022 Automatic Build System <autodist@mambasoft.it> 1.6.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Tue Nov 15 2022 Automatic Build System <autodist@mambasoft.it> 1.6.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Tue Oct 25 2022 Automatic Build System <autodist@mambasoft.it> 1.6.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Tue Aug 09 2022 Automatic Build System <autodist@mambasoft.it> 1.6.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 05 2022 Automatic Build System <autodist@mambasoft.it> 1.6.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Tue Jun 07 2022 Automatic Build System <autodist@mambasoft.it> 1.6.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Sat Jun 04 2022 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Wed May 04 2022 Automatic Build System <autodist@mambasoft.it> 1.6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Tue Apr 26 2022 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Thu Mar 24 2022 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Thu Mar 03 2022 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Thu Feb 17 2022 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Wed Jan 05 2022 Automatic Build System <autodist@mambasoft.it> 1.5.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Wed Nov 17 2021 Automatic Build System <autodist@mambasoft.it> 1.5.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Tue Oct 05 2021 Automatic Build System <autodist@mambasoft.it> 1.5.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Thu Sep 30 2021 Automatic Build System <autodist@mambasoft.it> 1.5.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Wed Aug 04 2021 Automatic Build System <autodist@mambasoft.it> 1.5.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Fri Mar 05 2021 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Tue Aug 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- update to 1.4.0
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Wed Nov 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- update to 1.3.0
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Sun Jun 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.8-3mamba
|
|
|
|
- rebuilt with go-pie
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Thu Apr 19 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.8-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libgo-devel>=7.3.0-1mamba
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Wed Dec 20 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.8-1mamba
|
|
|
|
- update to 0.2.8
|
|
|
|
|
|
|
|
* Fri Mar 03 2017 Automatic Build System <autodist@mambasoft.it> 0.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:30:27 +01:00
|
|
|
* Fri Jul 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-1mamba
|
|
|
|
- update to 0.2.2
|
|
|
|
|
|
|
|
* Fri Jul 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.5-1mamba
|
|
|
|
- package created using the webbuild interface
|