<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libdbusmenu</Name>
        <Homepage>https://launchpad.net/dbusmenu</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv3</License>
        <IsA>library</IsA>
        <Summary>Library for applications to pass a menu scructure accross DBus</Summary>
        <Description>libdbusmenu is a small little library that was created by pulling out some common code out of indicator-applet. It passes a menu structure across DBus so that a program can create a menu simply without worrying about how it is displayed on the other side of the bus.</Description>
        <Archive sha1sum="067b77564f90633aa58494e54b99d733a21f3142" type="targz">https://launchpad.net/dbusmenu/12.10/12.10.2/+download/libdbusmenu-12.10.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>gnome-doc-utils</Dependency>
            <Dependency>json-glib-devel</Dependency>
            <Dependency>gtk-doc</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libdbusmenu-glib</Name>
        <Summary>GLIB bindings for libdbusmenu</Summary>
        <RuntimeDependencies>
            <Dependency>libdbusmenu-common</Dependency>
            <Dependency>json-glib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libdbusmenu-glib*</Path>
            <Path fileType="library">/usr/lib/libdbusmenu-json*</Path>
            <Path fileType="data">/usr/share/libdbusmenu</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdbusmenu-common</Name>
        <Summary>Common files for libdbusmenu libraries</Summary>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="library">/usr/share/vala/vapi/Dbusmenu-*.vapi</Path>
            <Path fileType="library">/usr/share/gir-1.0/Dbusmenu-*.gir</Path>
            <Path fileType="library">/usr/lib/girepository-1.0/Dbusmenu-*.typelib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdbusmenu-gtk</Name>
        <Summary>GTK 2.x libraries for libdbusmenu</Summary>
        <RuntimeDependencies>
            <Dependency>libdbusmenu-glib</Dependency>
            <Dependency>libdbusmenu-common</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>atk</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>fontconfig</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libdbusmenu-gtk.so*</Path>
            <Path fileType="library">/usr/share/vala/vapi/DbusmenuGtk-*.vapi</Path>
            <Path fileType="library">/usr/share/gir-1.0/DbusmenuGtk-*.gir</Path>
            <Path fileType="library">/usr/lib/girepository-1.0/DbusmenuGtk-*.typelib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdbusmenu-gtk3</Name>
        <Summary>GTK 3.x libraries for libdbusmenu</Summary>
        <RuntimeDependencies>
            <Dependency>libdbusmenu-glib</Dependency>
            <Dependency>libdbusmenu-common</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>atk</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libdbusmenu-gtk3.so*</Path>
            <Path fileType="library">/usr/share/vala/vapi/DbusmenuGtk3-*.vapi</Path>
            <Path fileType="library">/usr/share/gir-1.0/DbusmenuGtk3-*.gir</Path>
            <Path fileType="library">/usr/lib/girepository-1.0/DbusmenuGtk3-*.typelib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdbusmenu-tools</Name>
        <Summary>Some examples for testing libdbusmenu</Summary>
        <RuntimeDependencies>
            <Dependency>libdbusmenu-glib</Dependency>
            <Dependency>libdbusmenu-common</Dependency>
            <Dependency>json-glib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="doc">/usr/share/doc/libdbusmenu/*dbusmenu-bench*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdbusmenu-devel</Name>
        <Summary>Development files for libdbusmenu</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libdbusmenu-glib</Dependency>
            <Dependency release="current">libdbusmenu-gtk</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2014-05-25</Date>
            <Version>12.10.2</Version>
            <Comment>rebuild</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-10-19</Date>
            <Version>12.10.2</Version>
            <Comment>Rebuild</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-07-28</Date>
            <Version>12.10.2</Version>
            <Comment>Dep Fixed</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-12-13</Date>
            <Version>12.10.2</Version>
            <Comment>First release</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
