<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gkrellm</Name>
        <Homepage>http://www.gkrellm.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>gkrellm</Icon>
        <IsA>app:gui</IsA>
        <IsA>service</IsA>
        <Summary>A compact and clean system monitoring tool</Summary>
        <Description>A program to monitor system status, and to collect system information such as memory usage, cpu temperature etc.</Description>
        <Archive sha1sum="fa88f4f808f2930be2092b218316df031a2ac484" type="tarbz2">http://gkrellm.srcbox.net/releases/gkrellm-2.3.9.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libgcrypt-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">drop_privileges.patch</Patch>
            <Patch level="1">gkrellmd-conf.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gkrellm</Name>
        <RuntimeDependencies>
            <Dependency>gnutls</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcrypt</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libSM</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="man">/usr/share/man</Path>                        
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/gkrellm.desktop">gkrellm.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/gkrellm.png">gkrellm.png</AdditionalFile>            
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>gkrellm-devel</Name>
        <Summary>Development files for gkrellm</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gkrellm</Dependency>
            <Dependency>gtk2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>2.3.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.3.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-01</Date>
            <Version>2.3.5</Version>
            <Comment>First release</Comment>
            <Name>Aydın Demirel</Name>
            <Email>aydin.demirel@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
