<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libusb</Name>
        <Homepage>http://libusb.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>Userspace access to USB devices</Summary>
        <Description>Project's main aim is to create a library for use by user level applications to access USB devices regardless of OS.</Description>
        <Archive sha1sum="c5d14ced155233ceeb5107c7eb3b94b16649ae05" type="tarbz2">http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.19/libusb-1.0.19.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>eudev-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libusb</Name>
        <Replaces>
            <Package>libusbx</Package>
        </Replaces>
        <Conflicts>
            <Package>libusbx</Package>
        </Conflicts>
        <RuntimeDependencies>
            <Dependency>eudev</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libusb-devel</Name>
        <Replaces>
            <Package>libusbx-devel</Package>
        </Replaces>
        <Conflicts>
            <Package>libusbx-devel</Package>
        </Conflicts>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for libusb</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libusb</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>libusb-32bit</Name>
        <Replaces>
            <Package>libusbx-32bit</Package>
        </Replaces>
        <Conflicts>
            <Package>libusbx-32bit</Package>
        </Conflicts>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libusb</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>glibc-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">libusb</Dependency>
	    <Dependency>eudev-32bit</Dependency>
            <Dependency>glibc-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="7">
            <Date>2014-04-30</Date>
            <Version>1.0.19</Version>
            <Comment>
                rename libusbx to libusb like upsteam
                version bump to 19
            </Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2014-05-16</Date>
            <Version>1.0.18</Version>
            <Comment>Version bump.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-10-29</Date>
            <Version>1.0.17</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-07-27</Date>
            <Version>1.0.16</Version>
            <Comment>Move pc files to devel pack, rebuild</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-07-27</Date>
            <Version>1.0.16</Version>
            <Comment>Move .pc files to devel package</Comment>
            <Name>Fatih Turgel</Name>
            <Email>hitaf@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-07-23</Date>
            <Version>1.0.16</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-10-12</Date>
            <Version>1.0.14</Version>
            <Comment>First release</Comment>
            <Name>Erdem Artan</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
