render / rpms / libvirt

Forked from rpms/libvirt 4 months ago
Clone
Daniel Veillard 5c1d88
# -*- rpm-spec -*-
Daniel Veillard 5c1d88
Daniel P. Berrange a97245
# This spec file assumes you are building on a Fedora or RHEL version
Daniel P. Berrange 0ca715
# that's still supported by the vendor. It may work on other distros
Daniel P. Berrange 0ca715
# or versions, but no effort will be made to ensure that going forward.
65a0e2
%define min_rhel 8
adaeee
%define min_fedora 37
a761ea
a11202
%define arches_qemu_kvm         %{ix86} x86_64 %{power64} %{arm} aarch64 s390x
a761ea
%if 0%{?rhel}
65a0e2
    %if 0%{?rhel} > 8
Daniel P. Berrangé 497e09
        %define arches_qemu_kvm     x86_64 aarch64 s390x
65a0e2
    %else
65a0e2
        %define arches_qemu_kvm     x86_64 %{power64} aarch64 s390x
Daniel P. Berrangé 497e09
    %endif
a761ea
%endif
a761ea
a761ea
%define arches_64bit            x86_64 %{power64} aarch64 s390x riscv64
a761ea
%define arches_x86              %{ix86} x86_64
a761ea
a761ea
%define arches_systemtap_64bit  %{arches_64bit}
a761ea
%define arches_dmidecode        %{arches_x86}
a761ea
%define arches_xen              %{arches_x86} aarch64
adaeee
%if 0%{?fedora}
adaeee
    %define arches_xen          x86_64 aarch64
7285a5
%endif
a761ea
%define arches_vbox             %{arches_x86}
a761ea
%define arches_ceph             %{arches_64bit}
a761ea
%define arches_zfs              %{arches_x86} %{power64} %{arm}
Daniel P. Berrangé 437df8
%define arches_numactl          %{arches_x86} %{power64} aarch64 s390x
a761ea
%define arches_numad            %{arches_x86} %{power64} aarch64
a761ea
Daniel P. Berrange 47ca46
# The hypervisor drivers that run in libvirtd
Daniel P. Berrange 47ca46
%define with_qemu          0%{!?_without_qemu:1}
Daniel P. Berrange 47ca46
%define with_lxc           0%{!?_without_lxc:1}
Daniel P. Berrange 47ca46
%define with_libxl         0%{!?_without_libxl:1}
Daniel P. Berrange 47ca46
%define with_vbox          0%{!?_without_vbox:1}
Mark McLoughlin 86abd5
a761ea
%ifarch %{arches_qemu_kvm}
a761ea
    %define with_qemu_kvm      %{with_qemu}
a761ea
%else
a761ea
    %define with_qemu_kvm      0
9f9eae
%endif
9f9eae
a761ea
%define with_qemu_tcg      %{with_qemu}
a761ea
a761ea
# RHEL disables TCG on all architectures
9f9eae
%if 0%{?rhel}
9f9eae
    %define with_qemu_tcg 0
Daniel P. Berrange e6d978
%endif
Daniel P. Berrange e6d978
9f9eae
%if ! %{with_qemu_tcg} && ! %{with_qemu_kvm}
9f9eae
    %define with_qemu 0
9f9eae
%endif
9f9eae
Daniel P. Berrange afe729
# Then the hypervisor drivers that run outside libvirtd, in libvirt.so
Daniel P. Berrange afe729
%define with_openvz        0%{!?_without_openvz:1}
Daniel P. Berrange afe729
%define with_vmware        0%{!?_without_vmware:1}
Mark McLoughlin 86abd5
%define with_esx           0%{!?_without_esx:1}
Daniel Veillard a6831c
%define with_hyperv        0%{!?_without_hyperv:1}
Daniel Veillard 3cf75c
Daniel P. Berrange afe729
# Then the secondary host drivers, which run inside libvirtd
Daniel P. Berrangé 782468
%define with_storage_rbd      0%{!?_without_storage_rbd:1}
4d15e5
Daniel P. Berrange 47ca46
%define with_storage_gluster 0%{!?_without_storage_gluster:1}
65a0e2
%if 0%{?rhel}
65a0e2
    # Glusterfs has been dropped in RHEL-9, and before that
65a0e2
    # was only enabled on arches where KVM exists
65a0e2
    %if 0%{?rhel} > 8
4d15e5
        %define with_storage_gluster 0
65a0e2
    %else
65a0e2
        %ifnarch %{arches_qemu_kvm}
65a0e2
            %define with_storage_gluster 0
65a0e2
        %endif
4d15e5
    %endif
4d15e5
%endif
4d15e5
65a0e2
# Fedora has zfs-fuse
Daniel P. Berrangé 48941c
%if 0%{?fedora}
Daniel P. Berrange 7335ed
    %define with_storage_zfs      0%{!?_without_storage_zfs:1}
Daniel P. Berrange 7335ed
%else
Daniel P. Berrange 7335ed
    %define with_storage_zfs      0
Daniel P. Berrange 7335ed
%endif
Daniel P. Berrange 7335ed
65a0e2
%define with_storage_iscsi_direct 0%{!?_without_storage_iscsi_direct:1}
6752fe
# libiscsi has been dropped in RHEL-9
6752fe
%if 0%{?rhel} > 8
6752fe
    %define with_storage_iscsi_direct 0
6752fe
%endif
Daniel P. Berrangé e5fa1c
a761ea
# Other optional features
a761ea
%define with_numactl          0%{!?_without_numactl:1}
b0d2e0
%define with_userfaultfd_sysctl 0%{!?_without_userfaultfd_sysctl:1}
a761ea
Daniel Veillard 3cf75c
# A few optional bits off by default, we enable later
8bf91f
%define with_fuse             0
8bf91f
%define with_sanlock          0
8bf91f
%define with_numad            0
edf6aa
%define with_nbdkit           0
f3cac3
%define with_nbdkit_config_default 0
8bf91f
%define with_firewalld_zone   0
Laine Stump b97ad8
%define with_netcf            0
8bf91f
%define with_libssh2          0
8bf91f
%define with_wireshark        0
8bf91f
%define with_libssh           0
8bf91f
%define with_dmidecode        0
Mark McLoughlin 2e7812
Daniel Veillard 3cf75c
# Finally set the OS / architecture specific special cases
Daniel Veillard 3cf75c
a761ea
# Architecture-dependent features
a761ea
%ifnarch %{arches_xen}
Daniel P. Berrange 350081
    %define with_libxl 0
Mark McLoughlin 67a2f2
%endif
a761ea
%ifnarch %{arches_vbox}
Daniel P. Berrange e80c83
    %define with_vbox 0
Daniel P. Berrange e80c83
%endif
a761ea
%ifnarch %{arches_numactl}
Daniel P. Berrange 350081
    %define with_numactl 0
Daniel P. Berrange e29f71
%endif
a761ea
%ifnarch %{arches_zfs}
Daniel P. Berrange 7335ed
    %define with_storage_zfs 0
Daniel P. Berrange 7335ed
%endif
a761ea
%ifnarch %{arches_ceph}
15c305
    %define with_storage_rbd 0
Daniel P. Berrangé 579afc
%endif
Daniel P. Berrange 7335ed
65a0e2
# RHEL doesn't ship many hypervisor drivers
Daniel Veillard 3cf75c
%if 0%{?rhel}
Daniel P. Berrange 350081
    %define with_openvz 0
Daniel P. Berrange 350081
    %define with_vbox 0
Daniel P. Berrange 350081
    %define with_vmware 0
Daniel P. Berrange 350081
    %define with_libxl 0
Daniel P. Berrange 350081
    %define with_hyperv 0
65a0e2
    %define with_lxc 0
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
65a0e2
%define with_firewalld_zone 0%{!?_without_firewalld_zone:1}
Daniel P. Berrangé 5cbc04
adaeee
%if 0%{?rhel} && 0%{?rhel} < 9
Laine Stump b97ad8
    %define with_netcf 0%{!?_without_netcf:1}
Laine Stump b97ad8
%endif
Laine Stump b97ad8
Daniel Veillard f5ff4a
# fuse is used to provide virtualized /proc for LXC
Daniel P. Berrangé 782468
%if %{with_lxc}
Daniel P. Berrange 350081
    %define with_fuse      0%{!?_without_fuse:1}
Daniel Veillard f5ff4a
%endif
Daniel Veillard f5ff4a
Daniel Veillard e79d30
# Enable sanlock library for lock management with QEMU
9f9eae
# Sanlock is available only on arches where kvm is available for RHEL
Daniel P. Berrange 47ca46
%if 0%{?fedora}
Daniel P. Berrange 47ca46
    %define with_sanlock 0%{!?_without_sanlock:1}
Daniel Veillard 7069f7
%endif
Daniel P. Berrange 47ca46
%if 0%{?rhel}
a761ea
    %ifarch %{arches_qemu_kvm}
Daniel P. Berrange 47ca46
        %define with_sanlock 0%{!?_without_sanlock:1}
Daniel P. Berrange 11755d
    %endif
Daniel P. Berrange 11755d
%endif
Daniel Veillard e79d30
Daniel P. Berrange 8cc508
# Enable libssh2 transport for new enough distros
Daniel P. Berrange 47ca46
%if 0%{?fedora}
Daniel P. Berrange 350081
    %define with_libssh2 0%{!?_without_libssh2:1}
Daniel P. Berrange 8cc508
%endif
Daniel P. Berrange 8cc508
65a0e2
# Enable wireshark plugins for all distros
65a0e2
%define with_wireshark 0%{!?_without_wireshark:1}
65a0e2
%define wireshark_plugindir %(pkg-config --variable plugindir wireshark)/epan
Daniel P. Berrange 1b8b75
65a0e2
# Enable libssh transport for all distros
65a0e2
%define with_libssh 0%{!?_without_libssh:1}
Daniel P. Berrange 0b1a01
Daniel P. Berrangé 88887c
%if %{with_qemu} || %{with_lxc}
Daniel Veillard 8f1637
# numad is used to manage the CPU and memory placement dynamically,
Daniel P. Berrangé 4df5f7
# it's not available on many non-x86 architectures.
a761ea
    %ifarch %{arches_numad}
Daniel P. Berrange 47ca46
        %define with_numad    0%{!?_without_numad:1}
Daniel P. Berrange 350081
    %endif
Daniel Veillard 7e9981
%endif
Daniel Veillard 7e9981
f3cac3
# We want to build with nbdkit support, but should only enable nbdkit by
f3cac3
# default if the OS ships a SELinux policy that allows libvirt to launch it.
f3cac3
# Right now that's not the case anywhere, but things should be fine by the time
f3cac3
# Fedora 40 is released.
edf6aa
%if %{with_qemu}
f3cac3
    # rhel-8 lacks pidfd_open
f3cac3
    %if 0%{?fedora} || 0%{?rhel} >= 9
edf6aa
        %define with_nbdkit 0%{!?_without_nbdkit:1}
f3cac3
f3cac3
        # setting 'with_nbdkit_config_default' must be done only when compiling
f3cac3
        # in nbdkit support
f3cac3
        #
f3cac3
        # TODO: add RHEL 9 once a minor release that contains the necessary SELinux
f3cac3
        #       bits exists (we only support the most recent minor release)
f3cac3
        %if 0%{?fedora} >= 40
f3cac3
            %define with_nbdkit_config_default 0%{!?_without_nbdkit_config_default:1}
f3cac3
        %endif
edf6aa
    %endif
edf6aa
%endif
edf6aa
a761ea
%ifarch %{arches_dmidecode}
a761ea
    %define with_dmidecode 0%{!?_without_dmidecode:1}
a761ea
%endif
a761ea
Daniel P. Berrangé dc6b51
%define with_modular_daemons 0
adaeee
%if 0%{?fedora} || 0%{?rhel} >= 9
Daniel P. Berrangé dc6b51
    %define with_modular_daemons 1
Daniel P. Berrangé dc6b51
%endif
Daniel P. Berrangé dc6b51
Daniel Veillard 3cf75c
# Force QEMU to run as non-root
Daniel P. Berrange 47ca46
%define qemu_user  qemu
Daniel P. Berrange 47ca46
%define qemu_group  qemu
Daniel Veillard a3e1cc
Daniel P. Berrangé a552a1
# Locations for QEMU data
Daniel P. Berrangé a552a1
%define qemu_moddir %{_libdir}/qemu
Daniel P. Berrangé a552a1
%define qemu_datadir %{_datadir}/qemu
Daniel P. Berrangé a552a1
8556d4
# Native / MinGW builds
8556d4
%define with_native 0%{!?_without_native:1}
8556d4
8556d4
%define with_mingw32 0
8556d4
%define with_mingw64 0
8556d4
Daniel P. Berrangé 83def0
%if 0%{?fedora}
8556d4
    %if 0%{!?_without_mingw:1}
8556d4
        %define with_mingw32 0%{!?_without_mingw32:1}
8556d4
        %define with_mingw64 0%{!?_without_mingw64:1}
8556d4
    %endif
8556d4
8556d4
    # These tell the other mingw macros whether to perform or
8556d4
    # skip the 32-bit and 64-bit specific steps respectively
8556d4
    %define mingw_build_win32 %{with_mingw32}
8556d4
    %define mingw_build_win64 %{with_mingw64}
8556d4
%endif
8556d4
8556d4
%if !%{with_native}
8556d4
    # Building the debugsource package apparently only works if the
8556d4
    # native build is enabled. debuginfo packages don't have this
8556d4
    # problem and setting this doesn't disable them
8556d4
    %global debug_package %{nil}
Daniel P. Berrangé 83def0
%endif
Daniel Veillard 3cf75c
Daniel P. Berrange 11755d
# RHEL releases provide stable tool chains and so it is safe to turn
Daniel P. Berrange 11755d
# compiler warning into errors without being worried about frequent
Daniel P. Berrange 11755d
# changes in reported warnings
Daniel P. Berrange 11755d
%if 0%{?rhel}
b0c05a
    %define enable_werror -Dwerror=true
Daniel P. Berrange 9e1193
%else
7744ac
    %define enable_werror -Dwerror=false -Dgit_werror=disabled
Daniel P. Berrange 11755d
%endif
Daniel P. Berrange 11755d
b0d2e0
# Fedora and RHEL-9 are new enough to support /dev/userfaultfd, which
b0d2e0
# does not require enabling vm.unprivileged_userfaultfd sysctl.
b0d2e0
%if 0%{?fedora} || 0%{?rhel} >= 9
b0d2e0
    %define with_userfaultfd_sysctl 0
b0d2e0
%endif
b0d2e0
65a0e2
%define tls_priority "@LIBVIRT,SYSTEM"
Daniel P. Berrange a4bf27
da34e5
# libvirt 8.1.0 stops distributing any sysconfig files.
da34e5
# If the user has customized their sysconfig file,
da34e5
# the RPM upgrade path will rename it to .rpmsave
da34e5
# because the file is no longer managed by RPM.
da34e5
# To prevent a regression we rename it back after the
da34e5
# transaction to preserve the user's modifications
da34e5
%define libvirt_sysconfig_pre() \
da34e5
    for sc in %{?*} ; do \
da34e5
        test -f "%{_sysconfdir}/sysconfig/${sc}.rpmsave" || continue ; \
da34e5
        mv -v "%{_sysconfdir}/sysconfig/${sc}.rpmsave" "%{_sysconfdir}/sysconfig/${sc}.rpmsave.old" ; \
da34e5
    done \
da34e5
    %{nil}
da34e5
%define libvirt_sysconfig_posttrans() \
da34e5
    for sc in %{?*} ; do \
da34e5
        test -f "%{_sysconfdir}/sysconfig/${sc}.rpmsave" || continue ; \
da34e5
        mv -v "%{_sysconfdir}/sysconfig/${sc}.rpmsave" "%{_sysconfdir}/sysconfig/${sc}" ; \
da34e5
    done \
da34e5
    %{nil}
Daniel P. Berrange 11755d
475d28
# To prevent rpmdev-bumpspec breakage
475d28
%global baserelease 1
475d28
475d28
# Hyperscale release
475d28
%global hsrel .1
475d28
Daniel Veillard ed9e42
Summary: Library providing a simple virtualization API
Daniel Veillard e2b90f
Name: libvirt
b0d2e0
Version: 10.1.0
475d28
Release: %{baserelease}%{?hsrel}%{?dist}
c1a341
License: GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OFL-1.1
Daniel P. Berrange b73e50
URL: https://libvirt.org/
Daniel Veillard ed6c49
b0d2e0
%if %(echo %{version} | grep "\.0$" >/dev/null; echo $?) == 1
Daniel P. Berrange 350081
    %define mainturl stable_updates/
Daniel Veillard 8f1637
%endif
f4fd6d
Source: https://download.libvirt.org/%{?mainturl}libvirt-%{version}.tar.xz
404e58
Daniel P. Berrange 44699d
Requires: libvirt-daemon = %{version}-%{release}
Daniel P. Berrange 44699d
Requires: libvirt-daemon-config-network = %{version}-%{release}
Daniel P. Berrange 44699d
Requires: libvirt-daemon-config-nwfilter = %{version}-%{release}
Daniel P. Berrange 47ca46
%if %{with_libxl}
Daniel Veillard f46359
Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
Daniel P. Berrange 47ca46
%endif
Daniel P. Berrange 47ca46
%if %{with_lxc}
Daniel Veillard f46359
Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
Daniel P. Berrange 47ca46
%endif
Daniel P. Berrange 47ca46
%if %{with_qemu}
Daniel Veillard f46359
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
163b87
Requires: libvirt-client-qemu = %{version}-%{release}
Daniel P. Berrange 47ca46
%endif
Daniel P. Berrangé 88887c
# We had UML driver, but we've removed it.
Daniel P. Berrangé 88887c
Obsoletes: libvirt-daemon-driver-uml <= 5.0.0
Daniel P. Berrangé 88887c
Obsoletes: libvirt-daemon-uml <= 5.0.0
Daniel P. Berrange 47ca46
%if %{with_vbox}
Daniel P. Berrange e80c83
Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
Daniel P. Berrange 47ca46
%endif
Daniel P. Berrange 65efaa
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
Daniel Veillard f46359
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
Daniel Veillard f46359
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
Daniel Veillard f46359
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
Daniel Veillard f46359
Requires: libvirt-daemon-driver-network = %{version}-%{release}
Daniel Veillard f46359
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
Daniel P. Berrange 44699d
Requires: libvirt-client = %{version}-%{release}
Daniel P. Berrange b1ac7b
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard ed6c49
Daniel P. Berrange 44699d
# All build-time requirements. Run-time requirements are
Daniel P. Berrange 44699d
# listed against each sub-RPM
79accd
BuildRequires: python3-docutils
58043b
BuildRequires: meson >= 0.56.0
b0c05a
BuildRequires: ninja-build
Daniel P. Berrange a4075e
BuildRequires: git
Petr Písař a27ace
BuildRequires: perl-interpreter
79accd
BuildRequires: python3
8556d4
BuildRequires: python3-pytest
8556d4
# For xmllint
8556d4
BuildRequires: libxml2
8556d4
# For xsltproc
8556d4
BuildRequires: libxslt
8556d4
BuildRequires: gettext
8556d4
BuildRequires: systemd-rpm-macros
8556d4
# Fedora build root suckage
8556d4
BuildRequires: gawk
8556d4
%if %{with_native}
8556d4
BuildRequires: gcc
8556d4
    %if %{with_libxl}
