<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>vim</Name>
        <Homepage>http://www.vim.org/</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <Summary>Vi IMproved, an advanced text editor</Summary>
        <Description>Vim, which stands for Vi IMproved, is an open-source, multiplatform text editor extended from vi. It was first released by Bram Moolenaar in 1991. Since then, numerous features have been added to Vim, many of which are helpful in editing program source code.</Description>
        <Archive sha1sum="90449202244be0481e31c233635b7036e40160a9" type="targz">https://github.com/vim/vim/archive/v8.2.0000.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>gpm</Dependency>
            <Dependency>ctags</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>ruby-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">sulin/grub_conf.patch</Patch>
            <Patch level="1">sulin/xorg_conf.patch</Patch>
            <Patch level="1">vim-7.3-interix-link.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>vim</Name>
        <IsA>app:console</IsA>
        <RuntimeDependencies>
            <Dependency>gpm</Dependency>
            <Dependency>ctags</Dependency>
            <Dependency>ruby</Dependency>
        </RuntimeDependencies>
        <Conflicts>
            <Package>vi</Package>
            <Package>ex</Package>
        </Conflicts>
        <Files>
            <Path fileType="executable">/usr/bin/vi*</Path>
            <Path fileType="executable">/usr/bin/rvi*</Path>
            <Path fileType="executable">/usr/bin/ex</Path>
            <Path fileType="executable">/usr/bin/xxd</Path>
            <Path fileType="executable">/bin</Path>
            <Path fileType="data">/usr/share/vim</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="config">/etc/vim</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/vim/vimrc">vimrc</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/vim/vimfiles/plugin/actions.vim">sulin/actions.vim</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/vim/vimfiles/plugin/pspec.vim">sulin/pspec.vim</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/vim/vimfiles/plugin/translations.vim">sulin/translations.vim</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/vim/vimfiles/plugin/taglist.vim">plugins/taglist.vim</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/vim/vimfiles/plugin/kde-devel-vim.vim">plugins/kde-devel-vim.vim</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/vim/vimfiles/plugin/newpythonfile.vim">plugins/newpythonfile.vim</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/vim/vimfiles/colors/redstring.vim">plugins/redstring.vim</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>gvim</Name>
        <Icon>gvim</Icon>
        <IsA>app:gui</IsA>
        <BuildType>gui</BuildType>
        <Conflicts>
            <Package>vi</Package>
            <Package>ex</Package>
        </Conflicts>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>gpm</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>vim</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/ggvi*</Path>
            <Path fileType="executable">/usr/bin/gvi*</Path>
            <Path fileType="executable">/usr/bin/egvi*</Path>
            <Path fileType="executable">/usr/bin/rggvi*</Path>
            <Path fileType="executable">/usr/bin/rgvi*</Path>
            <Path fileType="executable">/usr/bin/gvimtutor</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/applications</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/gvimtutor">gvimtutor</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/gvim.xpm">gvim.xpm</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/gvim.desktop">gvim.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="2">
            <Date>2019-12-12</Date>
            <Version>8.2.0000</Version>
            <Comment>Automatic version upgrade.</Comment>
            <Name>Ali Rıza KESKİN</Name>
            <Email>parduscix@yandex.ru</Email>
        </Update>
        <Update release="1">
            <Date>2019-10-10</Date>
            <Version>8.1.1846</Version>
            <Comment>Changed ex and vim.</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
