Accepting request 126075 from home:a_faerber:branches:Virtualization
Add qemu-guest-agent package for qemu-ga, and add qemu-img and qemu-nbd to qemu-tools package OBS-URL: https://build.opensuse.org/request/show/126075 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=88
This commit is contained in:
parent
bb43ce9427
commit
fc30d5605c
10
qemu.changes
10
qemu.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 25 19:29:05 UTC 2012 - afaerber@suse.de
|
||||||
|
|
||||||
|
- include qemu-img and qemu-nbd in qemu-tools package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 25 18:30:54 UTC 2012 - afaerber@suse.de
|
||||||
|
|
||||||
|
- add qemu-guest-agent package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 25 17:40:36 UTC 2012 - agraf@suse.com
|
Mon Jun 25 17:40:36 UTC 2012 - agraf@suse.com
|
||||||
|
|
||||||
|
42
qemu.spec
42
qemu.spec
@ -98,9 +98,8 @@ BuildRequires: pwdutils
|
|||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
Requires: /usr/sbin/groupadd
|
Requires: /usr/sbin/groupadd
|
||||||
Requires: pwdutils
|
Requires: pwdutils
|
||||||
Requires: qemu-tools
|
|
||||||
Requires: timezone
|
Requires: timezone
|
||||||
Requires: virt-utils
|
Recommends: qemu-tools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
QEMU is an extremely well-performing CPU emulator that allows you to
|
QEMU is an extremely well-performing CPU emulator that allows you to
|
||||||
@ -124,6 +123,20 @@ as PC and PowerMac systems.
|
|||||||
|
|
||||||
This sub-package contains various tools, including a bridge helper.
|
This sub-package contains various tools, including a bridge helper.
|
||||||
|
|
||||||
|
%package guest-agent
|
||||||
|
Summary: Universal CPU emulator -- Guest agent
|
||||||
|
Group: System/Emulators/PC
|
||||||
|
Provides: qemu:%_bindir/qemu-ga
|
||||||
|
|
||||||
|
%description guest-agent
|
||||||
|
QEMU is an extremely well-performing CPU emulator that allows you to
|
||||||
|
choose between simulating an entire system and running userspace
|
||||||
|
binaries for different architectures under your native operating
|
||||||
|
system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
|
||||||
|
as PC and PowerMac systems.
|
||||||
|
|
||||||
|
This sub-package contains the guest agent.
|
||||||
|
|
||||||
%package linux-user
|
%package linux-user
|
||||||
Summary: Universal CPU emulator -- Linux User binaries
|
Summary: Universal CPU emulator -- Linux User binaries
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -187,7 +200,10 @@ mkdir -p dynamic
|
|||||||
--disable-spice
|
--disable-spice
|
||||||
%endif
|
%endif
|
||||||
make %{?jobs:-j%jobs} V=1
|
make %{?jobs:-j%jobs} V=1
|
||||||
mv *-softmmu/qemu-system-* qemu-io qemu-bridge-helper dynamic || true
|
mv *-softmmu/qemu-system-* dynamic
|
||||||
|
mv qemu-io qemu-img qemu-nbd qemu-bridge-helper dynamic
|
||||||
|
mv qemu-img.1 qemu-nbd.8 dynamic
|
||||||
|
mv qemu-ga dynamic
|
||||||
make clean
|
make clean
|
||||||
# build userland emus
|
# build userland emus
|
||||||
./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \
|
./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \
|
||||||
@ -204,15 +220,20 @@ make %{?jobs:-j%jobs} V=1
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f $RPM_BUILD_ROOT/%_mandir/man1/qemu-img.1
|
|
||||||
rm -f $RPM_BUILD_ROOT/%_mandir/man8/qemu-nbd.8
|
|
||||||
rm -fr $RPM_BUILD_ROOT/%_datadir/doc
|
rm -fr $RPM_BUILD_ROOT/%_datadir/doc
|
||||||
install -m 755 dynamic/qemu-system-* $RPM_BUILD_ROOT/%_bindir
|
install -m 755 dynamic/qemu-system-* $RPM_BUILD_ROOT/%_bindir
|
||||||
install -m 755 dynamic/qemu-io $RPM_BUILD_ROOT/%_bindir
|
install -m 755 dynamic/qemu-io $RPM_BUILD_ROOT/%_bindir
|
||||||
|
install -m 755 dynamic/qemu-img $RPM_BUILD_ROOT/%_bindir
|
||||||
|
install -m 755 dynamic/qemu-nbd $RPM_BUILD_ROOT/%_bindir
|
||||||
|
install -m 755 dynamic/qemu-ga $RPM_BUILD_ROOT/%_bindir
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%_sbindir
|
install -d -m 755 $RPM_BUILD_ROOT/%_sbindir
|
||||||
install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir
|
install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%_libexecdir
|
install -d -m 755 $RPM_BUILD_ROOT/%_libexecdir
|
||||||
install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT/%_libexecdir
|
install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT/%_libexecdir
|
||||||
|
install -d -m 755 $RPM_BUILD_ROOT/%_mandir/man1
|
||||||
|
install -m 644 dynamic/qemu-img.1 $RPM_BUILD_ROOT/%_mandir/man1
|
||||||
|
install -d -m 755 $RPM_BUILD_ROOT/%_mandir/man8
|
||||||
|
install -m 644 dynamic/qemu-nbd.8 $RPM_BUILD_ROOT/%_mandir/man8
|
||||||
install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf
|
install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf
|
||||||
%ifnarch %ix86 x86_64
|
%ifnarch %ix86 x86_64
|
||||||
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
|
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
|
||||||
@ -244,7 +265,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc COPYING COPYING.LIB Changelog README TODO VERSION qemu-doc.html qemu-tech.html
|
%doc COPYING COPYING.LIB Changelog README TODO VERSION qemu-doc.html qemu-tech.html
|
||||||
%_bindir/qemu-system-*
|
%_bindir/qemu-system-*
|
||||||
%doc %_mandir/man[18]/qemu*.[18].gz
|
%doc %_mandir/man1/qemu.1.gz
|
||||||
%_datadir/%name
|
%_datadir/%name
|
||||||
%ifnarch %ix86 x86_64 ia64
|
%ifnarch %ix86 x86_64 ia64
|
||||||
%dir /emul/ia32-linux
|
%dir /emul/ia32-linux
|
||||||
@ -254,10 +275,19 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%doc %_mandir/man1/qemu-img.1.gz
|
||||||
|
%doc %_mandir/man8/qemu-nbd.8.gz
|
||||||
%_bindir/qemu-io
|
%_bindir/qemu-io
|
||||||
|
%_bindir/qemu-img
|
||||||
|
%_bindir/qemu-nbd
|
||||||
%verify(not mode) %_libexecdir/qemu-bridge-helper
|
%verify(not mode) %_libexecdir/qemu-bridge-helper
|
||||||
|
%dir %_sysconfdir/%name
|
||||||
%config %_sysconfdir/%name/bridge.conf
|
%config %_sysconfdir/%name/bridge.conf
|
||||||
|
|
||||||
|
%files guest-agent
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%attr(755,root,kvm) %_bindir/qemu-ga
|
||||||
|
|
||||||
%files linux-user
|
%files linux-user
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_bindir/qemu-alpha
|
%_bindir/qemu-alpha
|
||||||
|
42
qemu.spec.in
42
qemu.spec.in
@ -74,10 +74,9 @@ BuildRequires: libvdeplug3-devel
|
|||||||
BuildRequires: pwdutils
|
BuildRequires: pwdutils
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
Requires: pwdutils
|
Requires: pwdutils
|
||||||
Requires: qemu-tools
|
|
||||||
Requires: timezone
|
Requires: timezone
|
||||||
Requires: virt-utils
|
|
||||||
Requires: /usr/sbin/groupadd
|
Requires: /usr/sbin/groupadd
|
||||||
|
Recommends: qemu-tools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
QEMU is an extremely well-performing CPU emulator that allows you to
|
QEMU is an extremely well-performing CPU emulator that allows you to
|
||||||
@ -101,6 +100,20 @@ as PC and PowerMac systems.
|
|||||||
|
|
||||||
This sub-package contains various tools, including a bridge helper.
|
This sub-package contains various tools, including a bridge helper.
|
||||||
|
|
||||||
|
%package guest-agent
|
||||||
|
Summary: Universal CPU emulator -- Guest agent
|
||||||
|
Group: System/Emulators/PC
|
||||||
|
Provides: qemu:%_bindir/qemu-ga
|
||||||
|
|
||||||
|
%description guest-agent
|
||||||
|
QEMU is an extremely well-performing CPU emulator that allows you to
|
||||||
|
choose between simulating an entire system and running userspace
|
||||||
|
binaries for different architectures under your native operating
|
||||||
|
system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
|
||||||
|
as PC and PowerMac systems.
|
||||||
|
|
||||||
|
This sub-package contains the guest agent.
|
||||||
|
|
||||||
%package linux-user
|
%package linux-user
|
||||||
Summary: Universal CPU emulator -- Linux User binaries
|
Summary: Universal CPU emulator -- Linux User binaries
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -141,7 +154,10 @@ mkdir -p dynamic
|
|||||||
--disable-spice
|
--disable-spice
|
||||||
%endif
|
%endif
|
||||||
make %{?jobs:-j%jobs} V=1
|
make %{?jobs:-j%jobs} V=1
|
||||||
mv *-softmmu/qemu-system-* qemu-io qemu-bridge-helper dynamic || true
|
mv *-softmmu/qemu-system-* dynamic
|
||||||
|
mv qemu-io qemu-img qemu-nbd qemu-bridge-helper dynamic
|
||||||
|
mv qemu-img.1 qemu-nbd.8 dynamic
|
||||||
|
mv qemu-ga dynamic
|
||||||
make clean
|
make clean
|
||||||
# build userland emus
|
# build userland emus
|
||||||
./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \
|
./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \
|
||||||
@ -158,15 +174,20 @@ make %{?jobs:-j%jobs} V=1
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f $RPM_BUILD_ROOT/%_mandir/man1/qemu-img.1
|
|
||||||
rm -f $RPM_BUILD_ROOT/%_mandir/man8/qemu-nbd.8
|
|
||||||
rm -fr $RPM_BUILD_ROOT/%_datadir/doc
|
rm -fr $RPM_BUILD_ROOT/%_datadir/doc
|
||||||
install -m 755 dynamic/qemu-system-* $RPM_BUILD_ROOT/%_bindir
|
install -m 755 dynamic/qemu-system-* $RPM_BUILD_ROOT/%_bindir
|
||||||
install -m 755 dynamic/qemu-io $RPM_BUILD_ROOT/%_bindir
|
install -m 755 dynamic/qemu-io $RPM_BUILD_ROOT/%_bindir
|
||||||
|
install -m 755 dynamic/qemu-img $RPM_BUILD_ROOT/%_bindir
|
||||||
|
install -m 755 dynamic/qemu-nbd $RPM_BUILD_ROOT/%_bindir
|
||||||
|
install -m 755 dynamic/qemu-ga $RPM_BUILD_ROOT/%_bindir
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%_sbindir
|
install -d -m 755 $RPM_BUILD_ROOT/%_sbindir
|
||||||
install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir
|
install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%_libexecdir
|
install -d -m 755 $RPM_BUILD_ROOT/%_libexecdir
|
||||||
install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT/%_libexecdir
|
install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT/%_libexecdir
|
||||||
|
install -d -m 755 $RPM_BUILD_ROOT/%_mandir/man1
|
||||||
|
install -m 644 dynamic/qemu-img.1 $RPM_BUILD_ROOT/%_mandir/man1
|
||||||
|
install -d -m 755 $RPM_BUILD_ROOT/%_mandir/man8
|
||||||
|
install -m 644 dynamic/qemu-nbd.8 $RPM_BUILD_ROOT/%_mandir/man8
|
||||||
install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf
|
install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf
|
||||||
%ifnarch %ix86 x86_64
|
%ifnarch %ix86 x86_64
|
||||||
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
|
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
|
||||||
@ -198,7 +219,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc COPYING COPYING.LIB Changelog README TODO VERSION qemu-doc.html qemu-tech.html
|
%doc COPYING COPYING.LIB Changelog README TODO VERSION qemu-doc.html qemu-tech.html
|
||||||
%_bindir/qemu-system-*
|
%_bindir/qemu-system-*
|
||||||
%doc %_mandir/man[18]/qemu*.[18].gz
|
%doc %_mandir/man1/qemu.1.gz
|
||||||
%_datadir/%name
|
%_datadir/%name
|
||||||
%ifnarch %ix86 x86_64 ia64
|
%ifnarch %ix86 x86_64 ia64
|
||||||
%dir /emul/ia32-linux
|
%dir /emul/ia32-linux
|
||||||
@ -208,10 +229,19 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%doc %_mandir/man1/qemu-img.1.gz
|
||||||
|
%doc %_mandir/man8/qemu-nbd.8.gz
|
||||||
%_bindir/qemu-io
|
%_bindir/qemu-io
|
||||||
|
%_bindir/qemu-img
|
||||||
|
%_bindir/qemu-nbd
|
||||||
%verify(not mode) %_libexecdir/qemu-bridge-helper
|
%verify(not mode) %_libexecdir/qemu-bridge-helper
|
||||||
|
%dir %_sysconfdir/%name
|
||||||
%config %_sysconfdir/%name/bridge.conf
|
%config %_sysconfdir/%name/bridge.conf
|
||||||
|
|
||||||
|
%files guest-agent
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%attr(755,root,kvm) %_bindir/qemu-ga
|
||||||
|
|
||||||
%files linux-user
|
%files linux-user
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_bindir/qemu-alpha
|
%_bindir/qemu-alpha
|
||||||
|
Loading…
Reference in New Issue
Block a user