<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pinentry</Name>
        <Homepage>http://www.gnupg.org/aegypten/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>app:console</IsA>
        <Summary>Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol</Summary>
        <Description>Pinentry is a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol as described by the aegypten project.</Description>
        <Archive sha1sum="693bdf9f48dfb3e040d92f50b1bb464e268b9fb0" type="tarbz2">ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-1.1.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libsecret-devel</Dependency>
            <Dependency>libgpg-error-devel</Dependency>
            <Dependency>libassuan-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>gcr-devel</Dependency>
            <Dependency>fltk-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--<Patch level="1">moreSecureMemoryForPinentry-qt.diff</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>pinentry</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency>gcr</Dependency>
            <Dependency>fltk</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libassuan</Dependency>
            <Dependency>libsecret</Dependency>
            <Dependency>libgpg-error</Dependency>
            <Dependency>libcap</Dependency>
            <Dependency>ncurses</Dependency>
        </RuntimeDependencies>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/pinentry">pinentry-wrapper</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <!--Package>
        <Name>pinentry-qt</Name>
        <Summary>pinentry for Qt4 toolkit</Summary>
        <RuntimeDependencies>
            <Dependency>qt</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>pinentry</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pinentry-qt*</Path>
        </Files>
    </Package-->

    <Package>
        <Name>pinentry-gtk</Name>
        <Summary>pinentry for GTK toolkit</Summary>
        <RuntimeDependencies>
            <Dependency>pinentry</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>libcap</Dependency>
            <Dependency>libassuan</Dependency>
            <Dependency>libsecret</Dependency>
            <Dependency>libgpg-error</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>pango</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pinentry-gtk*</Path>
        </Files>
    </Package>

    <History>
         <Update release="4">
            <Date>2018-02-22</Date>
            <Version>1.1.0</Version>
            <Comment>Version Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>1.0.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>0.9.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-21</Date>
            <Version>0.9.5</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
