2007-02-02 15:57:05 +01:00
|
|
|
#
|
2022-08-04 21:25:38 +02:00
|
|
|
# spec file
|
2007-02-02 15:57:05 +01:00
|
|
|
#
|
2023-01-20 20:48:49 +01:00
|
|
|
# Copyright (c) 2023 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
|
|
|
|
2022-08-04 21:25:38 +02:00
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%{flavor}" == "test"
|
|
|
|
%bcond_without test
|
|
|
|
%define psuffix -%{flavor}
|
|
|
|
%else
|
|
|
|
%bcond_with test
|
|
|
|
%define psuffix %{nil}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Name: virt-manager%{psuffix}
|
2022-08-05 20:49:45 +02:00
|
|
|
Version: 4.1.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/
|
2023-04-25 14:30:14 +02:00
|
|
|
Source0: https://releases.pagure.org/virt-manager/virt-manager-%{version}.tar.gz
|
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
|
2022-06-22 22:43:16 +02:00
|
|
|
Patch1: revert-363fca41-virt-install-Require-osinfo-for-non-x86-HVM-case-too.patch
|
2022-11-04 18:04:31 +01:00
|
|
|
Patch2: 11a887ec-cli-disk-Add-driver.metadata_cache-options.patch
|
|
|
|
Patch3: 7295ebfb-tests-cli-Fix-test-output-after-previous-commit.patch
|
|
|
|
Patch4: 58f5e36d-fsdetails-Fix-an-error-with-source.socket-of-virtiofs.patch
|
2022-11-28 20:35:30 +01:00
|
|
|
Patch5: 1cb0be40-virtinstall-split-no_install-conditional-apart-to-track-code-coverage.patch
|
|
|
|
Patch6: e94786c0-virtinstall-fix-regression-with-boot-and-no-install-method.patch
|
|
|
|
Patch7: c22a876e-tests-Add-a-compat-check-for-linux2020-in-amd-sev-test-case.patch
|
|
|
|
Patch8: fbdf0516-cli-cpu-Add-maxphysaddr.mode-bits-options.patch
|
|
|
|
Patch9: b0d05167-cloner-Sync-uuid-and-sysinfo-system-uuid.patch
|
|
|
|
Patch10: 999ccb85-virt-install-unattended-and-cloud-init-conflict.patch
|
2023-01-20 22:43:34 +01:00
|
|
|
Patch11: 67832d30-addhardware-Fix-backtrace-when-controller-index-is-None.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
|
2022-05-10 17:46:24 +02:00
|
|
|
Patch106: virtman-add-sev-memory-support.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
|
2023-04-25 14:24:36 +02:00
|
|
|
Patch129: virtinst-enable-video-virtio-for-arm.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
|
2023-04-25 14:24:36 +02:00
|
|
|
Patch153: virtman-allow-creating-i686-vm.patch
|
|
|
|
Patch154: virtman-dont-specify-vte-version.patch
|
|
|
|
Patch155: virtman-dont-specify-gtksource-version.patch
|
|
|
|
Patch156: virtman-fix-restore-vm-menu-selection.patch
|
|
|
|
Patch157: virtman-disallow-adding-floppy-disk.patch
|
|
|
|
Patch158: virtman-register-delete-event-for-details-dialog.patch
|
|
|
|
Patch159: virtman-revert-use-of-AyatanaAppIndicator3.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
|
2022-01-20 23:48:07 +01:00
|
|
|
Patch184: virtinst-windows-server-detection.patch
|
2023-01-20 20:48:49 +01:00
|
|
|
Patch185: virtman-fix-shared-disk-request-alignment-error.patch
|
2023-04-06 23:34:31 +02:00
|
|
|
Patch186: virtman-language-fixes.patch
|
2023-06-14 17:03:07 +02:00
|
|
|
Patch187: virtman-check-for-libvirt-modular-daemons.patch
|
2023-06-14 18:46:55 +02:00
|
|
|
Patch188: virtman-fix-osinfo-tests.patch
|
2017-12-07 18:12:07 +01:00
|
|
|
|
2013-11-26 22:23:05 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%define verrel %{version}-%{release}
|
2014-04-04 03:55:04 +02:00
|
|
|
Requires: dbus-1-x11
|
|
|
|
Requires: dconf
|
2022-05-10 17:46:24 +02:00
|
|
|
Requires: gstreamer-plugins-good
|
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
|
2022-03-03 05:17:21 +01:00
|
|
|
BuildRequires: python3-setuptools
|
2022-08-04 21:25:38 +02:00
|
|
|
%if %{with test}
|
|
|
|
BuildRequires: python3-argcomplete
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: virt-install = %{version}
|
|
|
|
BuildRequires: virt-manager = %{version}
|
|
|
|
%endif
|
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
|
2022-05-23 16:10:38 +02:00
|
|
|
Requires: xorriso
|
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
|
- 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
|
2022-08-04 21:25:38 +02:00
|
|
|
%autosetup -p1 -n virt-manager-%{version}
|
2007-02-02 15:57:05 +01:00
|
|
|
|
2022-08-04 21:25:38 +02:00
|
|
|
%if !%{with test}
|
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
|
2022-08-04 21:25:38 +02:00
|
|
|
chmod -x %{buildroot}%{_datadir}/virt-manager/virtManager/virtmanager.py
|
2009-08-01 11:46:10 +02:00
|
|
|
|
2013-11-26 22:23:05 +01:00
|
|
|
%find_lang %{name}
|
2022-08-04 21:25:38 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with test}
|
|
|
|
%check
|
2022-08-05 20:49:45 +02:00
|
|
|
# TODO: check if these are genuine failures or due to the non-upstream patches
|
|
|
|
# different device names
|
2022-08-04 21:25:38 +02:00
|
|
|
donttest="test_disk_numtotarget"
|
2022-08-05 20:49:45 +02:00
|
|
|
donttest="$donttest or testCLI0001virt_install_many_devices"
|
2022-11-28 21:07:05 +01:00
|
|
|
donttest="$donttest or testCLI0113virt_install_reinstall_cdrom"
|
|
|
|
donttest="$donttest or testCLI0165virt_install"
|
|
|
|
donttest="$donttest or testCLI0172virt_install_s390x_cdrom"
|
|
|
|
donttest="$donttest or testCLI0193virt_install_xen_default"
|
|
|
|
donttest="$donttest or testCLI0194virt_install_xen_pv"
|
|
|
|
donttest="$donttest or testCLI0195virt_install_xen_hvm"
|
|
|
|
donttest="$donttest or testCLI0196virt_install_xen_hvm"
|
|
|
|
donttest="$donttest or testCLI0203virt_install_bhyve_default_f27"
|
2022-08-05 20:49:45 +02:00
|
|
|
donttest="$donttest or testCLI0276virt_xml_build_disk_domain"
|
2022-11-07 13:30:20 +01:00
|
|
|
donttest="$donttest or testCLI0277virt_xml_build_disk_domain"
|
2022-11-28 21:07:05 +01:00
|
|
|
donttest="$donttest or testCLI0280virt_xml_build_disk_domain"
|
|
|
|
donttest="$donttest or testCLI0284virt_xml_build_pool_logical_disk"
|
|
|
|
donttest="$donttest or testCLI0285virt_xml_build_pool_logical_disk"
|
|
|
|
donttest="$donttest or testCLI0287virt_xml_edit_cpu_host_copy"
|
|
|
|
donttest="$donttest or testCLI0288virt_xml_build_pool_logical_disk"
|
2022-08-05 20:49:45 +02:00
|
|
|
donttest="$donttest or testCLI0371virt_xml_add_disk_create_storage_start"
|
2022-11-07 13:30:20 +01:00
|
|
|
donttest="$donttest or testCLI0372virt_xml_add_disk_create_storage_start"
|
2022-11-28 21:24:34 +01:00
|
|
|
donttest="$donttest or testCLI0375virt_xml_add_disk_create_storage_start"
|
2022-08-05 20:49:45 +02:00
|
|
|
# depends on osc/obs host cpu?
|
|
|
|
donttest="$donttest or testCLI0003virt_install_singleton_config_2"
|
|
|
|
donttest="$donttest or testCLI0283virt_xml_edit_cpu_host_copy"
|
2022-11-07 13:30:20 +01:00
|
|
|
donttest="$donttest or testCLI0284virt_xml_edit_cpu_host_copy"
|
2022-08-05 20:49:45 +02:00
|
|
|
# RuntimeError: SEV launch security requires a Q35 machine -- due to patch for bsc#1196806, jsc#SLE-18834 ?
|
|
|
|
donttest="$donttest or testCLI0162virt_install"
|
|
|
|
# Expectsion <video> element
|
|
|
|
donttest="$donttest or testCLI0168virt_install_s390x_cdrom"
|
2022-11-07 13:30:20 +01:00
|
|
|
donttest="$donttest or testCLI0169virt_install_s390x_cdrom"
|
2023-04-25 19:45:05 +02:00
|
|
|
# Fedora specific
|
|
|
|
donttest="$donttest or testCLI0178virt_install_arm_defaultmach_f20"
|
|
|
|
donttest="$donttest or testCLI0179virt_install_arm_kvm_import"
|
2022-08-05 20:49:45 +02:00
|
|
|
# missing <boot> element, extra <kernel> element
|
|
|
|
donttest="$donttest or testCLI0189virt_install_xen_default"
|
2022-11-07 13:30:20 +01:00
|
|
|
donttest="$donttest or testCLI0190virt_install_xen_default"
|
2022-08-05 20:49:45 +02:00
|
|
|
donttest="$donttest or testCLI0190virt_install_xen_pv"
|
2022-11-07 13:30:20 +01:00
|
|
|
donttest="$donttest or testCLI0191virt_install_xen_pv"
|
2022-08-05 20:49:45 +02:00
|
|
|
# different <emulator> additional <model> in <interface>
|
|
|
|
donttest="$donttest or testCLI0191virt_install_xen_hvm"
|
|
|
|
donttest="$donttest or testCLI0192virt_install_xen_hvm"
|
2022-11-07 13:30:20 +01:00
|
|
|
donttest="$donttest or testCLI0193virt_install_xen_hvm"
|
2022-08-05 20:49:45 +02:00
|
|
|
# different source image format
|
|
|
|
donttest="$donttest or testCLI0199virt_install_bhyve_default_f27"
|
2022-11-07 13:30:20 +01:00
|
|
|
donttest="$donttest or testCLI0200virt_install_bhyve_default_f27"
|
2022-08-05 20:49:45 +02:00
|
|
|
# Due to the above skips:
|
|
|
|
# "there are XML properties that are untested in the test suite"
|
|
|
|
donttest="$donttest or testCheckXMLBuilderProps"
|
|
|
|
# "These command line arguments or aliases are not checked in the test suite"
|
|
|
|
donttest="$donttest or testCheckCLISuboptions"
|
|
|
|
#
|
2022-08-04 21:25:38 +02:00
|
|
|
pytest -v -rfEs -k "not ($donttest)"
|
|
|
|
%endif
|
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
|
|
|
|
2022-08-04 21:25:38 +02:00
|
|
|
%if !%{with test}
|
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
|
2022-08-04 21:25:38 +02:00
|
|
|
%endif
|
2013-11-26 22:23:05 +01:00
|
|
|
|
2007-02-19 23:39:46 +01:00
|
|
|
%changelog
|