<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>protobuf</Name>
        <Homepage>https://developers.google.com/protocol-buffers/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>network.misc</PartOf>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>Google's data interchange format</Summary>
        <Description>Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.</Description>
        <Archive sha1sum="45804be54bbc5716e99df20d0b53f5cca626977f" type="targz" name="protobuf-3.25.4.tar.gz">https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.25.4.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>gtest-devel</Dependency>
            <Dependency>python-wheel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>python-setuptools</Dependency>
            <Dependency>python3-setuptools</Dependency>
            <Dependency>abseil-cpp-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>protobuf</Name>
        <Summary>Google's data interchange format</Summary>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>abseil-cpp</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/vim</Path>
            <Path fileType="data">/usr/share/emacs</Path>
            <Path fileType="library">/usr/lib/libproto*</Path>
            <Path fileType="library">/usr/lib/libutf8_range.a</Path>
            <Path fileType="library">/usr/lib/libutf8_validity.a</Path>
        </Files>
    </Package>

    <Package>
        <Name>protobuf-devel</Name>
        <Summary>Development files for protobuf</Summary>
        <RuntimeDependencies>
            <Dependency release="current">protobuf</Dependency>
            <Dependency>abseil-cpp-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib/cmake</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="header">/usr/include/google/protobuf</Path>
        </Files>
    </Package>

    <!--Package>
        <Name>python-protobuf</Name>
        <Summary>Python 2 bindings for Google Protocol Buffers</Summary>
        <RuntimeDependencies>
            <Dependency>python-setuptools</Dependency>
            <Dependency release="current">protobuf-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python2*</Path>
        </Files>
    </Package-->

    <Package>
        <Name>python3-protobuf</Name>
        <Summary>Python 3 bindings for Google Protocol Buffers</Summary>
        <RuntimeDependencies>
            <Dependency>python3</Dependency>
            <Dependency>python3-setuptools</Dependency>
            <Dependency release="current">protobuf-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python3*</Path>
        </Files>
    </Package>

    <History>
        <Update release="21">
            <Date>2024-08-21</Date>
            <Version>3.25.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="20">
            <Date>2024-07-27</Date>
            <Version>3.25.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="19">
            <Date>2023-11-04</Date>
            <Version>3.21.12</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2023-03-26</Date>
            <Version>3.21.12</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2022-12-08</Date>
            <Version>3.21.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2022-12-01</Date>
            <Version>3.21.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2022-11-26</Date>
            <Version>3.21.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2022-10-20</Date>
            <Version>3.21.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2022-06-28</Date>
            <Version>3.19.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2021-10-25</Date>
            <Version>3.18.1</Version>
            <Comment>Rebuild py3.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2021-10-20</Date>
            <Version>3.18.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2021-03-13</Date>
            <Version>3.15.6</Version>
            <Comment>Version bump.</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-08-30</Date>
            <Version>3.13.0</Version>
            <Comment>Minor version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-01-12</Date>
            <Version>3.11.3</Version>
            <Comment>Version bump</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-01-24</Date>
            <Version>3.11.2</Version>
            <Comment>Fix deps and clean</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="6">
            <Date>2019-12-25</Date>
            <Version>3.11.2</Version>
            <Comment>Version bump</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="5">
            <Date>2016-03-23</Date>
            <Version>3.0.0_beta2</Version>
            <Comment>Version bump, rebuilt with docker</Comment>
            <Name>İbrahim KARAGÜZEL</Name>
            <Email>karaguzelibrahim@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2015-02-16</Date>
            <Version>3.0.0_pre1</Version>
            <Comment>Version bump.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2015-02-03</Date>
            <Version>2.6.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2014-02-05</Date>
            <Version>2.5.0</Version>
            <Comment>Version Bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-09-03</Date>
            <Version>2.4.1</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