Daniel Veillard 313e00
BuildRequires: xen-devel
8556d4
    %endif
03a98a
BuildRequires: glib2-devel >= 2.56
Daniel Veillard ba3d2d
BuildRequires: libxml2-devel
Daniel Veillard d55c7f
BuildRequires: readline-devel
b0dd01
BuildRequires: pkgconfig(bash-completion) >= 2.0
Daniel Veillard c363c7
BuildRequires: libtasn1-devel
Daniel Veillard c70baa
BuildRequires: gnutls-devel
Daniel P. Berrange 350081
BuildRequires: libattr-devel
Daniel Veillard 4aa9c4
# For pool-build probing for existing pools
Daniel Veillard 4aa9c4
BuildRequires: libblkid-devel >= 2.17
Daniel Veillard ed6c49
# for augparse, optionally used in testing
Daniel Veillard ed6c49
BuildRequires: augeas
Daniel Veillard 544ad4
BuildRequires: systemd-devel >= 185
Daniel P. Berrange 47ca46
BuildRequires: libpciaccess-devel >= 0.10.9
Daniel P. Berrangé e5fa1c
BuildRequires: yajl-devel
8556d4
    %if %{with_sanlock}
Daniel P. Berrange 8cc508
BuildRequires: sanlock-devel >= 2.4
8556d4
    %endif
dd3698
BuildRequires: libpcap-devel >= 1.5.0
Daniel Veillard 4b6ea9
BuildRequires: libnl3-devel
Daniel Veillard bf744f
BuildRequires: libselinux-devel
Daniel Veillard ed6c49
BuildRequires: iptables
Daniel Veillard ed6c49
BuildRequires: ebtables
8556d4
# For modprobe
8556d4
BuildRequires: kmod
Daniel Veillard 4f6679
BuildRequires: cyrus-sasl-devel
8ded6f
BuildRequires: polkit >= 0.112
Daniel Veillard bf744f
# For mount/umount in FS driver
Daniel Veillard bf744f
BuildRequires: util-linux
8556d4
    %if %{with_qemu}
Daniel P. Berrange a74ea3
# For managing ACLs
Daniel P. Berrange a74ea3
BuildRequires: libacl-devel
507eb3
# From QEMU RPMs, used by virstoragetest
Daniel Veillard bf744f
BuildRequires: /usr/bin/qemu-img
8556d4
    %endif
edf6aa
# nbdkit support requires libnbd
8556d4
    %if %{with_nbdkit}
163b87
BuildRequires: libnbd-devel
8556d4
    %endif
Daniel Veillard bf744f
# For LVM drivers
Daniel Veillard bf744f
BuildRequires: lvm2
Daniel P. Berrangé e5fa1c
# For pool type=iscsi
Daniel Veillard bf744f
BuildRequires: iscsi-initiator-utils
8556d4
    %if %{with_storage_iscsi_direct}
Daniel P. Berrangé e5fa1c
# For pool type=iscsi-direct
Daniel P. Berrangé e5fa1c
BuildRequires: libiscsi-devel
8556d4
    %endif
Daniel Veillard bf744f
# For disk driver
Daniel Veillard bf744f
BuildRequires: parted-devel
Mark McLoughlin 897506
# For Multipath support
Mark McLoughlin 897506
BuildRequires: device-mapper-devel
8556d4
    %if %{with_storage_rbd}
79accd
BuildRequires: librados-devel
79accd
BuildRequires: librbd-devel
8556d4
    %endif
8556d4
    %if %{with_storage_gluster}
Daniel P. Berrange 8c9e40
BuildRequires: glusterfs-api-devel >= 3.4.1
Daniel P. Berrange 8c9e40
BuildRequires: glusterfs-devel >= 3.4.1
8556d4
    %endif
8556d4
    %if %{with_numactl}
Daniel Veillard 958f1c
# For QEMU/LXC numa info
Daniel Veillard 958f1c
BuildRequires: numactl-devel
8556d4
    %endif
Daniel Veillard 705fd2
BuildRequires: libcap-ng-devel >= 0.5.0
8556d4
    %if %{with_fuse}
Daniel Veillard f5ff4a
BuildRequires: fuse-devel >= 2.8.6
8556d4
    %endif
8556d4
    %if %{with_libssh2}
Daniel P. Berrange 8cc508
BuildRequires: libssh2-devel >= 1.3.0
8556d4
    %endif
8556d4
    %if %{with_netcf}
Daniel Veillard 4b6ea9
BuildRequires: netcf-devel >= 0.2.2
8556d4
    %endif
8556d4
    %if %{with_esx}
Daniel Veillard 7e9981
BuildRequires: libcurl-devel
8556d4
    %endif
8556d4
    %if %{with_hyperv}
a761ea
BuildRequires: libwsman-devel >= 2.6.3
8556d4
    %endif
Daniel Veillard fca1fc
BuildRequires: audit-libs-devel
Daniel Veillard ed9e42
# we need /usr/sbin/dtrace
Daniel Veillard ed9e42
BuildRequires: systemtap-sdt-devel
Daniel Veillard ed6c49
# For mount/umount in FS driver
Daniel Veillard ed6c49
BuildRequires: util-linux
Daniel Veillard ed6c49
# For showmount in FS driver (netfs discovery)
Daniel Veillard ed6c49
BuildRequires: nfs-utils
8556d4
    %if %{with_numad}
Daniel P. Berrange 24e912
BuildRequires: numad
8556d4
    %endif
8556d4
    %if %{with_wireshark}
8bf91f
BuildRequires: wireshark-devel
8556d4
    %endif
8556d4
    %if %{with_libssh}
5e0d67
BuildRequires: libssh-devel >= 0.8.1
8556d4
    %endif
fecc02
BuildRequires: libtirpc-devel
8556d4
    %if %{with_firewalld_zone}
a761ea
# Needed for the firewalld_reload macro
Daniel P. Berrangé 5cbc04
BuildRequires: firewalld-filesystem
8556d4
    %endif
Daniel P. Berrangé 5cbc04
%endif
Daniel P. Berrangé 5cbc04
8556d4
%if %{with_mingw32}
Daniel P. Berrangé 83def0
BuildRequires: mingw32-filesystem
Daniel P. Berrangé 83def0
BuildRequires: mingw32-gcc
Daniel P. Berrangé 83def0
BuildRequires: mingw32-binutils
Daniel P. Berrangé 83def0
BuildRequires: mingw32-glib2 >= 2.48
Daniel P. Berrangé 83def0
BuildRequires: mingw32-gnutls
Daniel P. Berrangé 83def0
BuildRequires: mingw32-gettext
Daniel P. Berrangé 83def0
BuildRequires: mingw32-libxml2
Daniel P. Berrangé 83def0
BuildRequires: mingw32-portablexdr
Daniel P. Berrangé 83def0
BuildRequires: mingw32-dlfcn
Daniel P. Berrangé 83def0
BuildRequires: mingw32-libssh2
Daniel P. Berrangé 83def0
BuildRequires: mingw32-curl
8556d4
%endif
8556d4
%if %{with_mingw64}
Daniel P. Berrangé 83def0
BuildRequires: mingw64-filesystem
Daniel P. Berrangé 83def0
BuildRequires: mingw64-gcc
Daniel P. Berrangé 83def0
BuildRequires: mingw64-binutils
Daniel P. Berrangé 83def0
BuildRequires: mingw64-glib2 >= 2.48
Daniel P. Berrangé 83def0
BuildRequires: mingw64-gnutls
Daniel P. Berrangé 83def0
BuildRequires: mingw64-gettext
Daniel P. Berrangé 83def0
BuildRequires: mingw64-libxml2
Daniel P. Berrangé 83def0
BuildRequires: mingw64-portablexdr
Daniel P. Berrangé 83def0
BuildRequires: mingw64-dlfcn
Daniel P. Berrangé 83def0
BuildRequires: mingw64-libssh2
Daniel P. Berrangé 83def0
BuildRequires: mingw64-curl
Daniel P. Berrangé 83def0
%endif
Daniel P. Berrangé 83def0
Daniel Veillard e2b90f
%description
Daniel Veillard bf744f
Libvirt is a C toolkit to interact with the virtualization capabilities
Daniel Veillard a3e1cc
of recent versions of Linux (and other OSes). The main package includes
Daniel Veillard a3e1cc
the libvirtd server exporting the virtualization support.
Daniel Veillard a3e1cc
8556d4
%if %{with_native}
Daniel P. Berrange 96a520
%package docs
Daniel P. Berrange 96a520
Summary: API reference and website documentation
Daniel P. Berrange 96a520
Daniel P. Berrange 96a520
%description docs
Daniel P. Berrange 96a520
Includes the API reference for the libvirt C library, and a complete
Daniel P. Berrange 96a520
copy of the libvirt.org website documentation.
Daniel P. Berrange 96a520
Daniel P. Berrange 44699d
%package daemon
Daniel P. Berrange 44699d
Summary: Server side daemon and supporting files for libvirt library
Daniel P. Berrange 44699d
Daniel P. Berrange 44699d
# All runtime requirements for the libvirt package (runtime requrements
Daniel P. Berrange 44699d
# for subpackages are listed later in those subpackages)
Daniel P. Berrange 44699d
Daniel P. Berrange b1ac7b
# The client side, i.e. shared libs are in a subpackage
044c5b
Requires: libvirt-libs = %{version}-%{release}
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
c1a341
Requires: libvirt-daemon-lock = %{version}-%{release}
c1a341
Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
c1a341
Requires: libvirt-daemon-log = %{version}-%{release}
c1a341
Requires: libvirt-daemon-proxy = %{version}-%{release}
c1a341
c1a341
%description daemon
c1a341
Server side daemon required to manage the virtualization capabilities
c1a341
of recent versions of Linux. Requires a hypervisor specific sub-RPM
c1a341
for specific drivers.
c1a341
c1a341
%package daemon-common
c1a341
Summary: Files and utilities used by daemons
c1a341
Requires: libvirt-libs = %{version}-%{release}
987430
# The libvirt-guests.sh script requires virsh from libvirt-client subpackage,
987430
# but not every deployment wants to use libvirt-guests service. Using
987430
# Recommends here will install libvirt-client by default (if available), but
987430
# RPM won't complain if the package is unavailable, masked, or removed later.
044c5b
Recommends: libvirt-client = %{version}-%{release}
65a0e2
# for /sbin/ip
Daniel P. Berrange 44699d
Requires: iproute
65a0e2
# for /sbin/tc
Daniel P. Berrangé 061231
Requires: iproute-tc
9f9eae
Requires: polkit >= 0.112
8556d4
    %if %{with_dmidecode}
Daniel P. Berrange 44699d
# For virConnectGetSysinfo
Daniel P. Berrange 44699d
Requires: dmidecode
8556d4
    %endif
Daniel P. Berrange 44699d
# For service management
adaeee
Requires(posttrans): /usr/bin/systemctl
adaeee
Requires(preun): /usr/bin/systemctl
Daniel Veillard f5ff4a
# libvirtd depends on 'messagebus' service
Daniel Veillard f5ff4a
Requires: dbus
660e01
# For uid creation during pre
660e01
Requires(pre): shadow-utils
Daniel P. Berrangé 497e09
# Needed by /usr/libexec/libvirt-guests.sh script.
8556d4
    %if 0%{?fedora}
662f0e
Requires: gettext-runtime
8556d4
    %else
Daniel P. Berrangé 497e09
Requires: gettext
8556d4
    %endif
Daniel P. Berrangé 497e09
Daniel P. Berrangé 497e09
# Ensure smooth upgrades
Daniel P. Berrangé 497e09
Obsoletes: libvirt-admin < 7.3.0
65a0e2
Provides: libvirt-admin = %{version}-%{release}
Daniel P. Berrangé 497e09
Obsoletes: libvirt-bash-completion < 7.3.0
f7763b
c1a341
%description daemon-common
c1a341
Miscellaneous files and utilities used by other libvirt daemons
c1a341
c1a341
%package daemon-lock
c1a341
Summary: Server side daemon for managing locks
c1a341
Requires: libvirt-libs = %{version}-%{release}
c1a341
c1a341
%description daemon-lock
c1a341
Server side daemon used to manage locks held against virtual machine
c1a341
resources
c1a341
c1a341
%package daemon-plugin-lockd
c1a341
Summary: lockd client plugin for virtlockd
c1a341
Requires: libvirt-libs = %{version}-%{release}
c1a341
Requires: libvirt-daemon-lock = %{version}-%{release}
c1a341
c1a341
%description daemon-plugin-lockd
c1a341
A client-side plugin that implements disk locking using POSIX fcntl advisory
c1a341
locks via communication with the virtlockd daemon
c1a341
c1a341
%package daemon-log
c1a341
Summary: Server side daemon for managing logs
c1a341
Requires: libvirt-libs = %{version}-%{release}
c1a341
c1a341
%description daemon-log
c1a341
Server side daemon used to manage logs from virtual machine consoles
c1a341
c1a341
%package daemon-proxy
c1a341
Summary: Server side daemon providing libvirtd proxy
c1a341
Requires: libvirt-libs = %{version}-%{release}
c1a341
# netcat is needed on the server side so that clients that have
c1a341
# libvirt < 6.9.0 can connect, but newer versions will prefer
c1a341
# virt-ssh-helper. Making this a Recommends means that it gets
c1a341
# installed by default, but can still be removed if compatibility
c1a341
# with old clients is not required
c1a341
Recommends: /usr/bin/nc
c1a341
c1a341
%description daemon-proxy
c1a341
Server side daemon providing functionality previously provided by
c1a341
the monolithic libvirtd
Daniel P. Berrange 44699d
Daniel P. Berrange 44699d
%package daemon-config-network
Daniel P. Berrange 44699d
Summary: Default configuration files for the libvirtd daemon
Daniel P. Berrange 44699d
Daniel P. Berrange 1b8b75
Requires: libvirt-daemon-driver-network = %{version}-%{release}
Daniel P. Berrange 44699d
Daniel P. Berrange 44699d
%description daemon-config-network
Daniel P. Berrange 44699d
Default configuration files for setting up NAT based networking
Daniel P. Berrange 44699d
Daniel P. Berrange 44699d
%package daemon-config-nwfilter
Daniel P. Berrange 44699d
Summary: Network filter configuration files for the libvirtd daemon
Daniel P. Berrange 44699d
Daniel P. Berrange 1b8b75
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
Daniel P. Berrange 44699d
Daniel P. Berrange 44699d
%description daemon-config-nwfilter
Daniel P. Berrange 44699d
Network filter configuration files for cleaning guest traffic
Daniel P. Berrange e6d978
Daniel Veillard 544ad4
%package daemon-driver-network
Daniel Veillard 544ad4
Summary: Network driver plugin for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard c5c28b
Requires: dnsmasq >= 2.41
Daniel Veillard c5c28b
Requires: iptables
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%description daemon-driver-network
Daniel Veillard 544ad4
The network driver plugin for the libvirtd daemon, providing
Daniel Veillard 544ad4
an implementation of the virtual network APIs using the Linux
Daniel Veillard 544ad4
bridge capabilities.
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%package daemon-driver-nwfilter
Daniel Veillard 544ad4
Summary: Nwfilter driver plugin for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard c5c28b
Requires: iptables
Daniel Veillard c5c28b
Requires: ebtables
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%description daemon-driver-nwfilter
Daniel Veillard 544ad4
The nwfilter driver plugin for the libvirtd daemon, providing
Daniel Veillard 544ad4
an implementation of the firewall APIs using the ebtables,
Daniel Veillard 544ad4
iptables and ip6tables capabilities
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%package daemon-driver-nodedev
Daniel Veillard 544ad4
Summary: Nodedev driver plugin for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard c5c28b
# needed for device enumeration
Daniel Veillard c5c28b
Requires: systemd >= 185
212695
# For managing persistent mediated devices
b0d2e0
# Note: for nodedev-update support at least mdevctl v1.3.0 is required
212695
Requires: mdevctl
c1a341
# for modprobe of pci devices
c1a341
Requires: module-init-tools
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%description daemon-driver-nodedev
Daniel Veillard 544ad4
The nodedev driver plugin for the libvirtd daemon, providing
Daniel Veillard 544ad4
an implementation of the node device APIs using the udev
Daniel Veillard 544ad4
capabilities.
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%package daemon-driver-interface
Daniel Veillard 544ad4
Summary: Interface driver plugin for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
8556d4
    %if %{with_netcf}
Daniel Veillard c5c28b
Requires: netcf-libs >= 0.2.2
8556d4
    %endif
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%description daemon-driver-interface
Daniel Veillard 544ad4
The interface driver plugin for the libvirtd daemon, providing
Laine Stump b97ad8
an implementation of the host network interface APIs.
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%package daemon-driver-secret
Daniel Veillard 544ad4
Summary: Secret driver plugin for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%description daemon-driver-secret
Daniel Veillard 544ad4
The secret driver plugin for the libvirtd daemon, providing
Daniel Veillard 544ad4
an implementation of the secret key APIs.
Daniel Veillard 544ad4
Daniel P. Berrange a74ea3
%package daemon-driver-storage-core
Daniel P. Berrange a74ea3
Summary: Storage driver plugin including base backends for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard c5c28b
Requires: nfs-utils
Daniel Veillard c5c28b
# For mkfs
Daniel Veillard c5c28b
Requires: util-linux
f3cac3
# For storage wiping with different algorithms
f3cac3
Requires: scrub
8556d4
    %if %{with_qemu}
Daniel Veillard c5c28b
# From QEMU RPMs
Daniel Veillard c5c28b
Requires: /usr/bin/qemu-img
8556d4
    %endif
8556d4
    %if !%{with_storage_rbd}
5e0d67
Obsoletes: libvirt-daemon-driver-storage-rbd < 5.2.0
8556d4
    %endif
5e0d67
Obsoletes: libvirt-daemon-driver-storage-sheepdog < 8.8.0
Daniel Veillard 544ad4
Daniel P. Berrange a74ea3
%description daemon-driver-storage-core
Daniel P. Berrange a74ea3
The storage driver plugin for the libvirtd daemon, providing
Daniel P. Berrange a74ea3
an implementation of the storage APIs using files, local disks, LVM, SCSI,
Daniel P. Berrange a74ea3
iSCSI, and multipath storage.
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%package daemon-driver-storage-logical
Daniel P. Berrange a74ea3
Summary: Storage driver plugin for lvm volumes
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrange a74ea3
Requires: lvm2
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%description daemon-driver-storage-logical
Daniel P. Berrange a74ea3
The storage driver backend adding implementation of the storage APIs for block
Daniel P. Berrange a74ea3
volumes using lvm.
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%package daemon-driver-storage-disk
Daniel P. Berrange a74ea3
Summary: Storage driver plugin for disk
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrange a74ea3
Requires: parted
Daniel P. Berrange a74ea3
Requires: device-mapper
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%description daemon-driver-storage-disk
Daniel P. Berrange a74ea3
The storage driver backend adding implementation of the storage APIs for block
Daniel P. Berrange a74ea3
volumes using the host disks.
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%package daemon-driver-storage-scsi
Daniel P. Berrange a74ea3
Summary: Storage driver plugin for local scsi devices
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%description daemon-driver-storage-scsi
Daniel P. Berrange a74ea3
The storage driver backend adding implementation of the storage APIs for scsi
Daniel P. Berrange a74ea3
host devices.
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%package daemon-driver-storage-iscsi
Daniel P. Berrange a74ea3
Summary: Storage driver plugin for iscsi
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrange a74ea3
Requires: iscsi-initiator-utils
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%description daemon-driver-storage-iscsi
Daniel P. Berrange a74ea3
The storage driver backend adding implementation of the storage APIs for iscsi
Daniel P. Berrange a74ea3
volumes using the host iscsi stack.
Daniel P. Berrange a74ea3
8556d4
    %if %{with_storage_iscsi_direct}
