libnih and cgmanager in main

This commit is contained in:
Ertuğrul Erata
2015-08-10 21:43:36 +03:00
parent e67f1391a5
commit a7c65661cb
6 changed files with 182 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+56
View File
@@ -0,0 +1,56 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libnih</Name>
<Homepage>https://launchpad.net/libnih</Homepage>
<Packager>
<Name>Aydın Demirel</Name>
<Email>aydin.demirel@pisilinux.org</Email>
</Packager>
<License>GPL</License>
<IsA>app:library</IsA>
<Summary>Small library for C application development</Summary>
<Description>Small library for C application development.</Description>
<Archive sha1sum="db1f3e46a47f8a58f8179ca56f304d1550f41eb0" type="targz">https://launchpad.net/libnih/1.0/1.0.3/+download/libnih-1.0.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>dbus-devel</Dependency>
<Dependency>expat-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libnih</Name>
<RuntimeDependencies>
<Dependency>dbus</Dependency>
<Dependency>expat</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="locale">/usr/share/aclocal</Path>
<Path fileType="library">/usr/lib/*</Path>
</Files>
</Package>
<Package>
<Name>libnih-devel</Name>
<RuntimeDependencies>
<Dependency release="current">libnih</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>expat-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2014-06-27</Date>
<Version>1.0.3</Version>
<Comment>First release</Comment>
<Name>Aydın Demirel</Name>
<Email>aydin.demirel@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libnih</Name>
<Summary xml:lang="tr">C uygulama geliştirme için küçük bir kütüphane</Summary>
<Description xml:lang="tr">C uygulama geliştirme için küçük bir kütüphane.</Description>
</Source>
</PISI>
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("./bootstrap.sh")
autotools.configure("--sbindir=/usr/bin \
--prefix=/usr")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+71
View File
@@ -0,0 +1,71 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>cgmanager</Name>
<Homepage>https://github.com/lxc/cgmanager</Homepage>
<Packager>
<Name>Aydın Demirel</Name>
<Email>aydin.demirel@pisilinux.org</Email>
</Packager>
<License>GPL</License>
<IsA>app:console</IsA>
<Summary>Central cgroup management daemon</Summary>
<Description>CGManager is a central privileged daemon that manages all your cgroups for you through a simple DBus API.</Description>
<Archive sha1sum="b260412cbf8fa56707a02e21553e1c36c3e55b59" type="targz">https://github.com/lxc/cgmanager/archive/v0.38.tar.gz</Archive>
<BuildDependencies>
<Dependency>libnih-devel</Dependency>
<Dependency>pam-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>cgmanager</Name>
<RuntimeDependencies>
<Dependency>libnih</Dependency>
<Dependency>pam</Dependency>
<Dependency>dbus</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/lib/security</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/cgmanager</Path>
<Path fileType="library">/usr/lib/*</Path>
</Files>
</Package>
<Package>
<Name>cgmanager-devel</Name>
<RuntimeDependencies>
<Dependency release="current">cgmanager</Dependency>
<Dependency>libnih</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2015-08-10</Date>
<Version>0.38</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="2">
<Date>2015-02-12</Date>
<Version>0.36</Version>
<Comment>Version bump.</Comment>
<Name>Hakan Yıldız</Name>
<Email>hknyldz93@gmail.com</Email>
</Update>
<Update release="1">
<Date>2014-06-27</Date>
<Version>0.23</Version>
<Comment>First release</Comment>
<Name>Aydın Demirel</Name>
<Email>aydin.demirel@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>cgmanager</Name>
<Summary xml:lang="tr">Merkezi cgroup yönetimi uygulamacığı</Summary>
<Description xml:lang="tr">CGManager basit bir DBUS api üzerinden sizin için tüm cgruplarınızı yöneten merkezi ayrıcalıklı bir uygulamacıktır.</Description>
</Source>
</PISI>