commit 7f392fd3d4f85ff384cb7b7f0e8dfa984ddcbf99
Author: Jan Palus <[email protected]>
Date:   Tue Mar 1 22:07:01 2022 +0100

    new

 runc.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
---
diff --git a/runc.spec b/runc.spec
new file mode 100644
index 0000000..cff3bad
--- /dev/null
+++ b/runc.spec
@@ -0,0 +1,42 @@
+Summary:       CLI tool for spawning and running containers
+Name:          runc
+Version:       1.1.0
+Release:       1
+License:       Apache v2.0
+Group:         Applications
+Source0:       
https://github.com/opencontainers/runc/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 65acbbaf296fc7ddd30aa4e95d632742
+URL:           https://www.opencontainers.org/
+BuildRequires: golang >= 1.16
+BuildRequires: libseccomp-devel
+BuildRequires: rpmbuild(macros) >= 2.009
+ExclusiveArch: %go_arches
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _debugsource_packages   0
+
+%description
+runc is a CLI tool for spawning and running containers on Linux
+according to the OCI specification.
+
+%prep
+%setup -q
+
+%build
+%{__make} runc \
+       GO="%__go"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR="$RPM_BUILD_ROOT" \
+       BINDIR="%{_bindir}"
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc 
{CHANGELOG,CONTRIBUTING,EMERITUS,MAINTAINERS_GUIDE,PRINCIPLES,README,SECURITY}.md
+%attr(755,root,root) %{_bindir}/runc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/runc.git/commitdiff/7f392fd3d4f85ff384cb7b7f0e8dfa984ddcbf99

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to