<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>libcap</Name>
        <Homepage>http://www.kernel.org/pub/linux/libs/security/linux-privs/</Homepage>
        <Packager>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <License>BSD</License>
        <IsA>library</IsA>
        <PartOf>system.base</PartOf>
        <Summary>POSIX 1003.1e capabilities library</Summary>
        <Description>libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities.</Description>
        <!-- @@@kernel linux libs security linux-privs libcap2 -->
        <Archive sha1sum="82902baa1efc7e51ea3fd0bddc188b1753c9a68e" type="tarxz">https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.36.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>attr-devel</Dependency>
            <Dependency>pam-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libcap</Name>
        <RuntimeDependencies>
            <Dependency>pam</Dependency>
            <Dependency>attr</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="library">/usr/lib/libcap.so*</Path>
            <Path fileType="library">/usr/lib/libcap.a</Path>
            <Path fileType="library">/usr/lib/libpsx.a</Path>
            <Path fileType="library">/usr/lib/security</Path>
            <Path fileType="config">/etc</Path>
        </Files>
    </Package>
    <Package>
        <Name>libcap-pages</Name>
        <IsA>data:doc</IsA>
        <PartOf>system.doc</PartOf>
        <Summary>Manpages for libcap</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libcap</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>
    <Package>
        <Name>libcap-docs</Name>
        <IsA>data:doc</IsA>
        <PartOf>system.doc</PartOf>
        <Summary>Documentation files for libcap</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libcap</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <Package>
        <Name>libcap-devel</Name>
        <IsA>header</IsA>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for libcap</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libcap</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>libcap-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libcap</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>attr-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>attr-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2020-06-21</Date>
            <Version>2.36</Version>
            <Comment>Version bump to 2.36</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2019-09-17</Date>
            <Version>2.27</Version>
            <Comment>Version bump to 2.27</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2018-12-23</Date>
            <Version>2.26</Version>
            <Comment>First release</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
