<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>file</Name>
        <Homepage>https://pisilinux.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>app:console</IsA>
        <Summary>Program to identify a file's format by scanning binary data for patterns</Summary>
        <Description>Program to identify a file's format by scanning binary data for patterns.</Description>
        <Archive sha1sum="af74daeac411a665b071a71ec89d3a3020647309" type="targz">ftp://ftp.astron.com/pub/file/file-5.46.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
            <!-- remove python dependencies while bootstrap -->
            <!--Dependency>python-devel</Dependency-->
            <Dependency>python-setuptools</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">0001-PR-579-net147-Fix-stack-overrun.patch</Patch>
<!--             <Patch level="1">0001-Revert-Don-t-depend-on-the-execute-bit-to-determine-.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>file</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>python</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/misc</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="12">
            <Date>2024-12-05</Date>
            <Version>5.46</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2023-11-17</Date>
            <Version>5.45</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2023-01-28</Date>
            <Version>5.44</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-12-09</Date>
            <Version>5.38</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnslp@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-01-13</Date>
            <Version>5.38</Version>
            <Comment>Version bump</Comment>
            <Name>Safa Arıman</Name>
            <Email>safa@ariman.gen.tr</Email>
        </Update>
        <Update release="7">
            <Date>2019-12-11</Date>
            <Version>5.37</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-07-15</Date>
            <Version>5.32</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-05-01</Date>
            <Version>5.32</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-12-02</Date>
            <Version>5.31</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>5.29</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>5.25</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-28</Date>
            <Version>5.25</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
