<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>udisks2</Name>
        <Homepage>http://udisks.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>Disk Management Service</Summary>
        <Description>udisks provides a daemon, API and command line tools for managing disk devices attached to the system.</Description>
        <Archive sha1sum="8e38580b435986570bb7b784facf387757d2de43" type="tarbz2">https://udisks.freedesktop.org/releases/udisks-2.1.8.tar.bz2</Archive>
        <AdditionalFiles>
            <AdditionalFile target="po/tr.po">tr.po</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>gtk-doc</Dependency>
            <Dependency>acl-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>polkit-devel</Dependency>
            <Dependency>libgudev-devel</Dependency>
            <Dependency>parted-devel</Dependency>
            <Dependency>libatasmart-devel</Dependency>
            <Dependency>device-mapper-devel</Dependency>
            <Dependency>lvm2-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>sg3_utils-devel</Dependency>
            <Dependency>ntfsprogs</Dependency>      <!-- For mkntfs -->
            <Dependency>dosfstools</Dependency>     <!-- For mkfs.vfat -->
            <Dependency>docbook-xsl</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>intltool</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Patch level="1">udisks-2.0.91-udf-dvd-fix-dmask.patch</Patch-->
            <!--Patch level="2">git-fixes.patch</Patch-->
            <!--<Patch level="0">udisks-2.x-ntfs-3g.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>udisks2</Name>
        <RuntimeDependencies>
            <Dependency>acl</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>polkit</Dependency>
            <Dependency>libgudev</Dependency>
            <Dependency>lvm2</Dependency>
            <Dependency>mdadm</Dependency>
            <Dependency>parted</Dependency>
            <Dependency>libatasmart</Dependency>
            <Dependency>device-mapper</Dependency>
            <Dependency>ntfsprogs</Dependency>      <!-- For mkntfs -->
            <Dependency>dosfstools</Dependency>     <!-- For mkfs.vfat -->
            <!--Dependency>mtools</Dependency-->         <!-- For mlabel -->
            <!--Dependency>xfsprogs</Dependency>       < For mkfs.xfs, xfs_admin -->
            <Dependency>sg3_utils</Dependency>
            <!--Dependency>smp_utils</Dependency>      <For smp_rep_manufacturer -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/udisks2</Path>
            <Path fileType="config">/etc/dbus-1</Path>
            <Path fileType="executable">/lib/udev/rules.d</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/libexec</Path>
            <Path fileType="data">/usr/share/bash-completion/completions</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="doc">/usr/share/gtk-doc/</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/polkit-1/</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/var/lib/</Path>
            <Path fileType="data">/run/udisks</Path>
            <Path fileType="data">/usr/share/dbus-1/interfaces/*.xml</Path>
        </Files>
    </Package>

    <Package>
        <Name>udisks2-devel</Name>
        <Summary>Development files for udisks2</Summary>
        <RuntimeDependencies>
            <Dependency release="current">udisks2</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-28</Date>
            <Version>2.1.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.1.6</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-26</Date>
            <Version>2.1.6</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
