<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libaio</Name>
        <Homepage>http://lse.sourceforge.net/io/aio.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>Linux-native asynchronous I/O access library</Summary>
        <Description>libaio has a richer API and capability set than the simple POSIX async I/O facility.</Description>
        <Archive sha1sum="b772e567e7089bb3ca405b16370f8b1a4997c0b3" type="tarbz2">http://enterprise-storage-os.googlecode.com/files/libaio-0.3.109.tar.bz2</Archive>
        <Patches>
            <Patch>libaio-0.3.106-build.patch</Patch>
            <!--Patch level="1">libaio-install-to-slash.patch</Patch-->
            <Patch level="1">libaio-0.3.107-ar-ranlib.patch</Patch>
            <Patch level="1">92_unused_warnings.patch</Patch>
            <Patch level="0">libaio-0.3.109-testcase-8.patch</Patch>
            <Patch level="1">libaio-0.3.109-generic-arch.patch</Patch>
            <Patch level="1">libaio-0.3.109-unify-bits-endian.patch</Patch>
            <Patch level="1">libaio-0.3.109-x32.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libaio</Name>
        <Files>
            <Path fileType="library">/lib</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <Package>
        <Name>libaio-devel</Name>
        <Summary>Development files for libaio</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libaio</Dependency>
        </RuntimeDependencies>
        <Files>
            <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="4">
            <Date>2014-05-19</Date>
            <Version>0.3.109</Version>
            <Comment>Release bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2014-03-06</Date>
            <Version>0.3.109</Version>
            <Comment>Add emul32</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-03-16</Date>
            <Version>0.3.109</Version>
            <Comment>URL Fixed</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-11-14</Date>
            <Version>0.3.109</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>