<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>git</Name>
        <Homepage>http://git-scm.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <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="42aafae5c29324b1fee0264a6c804fdffbd1d8d1" type="tarxz">https://www.kernel.org/pub/software/scm/git/git-2.12.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>tcltk-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>asciidoc</Dependency>
            <Dependency>perl-Error</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>util-linux</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>
        <IsA>app:console</IsA>
        <RuntimeDependencies>
            <Dependency>perl-String-ShellQuote</Dependency>
            <Dependency>perl-Net-SMTP-SSL</Dependency>
            <Dependency>perl-Authen-SASL</Dependency>
            <Dependency>perl-libwww</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency version="current">perl-Git</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/git-core</Path>
            <Path fileType="locale">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</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>libpcre</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/*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="man">/usr/share/man/man3/Git.3pm</Path>
        </Files>
    </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-->

    <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>
        </Files>
    </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>
        </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>

    <History>
        <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>
