paper: first pisi rel

This commit is contained in:
blue-devil
2020-06-04 00:55:06 +03:00
parent eb24780959
commit d41680541b
4 changed files with 83 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
# extract gnulib from archive:
shelltools.system("cd .. && tar -xzvf gnulib-d279bc6.tar.gz")
shelltools.system("./bootstrap --gnulib-srcdir=%s/gnulib-d279bc6 --skip-git --copy" % get.workDIR())
autotools.configure("--libexecdir=/usr/lib")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "README")
Binary file not shown.
+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>paper</Name>
<Homepage>https://github.com/rrthomas/paper</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>hardware.printer</PartOf>
<License>GPLv3</License>
<IsA>app:console</IsA>
<Summary>Replacement for Debian's libpaper</Summary>
<Description>The paper package enables users to indicate their preferred paper size, provides the paper(1) utility to find the user's preferred default paper size and give information about known sizes, and specifies system-wide and per-user paper size catalogues, which can be can also be used directly.</Description>
<Archive sha1sum="3d98e0de08904e7f46e96428bc8e71dc89635e6c" type="targz">https://github.com/rrthomas/paper/archive/v2.2.tar.gz</Archive>
<!--
Pisi cannot download so i manually add file
<Archive sha1sum="972c06c6088097b3b2ec73401deb521ba057b249" type="targz">http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=snapshot;h=d279bc6d9f9323e19ad8c32b6d12ff96dfb0f5ba;sf=tgz</Archive>
-->
<AdditionalFiles>
<AdditionalFile target="../gnulib-d279bc6.tar.gz" permission="0644">gnulib-d279bc6.tar.gz</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>help2man</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>paper</Name>
<Summary>Replacement for Debian's libpaper</Summary>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="data">/usr/lib/</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-06-03</Date>
<Version>2.2</Version>
<Comment>First Pisi Release</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>paper</Name>
<Summary xml:lang="tr">Debian'ın libpaper kitaplığı yerine bir kitaplık</Summary>
<Description xml:lang="tr">paper, Debian'ın libpaper kitaplığı yerine bir kitaplık sunar.</Description>
</Source>
</PISI>