render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone
David Woodhouse 5c3734
Summary: QEMU is a FAST! processor emulator
David Woodhouse 5c3734
Name: qemu
Glauber Costa 8571d0
Version: 0.10
Glauber Costa d56efc
Release: 0.3.kvm20090303git%{?dist}
Glauber Costa 8571d0
# I have mistakenly thought the revision name would be 1.0.
Glauber Costa 8571d0
# So 0.10 series get Epoch = 1
Glauber Costa 8571d0
Epoch: 1
Daniel P. Berrange e62519
License: GPLv2+ and LGPLv2+
David Woodhouse 5c3734
Group: Development/Tools
Matthias Saou 67348d
URL: http://www.qemu.org/
Glauber Costa 8571d0
#Source0: http://www.qemu.org/%{name}-%{version}.tar.gz
Glauber Costa 8571d0
# FIXME: Say how to get the sources
Glauber Costa 8571d0
Source0: kvm-84.git-snapshot-20090303.tar.gz
David Woodhouse 5c3734
Source1: qemu.init
Glauber Costa 8571d0
Source2: kvm.modules
Daniel P. Berrange 42af21
Daniel P. Berrange 42af21
# VNC SASL authentication support
Daniel P. Berrange 42af21
# Not upstream yet, but approved for commit immediately
Daniel P. Berrange 42af21
# after this release
Daniel P. Berrange 42af21
Patch1: qemu-sasl-01-tls-handshake-fix.patch
Daniel P. Berrange 42af21
Patch2: qemu-sasl-02-vnc-monitor-info.patch
Daniel P. Berrange 42af21
Patch3: qemu-sasl-03-display-keymaps.patch
Daniel P. Berrange 42af21
Patch4: qemu-sasl-04-vnc-struct.patch
Daniel P. Berrange 42af21
Patch5: qemu-sasl-05-vnc-tls-vencrypt.patch
Daniel P. Berrange 42af21
Patch6: qemu-sasl-06-vnc-sasl.patch
Daniel P. Berrange 42af21
Patch7: qemu-sasl-07-vnc-monitor-authinfo.patch
Daniel P. Berrange 42af21
Patch8: qemu-sasl-08-vnc-acl-mgmt.patch
Glauber Costa 8571d0
Patch9: kvm-upstream-ppc.patch
Glauber Costa 8571d0
Patch10: kvm-fix-strayR.patch
Daniel P. Berrange 42af21
# NB, delibrately not including patch 09 which is not
Daniel P. Berrange 42af21
# intended for commit
Daniel P. Berrange 42af21
David Woodhouse 1ca927
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Daniel P. Berrange 42af21
BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel
Glauber Costa 8571d0
BuildRequires: rsync
Glauber Costa 485711
Requires: %{name}-user = %{version}-%{release}
Glauber Costa 485711
Requires: %{name}-system-x86 = %{version}-%{release}
Glauber Costa 485711
Requires: %{name}-system-sparc = %{version}-%{release}
Glauber Costa 485711
Requires: %{name}-system-arm = %{version}-%{release}
Glauber Costa 485711
Requires: %{name}-system-cris = %{version}-%{release}
Glauber Costa 485711
Requires: %{name}-system-sh4 = %{version}-%{release}
Glauber Costa 485711
Requires: %{name}-system-m68k = %{version}-%{release}
Glauber Costa 485711
Requires: %{name}-system-mips = %{version}-%{release}
Glauber Costa 485711
Requires: %{name}-system-ppc = %{version}-%{release}
Daniel P. Berrange 36ffed
Requires: %{name}-img = %{version}-%{release}
Glauber Costa 485711
Glauber Costa 8571d0
# sorry dudes, one step at a time
Glauber Costa 8571d0
ExcludeArch: ppc ppc64
Glauber Costa 8571d0
Glauber Costa 485711
#ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 sparc64 armv4l
Glauber Costa 485711
Glauber Costa 485711
%define qemudocdir %{_docdir}/%{name}-%{version}
Glauber Costa 485711
Glauber Costa 485711
%define qemupkg() \
Glauber Costa 485711
%package %1\
Glauber Costa 485711
Summary: QEMU %2\
Glauber Costa 485711
Group: Development/Tools \
Glauber Costa 485711
Requires: %{name}-common = %{version}-%{release}    \
Glauber Costa 485711
%{nil}
Glauber Costa 485711
Glauber Costa 485711
%define qemudesc() \
Glauber Costa 485711
%description %1 \
Glauber Costa 485711
QEMU is a generic and open source processor emulator which achieves a good  \
Glauber Costa 485711
emulation speed by using dynamic translation.                               \
Glauber Costa 485711
                                                                            \
