
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>sddm</Name>
        <Homepage>https://github.com/sddm/sddm</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>QML based X11 display manager</Summary>
        <Description>KDE Power Management module. Provides kded daemon DBus helper and KCM for configuring Power settings</Description>
        <Archive sha1sum="ee92a2b27602c13d6ac5cfd34399192a31ca033c" type="tarxz">https://github.com/sddm/sddm/releases/download/v0.14.0/sddm-0.14.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>qt5-declarative-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>libxkbfile-devel</Dependency>
            <Dependency>pam-devel</Dependency>
            <Dependency>extra-cmake-modules</Dependency>
            <Dependency>docutils</Dependency>
        </BuildDependencies>
        <Patches>            
            <Patch>sddm-respect-user-flags.patch</Patch>
            <Patch>ecb903e4.patch</Patch>
            <Patch>sddm-0.14.0-consolekit.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>sddm</Name>
        <Conflicts>
            <Package>lightdm</Package>
            <Package>lxdm</Package>
            <Package>mdm</Package>
            <Package>gdm</Package>
            <Package>slim</Package>
        </Conflicts>
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>qt5-declarative</Dependency>
            <Dependency>pam</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libxcb</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/sddm.conf">sddm.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/sddm">sddm</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/sddm-autologin">sddm-autologin</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/polkit-1/rules.d/10-backlight.rules">10-backlight.rules</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="7">
            <Date>2017-06-19</Date>
            <Version>0.14.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ali Algul</Name>
            <Email>aligulle3801@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-03-05</Date>
            <Version>0.14.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-10-06</Date>
            <Version>0.14.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-09-07</Date>
            <Version>0.13.0</Version>
            <Comment>Add conflict list</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-08-14</Date>
            <Version>0.13.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-07-15</Date>
            <Version>0.13.0</Version>
            <Comment>Fix session authorization issue and add rules</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-18</Date>
            <Version>0.13.0</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
