<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>dbus</Name>
        <Homepage>http://dbus.freedesktop.org/</Homepage>
        <Packager>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <License>AFL-2.1</License>
        <IsA>service</IsA>
        <PartOf>system.base</PartOf>
        <Summary>A message bus system, a simple way for applications to talk to each other</Summary>
        <Description>D-Bus supplies both a system daemon (for events such as "new hardware device added" or "printer queue changed") and a per-user-login-session daemon (for general IPC needs among user applications). Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two apps to communicate directly (without going through the message bus daemon). Currently the communicating applications are on one computer, but TCP/IP option is available and remote support planned.</Description>
        <Archive sha1sum="ff61dc5bb7e3b4dd86444f4a72fb54378edc54fa" type="targz">https://dbus.freedesktop.org/releases/dbus/dbus-1.12.12.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>expat-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libcap-ng-devel</Dependency>
            <Dependency>autoconf-archive</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>docbook-xml</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>dbus</Name>
        <RuntimeDependencies>
            <Dependency>expat</Dependency>
            <Dependency>libcap-ng</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/dbus-1</Path>
            <Path fileType="config">/etc/init.d</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/dbus.conf</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/libexec</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/xml</Path>
            <Path fileType="data">/run/dbus</Path>
            <Path fileType="data">/var/lib/dbus</Path>
            <Path fileType="data">/lib/systemd/system</Path>
        </Files>
        <AdditionalFiles>
             <AdditionalFile owner="root" permission="0755" target="/etc/init.d/dbus">dbus.initd-r1</AdditionalFile>
             <AdditionalFile owner="root" permission="0755" target="/usr/lib/tmpfiles.d/dbus.conf">tmpfiles.conf</AdditionalFile>
             <AdditionalFile owner="root" permission="0755" target="/etc/X11/xinit/xinitrc.d/80-dbus">80-dbus</AdditionalFile>
        </AdditionalFiles>
        <Provides>
             <SCOM script="package.py">System.Package</SCOM>
        </Provides>
    </Package>

    <Package>
        <Name>dbus-x11</Name>
        <PartOf>x11.util</PartOf>
        <BuildDependencies>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>dbus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/X11</Path>
            <Path fileType="executable">/usr/bin/dbus-launch</Path>
        </Files>
    </Package>
    <Package>
        <Name>dbus-devel</Name>
        <IsA>header</IsA>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for dbus</Summary>
        <RuntimeDependencies>
            <Dependency release="current">dbus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="library">/usr/lib/dbus-1.0/include</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile target="/usr/include/dbus-1.0/dbus/dbus-arch-deps.h">dbus-arch-deps.h</AdditionalFile>
        </AdditionalFiles>
    </Package>
    <Package>
        <Name>dbus-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for dbus</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>expat-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/cmake</Path>
            <Path fileType="library">/usr/lib32/dbus-1.0</Path>
            <Path fileType="library">/usr/lib32/libdbus-1.so*</Path>
        </Files>
    </Package>
    <Package>
        <Name>dbus-docs</Name>
        <IsA>data:doc</IsA>
        <PartOf>system.doc</PartOf>
        <Summary>Documentation for dbus package.</Summary>
        <RuntimeDependencies>
            <Dependency release="current">dbus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <Package>
        <Name>dbus-pages</Name>
        <IsA>data:doc</IsA>
        <PartOf>system.doc</PartOf>
        <Summary>Man pages for dbus package.</Summary>
        <RuntimeDependencies>
            <Dependency release="current">dbus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man/</Path>
        </Files>
    </Package>
    <History>
        <Update release="4" type="security">
            <Date>2019-11-16</Date>
            <Version>1.12.12</Version>
            <Comment>Error `org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct` fixed.</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2019-09-19</Date>
            <Version>1.12.12</Version>
            <Comment>Package is rebuilded and released up.</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2019-09-14</Date>
            <Version>1.12.12</Version>
            <Comment>Added dbus-arch-deps.h into devel package.</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2018-12-22</Date>
            <Version>1.12.12</Version>
            <Comment>First release</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
  </INARY>