Glauber Costa 485711
This package provides the %2
Glauber Costa 485711
%{nil}
Glauber Costa 485711
Glauber Costa 485711
%define qemupkgdesc() \
Glauber Costa 485711
%package %1\
Glauber Costa 485711
Summary: QEMU %2\
Glauber Costa 485711
Group: Development/Tools \
Glauber Costa 485711
Requires: %{name}-common = %{version}-%{release}    \
Glauber Costa 485711
%description %1 \
Glauber Costa 485711
QEMU is a generic and open source processor emulator which achieves a good  \
Glauber Costa 485711
emulation speed by using dynamic translation.                               \
Glauber Costa 485711
                                                                            \
Glauber Costa 485711
This package provides the %2
Glauber Costa 485711
%{nil}
David Woodhouse 5c3734
David Woodhouse 5c3734
%description
Matthias Saou 67348d
QEMU is a generic and open source processor emulator which achieves a good
Matthias Saou 67348d
emulation speed by using dynamic translation. QEMU has two operating modes:
David Woodhouse 5c3734
Matthias Saou 67348d
 * Full system emulation. In this mode, QEMU emulates a full system (for
Matthias Saou 67348d
   example a PC), including a processor and various peripherials. It can be
Matthias Saou 67348d
   used to launch different Operating Systems without rebooting the PC or
Matthias Saou 67348d
   to debug system code.
David Woodhouse 5c3734
 * User mode emulation. In this mode, QEMU can launch Linux processes compiled
Matthias Saou 67348d
   for one CPU on another CPU.
David Woodhouse 5c3734
Matthias Saou 67348d
As QEMU requires no host kernel patches to run, it is safe and easy to use.
David Woodhouse 5c3734
Glauber Costa 485711
%qemupkgdesc img {command line tool for manipulating disk images}
Daniel P. Berrange 36ffed
Glauber Costa 485711
%qemupkgdesc common {common files needed by all QEMU targets}
Glauber Costa 485711
Glauber Costa 485711
%qemupkg user {user mode emulation of qemu targets}
Glauber Costa 485711
Requires(post): /sbin/chkconfig
Glauber Costa 485711
Requires(preun): /sbin/service /sbin/chkconfig
Glauber Costa 485711
Requires(postun): /sbin/service
Glauber Costa 485711
Requires: %{name}-common = %{version}-%{release}
Glauber Costa 485711
%qemudesc user {user mode emulation of qemu targets}
Glauber Costa 485711
Glauber Costa 485711
%qemupkg system-x86 {system emulator for x86}
Glauber Costa f0365c
Requires: etherboot-zroms-kvm
Glauber Costa 3e01e7
Requires: vgabios
Daniel P. Berrange 42af21
Requires: bochs-bios-data
Glauber Costa 485711
%qemudesc system-x86 {system emulator for x86}
Glauber Costa 485711
%qemupkgdesc system-ppc {system emulator for ppc}
Glauber Costa 485711
Glauber Costa 485711
%qemupkg system-sparc {system emulator for sparc}
Glauber Costa 485711
%qemudesc  system-sparc {system emulator for sparc}
Daniel P. Berrange 36ffed
Glauber Costa 485711
%qemupkgdesc system-arm {system emulator for arm}
Glauber Costa 485711
%qemupkgdesc system-mips {system emulator for mips}
Glauber Costa 485711
%qemupkgdesc system-cris {system emulator for cris}
Glauber Costa 485711
%qemupkgdesc system-m68k {system emulator for m68k}
Glauber Costa 485711
%qemupkgdesc system-sh4 {system emulator for sh4}
Daniel P. Berrange 36ffed
Glauber Costa 0f3f16
%ifarch %{ix86} x86_64
Glauber Costa 0f3f16
%package kvm-tools
Glauber Costa 0f3f16
Summary: KVM debugging and diagnostics tools
Glauber Costa 0f3f16
Group: Development/Tools
Glauber Costa 0f3f16
Glauber Costa 0f3f16
%description kvm-tools
Glauber Costa 0f3f16
This package contains some diagnostics and debugging tools for KVM,
Glauber Costa 0f3f16
such as kvmtrace and kvm_stat.
Glauber Costa 0f3f16
%endif
Glauber Costa 0f3f16
David Woodhouse 5c3734
%prep
Glauber Costa 8571d0
%setup -q -n kvm-84.git-snapshot-20090303
Daniel P. Berrange 42af21
# 01-tls-handshake-fix
Daniel P. Berrange 42af21
%patch1 -p1
Daniel P. Berrange 42af21
# 02-vnc-monitor-info
Daniel P. Berrange 42af21
%patch2 -p1
Daniel P. Berrange 42af21
# 03-display-keymaps
Daniel P. Berrange 42af21
%patch3 -p1
Daniel P. Berrange 42af21
# 04-vnc-struct
Daniel P. Berrange 42af21
%patch4 -p1
Daniel P. Berrange 42af21
# 05-vnc-tls-vencrypt
Daniel P. Berrange 42af21
%patch5 -p1
Daniel P. Berrange 42af21
# 06-vnc-sasl
Daniel P. Berrange 42af21
%patch6 -p1
Daniel P. Berrange 42af21
# 07-vnc-monitor-authinfo
Daniel P. Berrange 42af21
%patch7 -p1
Daniel P. Berrange 42af21
# 08-vnc-acl-mgmt
Daniel P. Berrange 42af21
%patch8 -p1
Glauber Costa 8571d0
%patch9 -p1
Glauber Costa 8571d0
%patch10 -p1
David Woodhouse 5c3734
David Woodhouse 5c3734
%build
Glauber Costa 485711
# systems like rhel build system does not have a recent enough linker so 
Glauber Costa 485711
# --build-id works. this option is used fedora 8 onwards for giving info
Glauber Costa 485711
# to the debug packages.
Glauber Costa 485711
Glauber Costa 485711
build_id_available() {
Glauber Costa 485711
 echo "int main () { return 0; }" | gcc -x c -Wl,--build-id - 2>/dev/null
Glauber Costa 485711
}
Glauber Costa 485711
Glauber Costa 485711
if build_id_available; then
Glauber Costa 8571d0
 extraldflags="-Wl,--build-id";
