<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>libbrotli</Name>
        <Homepage>https://github.com/google/brotli</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        <PartOf>programming.language.python</PartOf>
        <Summary>The specification of the Brotli Compressed Data Format is defined in RFC 7932.</Summary>
        <Description>Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression.</Description>
        <Archive sha1sum="ee64a380152aa20fbc1098fe3799104884c570c1" type="targz">https://github.com/google/brotli/archive/v1.0.7.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python-setuptools</Dependency>
            <Dependency>python3-setuptools</Dependency>
            <Dependency>python-devel</Dependency>
         </BuildDependencies>
    </Source>

    <Package>
        <Name>libbrotli</Name>
        <Files>
          <Path fileType="library">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>
    <Package>
        <Name>libbrotli-devel</Name>
        <RuntimeDependencies>
            <Dependency>libbrotli</Dependency>
        </RuntimeDependencies>
        <Summary>Development files for libbrotli</Summary>
        <Files>
            <Path fileType="library">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>
    <Package>
        <Name>python-libbrotli</Name>
        <RuntimeDependencies>
            <Dependency>libbrotli</Dependency>
            <Dependency>python</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python2*</Path>
        </Files>
    </Package>

    <Package>
        <Name>python3-libbrotli</Name>
        <RuntimeDependencies>
            <Dependency>libbrotli</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python3*</Path>
        </Files>
    </Package>
    <Package>
        <Name>libbrotli-docs</Name>
        <IsA>data:doc</IsA>
        <Summary>libbrotli reference documents</Summary>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2019-10-03</Date>
            <Version>1.0.7</Version>
            <Comment>Fixed dependencies and added brotli libraries.</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2019-09-17</Date>
            <Version>1.0.7</Version>
            <Comment>First release</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
