<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pinentry</Name>
        <Homepage>https://www.gnupg.org/</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="29daaf45f15cb5b8ec9b4a06284343f7a87082fb" type="tarbz2">https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.2.1.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>gcr-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>libsecret-devel</Dependency>
            <Dependency>libassuan-devel</Dependency>
            <Dependency>libgpg-error-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- <Patch level="1">missing.patch</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></Dependency> -->
        </RuntimeDependencies>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/pinentry">pinentry-wrapper</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>pinentry-tty</Name>
        <RuntimeDependencies>
            <Dependency>pinentry</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libcap</Dependency>
            <Dependency>libassuan</Dependency>
            <Dependency>libsecret</Dependency>
            <Dependency>libgpg-error</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pinentry-tty</Path>
        </Files>
    </Package>

    <Package>
        <Name>pinentry-curses</Name>
        <RuntimeDependencies>
            <Dependency>pinentry</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libcap</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>libassuan</Dependency>
            <Dependency>libsecret</Dependency>
            <Dependency>libgpg-error</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pinentry-curses</Path>
        </Files>
    </Package>

    <Package>
        <Name>pinentry-gnome3</Name>
        <RuntimeDependencies>
            <Dependency>pinentry</Dependency>
            <Dependency>gcr</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libcap</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>libassuan</Dependency>
            <Dependency>libsecret</Dependency>
            <Dependency>libgpg-error</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pinentry-gnome3</Path>
        </Files>
    </Package>

    <Package>
        <Name>pinentry-qt</Name>
        <RuntimeDependencies>
            <Dependency>pinentry</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libcap</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>libassuan</Dependency>
            <Dependency>libsecret</Dependency>
            <Dependency>libgpg-error</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pinentry-qt</Path>
        </Files>
    </Package>

    <History>
        <Update release="7">
            <Date>2022-11-10</Date>
            <Version>1.2.1</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="6">
            <Date>2020-01-19</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2018-08-03</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
         <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>