Glauber Costa 485711
 buildldflags="VL_LDFLAGS=-Wl,--build-id"
Glauber Costa 485711
else
Glauber Costa 485711
 extraldflags=""
Glauber Costa 485711
 buildldflags=""
Glauber Costa 485711
fi
Glauber Costa 485711
Glauber Costa 8571d0
%ifarch %{ix86} x86_64
Glauber Costa 8571d0
# build kvm
Glauber Costa 8571d0
echo "%{name}-%{version}" > $(pwd)/kernel/.kernelrelease
Glauber Costa 8571d0
./configure --with-patched-kernel --target-list=x86_64-softmmu \
Glauber Costa 8571d0
            --kerneldir=$(pwd)/kernel --prefix=%{_prefix} \
Glauber Costa 8571d0
            --qemu-ldflags=$extraldflags
Glauber Costa 8571d0
Glauber Costa 8571d0
make %{?_smp_mflags} $buildldflags
Glauber Costa 8571d0
cp qemu/x86_64-softmmu/qemu-system-x86_64 qemu-kvm
Glauber Costa 0f3f16
cp user/kvmtrace  .
Glauber Costa 0f3f16
cp user/kvmtrace_format  .
Glauber Costa 8571d0
make clean
Glauber Costa 8571d0
%endif
Glauber Costa 8571d0
Glauber Costa 8571d0
echo "%{name}-%{version}" > $(pwd)/kernel/.kernelrelease
Glauber Costa 8571d0
cd qemu
Matthias Saou e6d232
./configure \
Glauber Costa 8571d0
    --target-list="i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu \
Glauber Costa 8571d0
                mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu \
Glauber Costa 8571d0
                ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu \
Glauber Costa 8571d0
                i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user \
Glauber Costa 8571d0
                armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user \
Glauber Costa 8571d0
                mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user \
Glauber Costa 8571d0
                sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user \
Glauber Costa 8571d0
                sparc32plus-linux-user" \
Matthias Saou e6d232
    --prefix=%{_prefix} \
Matthias Saou e6d232
    --interp-prefix=%{_prefix}/qemu-%%M \
Glauber Costa 8571d0
            --kerneldir=$(pwd)/../kernel --prefix=%{_prefix} \
Glauber Costa 8571d0
    --disable-kvm \
Glauber Costa 8571d0
    --extra-ldflags=$extraldflags
