docker's new dep for oci support

This commit is contained in:
Ertuğrul Erata
2016-07-12 21:36:14 +03:00
parent 0c46fc6ed2
commit 395d795acd
2 changed files with 74 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2016 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
shelltools.export("GOPATH", "%s" % get.workDIR())
shelltools.export("DOCKER_BUILDTAGS","seccomp")
shelltools.export("BINDIR","/usr/bin")
def build():
autotools.make()
def install():
pisitools.dobin("runc")
#insert completions in doc
pisitools.insinto("/usr/share/doc/runc", "contrib")
pisitools.dodoc("MAINTAINERS", "VERSION", "README*")
+46
View File
@@ -0,0 +1,46 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>runc</Name>
<Homepage>https://runc.io</Homepage>
<Packager>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Packager>
<License>Apache</License>
<Summary>container cli tools</Summary>
<Description>CLI tool for managing OCI compliant containers</Description>
<Archive sha1sum="f1c9818fe15b44ba145581f363762c2c57c81b84" type="targz">https://github.com/opencontainers/runc/archive/v1.0.0-rc1.tar.gz</Archive>
<BuildDependencies>
<Dependency>golang</Dependency>
<Dependency>libseccomp-devel</Dependency>
</BuildDependencies>
<Patches>
<!--
<Patch level="1"></Patch>
-->
</Patches>
</Source>
<Package>
<Name>runc</Name>
<RuntimeDependencies>
<Dependency>libseccomp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-07-12</Date>
<Version>1.0.0_rc1</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>