<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qemu</Name>
        <Homepage>http://bellard.org/qemu</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Userspace virtual machine and processor emulator</Summary>
        <Description>QEMU emulates a full system (for example a PC), including a processor and various peripherials. It can be used to launch different operating systems without rebooting the PC or to debug system code. In user-mode emulation mode, QEMU can launch Linux processes compiled for one CPU on another CPU.</Description>
        <Archive sha1sum="a5602f2ddb51d61b4c0e618b779fdb0dbdc9cc1f" type="tarbz2">http://wiki.qemu-project.org/download/qemu-2.8.0.tar.bz2</Archive>
        <!--
        <AdditionalFiles>
            <AdditionalFile target="kernel/include/linux/kvm.h">kvm-2.6.32-16.h</AdditionalFile>
        </AdditionalFiles>
        -->
        <BuildDependencies>
            <Dependency>aalib-devel</Dependency>
            <Dependency>vte-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>bluez-libs-devel</Dependency>
            <Dependency>cyrus-sasl-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>qemu</Name>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>nss</Dependency>
            <Dependency>vte</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>nspr</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libsdl</Dependency>
            <Dependency>libusb</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libepoxy</Dependency>
            <Dependency>bluez-libs</Dependency>
            <Dependency>cyrus-sasl</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>libdrm</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="config">/run</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/qemu</Path>
            <Path fileType="localedata">/usr/share/locale/</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/qemu-ifup">qemu-ifup</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/qemu-ifdown">qemu-ifdown</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/sbin/ksmtuned">fedora/ksmtuned</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/ksm">fedora/ksm.sysconfig</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/ksmtuned.conf">fedora/ksmtuned.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/lib/udev/rules.d/65-kvm.rules">65-kvm.rules</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="ksm-service.py" name="ksm">System.Service</COMAR>
            <COMAR script="ksmtuned-service.py" name="ksmtuned">System.Service</COMAR>
        </Provides>
    </Package>

    <!--<Package>
        <Name>qemu-devel</Name>
        <Summary>Development files for qemu</Summary>
        <RuntimeDependencies>
            <Dependency>nss-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency release="current">qemu</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig/libcacard.pc</Path>
        </Files>
    </Package>-->

    <History>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>2.8.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>2.4.1</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>2.4.1</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy  </Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
