<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libxml2</Name>
        <Homepage>http://www.xmlsoft.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>Version 2 of the library to manipulate XML files</Summary>
        <Description>Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform).</Description>
        <Archive sha1sum="ac28a60352d025759a8d54c1e598cd46c3a30b3a" type="tarxz">https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.10.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>python-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency versionFrom="1.2.12">zlib-devel</Dependency>
            <Dependency versionFrom="8.0.1">readline-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">libxml2-2.11.5-CVE-2023-45322.patch</Patch> -->
<!--             <Patch level="1">fedora/libxml2-2.9.12-fix-formatting-regression.patch</Patch> -->
<!--             <Patch level="1">fedora/libxml2-2.9.8-python3-unicode-errors.patch</Patch> -->
<!--              <Patch level="1">libxml2-2.9.11-disable-fuzz-tests.patch</Patch> --> -->
        </Patches>
    </Source>

    <Package>
        <Name>libxml2-docs</Name>
        <PartOf>system.doc</PartOf>
        <RuntimeDependencies>
            <Dependency>libxml2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libxml2</Name>
        <RuntimeDependencies>
            <Dependency>xz</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>python</Dependency>
            <Dependency versionFrom="8.0.1">readline</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>libxml2-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for libxml2</Summary>
        <RuntimeDependencies>
            <Dependency>xz-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
			<Dependency>readline-devel</Dependency>
            <Dependency release="current">libxml2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <Package>
        <Name>libxml2-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libxml2</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>xz-32bit</Dependency>
            <Dependency versionFrom="1.2.12">zlib-32bit</Dependency>
            <Dependency>readline-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">libxml2</Dependency>
            <Dependency>xz-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
		<Update release="32">
            <Date>2025-09-04</Date>
            <Version>2.12.10</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="31">
            <Date>2025-02-20</Date>
            <Version>2.12.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="30">
            <Date>2024-07-24</Date>
            <Version>2.12.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="29">
            <Date>2024-06-12</Date>
            <Version>2.12.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="28">
            <Date>2024-05-13</Date>
            <Version>2.12.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="27">
            <Date>2024-03-15</Date>
            <Version>2.12.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="26">
            <Date>2024-02-04</Date>
            <Version>2.12.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2024-01-15</Date>
            <Version>2.12.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2023-12-12</Date>
            <Version>2.12.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2023-12-06</Date>
            <Version>2.12.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2023-11-23</Date>
            <Version>2.12.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2023-11-16</Date>
            <Version>2.12.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2023-10-15</Date>
            <Version>2.11.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2023-10-13</Date>
            <Version>2.11.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2023-04-11</Date>
            <Version>2.10.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2023-01-28</Date>
            <Version>2.10.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2022-11-01</Date>
            <Version>2.10.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2022-05-05</Date>
            <Version>2.9.14</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2022-05-05</Date>
            <Version>2.9.13</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2022-04-24</Date>
            <Version>2.9.13</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2021-10-22</Date>
            <Version>2.9.12</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2021-06-03</Date>
            <Version>2.9.12</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2021-03-13</Date>
            <Version>2.9.10</Version>
            <Comment>Rebuild py3</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-12-09</Date>
            <Version>2.9.10</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
		<Update release="8">
            <Date>2019-12-11</Date>
            <Version>2.9.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-01-24</Date>
            <Version>2.9.8</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-11-06</Date>
            <Version>2.9.8</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-09-16</Date>
            <Version>2.9.4</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-01-24</Date>
            <Version>2.9.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-08</Date>
            <Version>2.9.3</Version>
            <Comment>Rebuild with new toolchain.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>2.9.3</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-04</Date>
            <Version>2.9.3</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
