part 2 --yali deps--

This commit is contained in:
Ertuğrul Erata
2015-08-04 13:47:51 +03:00
parent 8e328a7158
commit b7f3e05d5f
26 changed files with 846 additions and 0 deletions
@@ -0,0 +1,19 @@
#!/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
#WorkDir = "pyblock-0.47-1_20100712"
def build():
shelltools.export("CFLAGS", "%s -g -I/usr/include/%s -Wall -Werror -fPIC" % (get.CFLAGS(), get.curPYTHON()))
shelltools.export("LDFLAGS", "%s -shared" % get.LDFLAGS())
autotools.make("USESELINUX=0")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -0,0 +1,19 @@
diff --git a/Makefile b/Makefile
index 1b40530..dfaf3f7 100644
--- a/Makefile
+++ b/Makefile
@@ -12,12 +12,12 @@ VERSION := $(shell awk '/Version:/ { print $$2 }' python-pyblock.spec)
RELEASE := $(shell awk -F '[ %]' '/Release:/ { print $$2 }' python-pyblock.spec)
USESELINUX = 1
-dm_LIBS = dmraid devmapper
+dm_LIBS = devmapper python2.7
ifeq (1, $(USESELINUX))
dm_LIBS += selinux
CFLAGS += -DUSESELINUX=1
endif
-dmraid_LIBS = dmraid devmapper
+dmraid_LIBS = dmraid python2.7
PYFILES=__init__.py maps.py device.py
LIBS = dmmodule.so dmraidmodule.so
@@ -0,0 +1,70 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-pyblock</Name>
<Homepage>http://git.fedoraproject.org/git/pyblock.git</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>GPLv3</License>
<IsA>library</IsA>
<Summary>Python modules for dealing with block devices</Summary>
<Description>The pyblock contains Python modules for dealing with block devices.</Description>
<Archive sha1sum="036fdebb7fb67a13f702a55735cf2f65cff37bd2" type="tarbz2">https://pkgs.fedoraproject.org/repo/pkgs/python-pyblock/pyblock-0.53.tar.bz2/f6d33a8362dee358517d0a9e2ebdd044/pyblock-0.53.tar.bz2</Archive>
<BuildDependencies>
<Dependency>device-mapper-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>dmraid-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">fix-underlinking.patch</Patch>
</Patches>
</Source>
<Package>
<Name>python-pyblock</Name>
<RuntimeDependencies>
<Dependency>device-mapper</Dependency>
<Dependency>dmraid</Dependency>
<Dependency>python</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-08-04</Date>
<Version>0.53</Version>
<Comment>Rebuild</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="3">
<Date>2013-12-07</Date>
<Version>0.53_20111208</Version>
<Comment>Rebuild</Comment>
<Name>Burak Fazıl Ertürk</Name>
<Email>burakerturk@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-05-05</Date>
<Version>0.53_20111208</Version>
<Comment>Dep Fixed</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-19</Date>
<Version>0.53_20111208</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python-pyblock</Name>
<Summary xml:lang="tr">Blok aygıtları ile ilgili python modülleri içerir</Summary>
<Description xml:lang="tr">Pyblock blok aygıtları ile ilgili python modülleri içerir</Description>
</Source>
</PISI>