<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libvirt</Name>
        <Homepage>http://www.libvirt.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        <Summary>Library providing a simple API to several virtualization systems</Summary>
        <Description>libvirt is a toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). libvirt supports Xen hypervisor, QEMU emulator, KVM hypervisor, LXC Linux container system, OpenVZ Linux container system, User Mode Linux paravirtualized kernel and VirtualBox hypervisor together with remote management possibilities.</Description>
        <Archive sha1sum="8a38fd5a0538a8ac05c8e4722bc4015c51237be0" type="tarxz">http://libvirt.org/sources/libvirt-3.0.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>qemu</Dependency>
            <Dependency>lvm2-devel</Dependency>
            <Dependency>attr-devel</Dependency>
            <Dependency>audit-devel</Dependency>
            <Dependency>avahi-devel</Dependency>
            <Dependency>netcf-devel</Dependency>
            <Dependency>numactl-devel</Dependency>
            <Dependency>libpciaccess-devel</Dependency>
            <Dependency>yajl-devel</Dependency>
            <Dependency>polkit-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>parted-devel</Dependency>
            <Dependency>device-mapper-devel</Dependency>
            <Dependency>libnl-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>cyrus-sasl-devel</Dependency>
            <Dependency>libcap-ng-devel</Dependency>
            <Dependency>readline-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch>pisilinux-qemu.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>libvirt</Name>
        <RuntimeDependencies>
            <Dependency>dbus</Dependency>
            <Dependency>yajl</Dependency>
            <Dependency>audit</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libnl</Dependency>
            <Dependency>netcf</Dependency>
            <Dependency>gnutls</Dependency>
            <Dependency>parted</Dependency>
            <Dependency>libcap</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>numactl</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>libcap-ng</Dependency>
            <Dependency>avahi-libs</Dependency>
            <Dependency>cyrus-sasl</Dependency>
            <Dependency>libpciaccess</Dependency>
            <Dependency>device-mapper</Dependency>
            <Dependency>libutil-linux</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/libvirt.conf</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/augeas</Path>
            <Path fileType="data">/usr/share/polkit-1</Path>
            <Path fileType="data">/usr/share/libvirt</Path>
            <Path fileType="data">/usr/share/systemtap</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/var</Path>
            <Path fileType="data">/run</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/libvirt.conf">tmpfiles.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/libvirt">libvirt.confd</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>3.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.3.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-12-31</Date>
            <Version>1.3.0</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
