From ce5ee5f78c94eddb06b8badbf70c78d373fd14a0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:35:03 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.1.1-1mamba;Fri Jul 29 2016] --- README.md | 2 ++ runc.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 runc.spec diff --git a/README.md b/README.md index 71019b8..e9725ad 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # runc +runc container cli tools. + diff --git a/runc.spec b/runc.spec new file mode 100644 index 0000000..5307341 --- /dev/null +++ b/runc.spec @@ -0,0 +1,55 @@ +Name: runc +Version: 0.1.1 +Release: 1mamba +Summary: runc container cli tools +Group: System/Servers +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.opencontainers.org/ +## GITSOURCE https://github.com/opencontainers/runc.git v0.1.1 +Source: https://github.com/opencontainers/runc.git/v%{version}/runc-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libgo-devel +BuildRequires: libseccomp-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +runc container cli tools. + +%debug_package + +%prep +%setup -q + +%build +export GOPATH=`pwd` +mkdir -p src/github.com/opencontainers +ln -sf `pwd` src/github.com/opencontainers/runc +cd src/github.com/opencontainers/runc +export BUILDTAGS='seccomp' +%make +man/md2man-all.sh 2>/dev/null + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -Dm755 runc %{buildroot}%{_bindir}/runc +install -dm755 %{buildroot}%{_mandir} +mv man/man*/ %{buildroot}%{_mandir} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/runc +%{_mandir}/man8/runc*.8* +%doc LICENSE + +%changelog +* Fri Jul 29 2016 Silvan Calarco 0.1.1-1mamba +- package created using the webbuild interface