<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>upower</Name>
        <Homepage>http://upower.freedesktop.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>Power Management Service</Summary>
        <Description>upower provides a daemon, API and command line tools for managing power devices attached to the system.</Description>
        <Archive sha1sum="8fc30c2d53b15c0a4e7c1bc077a912bc1aeb6138" type="tarxz">http://upower.freedesktop.org/releases/upower-0.9.23.tar.xz</Archive>
        <AdditionalFiles>
            <AdditionalFile target="po/tr.po">tr.po</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>dbus-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>polkit-devel</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
	    <Dependency>libusb-devel</Dependency>
            <Dependency>libplist-devel</Dependency>
            <Dependency>libimobiledevice-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>docbook-xsl</Dependency>
            <Dependency>intltool</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">add-tr.patch</Patch>
            <!--<Patch level="1">fix-segfault.patch</Patch>-->
            <!--<Patch level="1">create-dir-runtime.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>upower</Name>
        <RuntimeDependencies>
            <Dependency>dbus</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>polkit</Dependency>
            <Dependency>dbus-glib</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libplist</Dependency>
            <Dependency>libimobiledevice</Dependency>
            <Dependency releaseFrom="5">pm-utils</Dependency>
	    <Dependency>libusb</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/lib</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/etc/dbus-1</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="config">/etc/UPower</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/var/lib/upower</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="data">/usr/share/polkit-1</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/dbus-1/interfaces/*.xml</Path>
            <Path fileType="data">/usr/lib/girepository-1.0/*.typelib</Path>
        </Files>
    </Package>

    <Package>
        <Name>upower-devel</Name>
        <Summary>Development files for upower</Summary>
        <RuntimeDependencies>
            <Dependency release="current">upower</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>polkit-devel</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>libplist-devel</Dependency>
            <Dependency>libimobiledevice-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
        </Files>
    </Package>

    <History>
        <Update release="11">
            <Date>2015-01-28</Date>
            <Version>0.9.23</Version>
            <Comment>Rebuild.</Comment>
            <Name>Hakan Yıldız</Name>
            <Email>hknyldz93@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2014-05-24</Date>
            <Version>0.9.23</Version>
            <Comment>Rebuild for gcc.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2014-04-15</Date>
            <Version>0.9.23</Version>
            <Comment>Rebuild for libplist and libimobiledevice.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2014-04-05</Date>
            <Version>0.9.23</Version>
            <Comment>Rebuild and builddep docbook-xsl added.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2014-03-02</Date>
            <Version>0.9.23</Version>
            <Comment>Add patch.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2014-01-08</Date>
            <Version>0.9.23</Version>
            <Comment>Moved some files to core pack</Comment>
            <Name>Burak Fazıl Ertürk</Name>
            <Email>burakerturk@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-12-19</Date>
            <Version>0.9.23</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-08-20</Date>
            <Version>0.9.21</Version>
            <Comment>Version bump.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-07-03</Date>
            <Version>0.9.20</Version>
            <Comment>Fix suspend/hibernation issue</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-03-20</Date>
            <Version>0.9.20</Version>
            <Comment>Version bump</Comment>
            <Name>Ertan Güven</Name>
            <Email>ertan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-10-20</Date>
            <Version>0.9.18</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
