<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gettext</Name>
        <Homepage>http://www.gnu.org/software/gettext/gettext.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3+</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <Summary>GNU libraries and utilities for producing multi-lingual messages</Summary>
        <Description>The GNU gettext package provides a set of tools and documentation for producing multi-lingual messages in programs. Tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs, a runtime library which supports the retrieval of translated messages, and stand-alone programs for handling the translatable and the already translated strings. Gettext provides an easy to use library and tools for creating, using, and modifying natural language catalogs and is a powerful and simple method for internationalizing programs.</Description>
        <Archive sha1sum="e6c0a0cba5b00a604c9118403a8199c77a538526" type="targz">http://ftp.gnu.org/pub/gnu/gettext/gettext-0.21.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>acl-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>libunistring-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency versionFrom="8.0.1">readline-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">fix-empty-po.patch</Patch> -->
	</Patches>
    </Source>

    <Package>
        <Name>gettext-docs</Name>
        <PartOf>system.doc</PartOf>
        <RuntimeDependencies>
            <Dependency>gettext</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/gettext/html</Path>
        </Files>
    </Package>

    <Package>
        <Name>gettext</Name>
        <RuntimeDependencies>
            <Dependency>acl</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libunistring</Dependency>
            <Dependency>libgomp</Dependency>
            <Dependency>libxml2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/gettext-0.21</Path>
            <Path fileType="data">/usr/share/gettext</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>gettext-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for gettext</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gettext</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="header">/usr/include</Path>
            <!-- FIXME: Remove this if not necessary -->
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2020-10-22</Date>
            <Version>0.21</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-12-11</Date>
            <Version>0.20.1</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-20</Date>
            <Version>0.19.8.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>0.19.8.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>0.19.7</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-28</Date>
            <Version>0.19.7</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