Glauber Costa 485711
Glauber Costa 8571d0
make %{?_smp_mflags} $buildldflags
David Woodhouse 5c3734
David Woodhouse 5c3734
%install
David Woodhouse 5c3734
rm -rf $RPM_BUILD_ROOT
David Woodhouse 5c3734
David Woodhouse 5c3734
make prefix="${RPM_BUILD_ROOT}%{_prefix}" \
Matthias Saou 67348d
     bindir="${RPM_BUILD_ROOT}%{_bindir}" \
Matthias Saou 67348d
     sharedir="${RPM_BUILD_ROOT}%{_prefix}/share/qemu" \
Matthias Saou 67348d
     mandir="${RPM_BUILD_ROOT}%{_mandir}" \
Matthias Saou 67348d
     docdir="${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}" \
Matthias Saou 67348d
     datadir="${RPM_BUILD_ROOT}%{_prefix}/share/qemu" install
Hans de Goede 76b47e
chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/*
Matthias Saou 8cd57a
Glauber Costa 8571d0
%ifarch %{ix86} x86_64
Glauber Costa 8571d0
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/modules
Glauber Costa 8571d0
install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/modules/kvm.modules
Glauber Costa 0f3f16
install -m 0755 kvmtrace %{buildroot}/%{_bindir}/
Glauber Costa 0f3f16
install -m 0755 kvmtrace_format %{buildroot}/%{_bindir}/
Glauber Costa 0f3f16
install -m 0755 kvm_stat %{buildroot}/%{_bindir}/
Glauber Costa 8571d0
%endif
Glauber Costa 8571d0
Glauber Costa 8571d0
cd qemu
Matthias Saou 67348d
install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/qemu
Glauber Costa 8571d0
install -D -p -m 0755 ../qemu-kvm $RPM_BUILD_ROOT%{_bindir}/
Glauber Costa 485711
install -D -p -m 0644 -t ${RPM_BUILD_ROOT}/%{qemudocdir} Changelog README TODO COPYING COPYING.LIB LICENSE
David Woodhouse 5c3734
Daniel P. Berrange 42af21
install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/qemu.conf
Daniel P. Berrange 42af21
Glauber Costa f0365c
rm -rf ${RPM_BUILD_ROOT}/usr/share//qemu/pxe*bin
Glauber Costa 3e01e7
rm -rf ${RPM_BUILD_ROOT}/usr/share//qemu/vgabios*bin
Glauber Costa f97a70
rm -rf ${RPM_BUILD_ROOT}/usr/share//qemu/bios.bin
Glauber Costa f0365c
Glauber Costa f0365c
# the pxe etherboot images will be symlinks to the images on
Glauber Costa f0365c
# /usr/share/etherboot, as QEMU doesn't know how to look
Glauber Costa f0365c
# for other paths, yet.
Glauber Costa f0365c
pxe_link() {
Glauber Costa f0365c
  ln -s ../etherboot/$2.zrom %{buildroot}/usr/share/qemu/pxe-$1.bin
Glauber Costa f0365c
}
Glauber Costa f0365c
Glauber Costa f0365c
pxe_link e1000 e1000-82542
Glauber Costa f0365c
pxe_link ne2k_pci ne
Glauber Costa f0365c
pxe_link pcnet pcnet32
Glauber Costa f0365c
pxe_link rtl8139 rtl8139
Glauber Costa f0365c
pxe_link virtio virtio-net
Glauber Costa 3e01e7
ln -s ../vgabios/VGABIOS-lgpl-latest.bin  %{buildroot}/usr/share/qemu/vgabios.bin
Glauber Costa 3e01e7
ln -s ../vgabios/VGABIOS-lgpl-latest.cirrus.bin %{buildroot}/usr/share/qemu/vgabios-cirrus.bin
Glauber Costa f97a70
ln -s ../bochs/BIOS-bochs-latest %{buildroot}/usr/share/qemu/bios.bin
Glauber Costa f0365c
David Woodhouse 5c3734
%clean
David Woodhouse 5c3734
rm -rf $RPM_BUILD_ROOT
David Woodhouse 5c3734
Glauber Costa 8571d0
%post system-x86
Glauber Costa 8571d0
%ifarch %{ix86}
Glauber Costa 8571d0
# load kvm modules now, so we can make sure no reboot is needed.
Glauber Costa 8571d0
# If there's already a kvm module installed, we don't mess with it
Glauber Costa 8571d0
sh /%{_sysconfdir}/sysconfig/modules/kvm.modules
Glauber Costa 8571d0
%endif
Glauber Costa 8571d0
Glauber Costa d56efc
%post user
David Woodhouse 5c3734
/sbin/chkconfig --add qemu
David Woodhouse 5c3734
Glauber Costa d56efc
%preun user
Matthias Saou 67348d
if [ $1 -eq 0 ]; then
Matthias Saou 67348d
    /sbin/service qemu stop &>/dev/null || :
Matthias Saou 67348d
    /sbin/chkconfig --del qemu
Matthias Saou 67348d
fi
Matthias Saou 67348d
Glauber Costa d56efc
%postun user
Matthias Saou 67348d
if [ $1 -ge 1 ]; then
Matthias Saou 67348d
    /sbin/service qemu condrestart &>/dev/null || :
David Woodhouse 5c3734
fi
David Woodhouse 5c3734
Glauber Costa 485711
%files 
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
Glauber Costa 485711
%files common
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%doc %{qemudocdir}/Changelog
Glauber Costa 485711
%doc %{qemudocdir}/README
Glauber Costa 485711
%doc %{qemudocdir}/TODO
Glauber Costa 485711
%doc %{qemudocdir}/qemu-doc.html 
Glauber Costa 485711
%doc %{qemudocdir}/qemu-tech.html
Glauber Costa 485711
%doc %{qemudocdir}/COPYING 
Glauber Costa 485711
%doc %{qemudocdir}/COPYING.LIB 
Glauber Costa 485711
%doc %{qemudocdir}/LICENSE
Glauber Costa 485711
%{_prefix}/share/qemu/keymaps/
Glauber Costa 485711
%{_prefix}/share/qemu/*
Glauber Costa 485711
%{_mandir}/man1/qemu.1*
Glauber Costa 485711
%{_mandir}/man8/qemu-nbd.8*
Glauber Costa 485711
%{_bindir}/qemu-nbd
Daniel P. Berrange 42af21
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
Glauber Costa 485711
%files user
David Woodhouse 5c3734
%defattr(-,root,root)
Daniel P. Berrange e62519
%{_sysconfdir}/rc.d/init.d/qemu
Daniel P. Berrange b4adff
%{_bindir}/qemu-alpha
Daniel P. Berrange 36ffed
%{_bindir}/qemu-arm
Daniel P. Berrange 36ffed
%{_bindir}/qemu-armeb
Daniel P. Berrange b4adff
%{_bindir}/qemu-cris
Daniel P. Berrange 36ffed
%{_bindir}/qemu-i386
Glauber Costa 485711
%{_bindir}/qemu-x86_64
Daniel P. Berrange 36ffed
%{_bindir}/qemu-m68k
Daniel P. Berrange 36ffed
%{_bindir}/qemu-mips
Daniel P. Berrange 36ffed
%{_bindir}/qemu-mipsel
Daniel P. Berrange 36ffed
%{_bindir}/qemu-ppc
Daniel P. Berrange b4adff
%{_bindir}/qemu-ppc64
Daniel P. Berrange b4adff
%{_bindir}/qemu-ppc64abi32
Daniel P. Berrange b4adff
%{_bindir}/qemu-sh4
Daniel P. Berrange b4adff
%{_bindir}/qemu-sh4eb
Daniel P. Berrange 36ffed
%{_bindir}/qemu-sparc
Daniel P. Berrange b4adff
%{_bindir}/qemu-sparc64
Glauber Costa 485711
%{_bindir}/qemu-sparc32plus
Glauber Costa 485711
%files system-x86
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu
Glauber Costa 485711
%{_bindir}/qemu-system-x86_64
Glauber Costa 0f3f16
%{_prefix}/share/qemu/bios.bin
Glauber Costa 0f3f16
%{_prefix}/share/qemu/vgabios.bin
Glauber Costa 0f3f16
%{_prefix}/share/qemu/vgabios-cirrus.bin
Glauber Costa 8571d0
%ifarch %{ix86} x86_64
Glauber Costa 8571d0
%{_bindir}/qemu-kvm
Glauber Costa 8571d0
%{_sysconfdir}/sysconfig/modules/kvm.modules
Glauber Costa 0f3f16
%files kvm-tools
Glauber Costa 0f3f16
%defattr(-,root,root,-)
Glauber Costa 0f3f16
%{_bindir}/kvmtrace
Glauber Costa 0f3f16
%{_bindir}/kvmtrace_format
Glauber Costa 0f3f16
%{_bindir}/kvm_stat
Glauber Costa 8571d0
%endif
Glauber Costa 485711
%files system-sparc
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu-system-sparc
Glauber Costa 485711
%{_prefix}/share/qemu/openbios-sparc32
Glauber Costa 485711
%{_prefix}/share/qemu/openbios-sparc64
Glauber Costa 485711
%files system-arm
Glauber Costa 485711
%defattr(-,root,root)
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-arm
Glauber Costa 485711
%files system-mips
Glauber Costa 485711
%defattr(-,root,root)
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-mips
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-mipsel
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-mips64
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-mips64el
Glauber Costa 485711
%files system-ppc
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu-system-ppc
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-ppc64
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-ppcemb
Glauber Costa 485711
%files system-cris
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu-system-cris
Glauber Costa 485711
%files system-m68k
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu-system-m68k
Glauber Costa 485711
%files system-sh4
Glauber Costa 485711
%defattr(-,root,root)
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-sh4
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-sh4eb
Daniel P. Berrange 36ffed
Daniel P. Berrange 36ffed
%files img
Daniel P. Berrange 36ffed
%defattr(-,root,root)
Daniel P. Berrange 36ffed
%{_bindir}/qemu-img
Daniel P. Berrange 36ffed
%{_mandir}/man1/qemu-img.1*
David Woodhouse 5c3734
David Woodhouse 5c3734
%changelog
Glauber Costa d56efc
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.3.kvm20090303git
Glauber Costa d56efc
- only execute post scripts for user package.
Glauber Costa 0f3f16
- added kvm tools.
Glauber Costa d56efc
Glauber Costa b8bea8
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git
Glauber Costa b8bea8
- put kvm.modules into cvs
Glauber Costa b8bea8
Glauber Costa 8571d0
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git
Glauber Costa 8571d0
- Set Epoch to 1
Glauber Costa 8571d0
- Build KVM (basic build, no tools yet)
Glauber Costa 8571d0
- Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time.
Glauber Costa 8571d0
  ppc users (IBM ? ;-)) please wait a little bit.
Glauber Costa 8571d0
Daniel P. Berrange 42af21
* Tue Mar  3 2009 Daniel P. Berrange <berrange@redhat.com> - 1.0-0.5.svn6666
Daniel P. Berrange 42af21
- Support VNC SASL authentication protocol
Daniel P. Berrange 42af21
- Fix dep on bochs-bios-data
Daniel P. Berrange 42af21
Glauber Costa f97a70
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.4.svn6666
Glauber Costa f97a70
- use bios from bochs-bios package.
Glauber Costa f97a70
Glauber Costa 3e01e7
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.3.svn6666
Glauber Costa 3e01e7
- use vgabios from vgabios package.
Glauber Costa 3e01e7
Glauber Costa f0365c
* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.2.svn6666
Glauber Costa f0365c
- use pxe roms from etherboot package.
Glauber Costa f0365c
Glauber Costa 485711
* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.1.svn6666
Glauber Costa 485711
- Updated to tip svn (release 6666). Featuring split packages for qemu.
Glauber Costa 485711
  Unfortunately, still using binary blobs for the bioses.
Glauber Costa 485711
Jesse Keating c6f944
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
Jesse Keating c6f944
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating c6f944
Debarshi Ray ff9191
* Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.9.1-12
Debarshi Ray ff9191
- Updated build patch. Closes Red Hat Bugzilla bug #465041.
Debarshi Ray ff9191
Dennis Gilmore 1cd90b
* Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> - 0.9.1-11
Dennis Gilmore 1cd90b
- add sparcv9 and sparc64 support
Dennis Gilmore 1cd90b
Bill Nottingham a7289f
* Fri Jul 25 2008 Bill Nottingham <notting@redhat.com>
Bill Nottingham a7289f
- Fix qemu-img summary (#456344)
Bill Nottingham a7289f
Daniel P. Berrange 549de8
* Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-10.fc10
Daniel P. Berrange 549de8
- Rebuild for GNU TLS ABI change
Daniel P. Berrange 549de8
Daniel P. Berrange b4adff
* Wed Jun 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-9.fc10
Daniel P. Berrange b4adff
- Remove bogus wildcard from files list (rhbz #450701)
Daniel P. Berrange b4adff
Lubomir Rintel 4c8582
* Sat May 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-8
Lubomir Rintel 4c8582
- Register binary handlers also for shared libraries
Lubomir Rintel 4c8582
Daniel P. Berrange a1020f
* Mon May  5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-7.fc10
Daniel P. Berrange a1020f
- Fix text console PTYs to be in rawmode
Daniel P. Berrange a1020f
Lubomir Rintel d0fefc
* Sun Apr 27 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.9.1-6
Lubomir Rintel d0fefc
- Register binary handler for SuperH-4 CPU
Lubomir Rintel d0fefc
Daniel P. Berrange 36ffed
* Wed Mar 19 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-5.fc9
Daniel P. Berrange 36ffed
- Split qemu-img tool into sub-package for smaller footprint installs
Daniel P. Berrange 36ffed
Daniel P. Berrange 0778a1
* Wed Feb 27 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-4.fc9
Daniel P. Berrange 0778a1
- Fix block device checks for extendable disk formats (rhbz #435139)
Daniel P. Berrange 0778a1
Daniel P. Berrange 0778a1
* Sat Feb 23 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-3.fc9
Daniel P. Berrange b80713
- Fix block device extents check (rhbz #433560)
Daniel P. Berrange b80713
Jesse Keating 609577
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2
Jesse Keating 609577
- Autorebuild for GCC 4.3
Jesse Keating 609577
Daniel P. Berrange e62519
* Tue Jan  8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-1.fc9
Daniel P. Berrange e62519
- Updated to 0.9.1 release
Daniel P. Berrange e62519
- Fix license tag syntax
Daniel P. Berrange e62519
- Don't mark init script as a config file
Daniel P. Berrange e62519
Daniel P. Berrange f4a1bb
* Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-5.fc8
Daniel P. Berrange f4a1bb
- Fix rtl8139 checksum calculation for Vista (rhbz #308201)
Daniel P. Berrange f4a1bb
Daniel P. Berrange 4ecadb
* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-4.fc8
Daniel P. Berrange 4ecadb
- Fix debuginfo by passing -Wl,--build-id to linker
Daniel P. Berrange 4ecadb
David Woodhouse e415ab
* Tue Aug 28 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-4
David Woodhouse e415ab
- Update licence
David Woodhouse e415ab
- Fix CDROM emulation (#253542)
David Woodhouse e415ab
Daniel P. Berrange 304b40
* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-3.fc8
Daniel P. Berrange 304b40
- Added backport of VNC password auth, and TLS+x509 cert auth
Daniel P. Berrange 304b40
- Switch to rtl8139 NIC by default for linkstate reporting
Daniel P. Berrange 304b40
- Fix rtl8139 mmio region mappings with multiple NICs
Daniel P. Berrange 304b40
Hans de Goede 76b47e
* Sun Apr  1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.0-2
Hans de Goede 76b47e
- Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681)
Hans de Goede 76b47e
- Remove spurious execute bits from manpages (bz 222573)
Hans de Goede 76b47e
David Woodhouse 4cf268
* Tue Feb  6 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-1
David Woodhouse 4cf268
- Update to 0.9.0
David Woodhouse 4cf268
David Woodhouse f57922
* Wed Jan 31 2007 David Woodhouse <dwmw2@infradead.org> 0.8.2-5
David Woodhouse f57922
- Include licences
David Woodhouse f57922
Hans de Goede 019db4
* Mon Nov 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.2-4
Hans de Goede 019db4
- Backport patch to make FC6 guests work by Kevin Kofler
Hans de Goede 019db4
  <Kevin@tigcc.ticalc.org> (bz 207843).
Hans de Goede 019db4
David Woodhouse f6b93b
* Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 0.8.2-3
David Woodhouse f6b93b
- Rebuild
David Woodhouse f6b93b
Matthias Saou e6d232
* Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2
Matthias Saou e6d232
- Remove the target-list iteration for x86_64 since they all build again.
Matthias Saou e6d232
- Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for
Matthias Saou e6d232
  FC5 and FC6.
Matthias Saou e6d232
Matthias Saou 67348d
* Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1
Matthias Saou 67348d
- Update to 0.8.2 (#200065).
Matthias Saou 67348d
- Drop upstreamed syscall-macros patch2.
Matthias Saou 67348d
- Put correct scriplet dependencies.
Matthias Saou 67348d
- Force install mode for the init script to avoid umask problems.
Matthias Saou 67348d
- Add %%postun condrestart for changes to the init script to be applied if any.
Matthias Saou 67348d
- Update description with the latest "about" from the web page (more current).
Matthias Saou 67348d
- Update URL to qemu.org one like the Source.
Matthias Saou 67348d
- Add which build requirement.
Matthias Saou 67348d
- Don't include texi files in %%doc since we ship them in html.
Matthias Saou 01139d
- Switch to using gcc34 on devel, FC5 still has gcc32.
Matthias Saou 5d0953
- Add kernheaders patch to fix linux/compiler.h inclusion.
Matthias Saou 5c9bd8
- Add target-sparc patch to fix compiling on ppc (some int32 to float).
Matthias Saou 67348d
David Woodhouse 1ca927
* Thu Jun  8 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-3
David Woodhouse 1ca927
- More header abuse in modify_ldt(), change BuildRoot:
David Woodhouse 1ca927
David Woodhouse 1ca927
* Wed Jun  7 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-2
David Woodhouse fb30f3
- Fix up kernel header abuse
David Woodhouse fb30f3
David Woodhouse 7b2bfb
* Tue May 30 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-1
David Woodhouse 7b2bfb
- Update to 0.8.1
David Woodhouse 7b2bfb
David Woodhouse 943292
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-6
David Woodhouse 943292
- Update linker script for PPC
David Woodhouse 943292
David Woodhouse 943292
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-5
David Woodhouse 943292
- Just drop $RPM_OPT_FLAGS. They're too much of a PITA
David Woodhouse 943292
David Woodhouse 943292
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-4
David Woodhouse 943292
- Disable stack-protector options which gcc 3.2 doesn't like
David Woodhouse 943292
David Woodhouse 9f8ef0
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-3
David Woodhouse 9f8ef0
- Use -mcpu= instead of -mtune= on x86_64 too
David Woodhouse 9f8ef0
- Disable SPARC targets on x86_64, because dyngen doesn't like fnegs
David Woodhouse 9f8ef0
David Woodhouse bf4430
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-2
David Woodhouse bf4430
- Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it
David Woodhouse bf4430
David Woodhouse a08e53
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-1
David Woodhouse a08e53
- Update to 0.8.0
David Woodhouse a08e53
- Resort to using compat-gcc-32
David Woodhouse a08e53
- Enable ALSA
David Woodhouse a08e53
David Woodhouse a08e53
* Mon May 16 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-2
David Woodhouse 66db2b
- Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function,
David Woodhouse 66db2b
  for i386, x86_64 and PPC.
David Woodhouse 66db2b
David Woodhouse a08e53
* Sat Apr 30 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-1
David Woodhouse 9b980e
- Update to 0.7.0
David Woodhouse 9b980e
- Fix dyngen for PPC functions which end in unconditional branch
David Woodhouse 9b980e
Michael Schwendt e4c605
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
Michael Schwendt e4c605
- rebuilt
Michael Schwendt e4c605
David Woodhouse c8e4b3
* Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0.6.1-2
David Woodhouse c8e4b3
- Package cleanup
David Woodhouse c8e4b3
David Woodhouse 5c3734
* Sun Nov 21 2004 David Woodhouse <dwmw2@redhat.com> 0.6.1-1
David Woodhouse 5c3734
- Update to 0.6.1
David Woodhouse 5c3734
David Woodhouse 5c3734
* Tue Jul 20 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-2
David Woodhouse 5c3734
- Compile fix from qemu CVS, add x86_64 host support
David Woodhouse 5c3734
David Woodhouse 5c3734
* Mon May 12 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-1
David Woodhouse 5c3734
- Update to 0.6.0.
David Woodhouse 5c3734
David Woodhouse 5c3734
* Sat May 8 2004 David Woodhouse <dwmw2@redhat.com> 0.5.5-1
David Woodhouse 5c3734
- Update to 0.5.5.
David Woodhouse 5c3734
David Woodhouse 5c3734
* Thu May 2 2004 David Woodhouse <dwmw2@redhat.com> 0.5.4-1
David Woodhouse 5c3734
- Update to 0.5.4.
David Woodhouse 5c3734
David Woodhouse 5c3734
* Thu Apr 22 2004 David Woodhouse <dwmw2@redhat.com> 0.5.3-1
David Woodhouse 5c3734
- Update to 0.5.3. Add init script.
David Woodhouse 5c3734
David Woodhouse 5c3734
* Thu Jul 17 2003 Jeff Johnson <jbj@redhat.com> 0.4.3-1
David Woodhouse 5c3734
- Create.