Daniel P. Berrangé e5fa1c
%package daemon-driver-storage-iscsi-direct
Daniel P. Berrangé e5fa1c
Summary: Storage driver plugin for iscsi-direct
Daniel P. Berrangé e5fa1c
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrangé e5fa1c
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrangé e5fa1c
Daniel P. Berrangé e5fa1c
%description daemon-driver-storage-iscsi-direct
Daniel P. Berrangé e5fa1c
The storage driver backend adding implementation of the storage APIs for iscsi
Daniel P. Berrangé e5fa1c
volumes using libiscsi direct connection.
8556d4
    %endif
Daniel P. Berrangé e5fa1c
Daniel P. Berrange a74ea3
%package daemon-driver-storage-mpath
Daniel P. Berrange a74ea3
Summary: Storage driver plugin for multipath volumes
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrange a74ea3
Requires: device-mapper
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%description daemon-driver-storage-mpath
Daniel P. Berrange a74ea3
The storage driver backend adding implementation of the storage APIs for
Daniel P. Berrange a74ea3
multipath storage using device mapper.
Daniel P. Berrange a74ea3
8556d4
    %if %{with_storage_gluster}
Daniel P. Berrange a74ea3
%package daemon-driver-storage-gluster
Daniel P. Berrange a74ea3
Summary: Storage driver plugin for gluster
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
8556d4
        %if 0%{?fedora}
Daniel P. Berrange a74ea3
Requires: glusterfs-client >= 2.0.1
8556d4
        %endif
8556d4
        %if 0%{?fedora} || 0%{?with_storage_gluster}
Daniel P. Berrange a74ea3
Requires: /usr/sbin/gluster
8556d4
        %endif
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%description daemon-driver-storage-gluster
Daniel P. Berrange a74ea3
The storage driver backend adding implementation of the storage APIs for gluster
Daniel P. Berrange a74ea3
volumes using libgfapi.
8556d4
    %endif
Daniel P. Berrange a74ea3
8556d4
    %if %{with_storage_rbd}
Daniel P. Berrange a74ea3
%package daemon-driver-storage-rbd
Daniel P. Berrange a74ea3
Summary: Storage driver plugin for rbd
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%description daemon-driver-storage-rbd
Daniel P. Berrange a74ea3
The storage driver backend adding implementation of the storage APIs for rbd
Daniel P. Berrange a74ea3
volumes using the ceph protocol.
8556d4
    %endif
Daniel P. Berrange a74ea3
8556d4
    %if %{with_storage_zfs}
Daniel P. Berrange 7335ed
%package daemon-driver-storage-zfs
Daniel P. Berrange 7335ed
Summary: Storage driver plugin for ZFS
Daniel P. Berrange 7335ed
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrange 7335ed
# Support any conforming implementation of zfs
Daniel P. Berrange 7335ed
Requires: /sbin/zfs
Daniel P. Berrange 7335ed
Requires: /sbin/zpool
Daniel P. Berrange 7335ed
Daniel P. Berrange 7335ed
%description daemon-driver-storage-zfs
Daniel P. Berrange 7335ed
The storage driver backend adding implementation of the storage APIs for
Daniel P. Berrange 7335ed
ZFS volumes.
8556d4
    %endif
Daniel P. Berrange 7335ed
Daniel P. Berrange a74ea3
%package daemon-driver-storage
Daniel P. Berrange a74ea3
Summary: Storage driver plugin including all backends for the libvirtd daemon
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-disk = %{version}-%{release}
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-logical = %{version}-%{release}
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-scsi = %{version}-%{release}
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-iscsi = %{version}-%{release}
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-mpath = %{version}-%{release}
8556d4
    %if %{with_storage_iscsi_direct}
Daniel P. Berrangé e5fa1c
Requires: libvirt-daemon-driver-storage-iscsi-direct = %{version}-%{release}
8556d4
    %endif
8556d4
    %if %{with_storage_gluster}
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-gluster = %{version}-%{release}
8556d4
    %endif
8556d4
    %if %{with_storage_rbd}
Daniel P. Berrange a74ea3
Requires: libvirt-daemon-driver-storage-rbd = %{version}-%{release}
8556d4
    %endif
8556d4
    %if %{with_storage_zfs}
Daniel P. Berrange 7335ed
Requires: libvirt-daemon-driver-storage-zfs = %{version}-%{release}
8556d4
    %endif
Daniel P. Berrange a74ea3
Daniel Veillard 544ad4
%description daemon-driver-storage
Daniel Veillard 544ad4
The storage driver plugin for the libvirtd daemon, providing
Daniel Veillard 544ad4
an implementation of the storage APIs using LVM, iSCSI,
Daniel Veillard 544ad4
parted and more.
Daniel Veillard 544ad4
8556d4
    %if %{with_qemu}
Daniel Veillard 544ad4
%package daemon-driver-qemu
Daniel P. Berrange 04cb28
Summary: QEMU driver plugin for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
c1a341
Requires: libvirt-daemon-log = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard c5c28b
Requires: /usr/bin/qemu-img
Daniel Veillard c5c28b
# For image compression
Daniel Veillard c5c28b
Requires: gzip
Daniel Veillard c5c28b
Requires: bzip2
Daniel Veillard c5c28b
Requires: lzop
Daniel Veillard c5c28b
Requires: xz
Daniel P. Berrange 4e2aab
Requires: systemd-container
Daniel P. Berrangé c71e60
Requires: swtpm-tools
8556d4
        %if %{with_numad}
c1a341
Requires: numad
8556d4
        %endif
8556d4
        %if 0%{?fedora} || 0%{?rhel} >= 9
044c5b
Recommends: passt
f4fd6d
Recommends: passt-selinux
8556d4
        %endif
8556d4
        %if %{with_nbdkit}
163b87
Recommends: nbdkit
163b87
Recommends: nbdkit-curl-plugin
163b87
Recommends: nbdkit-ssh-plugin
8556d4
        %endif
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%description daemon-driver-qemu
Daniel Veillard 544ad4
The qemu driver plugin for the libvirtd daemon, providing
Daniel Veillard 544ad4
an implementation of the hypervisor driver APIs using
Daniel Veillard 544ad4
QEMU
8556d4
    %endif
Daniel Veillard 544ad4
8556d4
    %if %{with_lxc}
Daniel Veillard 544ad4
%package daemon-driver-lxc
Daniel Veillard 544ad4
Summary: LXC driver plugin for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard 544ad4
# There really is a hard cross-driver dependency here
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-network = %{version}-%{release}
Daniel P. Berrange 4e2aab
Requires: systemd-container
c1a341
# for modprobe of nbd driver
c1a341
Requires: module-init-tools
8556d4
        %if %{with_numad}
c1a341
Requires: numad
8556d4
        %endif
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%description daemon-driver-lxc
Daniel Veillard 544ad4
The LXC driver plugin for the libvirtd daemon, providing
Daniel Veillard 544ad4
an implementation of the hypervisor driver APIs using
Daniel Veillard 544ad4
the Linux kernel
8556d4
    %endif
Daniel Veillard 544ad4
8556d4
    %if %{with_vbox}
Daniel P. Berrange e80c83
%package daemon-driver-vbox
Daniel P. Berrange e80c83
Summary: VirtualBox driver plugin for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrange e80c83
Daniel P. Berrange e80c83
%description daemon-driver-vbox
Daniel P. Berrange e80c83
The vbox driver plugin for the libvirtd daemon, providing
Daniel P. Berrange e80c83
an implementation of the hypervisor driver APIs using
Daniel P. Berrange e80c83
VirtualBox
8556d4
    %endif
Daniel P. Berrange e80c83
8556d4
    %if %{with_libxl}
Daniel Veillard 544ad4
%package daemon-driver-libxl
Daniel Veillard 544ad4
Summary: Libxl driver plugin for the libvirtd daemon
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
Daniel P. Berrangé 782468
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrangé 4fd635
Obsoletes: libvirt-daemon-driver-xen < 4.3.0
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%description daemon-driver-libxl
Daniel Veillard 544ad4
The Libxl driver plugin for the libvirtd daemon, providing
Daniel Veillard 544ad4
an implementation of the hypervisor driver APIs using
Daniel Veillard 544ad4
Libxl
8556d4
    %endif
Daniel Veillard 544ad4
8556d4
    %if %{with_qemu_tcg}
Daniel P. Berrange e6d978
%package daemon-qemu
Daniel P. Berrange e6d978
Summary: Server side daemon & driver required to run QEMU guests
Daniel P. Berrange e6d978
8556d4
        %if %{with_modular_daemons}
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
c1a341
Requires: libvirt-daemon-log = %{version}-%{release}
c1a341
Requires: libvirt-daemon-lock = %{version}-%{release}
c1a341
Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
c1a341
Requires: libvirt-daemon-proxy = %{version}-%{release}
Daniel P. Berrangé 5828ec
Recommends: libvirt-daemon = %{version}-%{release}
8556d4
        %else
Daniel P. Berrange e6d978
Requires: libvirt-daemon = %{version}-%{release}
8556d4
        %endif
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-network = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
Daniel P. Berrange e6d978
Requires: qemu
Daniel P. Berrange e6d978
Daniel P. Berrange e6d978
%description daemon-qemu
Daniel P. Berrange e6d978
Server side daemon and driver required to manage the virtualization
Daniel P. Berrange e6d978
capabilities of the QEMU TCG emulators
8556d4
    %endif
Daniel P. Berrange e6d978
8556d4
    %if %{with_qemu_kvm}
Daniel P. Berrange e6d978
%package daemon-kvm
Daniel P. Berrange e6d978
Summary: Server side daemon & driver required to run KVM guests
Daniel P. Berrange e6d978
8556d4
        %if %{with_modular_daemons}
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
c1a341
Requires: libvirt-daemon-log = %{version}-%{release}
c1a341
Requires: libvirt-daemon-lock = %{version}-%{release}
c1a341
Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
c1a341
Requires: libvirt-daemon-proxy = %{version}-%{release}
Daniel P. Berrangé 5828ec
Recommends: libvirt-daemon = %{version}-%{release}
8556d4
        %else
Daniel P. Berrange e6d978
Requires: libvirt-daemon = %{version}-%{release}
8556d4
        %endif
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-network = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
475d28
475d28
# relax requirement for qemu-kvm for fb builds
475d28
%if 0%{?facebook}
475d28
Recommends: qemu-kvm
475d28
%else
Daniel P. Berrange e6d978
Requires: qemu-kvm
475d28
%endif
Daniel P. Berrange e6d978
Daniel P. Berrange e6d978
%description daemon-kvm
Daniel P. Berrange e6d978
Server side daemon and driver required to manage the virtualization
Daniel P. Berrange e6d978
capabilities of the KVM hypervisor
8556d4
    %endif
Daniel P. Berrange e6d978
8556d4
    %if %{with_lxc}
Daniel P. Berrange e6d978
%package daemon-lxc
Daniel P. Berrange e6d978
Summary: Server side daemon & driver required to run LXC guests
Daniel P. Berrange e6d978
8556d4
        %if %{with_modular_daemons}
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
c1a341
Requires: libvirt-daemon-proxy = %{version}-%{release}
Daniel P. Berrangé 5828ec
Recommends: libvirt-daemon = %{version}-%{release}
8556d4
        %else
Daniel P. Berrange e6d978
Requires: libvirt-daemon = %{version}-%{release}
8556d4
        %endif
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-network = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
Daniel P. Berrange e6d978
Daniel P. Berrange e6d978
%description daemon-lxc
Daniel P. Berrange e6d978
Server side daemon and driver required to manage the virtualization
Daniel P. Berrange e6d978
capabilities of LXC
8556d4
    %endif
Daniel P. Berrange e6d978
8556d4
    %if %{with_libxl}
Daniel P. Berrange e6d978
%package daemon-xen
Daniel P. Berrange e6d978
Summary: Server side daemon & driver required to run XEN guests
Daniel P. Berrange e6d978
8556d4
        %if %{with_modular_daemons}
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
c1a341
Requires: libvirt-daemon-lock = %{version}-%{release}
c1a341
Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
c1a341
Requires: libvirt-daemon-proxy = %{version}-%{release}
Daniel P. Berrangé 5828ec
Recommends: libvirt-daemon = %{version}-%{release}
8556d4
        %else
Daniel P. Berrange e6d978
Requires: libvirt-daemon = %{version}-%{release}
8556d4
        %endif
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-network = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
Daniel Veillard 544ad4
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
Daniel P. Berrange e6d978
Requires: xen
Daniel P. Berrange e6d978
Daniel P. Berrange e6d978
%description daemon-xen
Daniel P. Berrange e6d978
Server side daemon and driver required to manage the virtualization
Daniel P. Berrange e6d978
capabilities of XEN
8556d4
    %endif
Daniel P. Berrange e80c83
8556d4
    %if %{with_vbox}
Daniel P. Berrange e80c83
%package daemon-vbox
Daniel P. Berrange e80c83
Summary: Server side daemon & driver required to run VirtualBox guests
Daniel P. Berrange e80c83
8556d4
        %if %{with_modular_daemons}
c1a341
Requires: libvirt-daemon-common = %{version}-%{release}
c1a341
Requires: libvirt-daemon-proxy = %{version}-%{release}
Daniel P. Berrangé 5828ec
Recommends: libvirt-daemon = %{version}-%{release}
8556d4
        %else
Daniel P. Berrange e80c83
Requires: libvirt-daemon = %{version}-%{release}
8556d4
        %endif
Daniel P. Berrange e80c83
Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
Daniel P. Berrange e80c83
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
Daniel P. Berrange e80c83
Requires: libvirt-daemon-driver-network = %{version}-%{release}
Daniel P. Berrange e80c83
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
Daniel P. Berrange e80c83
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
Daniel P. Berrange e80c83
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
Daniel P. Berrange e80c83
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
Daniel P. Berrange e80c83
Daniel P. Berrange e80c83
%description daemon-vbox
Daniel P. Berrange e80c83
Server side daemon and driver required to manage the virtualization
Daniel P. Berrange e80c83
capabilities of VirtualBox
8556d4
    %endif
Daniel P. Berrange 44699d
Daniel Veillard a3e1cc
%package client
Daniel P. Berrange b1ac7b
Summary: Client side utilities of the libvirt library
044c5b
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard ed6c49
# Needed by virt-pki-validate script.
Daniel Veillard ed6c49
Requires: gnutls-utils
Daniel P. Berrangé 497e09
Daniel P. Berrangé 497e09
# Ensure smooth upgrades
Daniel P. Berrangé 497e09
Obsoletes: libvirt-bash-completion < 7.3.0
Daniel P. Berrange b1ac7b
Daniel P. Berrange b1ac7b
%description client
Daniel P. Berrange b1ac7b
The client binaries needed to access the virtualization
Daniel P. Berrange b1ac7b
capabilities of recent versions of Linux (and other OSes).
Daniel P. Berrange b1ac7b
58043b
%package client-qemu
58043b
Summary: Additional client side utilities for QEMU
044c5b
Requires: libvirt-libs = %{version}-%{release}
987430
Requires: python3-libvirt >= 3.7.0
c1a341
Requires: python3-cryptography
c1a341
Requires: python3-lxml
58043b
58043b
%description client-qemu
58043b
The additional client binaries are used to interact
58043b
with some QEMU specific features of libvirt.
58043b
Daniel P. Berrange b1ac7b
%package libs
Daniel P. Berrange b1ac7b
Summary: Client side libraries
Daniel P. Berrange b1ac7b
# So remote clients can access libvirt over SSH tunnel
Daniel Veillard a3e1cc
Requires: cyrus-sasl
Daniel P. Berrange 04cb28
# Needed by default sasl.conf - no onerous extra deps, since
Daniel P. Berrange 04cb28
# 100's of other things on a system already pull in krb5-libs
Daniel P. Berrange 04cb28
Requires: cyrus-sasl-gssapi
Daniel Veillard a3e1cc
Daniel P. Berrange b1ac7b
%description libs
Daniel P. Berrange b1ac7b
Shared libraries for accessing the libvirt daemon.
Daniel P. Berrange b1ac7b
8556d4
    %if %{with_wireshark}
Daniel P. Berrange 1b8b75
%package wireshark
Daniel P. Berrange 1b8b75
Summary: Wireshark dissector plugin for libvirt RPC transactions
8bf91f
Requires: wireshark
044c5b
Requires: libvirt-libs = %{version}-%{release}
Daniel P. Berrange 1b8b75
Daniel P. Berrange 1b8b75
%description wireshark
Daniel P. Berrange 1b8b75
Wireshark dissector plugin for better analysis of libvirt RPC traffic.
8556d4
    %endif
Daniel P. Berrange 1b8b75
8556d4
    %if %{with_lxc}
Daniel Veillard c5c28b
%package login-shell
Daniel Veillard c5c28b
Summary: Login shell for connecting users to an LXC container
044c5b
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard c5c28b
Daniel Veillard c5c28b
%description login-shell
Daniel Veillard c5c28b
Provides the set-uid virt-login-shell binary that is used to
Daniel Veillard c5c28b
connect a user to an LXC container when they login, by switching
Daniel Veillard c5c28b
namespaces.
8556d4
    %endif
Daniel Veillard c5c28b
Daniel Veillard e2b90f
%package devel
Daniel Veillard e2b90f
Summary: Libraries, includes, etc. to compile with the libvirt library
044c5b
Requires: libvirt-libs = %{version}-%{release}
Daniel Veillard 68efef
Requires: pkgconfig
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%description devel
Daniel P. Berrange 96a520
Include header files & development libraries for the libvirt C library.
Daniel Veillard e2b90f
8556d4
    %if %{with_sanlock}
c1a341
%package daemon-plugin-sanlock
Daniel Veillard e79d30
Summary: Sanlock lock manager plugin for QEMU driver
Daniel P. Berrange 8cc508
Requires: sanlock >= 2.4
Daniel Veillard a6831c
#for virt-sanlock-cleanup require augeas
Daniel Veillard a6831c
Requires: augeas
044c5b
Requires: libvirt-libs = %{version}-%{release}
c1a341
Obsoletes: libvirt-lock-sanlock < 9.1.0
c1a341
Provides: libvirt-lock-sanlock = %{version}-%{release}
Daniel Veillard e79d30
c1a341
%description daemon-plugin-sanlock
Daniel Veillard e79d30
Includes the Sanlock lock manager plugin for the QEMU
Daniel Veillard e79d30
driver
8556d4
    %endif
