<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>git</Name>
        <Homepage>https://git-scm.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>programming.scm</PartOf>
        <License>GPLv2</License>
        <Icon>git</Icon>
        <Summary>Fast Version Control System</Summary>
        <Description>Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.</Description>
        <Archive sha1sum="c14ccd09c8fb84d3025100933ca35b5c1fe613e7" type="tarxz">https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.46.2.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libpcre2-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>tcltk-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>perl-Error</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>asciidoc</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>perl</Dependency>
            <!--Needed for emacs-Git package
            <Dependency>emacs</Dependency>-->
        </BuildDependencies>
        <Patches>
            <!--Patch>project-root.patch</Patch>
            <Patch level="1">gitk-fonts.patch</Patch>
            <Patch level="1">git-1.5-gitweb-home-link.patch</Patch>
            <Patch level="1">git-cvsps-ignore.patch</Patch>
            <Patch level="1">fix-gitwebdir.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>git</Name>
        <Summary>Fast Version Control System</Summary>
        <IsA>app:console</IsA>
        <RuntimeDependencies>
            <Dependency version="current">perl-Git</Dependency>
            <Dependency>perl-String-ShellQuote</Dependency>
            <Dependency>perl-Net-SMTP-SSL</Dependency>
            <Dependency>perl-Authen-SASL</Dependency>
            <Dependency>perl-libwww</Dependency>
            <Dependency>libpcre2</Dependency>
            <Dependency>openssh</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>rsync</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>curl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/libexec/git-core</Path>
            <Path fileType="data">/etc/bash_completion.d</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/git-core</Path>
            <Path fileType="locale">/usr/share/locale</Path>
            <!-- to fix "belongs in multiple packages" warning -->
            <Path fileType="man">/usr/share/man/man1/git.1*</Path>
            <Path fileType="man">/usr/share/man/man1/git-a*</Path>
            <Path fileType="man">/usr/share/man/man1/git-b*</Path>
            <Path fileType="man">/usr/share/man/man1/git-ca*</Path>
            <Path fileType="man">/usr/share/man/man1/git-ch*</Path>
            <Path fileType="man">/usr/share/man/man1/git-cl*</Path>
            <Path fileType="man">/usr/share/man/man1/git-co*</Path>
            <Path fileType="man">/usr/share/man/man1/git-credential-c*</Path>
            <Path fileType="man">/usr/share/man/man1/git-credential-s*</Path>
            <Path fileType="man">/usr/share/man/man1/git-credential.*</Path>
            <Path fileType="man">/usr/share/man/man1/git-cv*</Path>
            <Path fileType="man">/usr/share/man/man1/git-di*</Path>
            <Path fileType="man">/usr/share/man/man1/git-de*</Path>
            <Path fileType="man">/usr/share/man/man1/git-f*</Path>
            <Path fileType="man">/usr/share/man/man1/git-gc*</Path>
            <Path fileType="man">/usr/share/man/man1/git-ge*</Path>
            <Path fileType="man">/usr/share/man/man1/git-gr*</Path>
            <Path fileType="man">/usr/share/man/man1/git-h*</Path>
            <Path fileType="man">/usr/share/man/man1/git-i*</Path>
            <Path fileType="man">/usr/share/man/man1/git-l*</Path>
            <Path fileType="man">/usr/share/man/man1/git-m*</Path>
            <Path fileType="man">/usr/share/man/man1/git-n*</Path>
            <Path fileType="man">/usr/share/man/man1/git-p*</Path>
            <Path fileType="man">/usr/share/man/man1/git-q*</Path>
            <Path fileType="man">/usr/share/man/man1/git-r*</Path>
            <Path fileType="man">/usr/share/man/man1/git-s*</Path>
            <Path fileType="man">/usr/share/man/man1/git-t*</Path>
            <Path fileType="man">/usr/share/man/man1/git-u*</Path>
            <Path fileType="man">/usr/share/man/man1/git-v*</Path>
            <Path fileType="man">/usr/share/man/man1/git-w*</Path>
            <Path fileType="man">/usr/share/man/man1/scalar.1</Path>
            <Path fileType="man">/usr/share/man/man5/</Path>
            <Path fileType="man">/usr/share/man/man7/</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>git-daemon</Name>
        <IsA>service</IsA>
        <Summary>GIT protocol daemon</Summary>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libpcre2</Dependency>
            <Dependency version="current">git</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/conf.d/git-daemon</Path>
            <Path fileType="executable">/usr/libexec/git-core/git-daemon</Path>
            <Path fileType="man">/usr/share/man/man1/git-daemon*.1*</Path>
            <Path fileType="data">/pub/scm</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/git-daemon">git-daemon.confd</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>perl-Git</Name>
        <IsA>library</IsA>
        <PartOf>programming.language.perl</PartOf>
        <Summary>Perl interface to GIT</Summary>
        <RuntimeDependencies>
            <Dependency>perl-Error</Dependency>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/perl5</Path>
            <Path fileType="data">/usr/share/perl5</Path>
            <Path fileType="man">/usr/share/man/man3/Git.3pm</Path>
        </Files>
    </Package>

    <Package>
        <Name>gitk</Name>
        <IsA>app:gui</IsA>
        <Summary>Git revision tree visualiser</Summary>
        <RuntimeDependencies>
            <Dependency version="current">git</Dependency>
            <Dependency>tcltk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/gitk</Path>
            <Path fileType="localedata">/usr/share/gitk</Path>
            <Path fileType="man">/usr/share/man/man1/*gitk*.1*</Path>
        </Files>
    </Package>

    <Package>
        <Name>git-gui</Name>
        <IsA>app:gui</IsA>
        <Summary>Git GUI tool</Summary>
        <RuntimeDependencies>
            <Dependency version="current">git</Dependency>
            <Dependency version="current">gitk</Dependency>
            <Dependency>tcltk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/libexec/git-core/git-gui*</Path>
            <Path fileType="executable">/usr/libexec/git-core/git-citool</Path>
            <Path fileType="data">/usr/share/git-gui</Path>
            <Path fileType="man">/usr/share/man/man1/git-gui.1*</Path>
            <Path fileType="man">/usr/share/man/man1/git-citool.1*</Path>
            <Path fileType="data">/usr/share/applications/git-gui.desktop</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/git-gui.desktop">git-gui.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>gitweb</Name>
        <IsA>app:web</IsA>
        <PartOf>server.web</PartOf>
        <Summary>Simple web interface to GIT repositories</Summary>
        <RuntimeDependencies>
            <Dependency version="current">git</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/var/www/localhost</Path>
            <Path fileType="config">/etc/conf.d/gitweb</Path>
            <Path fileType="config">/etc/apache2/conf.d</Path>
            <Path fileType="man">/usr/share/man/man1/gitweb.1*</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/gitweb">gitweb.confd</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/apache2/conf.d/git.conf">git.conf.httpd</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <!--
    <Package>
        <Name>emacs-Git</Name>
        <IsA>data</IsA>
        <PartOf>editor.emacs</PartOf>
        <Summary>Git support for emacs</Summary>
        <RuntimeDependencies>
            <Dependency>emacs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/emacs/site-lisp/git*</Path>
            <Path fileType="doc">/usr/share/doc/emacs-git</Path>
        </Files>
    </Package>
    -->

    <!--Package>
        <Name>git-svn</Name>
        <IsA>app:console</IsA>
        <Summary>Git tools for importing Subversion repositories</Summary>
        <RuntimeDependencies>
            <Dependency version="current">git</Dependency>
            <Dependency>subversion</Dependency>
            <Dependency>perl-Term-ReadKey</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/libexec/git-core/*svn*</Path>
            <Path fileType="man">/usr/share/man/man1/*svn*.1*</Path>
        </Files>
    </Package-->

    <!--
    <Package>
        <Name>git-cvs</Name>
        <IsA>app:console</IsA>
        <Summary>Git tools for importing CVS repositories</Summary>
        <RuntimeDependencies>
            <Dependency version="current">git</Dependency>
            <Dependency>cvs</Dependency>
            <Dependency>cvsps</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/libexec/git-core/*cvs*</Path>
            <Path fileType="executable">/usr/bin/git-cvsserver</Path>
            <Path fileType="man">/usr/share/man/man1/*cvs*.1*</Path>
            <Path fileType="man">/usr/share/man/man7/*cvs*.7*</Path>
        </Files>
    </Package>
    -->

    <History>
        <Update release="29">
            <Date>2024-09-24</Date>
            <Version>2.46.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="28">
            <Date>2024-07-30</Date>
            <Version>2.46.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="27">
            <Date>2024-02-24</Date>
            <Version>2.44.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="26">
            <Date>2024-02-15</Date>
            <Version>2.43.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2024-02-10</Date>
            <Version>2.43.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2023-11-21</Date>
            <Version>2.43.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2023-11-04</Date>
            <Version>2.42.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2023-08-22</Date>
            <Version>2.42.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2023-04-26</Date>
            <Version>2.40.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2023-03-17</Date>
            <Version>2.40.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2023-02-17</Date>
            <Version>2.39.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2023-01-18</Date>
            <Version>2.39.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2022-12-12</Date>
            <Version>2.38.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2022-10-18</Date>
            <Version>2.38.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2022-08-31</Date>
            <Version>2.37.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2022-08-31</Date>
            <Version>2.37.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2022-08-05</Date>
            <Version>2.37.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2022-06-28</Date>
            <Version>2.37.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2022-05-07</Date>
            <Version>2.36.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2021-10-23</Date>
            <Version>2.33.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-10-13</Date>
            <Version>2.33.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2021-06-22</Date>
            <Version>2.32.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-01-20</Date>
            <Version>2.25.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-01-18</Date>
            <Version>2.23.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-07-31</Date>
            <Version>2.16.2</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update> 
        <Update release="4">
            <Date>2018-02-20</Date>
            <Version>2.16.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update> 
        <Update release="4">
            <Date>2017-03-19</Date>
            <Version>2.12.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilnux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-12</Date>
            <Version>2.10.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilnux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.7.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-26</Date>
            <Version>2.7.2</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
