From 36ffedc74a89dfc38e3923e65831ae2dd01d4ad3 Mon Sep 17 00:00:00 2001 From: Daniel P. Berrange Date: Mar 24 2008 21:23:41 +0000 Subject: Split qemu-img tool into sub-RPM for finer install deps / footprint --- diff --git a/qemu.spec b/qemu.spec index b63ea7f..197a39f 100644 --- a/qemu.spec +++ b/qemu.spec @@ -23,6 +23,7 @@ BuildRequires: SDL-devel compat-gcc-%{gccver} zlib-devel which texi2html gnutls- Requires(post): /sbin/chkconfig Requires(preun): /sbin/service /sbin/chkconfig Requires(postun): /sbin/service +Requires: %{name}-img = %{version}-%{release} ExclusiveArch: %{ix86} x86_64 ppc alpha sparc armv4l %description @@ -38,6 +39,16 @@ emulation speed by using dynamic translation. QEMU has two operating modes: As QEMU requires no host kernel patches to run, it is safe and easy to use. +%package img +Summary: QEMU is a FAST! processor emulator +Group: Development/Tools + +%description img +QEMU is a generic and open source processor emulator which achieves a good +emulation speed by using dynamic translation. + +This package provides the command line tool for manipulating disk images + %prep %setup -q %patch0 -p1 @@ -89,11 +100,34 @@ fi %doc qemu-doc.html qemu-tech.html %doc COPYING COPYING.LIB LICENSE %{_sysconfdir}/rc.d/init.d/qemu +%{_bindir}/qemu +%{_bindir}/qemu-arm +%{_bindir}/qemu-armeb +%{_bindir}/qemu-i386 +%{_bindir}/qemu-m68k +%{_bindir}/qemu-mips +%{_bindir}/qemu-mipsel +%{_bindir}/qemu-ppc +%{_bindir}/qemu-sparc +%{_bindir}/qemu-system-arm +%{_bindir}/qemu-system-mips +%{_bindir}/qemu-system-mipsel +%{_bindir}/qemu-system-ppc +%{_bindir}/qemu-system-sparc +%{_bindir}/qemu-system-x86_64 %{_bindir}/qemu* %{_prefix}/share/qemu/ -%{_mandir}/man1/* +%{_mandir}/man1/qemu.1* + +%files img +%defattr(-,root,root) +%{_bindir}/qemu-img +%{_mandir}/man1/qemu-img.1* %changelog +* Wed Mar 19 2008 Daniel P. Berrange - 0.9.1-5.fc9 +- Split qemu-img tool into sub-package for smaller footprint installs + * Wed Feb 27 2008 Daniel P. Berrange - 0.9.1-4.fc9 - Fix block device checks for extendable disk formats (rhbz #435139)