Daniel Veillard e79d30
0debbf
%package nss
0debbf
Summary: Libvirt plugin for Name Service Switch
0debbf
Requires: libvirt-daemon-driver-network = %{version}-%{release}
0debbf
0debbf
%description nss
0debbf
Libvirt plugin for NSS for translating domain names into IP addresses.
8556d4
%endif
0debbf
8556d4
%if %{with_mingw32}
Daniel P. Berrangé 83def0
%package -n mingw32-libvirt
Daniel P. Berrangé 83def0
Summary: %{summary}
Daniel P. Berrangé 83def0
Obsoletes: mingw32-libvirt-static < 7.0.0
Daniel P. Berrangé 83def0
BuildArch: noarch
Daniel P. Berrangé 83def0
Daniel P. Berrangé 83def0
%description -n mingw32-libvirt
Daniel P. Berrangé 83def0
MinGW Windows libvirt virtualization library.
Daniel P. Berrangé 83def0
8556d4
%{?mingw32_debug_package}
8556d4
%endif
8556d4
8556d4
%if %{with_mingw64}
Daniel P. Berrangé 83def0
%package -n mingw64-libvirt
Daniel P. Berrangé 83def0
Summary: %{summary}
Daniel P. Berrangé 83def0
Obsoletes: mingw64-libvirt-static < 7.0.0
Daniel P. Berrangé 83def0
BuildArch: noarch
Daniel P. Berrangé 83def0
Daniel P. Berrangé 83def0
%description -n mingw64-libvirt
Daniel P. Berrangé 83def0
MinGW Windows libvirt virtualization library.
Daniel P. Berrangé 83def0
8556d4
%{?mingw64_debug_package}
Daniel P. Berrangé 83def0
%endif
ee3bf3
Daniel Veillard e2b90f
%prep
Daniel P. Berrangé e5fa1c
%autosetup -S git_am
e73cc6
Daniel Veillard e2b90f
%build
65a0e2
%if 0%{?fedora} >= %{min_fedora} || 0%{?rhel} >= %{min_rhel}
65a0e2
    %define supported_platform 1
65a0e2
%else
65a0e2
    %define supported_platform 0
a761ea
%endif
a761ea
Daniel P. Berrange 051644
%if ! %{supported_platform}
Daniel P. Berrange 0ca715
echo "This RPM requires either Fedora >= %{min_fedora} or RHEL >= %{min_rhel}"
Daniel P. Berrange 051644
exit 1
Daniel P. Berrange 051644
%endif
Daniel P. Berrange 051644
Daniel P. Berrange 47ca46
%if %{with_qemu}
b0c05a
    %define arg_qemu -Ddriver_qemu=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_qemu -Ddriver_qemu=disabled
Daniel P. Berrange 8c9e40
%endif
Daniel P. Berrange 8c9e40
Daniel P. Berrange 47ca46
%if %{with_openvz}
b0c05a
    %define arg_openvz -Ddriver_openvz=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_openvz -Ddriver_openvz=disabled
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Daniel P. Berrange 47ca46
%if %{with_lxc}
b0c05a
    %define arg_lxc -Ddriver_lxc=enabled
b0c05a
    %define arg_login_shell -Dlogin_shell=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_lxc -Ddriver_lxc=disabled
b0c05a
    %define arg_login_shell -Dlogin_shell=disabled
Daniel P. Berrange 24e912
%endif
Daniel P. Berrange 24e912
Daniel P. Berrange 47ca46
%if %{with_vbox}
b0c05a
    %define arg_vbox -Ddriver_vbox=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_vbox -Ddriver_vbox=disabled
Mark McLoughlin ccafc8
%endif
Mark McLoughlin ccafc8
Daniel P. Berrange 47ca46
%if %{with_libxl}
b0c05a
    %define arg_libxl -Ddriver_libxl=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_libxl -Ddriver_libxl=disabled
Daniel Veillard f5ff4a
%endif
Daniel Veillard f5ff4a
Daniel P. Berrange 47ca46
%if %{with_esx}
Daniel P. Berrangé 91d8ef
    %define arg_esx -Ddriver_esx=enabled -Dcurl=enabled
Daniel P. Berrange 47ca46
%else
Daniel P. Berrangé 91d8ef
    %define arg_esx -Ddriver_esx=disabled -Dcurl=disabled
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
Daniel P. Berrange 47ca46
%if %{with_hyperv}
Daniel P. Berrangé 91d8ef
    %define arg_hyperv -Ddriver_hyperv=enabled -Dopenwsman=enabled
Daniel P. Berrange 47ca46
%else
Daniel P. Berrangé 91d8ef
    %define arg_hyperv -Ddriver_hyperv=disabled -Dopenwsman=disabled
Daniel P. Berrange 11755d
%endif
Daniel P. Berrange 11755d
Daniel P. Berrange 47ca46
%if %{with_vmware}
b0c05a
    %define arg_vmware -Ddriver_vmware=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_vmware -Ddriver_vmware=disabled
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
Daniel P. Berrange 47ca46
%if %{with_storage_rbd}
b0c05a
    %define arg_storage_rbd -Dstorage_rbd=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_storage_rbd -Dstorage_rbd=disabled
Daniel Veillard 4717aa
%endif
Daniel Veillard 4717aa
Daniel P. Berrange 47ca46
%if %{with_storage_gluster}
Daniel P. Berrangé 91d8ef
    %define arg_storage_gluster -Dstorage_gluster=enabled -Dglusterfs=enabled
Daniel P. Berrange 47ca46
%else
Daniel P. Berrangé 91d8ef
    %define arg_storage_gluster -Dstorage_gluster=disabled -Dglusterfs=disabled
Daniel Veillard 7e9981
%endif
Daniel Veillard 7e9981
Daniel P. Berrange 7335ed
%if %{with_storage_zfs}
b0c05a
    %define arg_storage_zfs -Dstorage_zfs=enabled
Daniel P. Berrange 7335ed
%else
b0c05a
    %define arg_storage_zfs -Dstorage_zfs=disabled
Daniel P. Berrange 7335ed
%endif
Daniel P. Berrange 7335ed
Daniel P. Berrange 47ca46
%if %{with_numactl}
b0c05a
    %define arg_numactl -Dnumactl=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_numactl -Dnumactl=disabled
Daniel Veillard 7e9981
%endif
Daniel Veillard 7e9981
Daniel P. Berrange 47ca46
%if %{with_numad}
b0c05a
    %define arg_numad -Dnumad=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_numad -Dnumad=disabled
Daniel Veillard fca1fc
%endif
Daniel Veillard fca1fc
edf6aa
%if %{with_nbdkit}
edf6aa
    %define arg_nbdkit -Dnbdkit=enabled
edf6aa
%else
edf6aa
    %define arg_nbdkit -Dnbdkit=disabled
edf6aa
%endif
edf6aa
f3cac3
%if %{with_nbdkit_config_default}
f3cac3
    %define arg_nbdkit_config_default -Dnbdkit_config_default=enabled
f3cac3
%else
f3cac3
    %define arg_nbdkit_config_default -Dnbdkit_config_default=disabled
f3cac3
%endif
f3cac3
Daniel P. Berrange 47ca46
%if %{with_fuse}
b0c05a
    %define arg_fuse -Dfuse=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_fuse -Dfuse=disabled
Daniel Veillard fca1fc
%endif
Daniel Veillard fca1fc
Daniel P. Berrange 47ca46
%if %{with_sanlock}
b0c05a
    %define arg_sanlock -Dsanlock=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_sanlock -Dsanlock=disabled
Daniel Veillard 544ad4
%endif
Daniel Veillard 544ad4
Daniel P. Berrangé 5cbc04
%if %{with_firewalld_zone}
b0c05a
    %define arg_firewalld_zone -Dfirewalld_zone=enabled
Daniel P. Berrangé 5cbc04
%else
b0c05a
    %define arg_firewalld_zone -Dfirewalld_zone=disabled
Daniel P. Berrangé 5cbc04
%endif
Daniel P. Berrangé 5cbc04
Laine Stump b97ad8
%if %{with_netcf}
Laine Stump b97ad8
    %define arg_netcf -Dnetcf=enabled
Laine Stump b97ad8
%else
Laine Stump b97ad8
    %define arg_netcf -Dnetcf=disabled
Laine Stump b97ad8
%endif
Laine Stump b97ad8
Daniel P. Berrange 47ca46
%if %{with_wireshark}
b0c05a
    %define arg_wireshark -Dwireshark_dissector=enabled
Daniel P. Berrange 47ca46
%else
b0c05a
    %define arg_wireshark -Dwireshark_dissector=disabled
Daniel P. Berrange 1b8b75
%endif
Daniel P. Berrange 1b8b75
Daniel P. Berrangé e5fa1c
%if %{with_storage_iscsi_direct}
Daniel P. Berrangé 91d8ef
    %define arg_storage_iscsi_direct -Dstorage_iscsi_direct=enabled -Dlibiscsi=enabled
Daniel P. Berrangé e5fa1c
%else
Daniel P. Berrangé 91d8ef
    %define arg_storage_iscsi_direct -Dstorage_iscsi_direct=disabled -Dlibiscsi=disabled
Daniel P. Berrangé e5fa1c
%endif
Daniel P. Berrangé e5fa1c
Daniel P. Berrangé 18b1c9
%if %{with_libssh}
Daniel P. Berrangé 18b1c9
    %define arg_libssh -Dlibssh=enabled
Daniel P. Berrangé 18b1c9
%else
Daniel P. Berrangé 18b1c9
    %define arg_libssh -Dlibssh=disabled
Daniel P. Berrangé 18b1c9
%endif
Daniel P. Berrangé 18b1c9
Daniel P. Berrangé 18b1c9
%if %{with_libssh2}
Daniel P. Berrangé 18b1c9
    %define arg_libssh2 -Dlibssh2=enabled
Daniel P. Berrangé 18b1c9
%else
Daniel P. Berrangé 18b1c9
    %define arg_libssh2 -Dlibssh2=disabled
Daniel P. Berrangé 18b1c9
%endif
Daniel P. Berrangé 18b1c9
Daniel P. Berrangé dc6b51
%if %{with_modular_daemons}
Daniel P. Berrangé dc6b51
    %define arg_remote_mode -Dremote_default_mode=direct
Daniel P. Berrangé dc6b51
%else
Daniel P. Berrangé dc6b51
    %define arg_remote_mode -Dremote_default_mode=legacy
Daniel P. Berrangé dc6b51
%endif
Daniel P. Berrangé dc6b51
b0d2e0
%if %{with_userfaultfd_sysctl}
b0d2e0
    %define arg_userfaultfd_sysctl -Duserfaultfd_sysctl=enabled
b0d2e0
%else
b0d2e0
    %define arg_userfaultfd_sysctl -Duserfaultfd_sysctl=disabled
b0d2e0
%endif
b0d2e0
Daniel Veillard f13fb1
%define when  %(date +"%%F-%%T")
Daniel Veillard f13fb1
%define where %(hostname)
Daniel Veillard f13fb1
%define who   %{?packager}%{!?packager:Unknown}
b0c05a
%define arg_packager -Dpackager="%{who}, %{when}, %{where}"
b0c05a
%define arg_packager_version -Dpackager_version="%{release}"
b0c05a
%define arg_selinux_mount -Dselinux_mount="/sys/fs/selinux"
Daniel P. Berrange 47ca46
Daniel P. Berrange 11755d
# place macros above and build commands below this comment
Daniel P. Berrange 11755d
044c5b
export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
Daniel P. Berrange a56bcb
8556d4
%if %{with_native}
b0c05a
%meson \
b0c05a
           -Drunstatedir=%{_rundir} \
507eb3
           -Dinitconfdir=%{_sysconfdir}/sysconfig \
afe818
           %{?arg_qemu} \
Daniel P. Berrange 47ca46
           %{?arg_openvz} \
Daniel P. Berrange 47ca46
           %{?arg_lxc} \
Daniel P. Berrange 47ca46
           %{?arg_vbox} \
Daniel P. Berrange 47ca46
           %{?arg_libxl} \
b0c05a
           -Dsasl=enabled \
b0c05a
           -Dpolkit=enabled \
b0c05a
           -Ddriver_libvirtd=enabled \
6752fe
           -Ddriver_remote=enabled \
6752fe
           -Ddriver_test=enabled \
Daniel P. Berrange 47ca46
           %{?arg_esx} \
Daniel P. Berrange 47ca46
           %{?arg_hyperv} \
Daniel P. Berrange 47ca46
           %{?arg_vmware} \
b0c05a
           -Ddriver_vz=disabled \
b0c05a
           -Ddriver_bhyve=disabled \
6752fe
           -Ddriver_ch=disabled \
Daniel P. Berrangé dc6b51
           %{?arg_remote_mode} \
b0c05a
           -Ddriver_interface=enabled \
b0c05a
           -Ddriver_network=enabled \
b0c05a
           -Dstorage_fs=enabled \
b0c05a
           -Dstorage_lvm=enabled \
b0c05a
           -Dstorage_iscsi=enabled \
Daniel P. Berrangé e5fa1c
           %{?arg_storage_iscsi_direct} \
b0c05a
           -Dstorage_scsi=enabled \
b0c05a
           -Dstorage_disk=enabled \
b0c05a
           -Dstorage_mpath=enabled \
Daniel P. Berrange 47ca46
           %{?arg_storage_rbd} \
Daniel P. Berrange 47ca46
           %{?arg_storage_gluster} \
Daniel P. Berrange 7335ed
           %{?arg_storage_zfs} \
b0c05a
           -Dstorage_vstorage=disabled \
Daniel P. Berrange 47ca46
           %{?arg_numactl} \
Daniel P. Berrange 47ca46
           %{?arg_numad} \
b0c05a
           -Dcapng=enabled \
Daniel P. Berrange 47ca46
           %{?arg_fuse} \
Laine Stump b97ad8
           %{?arg_netcf} \
8556d4
           -Dnls=enabled \
b0c05a
           -Dselinux=enabled \
Daniel P. Berrange 47ca46
           %{?arg_selinux_mount} \
b0c05a
           -Dapparmor=disabled \
6752fe
           -Dapparmor_profiles=disabled \
b0c05a
           -Dsecdriver_apparmor=disabled \
b0c05a
           -Dudev=enabled \
b0c05a
           -Dyajl=enabled \
Daniel P. Berrange 47ca46
           %{?arg_sanlock} \
b0c05a
           -Dlibpcap=enabled \
edf6aa
           %{?arg_nbdkit} \
f3cac3
           %{?arg_nbdkit_config_default} \
a761ea
           -Dlibnl=enabled \
b0c05a
           -Daudit=enabled \
b0c05a
           -Ddtrace=enabled \
a761ea
           -Dfirewalld=enabled \
Daniel P. Berrangé 5cbc04
           %{?arg_firewalld_zone} \
Daniel P. Berrange 47ca46
           %{?arg_wireshark} \
Daniel P. Berrangé 18b1c9
           %{?arg_libssh} \
Daniel P. Berrangé 18b1c9
           %{?arg_libssh2} \
b0c05a
           -Dpm_utils=disabled \
b0c05a
           -Dnss=enabled \
Daniel P. Berrange 47ca46
           %{arg_packager} \
Daniel P. Berrange 47ca46
           %{arg_packager_version} \
b0c05a
           -Dqemu_user=%{qemu_user} \
b0c05a
           -Dqemu_group=%{qemu_group} \
Daniel P. Berrangé a552a1
           -Dqemu_moddir=%{qemu_moddir} \
Daniel P. Berrangé a552a1
           -Dqemu_datadir=%{qemu_datadir} \
b0c05a
           -Dtls_priority=%{tls_priority} \
b0d2e0
           -Dsysctl_config=enabled \
b0d2e0
           %{?arg_userfaultfd_sysctl} \
Daniel P. Berrange 11755d
           %{?enable_werror} \
b0c05a
           -Dexpensive_tests=enabled \
b0c05a
           -Dinit_script=systemd \
a761ea
           -Ddocs=enabled \
a761ea
           -Dtests=enabled \
a761ea
           -Drpath=disabled \
Daniel P. Berrangé 48941c
           %{?arg_login_shell}
b0c05a
b0c05a
%meson_build
8556d4
%endif
Daniel Veillard e2b90f
8556d4
%if %{with_mingw32} || %{with_mingw64}
Daniel P. Berrangé 83def0
%mingw_meson \
Daniel P. Berrangé 83def0
  --auto-features=enabled \
Daniel P. Berrangé 83def0
  -Ddriver_remote=enabled \
Daniel P. Berrangé 83def0
  -Ddriver_test=enabled \
Daniel P. Berrangé 83def0
  -Ddriver_esx=enabled \
Daniel P. Berrangé 83def0
  -Dcurl=enabled \
Daniel P. Berrangé 83def0
  -Ddocs=enabled \
Daniel P. Berrangé 83def0
  -Dapparmor=disabled \
Daniel P. Berrangé 83def0
  -Dapparmor_profiles=disabled \
Daniel P. Berrangé 83def0
  -Dattr=disabled \
Daniel P. Berrangé 83def0
  -Daudit=disabled \
Daniel P. Berrangé 83def0
  -Dbash_completion=disabled \
Daniel P. Berrangé 83def0
  -Dblkid=disabled \
Daniel P. Berrangé 83def0
  -Dcapng=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_bhyve=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_hyperv=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_interface=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_libvirtd=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_libxl=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_lxc=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_network=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_openvz=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_qemu=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_secrets=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_vbox=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_vmware=disabled \
Daniel P. Berrangé 83def0
  -Ddriver_vz=disabled \
Daniel P. Berrangé 83def0
  -Ddtrace=disabled \
c87932
  -Dexpensive_tests=disabled \
Daniel P. Berrangé 83def0
  -Dfirewalld=disabled \
Daniel P. Berrangé 83def0
  -Dfirewalld_zone=disabled \
Daniel P. Berrangé 83def0
  -Dfuse=disabled \
Daniel P. Berrangé 83def0
  -Dglusterfs=disabled \
Daniel P. Berrangé 83def0
  -Dhost_validate=disabled \
Daniel P. Berrangé 83def0
  -Dlibiscsi=disabled \
edf6aa
  -Dnbdkit=disabled \
f3cac3
  -Dnbdkit_config_default=disabled \
Daniel P. Berrangé 83def0
  -Dlibnl=disabled \
Daniel P. Berrangé 83def0
  -Dlibpcap=disabled \
Daniel P. Berrangé 83def0
  -Dlibssh2=disabled \
Daniel P. Berrangé 83def0
  -Dlibssh=disabled \
Daniel P. Berrangé 83def0
  -Dlogin_shell=disabled \
Daniel P. Berrangé 83def0
  -Dnetcf=disabled \
8556d4
  -Dnls=enabled \
Daniel P. Berrangé 83def0
  -Dnss=disabled \
Daniel P. Berrangé 83def0
  -Dnumactl=disabled \
Daniel P. Berrangé 83def0
  -Dnumad=disabled \
Daniel P. Berrangé 83def0
  -Dopenwsman=disabled \
Daniel P. Berrangé 83def0
  -Dpciaccess=disabled \
Daniel P. Berrangé 83def0
  -Dpm_utils=disabled \
Daniel P. Berrangé 83def0
  -Dpolkit=disabled \
Daniel P. Berrangé 83def0
  -Dreadline=disabled \
Daniel P. Berrangé 83def0
  -Drpath=disabled \
Daniel P. Berrangé 83def0
  -Dsanlock=disabled \
Daniel P. Berrangé 83def0
  -Dsasl=disabled \
Daniel P. Berrangé 83def0
  -Dsecdriver_apparmor=disabled \
Daniel P. Berrangé 83def0
  -Dsecdriver_selinux=disabled \
