<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>suspend</Name>
        <Homepage>http://suspend.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>A set of tools to support sleep modes</Summary>
        <Description>suspend package allows users to suspend-to-ram, suspend-to-disk, and suspend-to-both.</Description>
        <Archive sha1sum="49ac219b54780265c31e8263d00e2b7b525d0736" type="tarbz2">http://sourceforge.net/projects/suspend/files/suspend/suspend-1.0/suspend-utils-1.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>lzo-devel</Dependency>
	    <Dependency>pciutils-devel</Dependency>
            <Dependency>libx86-devel</Dependency>
            <Dependency>plymouth-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">suse/suspend-comment-configfile-options.diff</Patch>
            <Patch level="0">suse/suspend-default-compress.diff</Patch>
            <Patch level="0">suse/suspend-default-splash.diff</Patch>
            <Patch level="1">suse/suspend-0.80-dont-return-eintr-on-abort.diff</Patch>
            <!--Patch level="1">suse/suspend-0.80-fix-s2both-resume-hacks.diff</Patch-->
            <Patch level="1">suse/suspend-0.80-keygen-new-defaults.diff</Patch>
            <Patch level="0">suse/suspend-0.80-vbetool-retry-on-errors.diff</Patch>

            <Patch level="1">mandriva/suspend-0.8-printf_format.patch</Patch>
            <!--<Patch level="1">mandriva/suspend-plymouth.patch</Patch>-->
            <!--<Patch level="1">mandriva/suspend-plymouth-always-quit.patch</Patch>-->

            <Patch level="1">resume-dont-ask-questions.patch</Patch>
            <Patch level="1">suppress-outputs.patch</Patch>
            <!--<Patch level="1">improve-plymouth-support.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>suspend</Name>
        <RuntimeDependencies>
            <Dependency>lzo</Dependency>
            <Dependency>libx86</Dependency>
            <Dependency>plymouth-core-libs</Dependency>
            <Dependency>pciutils</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/suspend.conf</Path>
            <Path fileType="config">/etc/suspend.key</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/sbin/configure-suspend-encryption">suse/configure-suspend-encryption.sh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="2">
            <Date>2014-03-09</Date>
            <Version>1.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Varol Maksutoğlu</Name>
            <Email>waroi@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-12-29</Date>
            <Version>1.0</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
