rendered paste body$ cat actions.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import perlmodules
WorkDir = "Class-MethodMaker-2.10"
def setup():
perlmodules.configure()
def build():
perlmodules.make()
def install():
perlmodules.install()
$ cat pspec.xml
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libclass-methodmaker-perl</Name>
<Homepage>http://search.cpan.org/~schwigon/Class-MethodMaker-2.10/</Homepage>
<Packager>
<Name>Onur Aslan</Name>
<Email>onuraslan@gmail.com</Email>
</Packager>
<License>GPL-2</License>
<Icon></Icon>
<IsA>library</IsA>
<Summary>Create generic methods for OO Perl</Summary>
<Description>Create generic methods for OO Perl</Description>
<Archive sha1sum="c44154ac45c75ea636e032d82cc5779b8bf3eb4f" type="targz">http://search.cpan.org/CPAN/authors/id/S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-2.10.tar.gz</Archive>
</Source>
<Package>
<Name>libclass-methodmaker-perl</Name>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2007-12-25</Date>
<Version>2.10-1</Version>
<Comment>First release.</Comment>
<Name>Onur Aslan</Name>
<Email>onuraslan@gmail.com</Email>
</Update>
</History>
</PISI>
$ cat translations.xml
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libclass-methodmaker-perl</Name>
<Summary xml:lang="tr">Create generic methods for OO Perl</Summary>
<Description xml:lang="tr">Create generic methods for OO Perl</Description>
</Source>
</PISI>