From fa17ff4431bbe5bb0a396d265367617c0c414cbc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:30:27 +0100 Subject: [PATCH] update to 0.2.2 [release 0.2.2-1mamba;Fri Jul 29 2016] --- README.md | 2 ++ containerd.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 containerd.spec diff --git a/README.md b/README.md index b78480d..e59bc89 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # containerd +A daemon to control OCI container runtimes. + diff --git a/containerd.spec b/containerd.spec new file mode 100644 index 0000000..39050ec --- /dev/null +++ b/containerd.spec @@ -0,0 +1,61 @@ +Name: containerd +Version: 0.2.2 +Release: 1mamba +Summary: A daemon to control OCI container runtimes +Group: System/Servers +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.docker.com/ +## GITSOURCE https://github.com/docker/containerd.git 0.0.5 +Source: https://github.com/docker/containerd.git/v%{version}/containerd-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libgo-devel +## AUTOBUILDREQ-END +BuildRequires: gcc-go +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A daemon to control OCI container runtimes. + +%debug_package + +%prep +%setup -q + +%build +export GOPATH=`pwd` +mkdir -p src/github.com/docker +ln -rsf `pwd` src/github.com/docker/containerd +cd src/github.com/docker/containerd + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd src/github.com/docker/containerd/bin +for file in $(find . -type f -print); do + install -Dm755 $file %{buildroot}%{_bindir}/$file +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/containerd +%{_bindir}/containerd-shim +%{_bindir}/ctr +%doc LICENSE.code LICENSE.docs MAINTAINERS +#%doc README.md + + +%changelog +* Fri Jul 29 2016 Silvan Calarco 0.2.2-1mamba +- update to 0.2.2 + +* Fri Jul 29 2016 Silvan Calarco 0.0.5-1mamba +- package created using the webbuild interface