po4a: new package

This commit is contained in:
suvari
2026-04-28 16:21:29 +03:00
parent 60ceb93fa6
commit b114fd6c8c
7 changed files with 197 additions and 7 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/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 perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir="po4a-%s" % get.srcVERSION()
def setup():
shelltools.system("export LC_ALL=en_US.UTF-8")
perlmodules.configure()
def build():
perlmodules.make()
# def check():
# perlmodules.make("test")
def install():
perlmodules.install()
pisitools.dodoc("README*", "COPYING")
+70
View File
@@ -0,0 +1,70 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>po4a</Name>
<Homepage>https://po4a.org/</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPL2+</License>
<IsA>library</IsA>
<Summary>Tools for helping translation of documentation</Summary>
<Description>The po4a (PO for anything) eases documentation translations and their maintenance. It extracts the translatable material from the original document, and places it into a PO file that is adapted to the translation process.</Description>
<Archive sha1sum="9ab2fc7377afb282f37aaa908ce0b8b60b5bb84c" type="targz">https://github.com/mquinson/po4a/releases/download/v0.74/po4a-0.74.tar.gz</Archive>
<BuildDependencies>
<Dependency>perl</Dependency>
<Dependency>perl-sgmls</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>opensp-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>perl-YAML-Tiny</Dependency>
<Dependency>perl-Pod-Parser</Dependency>
<Dependency>perl-Term-ReadKey</Dependency>
<Dependency>perl-Module-Build</Dependency>
<Dependency>perl-text-wrapi18n</Dependency>
<Dependency>perl-Locale-gettext</Dependency>
<Dependency>perl-Unicode-String</Dependency>
<Dependency>perl-unicode-linebreak</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>po4a</Name>
<RuntimeDependencies>
<Dependency>perl</Dependency>
<Dependency>opensp</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>gettext</Dependency>
<Dependency>perl-sgmls</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>perl-YAML-Tiny</Dependency>
<Dependency>perl-Pod-Parser</Dependency>
<Dependency>perl-Term-ReadKey</Dependency>
<Dependency>perl-Module-Build</Dependency>
<Dependency>perl-text-wrapi18n</Dependency>
<Dependency>perl-Locale-gettext</Dependency>
<Dependency>perl-Unicode-String</Dependency>
<Dependency>perl-unicode-linebreak</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/perl5</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2026-04-28</Date>
<Version>0.74</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>po4a</Name>
<Summary xml:lang="tr">Belgelerin çevirisine yardımcı araçlar</Summary>
<Description xml:lang="tr">PO4A (her şey için PO), doküman çevirilerini ve bunların bakımını kolaylaştırır. Orijinal belgeden çevrilebilir materyali çıkarır ve çeviri sürecine uyarlanmış bir PO dosyasına yerleştirir.</Description>
</Source>
</PISI>