Daniel P. Berrangé 83def0
  -Dselinux=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_dir=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_disk=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_fs=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_gluster=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_iscsi_direct=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_iscsi=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_lvm=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_mpath=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_rbd=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_scsi=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_vstorage=disabled \
Daniel P. Berrangé 83def0
  -Dstorage_zfs=disabled \
Daniel P. Berrangé 83def0
  -Dsysctl_config=disabled \
b0d2e0
  -Duserfaultfd_sysctl=disabled \
Daniel P. Berrangé 83def0
  -Dtests=disabled \
Daniel P. Berrangé 83def0
  -Dudev=disabled \
Daniel P. Berrangé 83def0
  -Dwireshark_dissector=disabled \
Daniel P. Berrangé 83def0
  -Dyajl=disabled
8556d4
    %mingw_ninja
Daniel P. Berrangé 83def0
%endif
Daniel P. Berrangé 83def0
Daniel Veillard e2b90f
%install
Mark McLoughlin a38fb9
rm -fr %{buildroot}
Daniel Veillard e2b90f
044c5b
export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
Daniel P. Berrange a56bcb
8556d4
%if %{with_native}
b0c05a
%meson_install
Daniel P. Berrange 350081
6752fe
# We don't want to install /etc/libvirt/qemu/networks in the main %%files list
Daniel Veillard 7a6f07
# because if the admin wants to delete the default network completely, we don't
Daniel Veillard 7a6f07
# want to end up re-incarnating it on every RPM upgrade.
Daniel Veillard 7a6f07
install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
Daniel Veillard 7a6f07
cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
Daniel Veillard 7a6f07
   $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
