2007-02-02 15:57:05 +01:00
|
|
|
#
|
2012-01-05 20:39:49 +01:00
|
|
|
# spec file for package virt-manager
|
2007-02-02 15:57:05 +01:00
|
|
|
#
|
2021-01-04 20:50:01 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2007-02-02 15:57:05 +01:00
|
|
|
#
|
2008-09-10 12:17:53 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-09-02 22:52:19 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-02-02 15:57:05 +01:00
|
|
|
#
|
|
|
|
|
2016-03-23 21:49:48 +01:00
|
|
|
|
2018-10-30 23:00:52 +01:00
|
|
|
%global __python %{__python3}
|
|
|
|
%global with_guestfs 0
|
|
|
|
%global default_hvs "qemu,xen,lxc"
|
2010-05-14 01:01:26 +02:00
|
|
|
|
2010-03-19 18:23:36 +01:00
|
|
|
Name: virt-manager
|
2020-11-16 18:09:49 +01:00
|
|
|
Version: 3.2.0
|
2014-08-11 23:36:23 +02:00
|
|
|
Release: 0
|
2007-02-02 15:57:05 +01:00
|
|
|
Summary: Virtual Machine Manager
|
2018-03-05 16:58:47 +01:00
|
|
|
License: GPL-2.0-or-later
|
2012-01-05 20:39:49 +01:00
|
|
|
Group: System/Monitoring
|
2020-09-02 22:52:19 +02:00
|
|
|
URL: http://virt-manager.org/
|
2013-12-04 22:33:56 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2014-01-07 23:00:10 +01:00
|
|
|
Source1: virt-install.rb
|
2013-11-26 22:23:05 +01:00
|
|
|
Source2: virt-install.desktop
|
2017-08-09 21:02:00 +02:00
|
|
|
Source3: virt-manager-supportconfig
|
2015-05-04 22:15:01 +02:00
|
|
|
# Upstream Patches
|
2020-12-09 16:52:45 +01:00
|
|
|
Patch1: e7222b50-addstorage-Dont-pass-None-to-widget.set_active.patch
|
|
|
|
Patch2: 4d0e3232-virtinst-Fix-TOCTOU-in-domain-enumeration.patch
|
2021-06-21 23:15:28 +02:00
|
|
|
Patch3: d3c627f1-volumeupload-Use-1MiB-read-size.patch
|
|
|
|
Patch4: cf93e2db-console-fix-error-with-old-pygobject.patch
|
|
|
|
Patch5: 143c6bef-virtinst-fix-error-message-format-string.patch
|
|
|
|
Patch6: fe8722e7-createnet-Remove-some-unnecessary-max_length-annotations.patch
|
|
|
|
Patch7: d9b5090e-Fix-forgetting-password-from-keyring.patch
|
2021-10-05 00:04:44 +02:00
|
|
|
Patch8: 965480e8-virt-install-add-mediated-device.patch
|
2015-01-05 19:16:33 +01:00
|
|
|
# SUSE Only
|
2014-07-18 01:22:14 +02:00
|
|
|
Patch70: virtman-desktop.patch
|
2015-01-05 19:16:33 +01:00
|
|
|
Patch71: virtman-kvm.patch
|
2020-09-02 22:52:19 +02:00
|
|
|
Patch72: virtman-show-suse-install-repos.patch
|
|
|
|
Patch73: virtman-dont-allow-grub.xen-to-be-deleted.patch
|
|
|
|
Patch74: virtinst-pvgrub2-bootloader.patch
|
|
|
|
Patch75: virtinst-change-location-for-grub_xen.patch
|
2020-09-16 19:23:41 +02:00
|
|
|
Patch76: virtinst-set-qemu-emulator.patch
|
2015-01-05 19:16:33 +01:00
|
|
|
# Features or Enhancements
|
2018-10-30 23:00:52 +01:00
|
|
|
Patch103: virtman-load-stored-uris.patch
|
2020-10-30 21:18:46 +01:00
|
|
|
Patch104: virtman-add-tooltip-to-firmware.patch
|
2021-11-23 23:41:31 +01:00
|
|
|
Patch105: virtman-modify-gui-defaults.patch
|
|
|
|
Patch106: virtman-add-firmware-preferences.patch
|
2018-10-30 23:00:52 +01:00
|
|
|
Patch120: virtinst-default-xen-to-qcow2-format.patch
|
|
|
|
Patch121: virtinst-detect-oes-distros.patch
|
2021-11-23 23:41:31 +01:00
|
|
|
Patch122: virtinst-vol-default-nocow.patch
|
|
|
|
Patch123: virtinst-set-cache-mode-unsafe-for-install.patch
|
|
|
|
Patch124: virtinst-s390x-disable-graphics.patch
|
|
|
|
Patch125: virtinst-add-caasp-support.patch
|
|
|
|
Patch126: virtinst-add-sle15-detection-support.patch
|
|
|
|
Patch127: virtinst-add-pvh-support.patch
|
|
|
|
Patch128: virtinst-media-detection.patch
|
|
|
|
Patch129: virtinst-graphics-add-check-for-qemu-modules-in-spice-graphic.patch
|
2015-01-05 19:16:33 +01:00
|
|
|
# Bug Fixes
|
2015-11-26 00:27:12 +01:00
|
|
|
Patch151: virtman-increase-setKeepAlive-count.patch
|
|
|
|
Patch152: virtman-allow-destroy-from-shutdown-menu-of-crashed-vm.patch
|
|
|
|
Patch153: virtman-check-for-valid-display.patch
|
|
|
|
Patch154: virtman-allow-creating-i686-vm.patch
|
2016-06-22 00:34:03 +02:00
|
|
|
Patch155: virtman-dont-specify-vte-version.patch
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
Patch156: virtman-dont-specify-gtksource-version.patch
|
|
|
|
Patch157: virtman-fix-restore-vm-menu-selection.patch
|
2020-07-30 00:08:26 +02:00
|
|
|
Patch158: virtman-disallow-adding-floppy-disk.patch
|
2020-09-16 19:23:41 +02:00
|
|
|
Patch159: virtman-register-delete-event-for-details-dialog.patch
|
2021-01-05 21:13:38 +01:00
|
|
|
Patch160: virtman-show-no-firmware-for-xenpv.patch
|
2021-02-24 23:18:04 +01:00
|
|
|
Patch161: virtman-legacy-bios-support.patch
|
2021-10-13 21:49:14 +02:00
|
|
|
Patch162: virtman-init-viewer-on-reboot.patch
|
2020-09-16 19:23:41 +02:00
|
|
|
Patch170: virtinst-xen-drive-type.patch
|
|
|
|
Patch171: virtinst-xenbus-disk-index-fix.patch
|
|
|
|
Patch172: virtinst-refresh_before_fetch_pool.patch
|
|
|
|
Patch173: virtinst-use-xenpae-kernel-for-32bit.patch
|
|
|
|
Patch174: virtinst-use-qemu-for-cdrom-device.patch
|
|
|
|
Patch175: virtinst-keep-install-iso-attached.patch
|
|
|
|
Patch176: virtinst-dont-use-special-copy-cpu-features.patch
|
|
|
|
Patch177: virtinst-set-default-nic.patch
|
2020-11-30 23:06:09 +01:00
|
|
|
Patch178: virtinst-sap-detection.patch
|
2021-01-07 20:59:53 +01:00
|
|
|
Patch179: virtinst-smbios-unsupported-for-xenpv.patch
|
2021-01-25 22:42:35 +01:00
|
|
|
Patch180: virtinst-keep-iso-for-xenpv.patch
|
2021-04-12 21:40:57 +02:00
|
|
|
Patch181: virtinst-add-slem-detection-support.patch
|
2021-09-08 22:17:55 +02:00
|
|
|
Patch182: virtinst-add-sle-hpc-support.patch
|
2021-11-23 23:41:31 +01:00
|
|
|
Patch183: virtinst-add-oracle-linux-support.patch
|
2017-12-07 18:12:07 +01:00
|
|
|
|
2013-11-26 22:23:05 +01:00
|
|
|
BuildArch: noarch
|
2010-03-19 18:23:36 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%define verrel %{version}-%{release}
|
2014-04-04 03:55:04 +02:00
|
|
|
Requires: dbus-1-x11
|
|
|
|
Requires: dconf
|
2021-10-07 22:57:07 +02:00
|
|
|
Requires: gtk3
|
|
|
|
Requires: python3-gobject
|
2013-11-26 22:23:05 +01:00
|
|
|
# For console widget
|
2017-12-20 18:15:42 +01:00
|
|
|
Requires: python3-cairo
|
2021-10-22 18:20:46 +02:00
|
|
|
Requires: python3-gobject-Gdk
|
2017-12-04 13:59:19 +01:00
|
|
|
Requires: python3-gobject-cairo
|
|
|
|
Recommends: python3-SpiceClientGtk
|
2014-01-23 00:48:08 +01:00
|
|
|
Requires: virt-install
|
2015-09-08 23:00:39 +02:00
|
|
|
Requires: virt-manager-common = %{verrel}
|
2021-10-07 22:57:07 +02:00
|
|
|
Requires: typelib(GtkSource)
|
2007-04-02 02:05:33 +02:00
|
|
|
|
2013-11-26 22:23:05 +01:00
|
|
|
%if %{with_guestfs}
|
2017-12-04 13:59:19 +01:00
|
|
|
Requires: python3-libguestfs
|
2013-11-26 22:23:05 +01:00
|
|
|
%endif
|
|
|
|
|
2021-10-07 22:57:07 +02:00
|
|
|
BuildRequires: gettext
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
BuildRequires: python3-devel
|
2020-09-16 19:23:41 +02:00
|
|
|
BuildRequires: python3-docutils
|
2013-11-26 22:23:05 +01:00
|
|
|
|
2007-02-02 15:57:05 +01:00
|
|
|
%description
|
2012-02-03 21:08:14 +01:00
|
|
|
Virtual Machine Manager provides a graphical tool for administering virtual
|
|
|
|
machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices,
|
|
|
|
connect to a graphical or serial console, and see resource usage statistics
|
|
|
|
for existing VMs on local or remote machines. Uses libvirt as the backend
|
|
|
|
management API.
|
2007-02-02 15:57:05 +01:00
|
|
|
|
|
|
|
|
2013-11-26 22:23:05 +01:00
|
|
|
%package common
|
|
|
|
Summary: Common files used by the different Virtual Machine Manager interfaces
|
|
|
|
Group: System/Monitoring
|
|
|
|
|
|
|
|
# This version not strictly required: virt-manager should work with older,
|
|
|
|
# however varying amounts of functionality will not be enabled.
|
2015-07-10 16:37:12 +02:00
|
|
|
Requires: libosinfo >= 0.2.10
|
2021-01-04 20:50:01 +01:00
|
|
|
Requires: mkisofs
|
2020-03-20 22:06:56 +01:00
|
|
|
Requires: python3-gobject
|
2017-12-04 13:59:19 +01:00
|
|
|
Requires: python3-ipaddr
|
|
|
|
Requires: python3-libvirt-python >= 0.7.0
|
|
|
|
Requires: python3-libxml2-python
|
|
|
|
Requires: python3-pycurl
|
2020-09-02 22:52:19 +02:00
|
|
|
Requires: typelib(AppIndicator3)
|
2015-09-16 18:04:33 +02:00
|
|
|
Requires: typelib(LibvirtGLib)
|
2018-01-02 10:53:10 +01:00
|
|
|
Suggests: python3-virt-bootstrap
|
2015-09-08 23:00:39 +02:00
|
|
|
BuildRequires: gobject-introspection
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%description common
|
|
|
|
Common files used by the different virt-manager interfaces, as well as
|
|
|
|
virt-install related tools.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n virt-install
|
|
|
|
Summary: Utilities for installing virtual machines
|
|
|
|
Group: System/Monitoring
|
|
|
|
|
|
|
|
Requires: virt-manager-common = %{verrel}
|
|
|
|
|
2017-12-04 13:59:19 +01:00
|
|
|
Requires: python3-requests
|
|
|
|
Provides: python3-virtinst
|
2013-11-26 22:23:05 +01:00
|
|
|
Provides: virt-clone
|
|
|
|
Obsoletes: python-virtinst <= 0.600.4
|
- If connection is Xen, default to PV instead of HVM.
virtman-default-to-xen-pv.patch
- Update to virt-manager 1.0.0
* virt-manager: Snapshot support
* New tool virt-xml: Edit libvirt XML in one shot from the command line. Check out some examples: http://www.redhat.com/archives/libvir-list/2014-January/msg01226.html
* Improved defaults: qcow2, USB2, host CPU model, guest agent channel, …
* Introspect command line options like –disk=? or –network=help
* The virt-image tool will be removed before the next release, speak up if you have a good reason not to remove it.
* virt-manager: Support arm vexpress VM creation
* virt-manager: Add guest memory usage graphs (Thorsten Behrens)
* virt-manager: UI for editing devices (Cédric Bosdonnat)
* Spice USB redirection support (Guannan Ren)
* UI and command line support (Stefan Berger)
* UI and command line support (Giuseppe Scrivano)
* UI and command line support (Chen Hanxiao)
* command line support (Chen Hanxiao)
* virt-manager: support for glusterfs storage pools (Giuseppe Scrivano)
* cli: New options –memory, –features, –clock, –metadata, –pm
* Greatly improve app responsiveness when connecting to remote hosts
* Lots of UI cleanup and improvements
virt-manager-1.0.0.tar.bz2
- Dropped the following patches by taking a newer upstream tarball
virt-manager-0.10.0.tar.bz2
Add-memory-stats-widget-also-to-manager-tree-view.patch
Attempt-empty-path-on-virDomainBlockStats.patch
Base-mem-statistics-on-virDomainMemoryStats-if-avail.patch
virtinst-add-cache-modes.patch
virtinst-allow-ide-hdb.patch
virtinst-clone-disks.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=143
2014-02-15 16:46:55 +01:00
|
|
|
Supplements: virt-manager
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%description -n virt-install
|
|
|
|
Package includes several command line utilities, including virt-install
|
|
|
|
(build and install new VMs) and virt-clone (clone an existing virtual
|
|
|
|
machine).
|
2007-02-02 15:57:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-02-04 01:10:25 +01:00
|
|
|
%setup -q
|
2015-05-04 22:15:01 +02:00
|
|
|
# Upstream Patches
|
2020-12-09 16:52:45 +01:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2021-06-21 23:15:28 +02:00
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
2021-10-05 00:04:44 +02:00
|
|
|
%patch8 -p1
|
2015-01-05 19:16:33 +01:00
|
|
|
# SUSE Only
|
2014-05-16 01:33:17 +02:00
|
|
|
%patch70 -p1
|
2014-05-22 17:22:21 +02:00
|
|
|
%patch71 -p1
|
|
|
|
%patch72 -p1
|
2014-07-01 21:11:34 +02:00
|
|
|
%patch73 -p1
|
|
|
|
%patch74 -p1
|
2014-07-18 01:22:14 +02:00
|
|
|
%patch75 -p1
|
2019-02-01 18:07:42 +01:00
|
|
|
%patch76 -p1
|
2015-01-05 19:16:33 +01:00
|
|
|
# Enhancements
|
|
|
|
%patch103 -p1
|
2020-10-30 21:18:46 +01:00
|
|
|
%patch104 -p1
|
2021-11-23 23:41:31 +01:00
|
|
|
%patch105 -p1
|
|
|
|
%patch106 -p1
|
2015-01-05 19:16:33 +01:00
|
|
|
%patch120 -p1
|
|
|
|
%patch121 -p1
|
2015-09-11 00:13:47 +02:00
|
|
|
%patch122 -p1
|
2015-01-05 19:16:33 +01:00
|
|
|
%patch123 -p1
|
|
|
|
%patch124 -p1
|
|
|
|
%patch125 -p1
|
|
|
|
%patch126 -p1
|
|
|
|
%patch127 -p1
|
2018-12-17 23:20:22 +01:00
|
|
|
%patch128 -p1
|
2019-03-25 17:16:57 +01:00
|
|
|
%patch129 -p1
|
2015-01-05 19:16:33 +01:00
|
|
|
# Bug Fixes
|
2013-11-26 22:23:05 +01:00
|
|
|
%patch151 -p1
|
|
|
|
%patch152 -p1
|
|
|
|
%patch153 -p1
|
|
|
|
%patch154 -p1
|
2016-06-22 00:34:03 +02:00
|
|
|
%patch155 -p1
|
2019-06-13 23:50:05 +02:00
|
|
|
%patch156 -p1
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
%patch157 -p1
|
2020-07-30 00:08:26 +02:00
|
|
|
%patch158 -p1
|
2020-09-16 19:23:41 +02:00
|
|
|
%patch159 -p1
|
2021-01-05 21:13:38 +01:00
|
|
|
%patch160 -p1
|
2021-02-24 23:18:04 +01:00
|
|
|
%patch161 -p1
|
2021-10-13 21:49:14 +02:00
|
|
|
%patch162 -p1
|
2020-09-16 19:23:41 +02:00
|
|
|
%patch170 -p1
|
|
|
|
%patch171 -p1
|
|
|
|
%patch172 -p1
|
|
|
|
%patch173 -p1
|
|
|
|
%patch174 -p1
|
|
|
|
%patch175 -p1
|
|
|
|
%patch176 -p1
|
|
|
|
%patch177 -p1
|
2020-11-30 23:06:09 +01:00
|
|
|
%patch178 -p1
|
2021-01-07 20:59:53 +01:00
|
|
|
%patch179 -p1
|
2021-01-25 22:42:35 +01:00
|
|
|
%patch180 -p1
|
2021-04-12 21:40:57 +02:00
|
|
|
%patch181 -p1
|
2021-09-08 22:17:55 +02:00
|
|
|
%patch182 -p1
|
2021-11-23 23:41:31 +01:00
|
|
|
%patch183 -p1
|
2007-02-02 15:57:05 +01:00
|
|
|
|
|
|
|
%build
|
2018-10-30 23:00:52 +01:00
|
|
|
%if %{default_hvs}
|
|
|
|
%global _default_hvs --default-hvs %{default_hvs}
|
2013-11-26 22:23:05 +01:00
|
|
|
%endif
|
|
|
|
|
2017-12-04 13:59:19 +01:00
|
|
|
python3 setup.py configure \
|
2014-01-07 23:00:10 +01:00
|
|
|
--prefix=%{_prefix} \
|
2013-11-26 22:23:05 +01:00
|
|
|
--default-graphics="spice" \
|
2018-10-30 23:00:52 +01:00
|
|
|
%{?_default_hvs}
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%install
|
2017-12-04 13:59:19 +01:00
|
|
|
python3 setup.py \
|
2016-01-06 18:10:26 +01:00
|
|
|
--no-update-icon-cache \
|
|
|
|
--no-compile-schemas install \
|
2014-01-07 23:00:10 +01:00
|
|
|
--prefix=%{_prefix} \
|
2018-03-05 16:58:47 +01:00
|
|
|
-O1 --root=%{buildroot}
|
|
|
|
mkdir -p %{buildroot}/%{_datadir}/YaST2/clients/
|
|
|
|
install -m644 %SOURCE1 %{buildroot}/%{_datadir}/YaST2/clients/virt-install.rb
|
|
|
|
mkdir -p %{buildroot}/%{_datadir}/applications/YaST2/
|
|
|
|
install -m644 %SOURCE2 %{buildroot}/%{_datadir}/applications/YaST2/virt-install.desktop
|
2017-08-09 21:02:00 +02:00
|
|
|
# Oddly, supportconfig doesn't execute plugins with '-' in the name, so use 'virt_manager'
|
2018-03-05 16:58:47 +01:00
|
|
|
mkdir -p %{buildroot}/usr/lib/supportconfig/plugins
|
|
|
|
install -m 755 %SOURCE3 %{buildroot}/usr/lib/supportconfig/plugins/virt_manager
|
2009-08-01 11:46:10 +02:00
|
|
|
|
2013-11-26 22:23:05 +01:00
|
|
|
%find_lang %{name}
|
2007-04-02 02:05:33 +02:00
|
|
|
|
2013-11-26 22:23:05 +01:00
|
|
|
%post
|
2014-11-10 17:01:19 +01:00
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1 || :
|
|
|
|
/usr/bin/update-desktop-database > /dev/null 2>&1 || :
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ] ; then
|
2014-11-10 17:01:19 +01:00
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1
|
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>&1 || :
|
|
|
|
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1 || :
|
2013-11-26 22:23:05 +01:00
|
|
|
fi
|
2014-11-10 17:01:19 +01:00
|
|
|
/usr/bin/update-desktop-database > /dev/null 2>&1 || :
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%posttrans
|
2014-11-10 17:01:19 +01:00
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>&1 || :
|
|
|
|
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1 || :
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%files
|
2007-02-02 15:57:05 +01:00
|
|
|
%defattr(-,root,root,-)
|
2008-02-04 01:10:25 +01:00
|
|
|
%{_bindir}/%{name}
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
|
2020-09-16 19:23:41 +02:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/ui
|
2013-11-26 22:23:05 +01:00
|
|
|
%{_datadir}/%{name}/ui/*.ui
|
|
|
|
%{_datadir}/%{name}/virtManager
|
|
|
|
|
2018-03-05 16:58:47 +01:00
|
|
|
%dir %{_datadir}/icons/hicolor
|
|
|
|
%dir %{_datadir}/icons/hicolor/*/
|
|
|
|
%dir %{_datadir}/icons/hicolor/*/apps
|
2013-11-26 22:23:05 +01:00
|
|
|
%{_datadir}/%{name}/icons
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
|
2020-09-16 19:23:41 +02:00
|
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
2013-11-26 22:23:05 +01:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2016-03-18 22:27:01 +01:00
|
|
|
%{_datadir}/applications/YaST2/virt-install.desktop
|
2013-11-26 22:23:05 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml
|
2017-08-09 21:02:00 +02:00
|
|
|
%dir /usr/lib/supportconfig
|
|
|
|
%dir /usr/lib/supportconfig/plugins
|
|
|
|
/usr/lib/supportconfig/plugins/virt_manager
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%files common -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
2008-02-04 01:10:25 +01:00
|
|
|
%dir %{_datadir}/%{name}
|
2013-11-26 22:23:05 +01:00
|
|
|
|
|
|
|
%{_datadir}/%{name}/virtinst
|
|
|
|
|
|
|
|
%files -n virt-install
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_mandir}/man1/virt-install.1*
|
|
|
|
%{_mandir}/man1/virt-clone.1*
|
- If connection is Xen, default to PV instead of HVM.
virtman-default-to-xen-pv.patch
- Update to virt-manager 1.0.0
* virt-manager: Snapshot support
* New tool virt-xml: Edit libvirt XML in one shot from the command line. Check out some examples: http://www.redhat.com/archives/libvir-list/2014-January/msg01226.html
* Improved defaults: qcow2, USB2, host CPU model, guest agent channel, …
* Introspect command line options like –disk=? or –network=help
* The virt-image tool will be removed before the next release, speak up if you have a good reason not to remove it.
* virt-manager: Support arm vexpress VM creation
* virt-manager: Add guest memory usage graphs (Thorsten Behrens)
* virt-manager: UI for editing devices (Cédric Bosdonnat)
* Spice USB redirection support (Guannan Ren)
* UI and command line support (Stefan Berger)
* UI and command line support (Giuseppe Scrivano)
* UI and command line support (Chen Hanxiao)
* command line support (Chen Hanxiao)
* virt-manager: support for glusterfs storage pools (Giuseppe Scrivano)
* cli: New options –memory, –features, –clock, –metadata, –pm
* Greatly improve app responsiveness when connecting to remote hosts
* Lots of UI cleanup and improvements
virt-manager-1.0.0.tar.bz2
- Dropped the following patches by taking a newer upstream tarball
virt-manager-0.10.0.tar.bz2
Add-memory-stats-widget-also-to-manager-tree-view.patch
Attempt-empty-path-on-virDomainBlockStats.patch
Base-mem-statistics-on-virDomainMemoryStats-if-avail.patch
virtinst-add-cache-modes.patch
virtinst-allow-ide-hdb.patch
virtinst-clone-disks.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=143
2014-02-15 16:46:55 +01:00
|
|
|
%{_mandir}/man1/virt-xml.1*
|
2013-11-26 22:23:05 +01:00
|
|
|
|
2020-09-16 19:23:41 +02:00
|
|
|
%{_bindir}/virt-install
|
2019-02-04 19:46:20 +01:00
|
|
|
%{_datadir}/bash-completion/completions/virt-install
|
2020-09-16 19:23:41 +02:00
|
|
|
%{_bindir}/virt-clone
|
2019-02-04 19:46:20 +01:00
|
|
|
%{_datadir}/bash-completion/completions/virt-clone
|
2020-09-16 19:23:41 +02:00
|
|
|
%{_bindir}/virt-xml
|
2019-02-04 19:46:20 +01:00
|
|
|
%{_datadir}/bash-completion/completions/virt-xml
|
2020-09-16 19:23:41 +02:00
|
|
|
|
2015-05-04 22:15:01 +02:00
|
|
|
%dir %{_datadir}/YaST2
|
|
|
|
%dir %{_datadir}/YaST2/clients
|
|
|
|
%dir %{_datadir}/applications/YaST2
|
2014-01-07 23:00:10 +01:00
|
|
|
%{_datadir}/YaST2/clients/virt-install.rb
|
2013-11-26 22:23:05 +01:00
|
|
|
|
2007-02-19 23:39:46 +01:00
|
|
|
%changelog
|