1
0
mirror of https://src.fedoraproject.org/rpms/virt-manager.git synced 2025-07-17 01:24:54 +00:00

Merge branch 'master' into f17

Conflicts:
	virt-manager.spec
This commit is contained in:
Cole Robinson
2012-07-09 17:36:31 -04:00
3 changed files with 32 additions and 37 deletions

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@ virt-manager-0.8.4.tar.gz
/virt-manager-0.8.7.tar.gz /virt-manager-0.8.7.tar.gz
/virt-manager-0.9.0.tar.gz /virt-manager-0.9.0.tar.gz
/virt-manager-0.9.1.tar.gz /virt-manager-0.9.1.tar.gz
/virt-manager-0.9.3.tar.gz

View File

@@ -1 +1 @@
cfee07b277e315b16d5180cfab5f8307 virt-manager-0.9.1.tar.gz 4c03f1628c76a891f45c0375bf5590da virt-manager-0.9.3.tar.gz

View File

@@ -1,33 +1,35 @@
# -*- rpm-spec -*- # -*- rpm-spec -*-
%define _package virt-manager %define _package virt-manager
%define _version 0.9.1 %define _version 0.9.3
%define _release 4 %define _release 1
%define virtinst_version 0.600.1 %define virtinst_version 0.600.2
%define qemu_user "qemu" %define qemu_user "qemu"
%define preferred_distros "fedora,rhel" %define preferred_distros "fedora,rhel"
%define kvm_packages "qemu-system-x86" %define kvm_packages "qemu-system-x86"
%define libvirt_packages "libvirt" %define libvirt_packages "libvirt"
%define askpass_package "openssh-askpass"
%define disable_unsupported_rhel 0 %define disable_unsupported_rhel 0
%define with_guestfs 0 %define with_guestfs 0
%define with_tui 1 %define with_tui 1
%define with_spice 1 %define with_spice 1
%define default_graphics ""
%if %{with_spice} && %{default_graphics} == "" # End local config
# Default option handling
%if %{with_spice}
%define default_graphics "spice" %define default_graphics "spice"
%endif %endif
# End local config
# This macro is used for the continuous automated builds. It just # This macro is used for the continuous automated builds. It just
# allows an extra fragment based on the timestamp to be appended # allows an extra fragment based on the timestamp to be appended
# to the release. This distinguishes automated builds, from formal # to the release. This distinguishes automated builds, from formal
# Fedora RPM builds # Fedora RPM builds
%define _extra_release %{?dist:%{dist}}%{!?dist:%{?extra_release:%{extra_release}}} %define _extra_release %{?dist:%{dist}}%{?extra_release:%{extra_release}}
Name: %{_package} Name: %{_package}
Version: %{_version} Version: %{_version}
@@ -39,22 +41,6 @@ Group: Applications/Emulators
License: GPLv2+ License: GPLv2+
URL: http://virt-manager.org/ URL: http://virt-manager.org/
Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz
# Fix error reporting for failed remote connections (bz 787011)
Patch1: %{name}-remote-error-reporting.patch
# Fix setting window title when VNC mouse is grabbed (bz 788443)
Patch2: %{name}-vnc-grab-recursion.patch
# Advertise VDI format in disk details (bz 761300)
Patch3: %{name}-vdi-format.patch
# Don't let an unavailable host hang the app (bz 766769)
Patch4: %{name}-conn-hang-app.patch
# Don't overwrite existing create dialog when reshowing (bz 754152)
Patch5: %{name}-create-reshow.patch
# Improve tooltip for 'force console shortcuts' (bz 788448)
Patch6: %{name}-console-shortcut-explanation.patch
# Actually make spice the default (bz 757874)
Patch7: %{name}-fix-spice-default.patch
# Fix connecting to console with specific listen address
Patch8: %{name}-fix-listen-address.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
@@ -82,8 +68,6 @@ Requires: gnome-python2-gnomekeyring >= 2.15.4
Requires: libxml2-python >= 2.6.23 Requires: libxml2-python >= 2.6.23
# Absolutely require this version or later # Absolutely require this version or later
Requires: python-virtinst >= %{virtinst_version} Requires: python-virtinst >= %{virtinst_version}
# Required for loading the glade UI
Requires: pygtk2-libglade
# Earlier vte had broken python binding module # Earlier vte had broken python binding module
Requires: vte >= 0.12.2 Requires: vte >= 0.12.2
# For online help # For online help
@@ -115,7 +99,6 @@ Requires(preun): GConf2
Requires(post): desktop-file-utils Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils Requires(postun): desktop-file-utils
%description %description
Virtual Machine Manager provides a graphical tool for administering virtual Virtual Machine Manager provides a graphical tool for administering virtual
machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices, machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices,
@@ -156,14 +139,6 @@ Common files used by the different Virtual Machine Manager interfaces.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%build %build
%if %{qemu_user} %if %{qemu_user}
@@ -182,11 +157,15 @@ Common files used by the different Virtual Machine Manager interfaces.
%define _libvirt_packages --with-libvirt-package-names=%{libvirt_packages} %define _libvirt_packages --with-libvirt-package-names=%{libvirt_packages}
%endif %endif
%if %{askpass_package}
%define _askpass_package --with-askpass-package=%{askpass_package}
%endif
%if %{disable_unsupported_rhel} %if %{disable_unsupported_rhel}
%define _disable_unsupported_rhel --disable-unsupported-rhel-options %define _disable_unsupported_rhel --disable-unsupported-rhel-options
%endif %endif
%if %{default_graphics} %if 0%{?default_graphics:1}
%define _default_graphics --with-default-graphics=%{default_graphics} %define _default_graphics --with-default-graphics=%{default_graphics}
%endif %endif
@@ -200,6 +179,7 @@ Common files used by the different Virtual Machine Manager interfaces.
%{?_qemu_user} \ %{?_qemu_user} \
%{?_kvm_packages} \ %{?_kvm_packages} \
%{?_libvirt_packages} \ %{?_libvirt_packages} \
%{?_askpass_package} \
%{?_preferred_distros} \ %{?_preferred_distros} \
%{?_disable_unsupported_rhel} \ %{?_disable_unsupported_rhel} \
%{?_default_graphics} %{?_default_graphics}
@@ -254,7 +234,7 @@ update-desktop-database -q %{_datadir}/applications
%{_datadir}/%{name}/virtManager/*.py* %{_datadir}/%{name}/virtManager/*.py*
%endif %endif
%{_datadir}/%{name}/*.glade %{_datadir}/%{name}/*.ui
%{_datadir}/%{name}/%{name}.py* %{_datadir}/%{name}/%{name}.py*
%{_datadir}/%{name}/icons %{_datadir}/%{name}/icons
@@ -281,6 +261,20 @@ update-desktop-database -q %{_datadir}/applications
%endif %endif
%changelog %changelog
* Mon Jul 09 2012 Cole Robinson <crobinso@redhat.com> - 0.9.3-1
- Rebased to version 0.9.3
- Convert to gtkbuilder: UI can now be editted with modern glade tool
- virt-manager no longer runs on RHEL5, but can manage a remote RHEL5
host
- Option to configure spapr net and disk devices for pseries (Li Zhang)
- Offer to install openssh-askpass if we need it (bz 754484)
- Don't leave defunct SSH processes around (bz 757892)
- Offer to start libvirtd after install (bz 791152)
- Fix crash when deleting storage volumes (bz 805950)
- Show serial device PTY path again (bz 811760)
- Fix possible crash when rebooting fails (bz 813119)
- Offer to discard state if restore fails (bz 837236)
* Wed Jun 06 2012 Cole Robinson <crobinso@redhat.com> - 0.9.1-4 * Wed Jun 06 2012 Cole Robinson <crobinso@redhat.com> - 0.9.1-4
- Fix connecting to console with specific listen address - Fix connecting to console with specific listen address
- Fix regression that dropped spice dependency (bz 819270) - Fix regression that dropped spice dependency (bz 819270)