<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pisi</Name>
        <Homepage>http://www.pisilinux.org/</Homepage>
        <Packager>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>PISI is the package management system of Pisi Linux</Summary>
        <Description>PISI is a modern package management system implemented in Python. Some of its main features are: package sources are written in XML and python, implements all functions through a simple-to-use API, integrates low-level and high-level package management features.</Description>
        <Archive sha1sum="7f16d1a0e4c8d2df73838a329485b74523fe50ad" type="tarxz">http://source.pisilinux.org/1.0/pisi-2.6.tar.xz</Archive>
        <AdditionalFiles>
            <AdditionalFile permission="0644" target="pisi.conf-i686">pisi.conf-i686</AdditionalFile>
            <AdditionalFile permission="0644" target="pisi.conf-x86_64">pisi.conf-x86_64</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>comar</Dependency>
            <Dependency>plyvel</Dependency>
            <Dependency>python</Dependency>
            <Dependency>gettext</Dependency>
            <Dependency>libunwind-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>leveldb-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>initialize_filesdb_once.patch</Patch>
            <Patch>no_clean_if_ignore_comar.patch</Patch>
            <Patch>orphaned_pkgs.patch</Patch>
            <Patch>improve_pisi_ix.patch</Patch>
            <Patch>fix_emul32_flags.patch</Patch>
            <Patch level="1">pisi-2.6-pisitools.dopixmaps-add.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>pisi</Name>
        <RuntimeDependencies>
            <Dependency>tar</Dependency>
            <Dependency>file</Dependency>
            <Dependency>comar</Dependency>
            <Dependency>plyvel</Dependency>
            <Dependency>python</Dependency>
            <Dependency>gettext</Dependency>
            <Dependency>leveldb</Dependency>
            <Dependency>piksemel</Dependency>
            <Dependency>comar-api</Dependency>
            <Dependency>urlgrabber</Dependency>
            <Dependency>python-psutil</Dependency>
            <Dependency>libunwind</Dependency>
            <!--<Dependency>diffutils</Dependency>
            <Dependency>patch</Dependency>--><!-- cirle deps ? -->
            <Dependency>python-pyliblzma</Dependency>
            <Dependency releaseFrom="16">mudur</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib/pardus/pisi</Path>
            <Path fileType="library">/usr/lib/pisilinux/pisi</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="config">/etc/pisi</Path>
            <Path fileType="data">/usr/share/mime/packages</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/pisi.conf</Path>
            <Path fileType="data">/run/lock/files.ldb/LOCK</Path>
            <Path fileType="data">/var/lib/pisi/info/files.ldb/LOCK</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/pisi/mirrors.conf">mirrors.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pisi/sandbox.conf">sandbox.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/mime/packages/pisi.xml">pisi.xml</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/pisilinux/pisi/actionsapi/pkgconfig.py">pkgconfig.py</AdditionalFile>
            <AdditionalFile target="/usr/lib/tmpfiles.d/pisi.conf" permission="0644" owner="root">tmpfiles.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/pisilinux/pisi/actionsapi/qt5.py">qt5.py</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/pisilinux/pisi/actionsapi/kde5.py">kde5.py</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
            <COMAR script="manager.py">System.Manager</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="34">
            <Date>2015-08-01</Date>
            <Version>2.6</Version>
            <Comment>fix kde5 api, remove python3</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="33">
            <Date>2015-06-03</Date>
            <Version>2.6</Version>
            <Comment>Add kde5 api</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="32">
            <Date>2015-05-04</Date>
            <Version>2.6</Version>
            <Comment>Add qt5 api</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="31">
            <Date>2014-12-07</Date>
            <Version>2.6</Version>
            <Comment>Add new pisitools.dopixmaps</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="30">
            <Date>2014-09-15</Date>
            <Version>2.6</Version>
            <Comment>Add new pisi commands: list-orphaned and remove-orphaned.
                     Improve pisi index.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="29">
            <Date>2014-08-04</Date>
            <Version>2.6</Version>
            <Comment>pisi search-file works without sudo now.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="28">
            <Date>2014-07-25</Date>
            <Version>2.6</Version>
            <Comment>Rebuild for version number.</Comment>
            <Name>Aydın Demirel</Name>
            <Email>aydin.demirel@pisilinux.org</Email>
        </Update>
        <Update release="27">
            <Date>2014-06-24</Date>
            <Version>2.6</Version>
            <Comment>Add patch for initialize filesdb once.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="26">
            <Date>2014-06-15</Date>
            <Version>2.6</Version>
            <Comment>Version bump.
                     revdep-rebuild rewritten in python.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="25">
            <Date>2014-06-08</Date>
            <Version>2.5</Version>
            <Comment>Add case sensitive for 'pisi sr'.
                     Change install path.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="24">
            <Date>2014-05-27</Date>
            <Version>2.5</Version>
            <Comment>Add patch level auto detection feature,
                     sha1sum for install.tar.xz file,
                     check sha1sum for upgrade.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="23">
            <Date>2014-05-11</Date>
            <Version>2.5</Version>
            <Comment>Release bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="22">
            <Date>2014-05-11</Date>
            <Version>2.5</Version>
            <Comment>Some improvements for buildfarm.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="21" type="critical">
            <Date>2014-04-04</Date>
            <Version>2.5</Version>
            <Comment>Handle error for file command.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="20" type="critical">
            <Date>2014-03-16</Date>
            <Version>2.5</Version>
            <Comment>Workaround for update espeak package.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="19">
            <Date>2014-03-07</Date>
            <Version>2.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="18">
            <Date>2014-02-28</Date>
            <Version>2.4</Version>
            <Comment>Fix pisitools.dosed output.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="17">
            <Date>2014-02-13</Date>
            <Version>2.4</Version>
            <Comment>Workaround for the case where old dir /a/b/c is replaced by file c in /a/b dir.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="16">
            <Date>2013-11-12</Date>
            <Version>2.4</Version>
            <Comment>Fix stripping issues, in file info: LSB  executable, LSB  shared syntax.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="15">
            <Date>2013-10-22</Date>
            <Version>2.4</Version>
            <Comment>Disable python_installation patch to check python upgrading breaks pisi or not.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="14">
            <Date>2013-08-25</Date>
            <Version>2.4</Version>
            <Comment>Fix autocompletion for local uncompressed index file.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="13" type="security">
            <Date>2013-08-21</Date>
            <Version>2.4</Version>
            <Comment>Fix upgrading python package.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="12">
            <Date>2013-08-01</Date>
            <Version>2.4</Version>
            <Comment>Improve managing CFLAGS, CXXFLAGS and LDFLAGS,
                     export HOME=get.workDIR() as default.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2013-07-25</Date>
            <Version>2.4</Version>
            <Comment>Fix and improve kerneltools.
                     Avoid double slashes pisi error.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2013-07-11</Date>
            <Version>2.4</Version>
            <Comment>adjust takeback to new dir structure.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2013-06-21</Date>
            <Version>2.4</Version>
            <Comment>No capital letters in directory names.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2013-06-17</Date>
            <Version>2.4</Version>
            <Comment>Fix overwrite 64bit libs by 32bit for some packages</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2013-06-02</Date>
            <Version>2.4</Version>
            <Comment>Add sorting packages for pisi ix</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2013-05-15</Date>
            <Version>2.4</Version>
            <Comment>Add pisitools.flags() and pisitools.ldflags()</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-05-12</Date>
            <Version>2.4</Version>
            <Comment>Sandbox.conf edit.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-03-20</Date>
            <Version>2.4</Version>
            <Comment>Add patch for speed up packaging process</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-03-14</Date>
            <Version>2.4</Version>
            <Comment>Improve dosed</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-02-14</Date>
            <Version>2.4</Version>
            <Comment>Add assign-devel-and-doc-packages.patch.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2013-01-18</Date>
            <Version>2.4</Version>
            <Comment>First release.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
