<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>slim</Name>
        <Homepage>http://slim.berlios.de</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>A Lightweight Login Manager</Summary>
        <Description>SLiM is a Desktop-independent graphical login manager for X11, derived from Login.app.</Description>
        <Archive sha1sum="9407ea2ee7b2ed649f17a8ddbf1f7b26a7c7b9fb" type="targz">https://github.com/iwamatsu/slim/archive/v1.3.6.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>libXft-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>slim-1.3.6-add-sessiondir.patch</Patch>
            <Patch>slim-1.3.6-fix-libslim-libraries.patch</Patch>
            <Patch>slim-1.3.6-default-path.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>slim</Name>
        <RuntimeDependencies>
            <Dependency>libXmu</Dependency>
            <Dependency>libXft</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>freetype</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/display-managers/slim.desktop">slim.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/slim/Xsession">Xsession</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/logrotate.d/slim">slim.logrotate</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/slim">slim.pam</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="1">
            <Date>2019-11-21</Date>
            <Version>1.3.6</Version>
            <Comment>First release</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