Daniel P. Berrangé c2c89e
# libvirt saves this file with mode 0600
Daniel P. Berrangé c2c89e
chmod 0600 $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel P. Berrange b23ff9
6752fe
# nwfilter files are installed in /usr/share/libvirt and copied to /etc in %%post
Daniel P. Berrange b23ff9
# to avoid verification errors on changed files in /etc
Daniel P. Berrange b23ff9
install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/nwfilter/
Daniel P. Berrange b23ff9
cp -a $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/nwfilter/*.xml \
Daniel P. Berrange b23ff9
    $RPM_BUILD_ROOT%{_datadir}/libvirt/nwfilter/
Daniel P. Berrangé 061231
# libvirt saves these files with mode 600
Daniel P. Berrangé 061231
chmod 600 $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/nwfilter/*.xml
Daniel P. Berrange b23ff9
8556d4
    %if ! %{with_qemu}
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_qemu.aug
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
b0d2e0
rm -f $RPM_BUILD_ROOT%{_sysusersdir}/libvirt-qemu.conf
8556d4
    %endif
Daniel Veillard 5c1d88
%find_lang %{name}
Daniel Veillard e2b90f
8556d4
    %if ! %{with_sanlock}
Daniel Veillard 544ad4
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirt_sanlock.aug
Daniel Veillard 544ad4
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
8556d4
    %endif
Daniel Veillard 544ad4
8556d4
    %if ! %{with_lxc}
Daniel Veillard 6383d6
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_lxc.aug
Daniel Veillard 6383d6
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
8556d4
    %endif
Daniel Veillard 6383d6
8556d4
    %if ! %{with_qemu}
Daniel Veillard f294b4
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
Daniel Veillard 36cab8
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
8556d4
    %endif
8556d4
    %if ! %{with_lxc}
Daniel Veillard 6383d6
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/lxc.conf
Daniel Veillard a160d7
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.lxc
8556d4
    %endif
8556d4
    %if ! %{with_libxl}
5f1a42
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/libxl.conf
Daniel P. Berrange c81949
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.libxl
5f1a42
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_libxl.aug
5f1a42
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug
8556d4
    %endif
Daniel Veillard f294b4
Daniel P. Berrange 8c9e40
# Copied into libvirt-docs subpackage eventually
Daniel P. Berrangé c2c89e
mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt libvirt-docs
Daniel P. Berrange 96a520
8556d4
    %ifarch %{arches_systemtap_64bit}
96b1b1
mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes.stp \
96b1b1
   $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes-64.stp
Daniel P. Berrangé 061231
8556d4
        %if %{with_qemu}
96b1b1
mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
96b1b1
   $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes-64.stp
8556d4
        %endif
Daniel P. Berrangé 061231
    %endif
96b1b1
%endif
96b1b1
8556d4
%if %{with_mingw32} || %{with_mingw64}
Daniel P. Berrangé 83def0
%mingw_ninja_install
8556d4
%endif
Daniel P. Berrangé 83def0
8556d4
%if %{with_mingw32}
Daniel P. Berrangé 83def0
rm -rf $RPM_BUILD_ROOT%{mingw32_sysconfdir}/libvirt/nwfilter
Daniel P. Berrangé 83def0
rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/doc/*
Daniel P. Berrangé 83def0
rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/gtk-doc/*
Daniel P. Berrangé 83def0
rm -rf $RPM_BUILD_ROOT%{mingw32_libexecdir}/libvirt_iohelper.exe
Daniel P. Berrangé 83def0
rm -rf $RPM_BUILD_ROOT%{mingw32_libexecdir}/libvirt-guests.sh
8556d4
%endif
8556d4
8556d4
%if %{with_mingw64}
8556d4
rm -rf $RPM_BUILD_ROOT%{mingw64_sysconfdir}/libvirt/nwfilter
8556d4
rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/doc/*
8556d4
rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/gtk-doc/*
8556d4
rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt_iohelper.exe
Daniel P. Berrangé 83def0
rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
8556d4
%endif
Daniel P. Berrangé 83def0
8556d4
%if %{with_mingw32} || %{with_mingw64}
Daniel P. Berrangé 83def0
%mingw_debug_install_post
Daniel P. Berrangé 83def0
044c5b
%mingw_find_lang %{name}
Daniel P. Berrangé 83def0
044c5b
%endif
Daniel P. Berrangé 83def0
Daniel Veillard a160d7
%check
8556d4
8556d4
%if %{with_native}
bbfa59
# Building on slow archs, like emulated s390x in Fedora copr, requires
bbfa59
# raising the test timeout
bbfa59
VIR_TEST_DEBUG=1 %meson_test --no-suite syntax-check --timeout-multiplier 10
8556d4
%endif
Daniel Veillard a160d7
adaeee
%define libvirt_rpmstatedir %{_localstatedir}/lib/rpm-state/libvirt
adaeee
adaeee
# Mark units such that presets will later be applied to them. Meant
adaeee
# to be called during %pre. Units that already exist on the system
adaeee
# will not be marked, with the assumption that presets have already
adaeee
# been applied at some point in the past. This makes it safe to call
adaeee
# this macro for all units each time %pre runs.
adaeee
%define libvirt_systemd_schedule_preset() \
adaeee
    mkdir -p %{libvirt_rpmstatedir} || : \
adaeee
    for unit in %{?*}; do \
adaeee
        if ! test -e %{_unitdir}/$unit; then \
adaeee
            touch %{libvirt_rpmstatedir}/preset-$unit || : \
adaeee
        fi \
adaeee
    done \
adaeee
    %{nil}
adaeee
adaeee
# Apply presets for units that have previously been marked. Meant to
adaeee
# be called during %posttrans. Note that foo.service must be passed
adaeee
# as the first argument, before all the various foo*.socket
adaeee
# associated with it, for things to work correctly. This is necessary
adaeee
# because Also=foo.socket is usually present in foo.service's
adaeee
# [Install] section, and we want that configuration to take
adaeee
# precedence over foo.socket's own presets.
adaeee
%define libvirt_systemd_perform_preset() \
adaeee
    %{?7:%{error:Too many arguments}} \
adaeee
    for unit in %{?2} %{?3} %{?4} %{?5} %{?6} %1; do \
adaeee
        if test -e %{libvirt_rpmstatedir}/preset-$unit; then \
adaeee
            /usr/bin/systemctl --no-reload preset $unit || : \
adaeee
        fi \
adaeee
        rm -f %{libvirt_rpmstatedir}/preset-$unit \
adaeee
    done \
adaeee
    rmdir %{libvirt_rpmstatedir} 2>/dev/null || : \
adaeee
    %{nil}
adaeee
adaeee
# Mark a single unit for restart. Meant to be called during %pre.
adaeee
%define libvirt_systemd_schedule_restart() \
adaeee
    mkdir -p %{libvirt_rpmstatedir} || : \
adaeee
    touch %{libvirt_rpmstatedir}/restart-%1 || : \
adaeee
    %{nil}
adaeee
adaeee
# Restart a unit that was previously marked. Meant to be called
adaeee
# during %posttrans. If systemd is not running, no action will be
adaeee
# performed.
adaeee
%define libvirt_systemd_perform_restart() \
adaeee
    if test -d /run/systemd/system && \
adaeee
       test -e %{libvirt_rpmstatedir}/restart-%1; then \
adaeee
        /usr/bin/systemctl try-restart %1 >/dev/null 2>&1 || : \
adaeee
    fi \
adaeee
    rm -f %{libvirt_rpmstatedir}/restart-%1 \
adaeee
    rmdir %{libvirt_rpmstatedir} 2>/dev/null || : \
adaeee
    %{nil}
adaeee
adaeee
# Mark a single unit for reload. Meant to be called during %pre.
adaeee
%define libvirt_systemd_schedule_reload() \
adaeee
    mkdir -p %{libvirt_rpmstatedir} || : \
adaeee
    touch %{libvirt_rpmstatedir}/reload-%1 || : \
adaeee
    %{nil}
adaeee
adaeee
# Reload a unit that was previously marked. Meant to be called during
adaeee
# %posttrans. If systemd is not running, no action will be performed.
adaeee
%define libvirt_systemd_perform_reload() \
adaeee
    if test -d /run/systemd/system && \
adaeee
       test -e %{libvirt_rpmstatedir}/reload-%1; then \
adaeee
        /usr/bin/systemctl try-reload-or-restart %1 >/dev/null 2>&1 || : \
adaeee
    fi \
adaeee
    rm -f %{libvirt_rpmstatedir}/reload-%1 \
adaeee
    rmdir %{libvirt_rpmstatedir} 2>/dev/null || : \
adaeee
    %{nil}
adaeee
adaeee
# Disable a single unit, optionally stopping it if systemd is
adaeee
# running. Meant to be called during %preun.
adaeee
%define libvirt_systemd_disable() \
adaeee
    if test -d /run/systemd/system; then \
adaeee
        /usr/bin/systemctl --no-reload disable --now %{?*} || : \
adaeee
    else \
adaeee
        /usr/bin/systemctl --no-reload disable %{?*} || : \
adaeee
    fi \
adaeee
    %{nil}
adaeee
adaeee
# %pre implementation for services that should be restarted on
adaeee
# upgrade. Note that foo.service must be passed as the first
adaeee
# argument, before all the various foo*.socket associated with it.
adaeee
%define libvirt_systemd_restart_pre() \
adaeee
    %libvirt_systemd_schedule_preset %{?*} \
adaeee
    %libvirt_systemd_schedule_restart %1 \
adaeee
    %{nil}
Daniel P. Berrangé dc6b51
adaeee
# %pre implementation for services that should be reloaded on
adaeee
# upgrade. Note that foo.service must be passed as the first
adaeee
# argument, before all the various foo*.socket associated with it.
adaeee
%define libvirt_systemd_reload_pre() \
adaeee
    %libvirt_systemd_schedule_preset %{?*} \
adaeee
    %libvirt_systemd_schedule_reload %1 \
adaeee
    %{nil}
Daniel P. Berrangé dc6b51
adaeee
# %pre implementation for services that should be neither restarted
adaeee
# nor reloaded on upgrade.
adaeee
%define libvirt_systemd_noaction_pre() \
adaeee
    %libvirt_systemd_schedule_preset %{?*} \
adaeee
    %{nil}
Daniel P. Berrangé dc6b51
adaeee
# %posttrans implementation for all services. We can use a single
adaeee
# macro to cover all scenarios, because each operation will only be
adaeee
# performed if it had previously been scheduled. Note that
adaeee
# foo.service must be passed as the first argument, before all the
adaeee
# various foo*.socket associated with it.
adaeee
%define libvirt_systemd_posttrans() \
adaeee
    %libvirt_systemd_perform_preset %{?*} \
adaeee
    %libvirt_systemd_perform_reload %1 \
adaeee
    %libvirt_systemd_perform_restart %1 \
adaeee
    %{nil}
adaeee
adaeee
# %preun implementation for all services.
adaeee
%define libvirt_systemd_preun() \
adaeee
    if [ $1 -lt 1 ]; then \
adaeee
        %libvirt_systemd_disable %{?*} \
adaeee
    fi \
adaeee
    %{nil}
Daniel P. Berrangé dc6b51
c26961
# For daemons with only UNIX sockets
adaeee
adaeee
%define libvirt_systemd_unix_pre() %libvirt_systemd_restart_pre %1.service %1.socket %1-ro.socket %1-admin.socket
adaeee
%define libvirt_systemd_unix_posttrans() %libvirt_systemd_posttrans %1.service %1.socket %1-ro.socket %1-admin.socket
adaeee
%define libvirt_systemd_unix_preun() %libvirt_systemd_preun %1.service %1.socket %1-ro.socket %1-admin.socket
Daniel P. Berrangé dc6b51
c26961
# For daemons with UNIX and INET sockets
adaeee
%define libvirt_systemd_inet_pre() %libvirt_systemd_restart_pre %1.service %1.socket %1-ro.socket %1-admin.socket %1-tls.socket %1-tcp.socket
adaeee
%define libvirt_systemd_inet_posttrans() %libvirt_systemd_posttrans %1.service %1.socket %1-ro.socket %1-admin.socket %1-tls.socket %1-tcp.socket
adaeee
%define libvirt_systemd_inet_preun() %libvirt_systemd_preun %1.service %1.socket %1-ro.socket %1-admin.socket %1-tls.socket %1-tcp.socket
Daniel P. Berrangé dc6b51
c26961
# For daemons with only UNIX sockets and no unprivileged read-only access
adaeee
%define libvirt_systemd_privileged_pre() %libvirt_systemd_reload_pre %1.service %1.socket %1-admin.socket
adaeee
%define libvirt_systemd_privileged_posttrans() %libvirt_systemd_posttrans %1.service %1.socket %1-admin.socket
adaeee
%define libvirt_systemd_privileged_preun() %libvirt_systemd_preun %1.service %1.socket %1-admin.socket
c26961
adaeee
# For one-shot daemons that have no associated sockets and should never be restarted
adaeee
%define libvirt_systemd_oneshot_pre() %libvirt_systemd_noaction_pre %1.service
adaeee
%define libvirt_systemd_oneshot_posttrans() %libvirt_systemd_posttrans %1.service
adaeee
%define libvirt_systemd_oneshot_preun() %libvirt_systemd_preun %1.service
Daniel P. Berrange c81949
adaeee
# For packages that install configuration for other daemons
adaeee
%define libvirt_systemd_config_pre() %libvirt_systemd_schedule_restart %1.service
adaeee
%define libvirt_systemd_config_posttrans() %libvirt_systemd_perform_restart %1.service
Daniel P. Berrange 89c3fa
8556d4
%if %{with_native}
adaeee
%pre daemon
adaeee
%libvirt_sysconfig_pre libvirtd
adaeee
%libvirt_systemd_inet_pre libvirtd
Daniel P. Berrange 65efaa
Daniel P. Berrange 89c3fa
%posttrans daemon
c1a341
%libvirt_sysconfig_posttrans libvirtd
adaeee
%libvirt_systemd_inet_posttrans libvirtd
adaeee
adaeee
%preun daemon
adaeee
%libvirt_systemd_inet_preun libvirtd
Daniel P. Berrange 89c3fa
c1a341
%pre daemon-common
c1a341
%libvirt_sysconfig_pre libvirt-guests
adaeee
%libvirt_systemd_oneshot_pre libvirt-guests
c1a341
# 'libvirt' group is just to allow password-less polkit access to libvirt
c1a341
# daemons. The uid number is irrelevant, so we use dynamic allocation.
c1a341
getent group libvirt >/dev/null || groupadd -r libvirt
c1a341
exit 0
c1a341
c1a341
%posttrans daemon-common
c1a341
%libvirt_sysconfig_posttrans libvirt-guests
adaeee
%libvirt_systemd_oneshot_posttrans libvirt-guests
adaeee
adaeee
%preun daemon-common
adaeee
%libvirt_systemd_oneshot_preun libvirt-guests
c1a341
c1a341
%pre daemon-lock
c1a341
%libvirt_sysconfig_pre virtlockd
adaeee
%libvirt_systemd_privileged_pre virtlockd
c1a341
c1a341
%posttrans daemon-lock
c1a341
%libvirt_sysconfig_posttrans virtlockd
adaeee
%libvirt_systemd_privileged_posttrans virtlockd
adaeee
adaeee
%preun daemon-lock
adaeee
%libvirt_systemd_privileged_preun virtlockd
c1a341
c1a341
%pre daemon-log
c1a341
%libvirt_sysconfig_pre virtlogd
adaeee
%libvirt_systemd_privileged_pre virtlogd
c1a341
c1a341
%posttrans daemon-log
c1a341
%libvirt_sysconfig_posttrans virtlogd
adaeee
%libvirt_systemd_privileged_posttrans virtlogd
adaeee
adaeee
%preun daemon-log
adaeee
%libvirt_systemd_privileged_preun virtlogd
c1a341
c1a341
%pre daemon-proxy
c1a341
%libvirt_sysconfig_pre virtproxyd
adaeee
%libvirt_systemd_inet_pre virtproxyd
c1a341
c1a341
%posttrans daemon-proxy
c1a341
%libvirt_sysconfig_posttrans virtproxyd
adaeee
%libvirt_systemd_inet_posttrans virtproxyd
adaeee
adaeee
%preun daemon-proxy
adaeee
%libvirt_systemd_inet_preun virtproxyd
c1a341
da34e5
%pre daemon-driver-network
da34e5
%libvirt_sysconfig_pre virtnetworkd
adaeee
%libvirt_systemd_unix_pre virtnetworkd
da34e5
Daniel P. Berrangé 5cbc04
%post daemon-driver-network
8556d4
    %if %{with_firewalld_zone}
Daniel P. Berrangé 5cbc04
    %firewalld_reload
8556d4
    %endif
Daniel P. Berrangé 5cbc04
adaeee
%posttrans daemon-driver-network
adaeee
%libvirt_sysconfig_posttrans virtnetworkd
adaeee
%libvirt_systemd_unix_posttrans virtnetworkd
Daniel P. Berrangé dc6b51
c26961
%preun daemon-driver-network
adaeee
%libvirt_systemd_unix_preun virtnetworkd
Daniel P. Berrangé dc6b51
Daniel P. Berrangé 5cbc04
%postun daemon-driver-network
8556d4
    %if %{with_firewalld_zone}
Daniel P. Berrangé 5cbc04
    %firewalld_reload
8556d4
    %endif
Daniel P. Berrangé 5cbc04
da34e5
%pre daemon-driver-nwfilter
da34e5
%libvirt_sysconfig_pre virtnwfilterd
adaeee
%libvirt_systemd_unix_pre virtnwfilterd
Daniel P. Berrangé dc6b51
Daniel P. Berrangé dc6b51
%posttrans daemon-driver-nwfilter
da34e5
%libvirt_sysconfig_posttrans virtnwfilterd
adaeee
%libvirt_systemd_unix_posttrans virtnwfilterd
adaeee
adaeee
%preun daemon-driver-nwfilter
adaeee
%libvirt_systemd_unix_preun virtnwfilterd
Daniel P. Berrangé dc6b51
da34e5
%pre daemon-driver-nodedev
da34e5
%libvirt_sysconfig_pre virtnodedevd
adaeee
%libvirt_systemd_unix_pre virtnodedevd
Daniel P. Berrangé dc6b51
Daniel P. Berrangé dc6b51
%posttrans daemon-driver-nodedev
da34e5
%libvirt_sysconfig_posttrans virtnodedevd
adaeee
%libvirt_systemd_unix_posttrans virtnodedevd
adaeee
adaeee
%preun daemon-driver-nodedev
adaeee
%libvirt_systemd_unix_preun virtnodedevd
Daniel P. Berrangé dc6b51
da34e5
%pre daemon-driver-interface
da34e5
%libvirt_sysconfig_pre virtinterfaced
adaeee
%libvirt_systemd_unix_pre virtinterfaced
Daniel P. Berrangé dc6b51
Daniel P. Berrangé dc6b51
%posttrans daemon-driver-interface
da34e5
%libvirt_sysconfig_posttrans virtinterfaced
adaeee
%libvirt_systemd_unix_posttrans virtinterfaced
adaeee
adaeee
%preun daemon-driver-interface
adaeee
%libvirt_systemd_unix_preun virtinterfaced
Daniel P. Berrangé dc6b51
da34e5
%pre daemon-driver-secret
da34e5
%libvirt_sysconfig_pre virtsecretd
Daniel P. Berrangé 5828ec
%libvirt_systemd_unix_pre virtsecretd
Daniel P. Berrangé dc6b51
Daniel P. Berrangé 97a323
%posttrans daemon-driver-secret
da34e5
%libvirt_sysconfig_posttrans virtsecretd
Daniel P. Berrangé 5828ec
%libvirt_systemd_unix_posttrans virtsecretd
adaeee
adaeee
%preun daemon-driver-secret
Daniel P. Berrangé 5828ec
%libvirt_systemd_unix_preun virtsecretd
Daniel P. Berrangé dc6b51
da34e5
%pre daemon-driver-storage-core
da34e5
%libvirt_sysconfig_pre virtstoraged
adaeee
%libvirt_systemd_unix_pre virtstoraged
Daniel P. Berrangé dc6b51
da34e5
%posttrans daemon-driver-storage-core
da34e5
%libvirt_sysconfig_posttrans virtstoraged
adaeee
%libvirt_systemd_unix_posttrans virtstoraged
adaeee
adaeee
%preun daemon-driver-storage-core
adaeee
%libvirt_systemd_unix_preun virtstoraged
Daniel P. Berrangé dc6b51
8556d4
    %if %{with_qemu}
c26961
%pre daemon-driver-qemu
da34e5
%libvirt_sysconfig_pre virtqemud
adaeee
%libvirt_systemd_unix_pre virtqemud
b0d2e0
c26961
# We want soft static allocation of well-known ids, as disk images
b0d2e0
# are commonly shared across NFS mounts by id rather than name.
b0d2e0
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/
b0d2e0
# We can not use the sysusers_create_compat macro here as we want to keep the
b0d2e0
# specfile standalone and not relying on additionnal files.
b0d2e0
getent group 'kvm' >/dev/null || groupadd -f -g '36' -r 'kvm' || :
b0d2e0
getent group 'qemu' >/dev/null || groupadd -f -g '107' -r 'qemu' || :
b0d2e0
if ! getent passwd 'qemu' >/dev/null; then
b0d2e0
  if ! getent passwd '107' >/dev/null; then
b0d2e0
    useradd -r -u '107' -g 'qemu' -G 'kvm' -d '/' -s '/sbin/nologin' -c 'qemu user' 'qemu' || :
c26961
  else
b0d2e0
    useradd -r -g 'qemu' -G 'kvm' -d '/' -s '/sbin/nologin' -c 'qemu user' 'qemu' || :
c26961
  fi
c26961
fi
c26961
exit 0
c26961
Daniel P. Berrangé dc6b51
%posttrans daemon-driver-qemu
da34e5
%libvirt_sysconfig_posttrans virtqemud
adaeee
%libvirt_systemd_unix_posttrans virtqemud
adaeee
adaeee
%preun daemon-driver-qemu
adaeee
%libvirt_systemd_unix_preun virtqemud
8556d4
    %endif
Daniel P. Berrangé dc6b51
8556d4
    %if %{with_lxc}
da34e5
%pre daemon-driver-lxc
da34e5
%libvirt_sysconfig_pre virtlxcd
adaeee
%libvirt_systemd_unix_pre virtlxcd
Daniel P. Berrangé dc6b51
Daniel P. Berrangé dc6b51
%posttrans daemon-driver-lxc
da34e5
%libvirt_sysconfig_posttrans virtlxcd
adaeee
%libvirt_systemd_unix_posttrans virtlxcd
adaeee
adaeee
%preun daemon-driver-lxc
adaeee
%libvirt_systemd_unix_preun virtlxcd
8556d4
    %endif
Daniel P. Berrangé dc6b51
8556d4
    %if %{with_vbox}
da34e5
%pre daemon-driver-vbox
da34e5
%libvirt_sysconfig_pre virtvboxd
adaeee
%libvirt_systemd_unix_pre virtvboxd
Daniel P. Berrangé dc6b51
Daniel P. Berrangé dc6b51
%posttrans daemon-driver-vbox
da34e5
%libvirt_sysconfig_posttrans virtvboxd
adaeee
%libvirt_systemd_unix_posttrans virtvboxd
adaeee
adaeee
%preun daemon-driver-vbox
adaeee
%libvirt_systemd_unix_preun virtvboxd
8556d4
    %endif
Daniel P. Berrangé dc6b51
8556d4
    %if %{with_libxl}
da34e5
%pre daemon-driver-libxl
da34e5
%libvirt_sysconfig_pre virtxend
adaeee
%libvirt_systemd_unix_pre virtxend
Daniel P. Berrangé dc6b51
Daniel P. Berrangé dc6b51
%posttrans daemon-driver-libxl
da34e5
%libvirt_sysconfig_posttrans virtxend
adaeee
%libvirt_systemd_unix_posttrans virtxend
adaeee
adaeee
%preun daemon-driver-libxl
adaeee
%libvirt_systemd_unix_preun virtxend
8556d4
    %endif
Daniel P. Berrangé dc6b51
adaeee
%pre daemon-config-network
adaeee
%libvirt_systemd_config_pre libvirtd
adaeee
%libvirt_systemd_config_pre virtnetworkd
adaeee
Daniel P. Berrange 44699d
%post daemon-config-network
Daniel P. Berrange 44699d
if test $1 -eq 1 && test ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml ; then
a54075
    # see if the network used by default network creates a conflict,
a54075
    # and try to resolve it
a54075
    # NB: 192.168.122.0/24 is used in the default.xml template file;
a54075
    # do not modify any of those values here without also modifying
a54075
    # them in the template.
a54075
    orig_sub=122
a54075
    sub=${orig_sub}
a54075
    nl='
a54075
'
a54075
    routes="${nl}$(ip route show | cut -d' ' -f1)${nl}"
a54075
    case ${routes} in
a54075
      *"${nl}192.168.${orig_sub}.0/24${nl}"*)
a54075
        # there was a match, so we need to look for an unused subnet
a54075
        for new_sub in $(seq 124 254); do
a54075
          case ${routes} in
a54075
          *"${nl}192.168.${new_sub}.0/24${nl}"*)
a54075
            ;;
a54075
          *)
a54075
            sub=$new_sub
a54075
            break;
a54075
            ;;
a54075
          esac
a54075
        done
a54075
        ;;
a54075
      *)
a54075
        ;;
a54075
    esac
a54075
a54075
    sed -e "s/${orig_sub}/${sub}/g" \
Daniel P. Berrange 44699d
         < %{_datadir}/libvirt/networks/default.xml \
Daniel P. Berrange 44699d
         > %{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel P. Berrange 44699d
    ln -s ../default.xml %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
Daniel P. Berrangé c2c89e
    # libvirt saves this file with mode 0600
Daniel P. Berrangé c2c89e
    chmod 0600 %{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel P. Berrange 89c3fa
fi
Daniel P. Berrange 89c3fa
Daniel P. Berrange 89c3fa
%posttrans daemon-config-network
adaeee
%libvirt_systemd_config_posttrans libvirtd
adaeee
%libvirt_systemd_config_posttrans virtnetworkd
adaeee
adaeee
%pre daemon-config-nwfilter
adaeee
%libvirt_systemd_config_pre libvirtd
adaeee
%libvirt_systemd_config_pre virtnwfilterd
Daniel P. Berrange b23ff9
Daniel P. Berrange b23ff9
%post daemon-config-nwfilter
Daniel P. Berrangé c71e60
for datadir_file in %{_datadir}/libvirt/nwfilter/*.xml; do
Daniel P. Berrangé c71e60
  sysconfdir_file=%{_sysconfdir}/libvirt/nwfilter/$(basename "$datadir_file")
Daniel P. Berrangé c71e60
  if [ ! -f "$sysconfdir_file" ]; then
Daniel P. Berrangé c71e60
    # libvirt saves these files with mode 600
Daniel P. Berrangé c71e60
    install -m 0600 "$datadir_file" "$sysconfdir_file"
Daniel P. Berrangé c71e60
  fi
Daniel P. Berrangé c71e60
done
Daniel P. Berrange 89c3fa
Daniel P. Berrange 89c3fa
%posttrans daemon-config-nwfilter
adaeee
%libvirt_systemd_config_posttrans libvirtd
adaeee
%libvirt_systemd_config_posttrans virtnwfilterd
Daniel P. Berrange b23ff9
8556d4
    %if %{with_lxc}
Daniel P. Berrange 8c9e40
%pre login-shell
Daniel P. Berrange 8c9e40
getent group virtlogin >/dev/null || groupadd -r virtlogin
Daniel P. Berrange 8c9e40
exit 0
8556d4
    %endif
Daniel P. Berrange 8c9e40
%endif
Daniel P. Berrange 8c9e40
8556d4
%if %{with_native}
Daniel P. Berrange 6253f9
%files
Daniel P. Berrange 37ddbd
Daniel P. Berrange 44699d
%files docs
037cd3
%doc AUTHORS.rst NEWS.rst README.rst
b0c05a
%doc libvirt-docs/*
Daniel P. Berrange 44699d
Daniel P. Berrange 44699d
%files daemon
Daniel Veillard 7069f7
%{_unitdir}/libvirtd.service
7d77bf
%{_unitdir}/libvirtd.socket
7d77bf
%{_unitdir}/libvirtd-ro.socket
7d77bf
%{_unitdir}/libvirtd-admin.socket
7d77bf
%{_unitdir}/libvirtd-tcp.socket
7d77bf
%{_unitdir}/libvirtd-tls.socket
Daniel P. Berrange fdd7e8
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
5f1a42
%config(noreplace) %{_prefix}/lib/sysctl.d/60-libvirtd.conf
Daniel Veillard ed6c49
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
c1a341
%{_datadir}/augeas/lenses/libvirtd.aug
c1a341
%{_datadir}/augeas/lenses/tests/test_libvirtd.aug
c1a341
%attr(0755, root, root) %{_sbindir}/libvirtd
c1a341
%{_mandir}/man8/libvirtd.8*
c1a341
c1a341
%files daemon-common
c1a341
%{_unitdir}/virt-guest-shutdown.target
c1a341
%{_unitdir}/libvirt-guests.service
c1a341
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
Daniel Veillard 7a6f07
%dir %{_datadir}/libvirt/
afe818
%ghost %dir %{_rundir}/libvirt/
da34e5
%ghost %dir %{_rundir}/libvirt/common/
da34e5
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
Mark McLoughlin 66df92
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
Daniel P. Berrange 8c8aca
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/filesystems/
Mark McLoughlin 743adf
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/boot/
db03f0
%dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/
Daniel P. Berrange 051644
%dir %attr(0755, root, root) %{_libdir}/libvirt/
Daniel P. Berrange 051644
%dir %attr(0755, root, root) %{_libdir}/libvirt/connection-driver/
044c5b
%dir %attr(0755, root, root) %{_libdir}/libvirt/storage-backend/
044c5b
%dir %attr(0755, root, root) %{_libdir}/libvirt/storage-file/
Daniel P. Berrange c476c8
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
Daniel Veillard 000a32
%{_datadir}/polkit-1/actions/org.libvirt.api.policy
Daniel P. Berrange c81949
%{_datadir}/polkit-1/rules.d/50-libvirt.rules
Daniel P. Berrange c80b7f
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
Daniel Veillard ed6c49
%attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
037cd3
%attr(0755, root, root) %{_bindir}/virt-ssh-helper
Daniel P. Berrangé 497e09
%attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh
Daniel P. Berrangé 497e09
%{_mandir}/man1/virt-admin.1*
Daniel P. Berrangé 497e09
%{_mandir}/man1/virt-host-validate.1*
c26961
%{_mandir}/man8/virt-ssh-helper.8*
da34e5
%{_mandir}/man8/libvirt-guests.8*
Daniel P. Berrangé 497e09
%{_bindir}/virt-host-validate
Daniel P. Berrangé 497e09
%{_bindir}/virt-admin
Daniel P. Berrangé 497e09
%{_datadir}/bash-completion/completions/virt-admin
Daniel P. Berrangé 497e09
c1a341
%files daemon-lock
c1a341
%{_unitdir}/virtlockd.service
c1a341
%{_unitdir}/virtlockd.socket
c1a341
%{_unitdir}/virtlockd-admin.socket
c1a341
%config(noreplace) %{_sysconfdir}/libvirt/virtlockd.conf
c1a341
%{_datadir}/augeas/lenses/virtlockd.aug
c1a341
%{_datadir}/augeas/lenses/tests/test_virtlockd.aug
c1a341
%{_datadir}/augeas/lenses/libvirt_lockd.aug
8556d4
    %if %{with_qemu}
c1a341
%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
8556d4
    %endif
c1a341
%attr(0755, root, root) %{_sbindir}/virtlockd
c1a341
%{_mandir}/man8/virtlockd.8*
c1a341
c1a341
%files daemon-plugin-lockd
c1a341
%dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/
c1a341
%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so
c1a341
c1a341
%files daemon-log
c1a341
%{_unitdir}/virtlogd.service
c1a341
%{_unitdir}/virtlogd.socket
c1a341
%{_unitdir}/virtlogd-admin.socket
c1a341
%config(noreplace) %{_sysconfdir}/libvirt/virtlogd.conf
c1a341
%{_datadir}/augeas/lenses/virtlogd.aug
c1a341
%{_datadir}/augeas/lenses/tests/test_virtlogd.aug
c1a341
%attr(0755, root, root) %{_sbindir}/virtlogd
c1a341
%{_mandir}/man8/virtlogd.8*
c1a341
c1a341
%files daemon-proxy
c1a341
%{_unitdir}/virtproxyd.service
c1a341
%{_unitdir}/virtproxyd.socket
c1a341
%{_unitdir}/virtproxyd-ro.socket
c1a341
%{_unitdir}/virtproxyd-admin.socket
c1a341
%{_unitdir}/virtproxyd-tcp.socket
c1a341
%{_unitdir}/virtproxyd-tls.socket
c1a341
%config(noreplace) %{_sysconfdir}/libvirt/virtproxyd.conf
c1a341
%{_datadir}/augeas/lenses/virtproxyd.aug
c1a341
%{_datadir}/augeas/lenses/tests/test_virtproxyd.aug
c1a341
%attr(0755, root, root) %{_sbindir}/virtproxyd
c1a341
%{_mandir}/man8/virtproxyd.8*
c1a341
Daniel P. Berrange 44699d
%files daemon-config-network
0223d5
%dir %{_datadir}/libvirt/networks/
0223d5
%{_datadir}/libvirt/networks/default.xml
Daniel P. Berrangé c2c89e
%ghost %{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel P. Berrangé c2c89e
%ghost %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
Daniel P. Berrange 96a520
Daniel P. Berrange 44699d
%files daemon-config-nwfilter
Daniel P. Berrange b23ff9
%dir %{_datadir}/libvirt/nwfilter/
Daniel P. Berrange b23ff9
%{_datadir}/libvirt/nwfilter/*.xml
Daniel P. Berrange b23ff9
%ghost %{_sysconfdir}/libvirt/nwfilter/*.xml
Daniel P. Berrange e6d978
Daniel Veillard 544ad4
%files daemon-driver-interface
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtinterfaced.conf
afe818
%{_datadir}/augeas/lenses/virtinterfaced.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtinterfaced.aug
afe818
%{_unitdir}/virtinterfaced.service
afe818
%{_unitdir}/virtinterfaced.socket
afe818
%{_unitdir}/virtinterfaced-ro.socket
afe818
%{_unitdir}/virtinterfaced-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtinterfaced
da34e5
%ghost %dir %{_rundir}/libvirt/interface/
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_interface.so
a11202
%{_mandir}/man8/virtinterfaced.8*
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%files daemon-driver-network
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtnetworkd.conf
afe818
%{_datadir}/augeas/lenses/virtnetworkd.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtnetworkd.aug
afe818
%{_unitdir}/virtnetworkd.service
afe818
%{_unitdir}/virtnetworkd.socket
afe818
%{_unitdir}/virtnetworkd-ro.socket
afe818
%{_unitdir}/virtnetworkd-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtnetworkd
Daniel P. Berrange 65efaa
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
Daniel P. Berrange 65efaa
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
Daniel P. Berrange 65efaa
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
afe818
%ghost %dir %{_rundir}/libvirt/network/
Daniel P. Berrange 65efaa
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
Daniel P. Berrange 65efaa
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/dnsmasq/
Daniel P. Berrange f7f509
%attr(0755, root, root) %{_libexecdir}/libvirt_leaseshelper
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_network.so
a11202
%{_mandir}/man8/virtnetworkd.8*
8556d4
    %if %{with_firewalld_zone}
Daniel P. Berrangé 5cbc04
%{_prefix}/lib/firewalld/zones/libvirt.xml
987430
%{_prefix}/lib/firewalld/zones/libvirt-routed.xml
987430
%{_prefix}/lib/firewalld/policies/libvirt-routed-in.xml
987430
%{_prefix}/lib/firewalld/policies/libvirt-routed-out.xml
987430
%{_prefix}/lib/firewalld/policies/libvirt-to-host.xml
8556d4
    %endif
Daniel P. Berrangé 5cbc04
Daniel Veillard 544ad4
%files daemon-driver-nodedev
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtnodedevd.conf
afe818
%{_datadir}/augeas/lenses/virtnodedevd.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtnodedevd.aug
afe818
%{_unitdir}/virtnodedevd.service
afe818
%{_unitdir}/virtnodedevd.socket
afe818
%{_unitdir}/virtnodedevd-ro.socket
afe818
%{_unitdir}/virtnodedevd-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtnodedevd
da34e5
%ghost %dir %{_rundir}/libvirt/nodedev/
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_nodedev.so
a11202
%{_mandir}/man8/virtnodedevd.8*
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%files daemon-driver-nwfilter
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtnwfilterd.conf
afe818
%{_datadir}/augeas/lenses/virtnwfilterd.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtnwfilterd.aug
afe818
%{_unitdir}/virtnwfilterd.service
afe818
%{_unitdir}/virtnwfilterd.socket
afe818
%{_unitdir}/virtnwfilterd-ro.socket
afe818
%{_unitdir}/virtnwfilterd-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtnwfilterd
0223d5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
afe818
%ghost %dir %{_rundir}/libvirt/network/
da34e5
%ghost %dir %{_rundir}/libvirt/nwfilter-binding/
da34e5
%ghost %dir %{_rundir}/libvirt/nwfilter/
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_nwfilter.so
a11202
%{_mandir}/man8/virtnwfilterd.8*
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%files daemon-driver-secret
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtsecretd.conf
afe818
%{_datadir}/augeas/lenses/virtsecretd.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtsecretd.aug
afe818
%{_unitdir}/virtsecretd.service
afe818
%{_unitdir}/virtsecretd.socket
afe818
%{_unitdir}/virtsecretd-ro.socket
afe818
%{_unitdir}/virtsecretd-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtsecretd
da34e5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/secrets/
da34e5
%ghost %dir %{_rundir}/libvirt/secrets/
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_secret.so
a11202
%{_mandir}/man8/virtsecretd.8*
Daniel Veillard 544ad4
Daniel Veillard 544ad4
%files daemon-driver-storage
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%files daemon-driver-storage-core
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtstoraged.conf
afe818
%{_datadir}/augeas/lenses/virtstoraged.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtstoraged.aug
afe818
%{_unitdir}/virtstoraged.service
afe818
%{_unitdir}/virtstoraged.socket
afe818
%{_unitdir}/virtstoraged-ro.socket
afe818
%{_unitdir}/virtstoraged-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtstoraged
Daniel P. Berrange 65efaa
%attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
da34e5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/storage/
da34e5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/storage/autostart/
da34e5
%ghost %dir %{_rundir}/libvirt/storage/
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_storage.so
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_fs.so
044c5b
%{_libdir}/libvirt/storage-file/libvirt_storage_file_fs.so
a11202
%{_mandir}/man8/virtstoraged.8*
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%files daemon-driver-storage-disk
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_disk.so
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%files daemon-driver-storage-logical
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_logical.so
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%files daemon-driver-storage-scsi
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_scsi.so
Daniel P. Berrange a74ea3
Daniel P. Berrange a74ea3
%files daemon-driver-storage-iscsi
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_iscsi.so
Daniel P. Berrange a74ea3
8556d4
    %if %{with_storage_iscsi_direct}
Daniel P. Berrangé e5fa1c
%files daemon-driver-storage-iscsi-direct
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_iscsi-direct.so
8556d4
    %endif
Daniel P. Berrangé e5fa1c
Daniel P. Berrange a74ea3
%files daemon-driver-storage-mpath
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_mpath.so
Daniel P. Berrange a74ea3
8556d4
    %if %{with_storage_gluster}
Daniel P. Berrange a74ea3
%files daemon-driver-storage-gluster
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_gluster.so
044c5b
%{_libdir}/libvirt/storage-file/libvirt_storage_file_gluster.so
8556d4
    %endif
Daniel P. Berrange a74ea3
8556d4
    %if %{with_storage_rbd}
Daniel P. Berrange a74ea3
%files daemon-driver-storage-rbd
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_rbd.so
8556d4
    %endif
Daniel P. Berrange a74ea3
8556d4
    %if %{with_storage_zfs}
Daniel P. Berrange 7335ed
%files daemon-driver-storage-zfs
044c5b
%{_libdir}/libvirt/storage-backend/libvirt_storage_backend_zfs.so
8556d4
    %endif
Daniel P. Berrange 7335ed
8556d4
    %if %{with_qemu}
Daniel Veillard 544ad4
%files daemon-driver-qemu
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtqemud.conf
b0d2e0
        %if %{with_userfaultfd_sysctl}
c26961
%config(noreplace) %{_prefix}/lib/sysctl.d/60-qemu-postcopy-migration.conf
b0d2e0
        %endif
afe818
%{_datadir}/augeas/lenses/virtqemud.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtqemud.aug
afe818
%{_unitdir}/virtqemud.service
afe818
%{_unitdir}/virtqemud.socket
afe818
%{_unitdir}/virtqemud-ro.socket
afe818
%{_unitdir}/virtqemud-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtqemud
0223d5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
da34e5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/autostart/
Daniel P. Berrange 65efaa
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
Daniel P. Berrange 65efaa
%config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
Daniel P. Berrange 65efaa
%config(noreplace) %{_sysconfdir}/libvirt/qemu-lockd.conf
Daniel P. Berrange 65efaa
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
afe818
%ghost %dir %{_rundir}/libvirt/qemu/
da34e5
%ghost %dir %{_rundir}/libvirt/qemu/dbus/
044c5b
%ghost %dir %{_rundir}/libvirt/qemu/passt/
da34e5
%ghost %dir %{_rundir}/libvirt/qemu/slirp/
da34e5
%ghost %dir %{_rundir}/libvirt/qemu/swtpm/
Daniel P. Berrange 93cadb
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
da34e5
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/checkpoint/
da34e5
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/dump/
da34e5
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/nvram/
da34e5
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/ram/
da34e5
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/save/
da34e5
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/snapshot/
Daniel P. Berrangé bfb815
%dir %attr(0750, root, root) %{_localstatedir}/cache/libvirt/qemu/
Daniel P. Berrange 65efaa
%{_datadir}/augeas/lenses/libvirtd_qemu.aug
Daniel P. Berrange 65efaa
%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_qemu.so
Daniel P. Berrangé f57ce7
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/swtpm/
Daniel P. Berrangé c71e60
%dir %attr(0730, tss, tss) %{_localstatedir}/log/swtpm/libvirt/qemu/
dd3698
%{_bindir}/virt-qemu-run
dd3698
%{_mandir}/man1/virt-qemu-run.1*
a11202
%{_mandir}/man8/virtqemud.8*
b0d2e0
%{_sysusersdir}/libvirt-qemu.conf
8556d4
    %endif
Daniel Veillard 544ad4
8556d4
    %if %{with_lxc}
Daniel Veillard 544ad4
%files daemon-driver-lxc
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtlxcd.conf
afe818
%{_datadir}/augeas/lenses/virtlxcd.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtlxcd.aug
afe818
%{_unitdir}/virtlxcd.service
afe818
%{_unitdir}/virtlxcd.socket
afe818
%{_unitdir}/virtlxcd-ro.socket
afe818
%{_unitdir}/virtlxcd-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtlxcd
Daniel P. Berrange 65efaa
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
da34e5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/lxc/
da34e5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/lxc/autostart/
Daniel P. Berrange 65efaa
%config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
Daniel P. Berrange 65efaa
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
afe818
%ghost %dir %{_rundir}/libvirt/lxc/
Daniel P. Berrange 65efaa
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
Daniel P. Berrange 65efaa
%{_datadir}/augeas/lenses/libvirtd_lxc.aug
Daniel P. Berrange 65efaa
%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
Daniel P. Berrange 65efaa
%attr(0755, root, root) %{_libexecdir}/libvirt_lxc
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_lxc.so
a11202
%{_mandir}/man8/virtlxcd.8*
8556d4
    %endif
Daniel Veillard 544ad4
8556d4
    %if %{with_libxl}
Daniel Veillard 544ad4
%files daemon-driver-libxl
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtxend.conf
afe818
%{_datadir}/augeas/lenses/virtxend.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtxend.aug
afe818
%{_unitdir}/virtxend.service
afe818
%{_unitdir}/virtxend.socket
afe818
%{_unitdir}/virtxend-ro.socket
afe818
%{_unitdir}/virtxend-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtxend
5f1a42
%config(noreplace) %{_sysconfdir}/libvirt/libxl.conf
Daniel P. Berrange c81949
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.libxl
5f1a42
%config(noreplace) %{_sysconfdir}/libvirt/libxl-lockd.conf
da34e5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/libxl/
da34e5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/libxl/autostart/
5f1a42
%{_datadir}/augeas/lenses/libvirtd_libxl.aug
5f1a42
%{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug
Daniel P. Berrange 65efaa
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
afe818
%ghost %dir %{_rundir}/libvirt/libxl/
Daniel P. Berrange 65efaa
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/
da34e5
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/channel/
da34e5
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/channel/target/
da34e5
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/dump/
da34e5
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/save/
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_libxl.so
a11202
%{_mandir}/man8/virtxend.8*
8556d4
    %endif
Daniel P. Berrange e80c83
8556d4
    %if %{with_vbox}
Daniel P. Berrange e80c83
%files daemon-driver-vbox
afe818
%config(noreplace) %{_sysconfdir}/libvirt/virtvboxd.conf
afe818
%{_datadir}/augeas/lenses/virtvboxd.aug
afe818
%{_datadir}/augeas/lenses/tests/test_virtvboxd.aug
afe818
%{_unitdir}/virtvboxd.service
afe818
%{_unitdir}/virtvboxd.socket
afe818
%{_unitdir}/virtvboxd-ro.socket
afe818
%{_unitdir}/virtvboxd-admin.socket
afe818
%attr(0755, root, root) %{_sbindir}/virtvboxd
044c5b
%{_libdir}/libvirt/connection-driver/libvirt_driver_vbox.so
a11202
%{_mandir}/man8/virtvboxd.8*
8556d4
    %endif
Daniel Veillard 544ad4
8556d4
    %if %{with_qemu_tcg}
Daniel P. Berrange e6d978
%files daemon-qemu
8556d4
    %endif
Daniel P. Berrange e6d978
8556d4
    %if %{with_qemu_kvm}
Daniel P. Berrange e6d978
%files daemon-kvm
8556d4
    %endif
Daniel P. Berrange e6d978
8556d4
    %if %{with_lxc}
Daniel P. Berrange e6d978
%files daemon-lxc
8556d4
    %endif
Daniel P. Berrange e6d978
8556d4
    %if %{with_libxl}
Daniel P. Berrange e6d978
%files daemon-xen
8556d4
    %endif
Daniel P. Berrange e80c83
8556d4
    %if %{with_vbox}
Daniel P. Berrange e80c83
%files daemon-vbox
8556d4
    %endif
Daniel P. Berrange 96a520
8556d4
    %if %{with_sanlock}
c1a341
%files daemon-plugin-sanlock
8556d4
        %if %{with_qemu}
Daniel Veillard d7b412
%config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf
8556d4
        %endif
8556d4
        %if %{with_libxl}
ee3bf3
%config(noreplace) %{_sysconfdir}/libvirt/libxl-sanlock.conf
8556d4
        %endif
c1a341
%dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/
Daniel Veillard e79d30
%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
Daniel Veillard d7b412
%{_datadir}/augeas/lenses/libvirt_sanlock.aug
Daniel Veillard d7b412
%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
Daniel P. Berrangé c2c89e
%dir %attr(0770, root, sanlock) %{_localstatedir}/lib/libvirt/sanlock
Daniel Veillard d7b412
%{_sbindir}/virt-sanlock-cleanup
Daniel Veillard d7b412
%{_mandir}/man8/virt-sanlock-cleanup.8*
Daniel P. Berrange 8cc508
%attr(0755, root, root) %{_libexecdir}/libvirt_sanlock_helper
8556d4
    %endif
Daniel Veillard e79d30
Daniel P. Berrange b1ac7b
%files client
Daniel Veillard a3e1cc
%{_mandir}/man1/virsh.1*
Daniel Veillard a3e1cc
%{_mandir}/man1/virt-xml-validate.1*
c26961
%{_mandir}/man1/virt-pki-query-dn.1*
Daniel Veillard 6383d6
%{_mandir}/man1/virt-pki-validate.1*
0c2262
%{_mandir}/man7/virkey*.7*
Daniel Veillard a3e1cc
%{_bindir}/virsh
Daniel Veillard a3e1cc
%{_bindir}/virt-xml-validate
Daniel P. Berrangé a552a1
%{_bindir}/virt-pki-query-dn
Daniel Veillard 6383d6
%{_bindir}/virt-pki-validate
Daniel P. Berrangé 48941c
%{_datadir}/bash-completion/completions/virsh
Daniel P. Berrange 0ca715
8556d4
    %if %{with_qemu}
58043b
%files client-qemu
58043b
%{_mandir}/man1/virt-qemu-qmp-proxy.1*
987430
%{_mandir}/man1/virt-qemu-sev-validate.1*
58043b
%{_bindir}/virt-qemu-qmp-proxy
987430
%{_bindir}/virt-qemu-sev-validate
8556d4
    %endif
58043b
b0c05a
%files libs -f %{name}.lang
Daniel P. Berrange 051644
%license COPYING COPYING.LESSER
da34e5
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
Daniel P. Berrange b1ac7b
%config(noreplace) %{_sysconfdir}/libvirt/libvirt.conf
Daniel P. Berrange b1ac7b
%config(noreplace) %{_sysconfdir}/libvirt/libvirt-admin.conf
Daniel P. Berrange b1ac7b
%{_libdir}/libvirt.so.*
Daniel P. Berrange b1ac7b
%{_libdir}/libvirt-qemu.so.*
Daniel P. Berrange b1ac7b
%{_libdir}/libvirt-lxc.so.*
Daniel P. Berrange b1ac7b
%{_libdir}/libvirt-admin.so.*
Daniel Veillard a3e1cc
%dir %{_datadir}/libvirt/
Daniel Veillard a3e1cc
%dir %{_datadir}/libvirt/schemas/
Daniel P. Berrangé 497e09
%{_datadir}/systemtap/tapset/libvirt_probes*.stp
Daniel P. Berrangé 497e09
%{_datadir}/systemtap/tapset/libvirt_functions.stp
8556d4
    %if %{with_qemu}
Daniel P. Berrangé 497e09
%{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp
8556d4
    %endif
a761ea
%{_datadir}/libvirt/schemas/*.rng
Daniel P. Berrangé e5fa1c
%{_datadir}/libvirt/cpu_map/*.xml
Daniel P. Berrange 2c49d1
%{_datadir}/libvirt/test-screenshot.png
Daniel P. Berrange 2c49d1
8556d4
    %if %{with_wireshark}
Daniel P. Berrange 1b8b75
%files wireshark
Daniel P. Berrangé a88867
%{wireshark_plugindir}/libvirt.so
8556d4
    %endif
Daniel P. Berrange 1b8b75
0debbf
%files nss
0debbf
%{_libdir}/libnss_libvirt.so.2
Daniel P. Berrange 2c49d1
%{_libdir}/libnss_libvirt_guest.so.2
0debbf
8556d4
    %if %{with_lxc}
Daniel Veillard c5c28b
%files login-shell
Daniel P. Berrange 8c9e40
%attr(4750, root, virtlogin) %{_bindir}/virt-login-shell
afe818
%{_libexecdir}/virt-login-shell-helper
Daniel Veillard c5c28b
%config(noreplace) %{_sysconfdir}/libvirt/virt-login-shell.conf
Daniel Veillard c5c28b
%{_mandir}/man1/virt-login-shell.1*
8556d4
    %endif
Daniel Veillard c5c28b
Daniel Veillard e2b90f
%files devel
Daniel P. Berrange f7f509
%{_libdir}/libvirt.so
Daniel P. Berrange a4bf27
%{_libdir}/libvirt-admin.so
Daniel P. Berrange f7f509
%{_libdir}/libvirt-qemu.so
Daniel P. Berrange f7f509
%{_libdir}/libvirt-lxc.so
Daniel Veillard deefad
%dir %{_includedir}/libvirt
Daniel P. Berrange f7f509
%{_includedir}/libvirt/virterror.h
Daniel P. Berrange f7f509
%{_includedir}/libvirt/libvirt.h
Daniel P. Berrange a4bf27
%{_includedir}/libvirt/libvirt-admin.h
Daniel P. Berrange 4a9c74
%{_includedir}/libvirt/libvirt-common.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-domain.h
7d77bf
%{_includedir}/libvirt/libvirt-domain-checkpoint.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-domain-snapshot.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-event.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-host.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-interface.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-network.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-nodedev.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-nwfilter.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-secret.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-storage.h
Daniel Veillard e63e20
%{_includedir}/libvirt/libvirt-stream.h
Daniel P. Berrange f7f509
%{_includedir}/libvirt/libvirt-qemu.h
Daniel P. Berrange f7f509
%{_includedir}/libvirt/libvirt-lxc.h
Daniel Veillard e2b90f
%{_libdir}/pkgconfig/libvirt.pc
Daniel P. Berrange a4bf27
%{_libdir}/pkgconfig/libvirt-admin.pc
Daniel P. Berrange f7f509
%{_libdir}/pkgconfig/libvirt-qemu.pc
Daniel P. Berrange f7f509
%{_libdir}/pkgconfig/libvirt-lxc.pc
Daniel P. Berrange 6398d1
%dir %{_datadir}/libvirt/api/
Daniel P. Berrange 6398d1
%{_datadir}/libvirt/api/libvirt-api.xml
Daniel P. Berrange a4bf27
%{_datadir}/libvirt/api/libvirt-admin-api.xml
Daniel P. Berrange 6398d1
%{_datadir}/libvirt/api/libvirt-qemu-api.xml
Daniel P. Berrange 350081
%{_datadir}/libvirt/api/libvirt-lxc-api.xml
8556d4
%endif
611b2e
8556d4
%if %{with_mingw32}
044c5b
%files -n mingw32-libvirt -f mingw32-libvirt.lang
Daniel P. Berrangé 83def0
%dir %{mingw32_sysconfdir}/libvirt/
Daniel P. Berrangé 83def0
%config(noreplace) %{mingw32_sysconfdir}/libvirt/libvirt.conf
Daniel P. Berrangé 83def0
%config(noreplace) %{mingw32_sysconfdir}/libvirt/libvirt-admin.conf
Daniel P. Berrangé 83def0
%{mingw32_bindir}/libvirt-0.dll
Daniel P. Berrangé 83def0
%{mingw32_bindir}/virsh.exe
Daniel P. Berrangé 83def0
%{mingw32_bindir}/virt-admin.exe
Daniel P. Berrangé 83def0
%{mingw32_bindir}/virt-xml-validate
Daniel P. Berrangé 83def0
%{mingw32_bindir}/virt-pki-query-dn.exe
Daniel P. Berrangé 83def0
%{mingw32_bindir}/virt-pki-validate
Daniel P. Berrangé 83def0
%{mingw32_bindir}/libvirt-lxc-0.dll
Daniel P. Berrangé 83def0
%{mingw32_bindir}/libvirt-qemu-0.dll
Daniel P. Berrangé 83def0
%{mingw32_bindir}/libvirt-admin-0.dll
Daniel P. Berrangé 83def0
%{mingw32_libdir}/libvirt.dll.a
Daniel P. Berrangé 83def0
%{mingw32_libdir}/pkgconfig/libvirt.pc
Daniel P. Berrangé 83def0
%{mingw32_libdir}/pkgconfig/libvirt-qemu.pc
Daniel P. Berrangé 83def0
%{mingw32_libdir}/pkgconfig/libvirt-lxc.pc
Daniel P. Berrangé 83def0
%{mingw32_libdir}/pkgconfig/libvirt-admin.pc
Daniel P. Berrangé 83def0
%{mingw32_libdir}/libvirt-lxc.dll.a
Daniel P. Berrangé 83def0
%{mingw32_libdir}/libvirt-qemu.dll.a
Daniel P. Berrangé 83def0
%{mingw32_libdir}/libvirt-admin.dll.a
Daniel P. Berrangé 83def0
%dir %{mingw32_datadir}/libvirt/
Daniel P. Berrangé 83def0
%dir %{mingw32_datadir}/libvirt/schemas/
Daniel P. Berrangé 83def0
%{mingw32_datadir}/libvirt/schemas/*.rng
Daniel P. Berrangé 83def0
%dir %{mingw32_datadir}/libvirt/api/
Daniel P. Berrangé 83def0
%{mingw32_datadir}/libvirt/api/libvirt-api.xml
Daniel P. Berrangé 83def0
%{mingw32_datadir}/libvirt/api/libvirt-lxc-api.xml
Daniel P. Berrangé 83def0
%{mingw32_datadir}/libvirt/api/libvirt-qemu-api.xml
Daniel P. Berrangé 83def0
%{mingw32_datadir}/libvirt/api/libvirt-admin-api.xml
Daniel P. Berrangé 83def0
%{mingw32_datadir}/libvirt/cpu_map/*.xml
Daniel P. Berrangé 83def0
%{mingw32_datadir}/libvirt/test-screenshot.png
Daniel P. Berrangé 83def0
%dir %{mingw32_includedir}/libvirt
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-common.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-domain.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-domain-checkpoint.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-domain-snapshot.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-event.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-host.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-interface.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-network.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-nodedev.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-nwfilter.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-secret.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-storage.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-stream.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/virterror.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-lxc.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-qemu.h
Daniel P. Berrangé 83def0
%{mingw32_includedir}/libvirt/libvirt-admin.h
Daniel P. Berrangé 83def0
%{mingw32_mandir}/man1/virsh.1*
Daniel P. Berrangé 83def0
%{mingw32_mandir}/man1/virt-admin.1*
Daniel P. Berrangé 83def0
%{mingw32_mandir}/man1/virt-xml-validate.1*
Daniel P. Berrangé 83def0
%{mingw32_mandir}/man1/virt-pki-query-dn.1*
Daniel P. Berrangé 83def0
%{mingw32_mandir}/man1/virt-pki-validate.1*
Daniel P. Berrangé 83def0
%{mingw32_mandir}/man7/virkey*.7*
8556d4
%endif
Daniel P. Berrangé 83def0
8556d4
%if %{with_mingw64}
044c5b
%files -n mingw64-libvirt -f mingw64-libvirt.lang
Daniel P. Berrangé 83def0
%dir %{mingw64_sysconfdir}/libvirt/
Daniel P. Berrangé 83def0
%config(noreplace) %{mingw64_sysconfdir}/libvirt/libvirt.conf
Daniel P. Berrangé 83def0
%config(noreplace) %{mingw64_sysconfdir}/libvirt/libvirt-admin.conf
Daniel P. Berrangé 83def0
%{mingw64_bindir}/libvirt-0.dll
Daniel P. Berrangé 83def0
%{mingw64_bindir}/virsh.exe
Daniel P. Berrangé 83def0
%{mingw64_bindir}/virt-admin.exe
Daniel P. Berrangé 83def0
%{mingw64_bindir}/virt-xml-validate
Daniel P. Berrangé 83def0
%{mingw64_bindir}/virt-pki-query-dn.exe
Daniel P. Berrangé 83def0
%{mingw64_bindir}/virt-pki-validate
Daniel P. Berrangé 83def0
%{mingw64_bindir}/libvirt-lxc-0.dll
Daniel P. Berrangé 83def0
%{mingw64_bindir}/libvirt-qemu-0.dll
Daniel P. Berrangé 83def0
%{mingw64_bindir}/libvirt-admin-0.dll
Daniel P. Berrangé 83def0
%{mingw64_libdir}/libvirt.dll.a
Daniel P. Berrangé 83def0
%{mingw64_libdir}/pkgconfig/libvirt.pc
Daniel P. Berrangé 83def0
%{mingw64_libdir}/pkgconfig/libvirt-qemu.pc
Daniel P. Berrangé 83def0
%{mingw64_libdir}/pkgconfig/libvirt-lxc.pc
Daniel P. Berrangé 83def0
%{mingw64_libdir}/pkgconfig/libvirt-admin.pc
Daniel P. Berrangé 83def0
%{mingw64_libdir}/libvirt-lxc.dll.a
Daniel P. Berrangé 83def0
%{mingw64_libdir}/libvirt-qemu.dll.a
Daniel P. Berrangé 83def0
%{mingw64_libdir}/libvirt-admin.dll.a
Daniel P. Berrangé 83def0
%dir %{mingw64_datadir}/libvirt/
Daniel P. Berrangé 83def0
%dir %{mingw64_datadir}/libvirt/schemas/
Daniel P. Berrangé 83def0
%{mingw64_datadir}/libvirt/schemas/*.rng
Daniel P. Berrangé 83def0
%dir %{mingw64_datadir}/libvirt/api/
Daniel P. Berrangé 83def0
%{mingw64_datadir}/libvirt/api/libvirt-api.xml
Daniel P. Berrangé 83def0
%{mingw64_datadir}/libvirt/api/libvirt-lxc-api.xml
Daniel P. Berrangé 83def0
%{mingw64_datadir}/libvirt/api/libvirt-qemu-api.xml
Daniel P. Berrangé 83def0
%{mingw64_datadir}/libvirt/api/libvirt-admin-api.xml
Daniel P. Berrangé 83def0
%{mingw64_datadir}/libvirt/cpu_map/*.xml
Daniel P. Berrangé 83def0
%{mingw64_datadir}/libvirt/test-screenshot.png
Daniel P. Berrangé 83def0
%dir %{mingw64_includedir}/libvirt
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-common.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-domain.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-domain-checkpoint.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-domain-snapshot.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-event.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-host.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-interface.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-network.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-nodedev.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-nwfilter.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-secret.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-storage.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-stream.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/virterror.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-lxc.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-qemu.h
Daniel P. Berrangé 83def0
%{mingw64_includedir}/libvirt/libvirt-admin.h
Daniel P. Berrangé 83def0
%{mingw64_mandir}/man1/virsh.1*
Daniel P. Berrangé 83def0
%{mingw64_mandir}/man1/virt-admin.1*
Daniel P. Berrangé 83def0
%{mingw64_mandir}/man1/virt-xml-validate.1*
Daniel P. Berrangé 83def0
%{mingw64_mandir}/man1/virt-pki-query-dn.1*
Daniel P. Berrangé 83def0
%{mingw64_mandir}/man1/virt-pki-validate.1*
Daniel P. Berrangé 83def0
%{mingw64_mandir}/man7/virkey*.7*
Daniel P. Berrangé 83def0
%endif
Daniel Veillard e2b90f
66060f
Daniel Veillard e2b90f
%changelog
475d28
* Wed Mar 27 2024 Roberto Campesato <render@metalabs.org> - 10.1.0-1.1
475d28
- Update to version 10.1.0
475d28
- Relax dependency on qemu-kvm for facebook builds
475d28
b0d2e0
* Fri Mar 01 2024 Cole Robinson <crobinso@redhat.com> - 10.1.0-1
b0d2e0
- Update to version 10.1.0
b0d2e0
2513c9
* Mon Feb 19 2024 Cole Robinson <crobinso@redhat.com> - 10.0.0-4
2513c9
- Rebuild for wireshark soname bump
2513c9
Fedora Release Engineering 9ef550
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-3
Fedora Release Engineering 9ef550
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Fedora Release Engineering 9ef550
Fedora Release Engineering 659f2f
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-2
Fedora Release Engineering 659f2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Fedora Release Engineering 659f2f
f3cac3
* Tue Jan 16 2024 Cole Robinson <crobinso@redhat.com> - 10.0.0-1
f3cac3
- Update to version 10.0.0
f3cac3
6eb56c
* Wed Jan 03 2024 Jonathan Wright <jonathan@almalinux.org> - 9.10.0-4
6eb56c
- conf: fix regression for default input bus
6eb56c
93a549
* Fri Dec  8 2023 Richard W.M. Jones <rjones@redhat.com> - 9.10.0-3
93a549
- Bump and rebuild for xen 4.18.0, third attempt
93a549
Adam Williamson f2a998
* Tue Dec 05 2023 Adam Williamson <awilliam@redhat.com> - 9.10.0-2
Adam Williamson f2a998
- Rebuild for xen 4.18.0 again
Adam Williamson f2a998
8556d4
* Sat Dec 02 2023 Cole Robinson <crobinso@redhat.com> - 9.10.0-1
8556d4
- Update to version 9.10.0
8556d4
56d89b
* Thu Nov 30 2023 Richard W.M. Jones <rjones@redhat.com> - 9.9.0-3
56d89b
- Bump and rebuild for xen 4.18.0
56d89b
2a7828
* Mon Nov 06 2023 Cole Robinson <crobinso@redhat.com> - 9.9.0-2
2a7828
- Fix crash with snapshot restore (bz #2247754)
2a7828
edf6aa
* Wed Nov 01 2023 Cole Robinson <crobinso@redhat.com> - 9.9.0-1
edf6aa
- Update to version 9.9.0
edf6aa
163b87
* Thu Oct 05 2023 Cole Robinson <crobinso@redhat.com> - 9.8.0-1
163b87
- Update to version 9.8.0
163b87
Daniel P. Berrangé 5828ec
* Fri Sep  1 2023 Daniel P. Berrangé <berrange@redhat.com> - 9.7.0-1
Daniel P. Berrangé 5828ec
- Update to version 9.7.0
Daniel P. Berrangé 5828ec
adaeee
* Tue Aug 01 2023 Cole Robinson <crobinso@redhat.com> - 9.6.0-1
adaeee
- Update to version 9.6.0
adaeee
Fedora Release Engineering 200f29
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.5.0-2
Fedora Release Engineering 200f29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Fedora Release Engineering 200f29
cbf07f
* Wed Jul 05 2023 Cole Robinson <crobinso@redhat.com> - 9.5.0-1
cbf07f
- Update to version 9.5.0
cbf07f
507eb3
* Wed Jun 28 2023 Cole Robinson <crobinso@redhat.com> - 9.4.0-1
507eb3
- Update to version 9.4.0
507eb3
d4bb64
* Tue May 23 2023 Cole Robinson <crobinso@redhat.com> - 9.3.0-2
d4bb64
- Drop numad usage, it is removed from f39
d4bb64
2333a8
* Tue May 02 2023 Cole Robinson <crobinso@redhat.com> - 9.3.0-1
2333a8
- Update to version 9.3.0
2333a8
f4fd6d
* Wed Apr 05 2023 Cole Robinson <crobinso@redhat.com> - 9.2.0-1
f4fd6d
- Update to version 9.2.0
f4fd6d
c1a341
* Wed Mar 01 2023 Cole Robinson <crobinso@redhat.com> - 9.1.0-1
c1a341
- Update to version 9.1.0
c1a341
Fedora Release Engineering 619904
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-2
Fedora Release Engineering 619904
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Fedora Release Engineering 619904
044c5b
* Mon Jan 16 2023 Cole Robinson <crobinso@redhat.com> - 9.0.0-1
044c5b
- Update to version 9.0.0
044c5b
c98b58
* Tue Jan 03 2023 Richard W.M. Jones <rjones@redhat.com> - 8.10.0-2
c98b58
- Rebuild for xen-4.17.0
c98b58
987430
* Sat Dec 03 2022 Cole Robinson <crobinso@redhat.com> - 8.10.0-1
987430
- Update to version 8.10.0
987430
58043b
* Thu Nov 03 2022 Cole Robinson <crobinso@redhat.com> - 8.9.0-1
58043b
- Update to version 8.9.0
58043b
6c3d79
* Mon Oct 24 2022 Cole Robinson <crobinso@redhat.com> - 8.8.0-2
6c3d79
- Rebuild for wireshark soname bump
6c3d79
5e0d67
* Tue Oct 04 2022 Cole Robinson <crobinso@redhat.com> - 8.8.0-1
5e0d67
- Update to version 8.8.0
5e0d67
662f0e
* Fri Sep  9 2022 Jens Petersen <petersen@redhat.com> - 8.7.0-2
662f0e
- F37 libvirt-daemon: depend on gettext-runtime instead of gettext (#2117209)
662f0e
66060f
* Tue Sep 06 2022 Cole Robinson <crobinso@redhat.com> - 8.7.0-1
66060f
- Update to version 8.7.0
66060f
Daniel P. Berrangé 83def0
* Tue Aug  9 2022 Daniel P. Berrangé <berrange@redhat.com> - 8.1.0-3
Daniel P. Berrangé 83def0
- Pull in mingw sub-packages
Daniel P. Berrangé 83def0
535bbc
* Thu Aug 04 2022 Cole Robinson <crobinso@redhat.com> - 8.6.0-2
535bbc
- Use upstream 'glibc fix' commits
535bbc
24d349
* Mon Aug 01 2022 Cole Robinson <crobinso@redhat.com> - 8.6.0-1
24d349
- Update to version 8.6.0
24d349
9f3b22
* Thu Jul 21 2022 Cole Robinson <crobinso@redhat.com> - 8.5.0-1
9f3b22
- Update to version 8.5.0
9f3b22
7285a5
* Sat Jun 11 2022 Cole Robinson <crobinso@redhat.com> - 8.4.0-2
7285a5
- Adjust for Xen dropping 32bit arches
7285a5
9944fa
* Thu Jun 02 2022 Cole Robinson <crobinso@redhat.com> - 8.4.0-1
9944fa
- Update to version 8.4.0
9944fa
1a44dc
* Mon May 02 2022 Cole Robinson <crobinso@redhat.com> - 8.3.0-1
1a44dc
- Update to version 8.3.0
1a44dc
0c2262
* Fri Apr 01 2022 Cole Robinson <crobinso@redhat.com> - 8.2.0-1
0c2262
- Update to version 8.2.0
0c2262
Daniel P. Berrangé da5981
* Thu Mar  3 2022 Daniel P. Berrangé <berrange@redhat.com> - 8.1.0-2
Daniel P. Berrangé da5981
- Fix crash undefining VM without loader (rhbz#2060412)
Daniel P. Berrangé da5981
da34e5
* Tue Mar 01 2022 Cole Robinson <crobinso@redhat.com> - 8.1.0-1
da34e5
- Update to version 8.1.0
da34e5
908a2f
* Tue Feb 22 2022 Richard W.M. Jones <rjones@redhat.com> - 8.0.0-3
908a2f
- Include upstream patch which fixes virt-install bug.
908a2f
Fedora Release Engineering acf197
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-2
Fedora Release Engineering acf197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Fedora Release Engineering acf197
c26961
* Fri Jan 14 2022 Cole Robinson <crobinso@redhat.com> - 8.0.0-1
c26961
- Update to version 8.0.0
c26961
3f6336
* Tue Jan 11 2022 Richard W.M. Jones <rjones@redhat.com> - 7.10.0-2
3f6336
- Bump release and rebuild for new xen
3f6336
Daniel P. Berrangé a552a1
* Wed Dec  1 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.10.0-1
Daniel P. Berrangé a552a1
- Update to 7.10.0 release
Daniel P. Berrangé a552a1
Daniel P. Berrangé bfb815
* Tue Nov  2 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.9.0-1
Daniel P. Berrangé bfb815
- Update to 7.9.0 release
Daniel P. Berrangé bfb815
edb520
* Thu Oct 28 2021 Richard W.M. Jones <rjones@redhat.com> - 7.8.0-2
edb520
- Bump and rebuild for fixed glusterfs on arm (RHBZ#2018182)
edb520
Daniel P. Berrangé fe3f90
* Fri Oct  1 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.8.0-1
Daniel P. Berrangé fe3f90
- Update to 7.8.0 release
Daniel P. Berrangé fe3f90
Daniel P. Berrangé 437df8
* Thu Sep  2 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.7.0-1
Daniel P. Berrangé 437df8
- Update to 7.7.0 release
Daniel P. Berrangé 437df8
Daniel P. Berrangé 97a323
* Tue Aug 31 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.6.0-3
Daniel P. Berrangé 97a323
- Fix repeated word in scriptlet name
Daniel P. Berrangé 2d6cbe
- Fix deps on virtlockd/virtlogd socket units
Daniel P. Berrangé 2d6cbe
- Fix test failure with newer QEMU
Daniel P. Berrangé 97a323
Daniel P. Berrangé dc6b51
* Wed Aug  4 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.6.0-2
Daniel P. Berrangé dc6b51
- Switch to use modular daemons by default
Daniel P. Berrangé dc6b51
Daniel P. Berrangé ac122f
* Mon Aug  2 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.6.0-1
Daniel P. Berrangé ac122f
- Update to 7.6.0 release
Daniel P. Berrangé ac122f
3807f0
* Wed Jul 28 2021 Richard W.M. Jones <rjones@redhat.com> - 7.5.0-3
3807f0
- Add fix for discard + copy-on-read affecting virt-v2v (RHBZ#1986509)
3807f0
Fedora Release Engineering e484fd
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.0-2
Fedora Release Engineering e484fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Fedora Release Engineering e484fd
6752fe
* Thu Jul 01 2021 Cole Robinson <crobinso@redhat.com> - 7.5.0-1
6752fe
- Update to version 7.5.0
6752fe
15f523
* Mon Jun 07 2021 Cole Robinson <crobinso@redhat.com> - 7.4.0-2
15f523
- Rebuild for xen 4.14
15f523
65a0e2
* Tue Jun 01 2021 Cole Robinson <crobinso@redhat.com> - 7.4.0-1
65a0e2
- Update to version 7.4.0
65a0e2
Daniel P. Berrangé 497e09
* Tue May  4 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.3.0-1
Daniel P. Berrangé 497e09
- Update to 7.3.0 release
Daniel P. Berrangé 497e09
- Remove libvirt-admin & libvirt-bash-completion subpackages
Daniel P. Berrangé 497e09
03a98a
* Mon Apr 05 2021 Cole Robinson <crobinso@redhat.com> - 7.2.0-1
03a98a
- Update to version 7.2.0
03a98a
a8d01e
* Tue Mar  9 2021 Richard W.M. Jones <rjones@redhat.com> - 7.1.0-2
5845f1
- Bump and rebuild for libwsman_client.so.4 -> .5
a8d01e
a11202
* Mon Mar 01 2021 Cole Robinson <crobinso@redhat.com> - 7.1.0-1
a11202
- Update to version 7.1.0
a11202
bbfa59
* Wed Feb 03 2021 Cole Robinson <aintdiscole@gmail.com> - 7.0.0-4
bbfa59
- Increase meson test timeout to fix builds on s390x copr
bbfa59
Laine Stump b97ad8
* Tue Feb 02 2021 Laine Stump <laine@redhat.com> - 7.0.0-3
Laine Stump b97ad8
- disable netcf in build
Laine Stump b97ad8
Fedora Release Engineering f9639a
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-2
Fedora Release Engineering f9639a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Fedora Release Engineering f9639a
Daniel P. Berrangé c71e60
* Fri Jan 15 2021 Daniel P. Berrangé <berrange@redhat.com> - 7.0.0-1
Daniel P. Berrangé c71e60
- Rebase to 7.0.0 release