2007-01-11 01:44:36 +01:00
|
|
|
#
|
2011-01-15 02:55:10 +01:00
|
|
|
# spec file for package libvirt
|
2007-01-11 01:44:36 +01:00
|
|
|
#
|
2016-01-18 20:32:30 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-11 01:44:36 +01:00
|
|
|
#
|
2008-08-10 01:31:46 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-11 01:44:36 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-04-12 23:33:51 +02:00
|
|
|
|
2011-04-05 00:08:05 +02:00
|
|
|
# For now, default to a full server + client build
|
|
|
|
%define client_only 0
|
|
|
|
|
|
|
|
# Disable all server side drivers if client only build requested
|
|
|
|
%if %{client_only}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define server_drivers 0
|
2010-12-02 17:42:49 +01:00
|
|
|
%else
|
2015-01-05 21:14:57 +01:00
|
|
|
%define server_drivers 1
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
# Always build with dlopen'd modules
|
2013-06-07 03:10:31 +02:00
|
|
|
%define with_driver_modules 1
|
2012-08-08 19:47:16 +02:00
|
|
|
|
2011-04-05 00:08:05 +02:00
|
|
|
# Now set the defaults for all the important features, independent
|
|
|
|
# of any particular OS
|
|
|
|
|
|
|
|
# First the daemon itself
|
|
|
|
%define with_libvirtd 0%{!?_without_libvirtd:%{server_drivers}}
|
|
|
|
%define with_avahi 0%{!?_without_avahi:%{server_drivers}}
|
|
|
|
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
# Then the hypervisor drivers that run in libvirtd
|
2011-04-05 00:08:05 +02:00
|
|
|
%define with_xen 0%{!?_without_xen:%{server_drivers}}
|
|
|
|
%define with_qemu 0%{!?_without_qemu:%{server_drivers}}
|
|
|
|
%define with_lxc 0%{!?_without_lxc:%{server_drivers}}
|
|
|
|
%define with_uml 0%{!?_without_uml:%{server_drivers}}
|
|
|
|
%define with_libxl 0%{!?_without_libxl:%{server_drivers}}
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
%define with_vbox 0%{!?_without_vbox:%{server_drivers}}
|
2011-04-05 00:08:05 +02:00
|
|
|
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
# Then the hypervisor drivers that run outside libvirtd, in libvirt.so
|
2013-06-07 03:10:31 +02:00
|
|
|
%define with_openvz 0%{!?_without_openvz:1}
|
|
|
|
%define with_vmware 0%{!?_without_vmware:1}
|
2011-04-05 00:08:05 +02:00
|
|
|
%define with_phyp 0%{!?_without_phyp:0}
|
|
|
|
%define with_esx 0%{!?_without_esx:1}
|
2011-09-26 05:28:30 +02:00
|
|
|
%define with_hyperv 0%{!?_without_hyperv:0}
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%define with_xenapi 0%{!?_without_xenapi:1}
|
2015-07-03 00:10:14 +02:00
|
|
|
%define with_vz 0%{!?_without_vz:1}
|
2011-04-05 00:08:05 +02:00
|
|
|
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
# Then the secondary host drivers, which run inside libvirtd
|
|
|
|
%define with_interface 0%{!?_without_interface:%{server_drivers}}
|
2011-04-05 00:08:05 +02:00
|
|
|
%define with_network 0%{!?_without_network:%{server_drivers}}
|
|
|
|
%define with_storage_fs 0%{!?_without_storage_fs:%{server_drivers}}
|
|
|
|
%define with_storage_lvm 0%{!?_without_storage_lvm:%{server_drivers}}
|
|
|
|
%define with_storage_iscsi 0%{!?_without_storage_iscsi:%{server_drivers}}
|
|
|
|
%define with_storage_disk 0%{!?_without_storage_disk:%{server_drivers}}
|
|
|
|
%define with_storage_mpath 0%{!?_without_storage_mpath:%{server_drivers}}
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%define with_storage_rbd 0
|
|
|
|
%define with_storage_sheepdog 0
|
2013-12-06 19:39:18 +01:00
|
|
|
%define with_storage_gluster 0
|
2011-04-05 00:08:05 +02:00
|
|
|
%define with_numactl 0%{!?_without_numactl:%{server_drivers}}
|
|
|
|
%define with_selinux 0%{!?_without_selinux:%{server_drivers}}
|
2011-08-08 23:26:58 +02:00
|
|
|
%define with_apparmor 0%{!?_without_apparmor:%{server_drivers}}
|
2011-04-05 00:08:05 +02:00
|
|
|
|
2011-09-08 18:17:38 +02:00
|
|
|
# Optional bits on by default
|
|
|
|
%define with_polkit 0%{!?_without_polkit:1}
|
2013-06-07 03:10:31 +02:00
|
|
|
%define with_udev 0%{!?_without_udev:%{server_drivers}}
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%define with_audit 0%{!?_without_audit:1}
|
2013-06-07 03:10:31 +02:00
|
|
|
%define with_yajl 0%{!?_without_yajl:%{server_drivers}}
|
|
|
|
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
|
2013-07-03 18:22:28 +02:00
|
|
|
%define with_netcontrol 0%{!?_without_netcontrol:%{server_drivers}}
|
2011-09-08 18:17:38 +02:00
|
|
|
|
2011-04-05 00:08:05 +02:00
|
|
|
# A few optional bits off by default, we enable later
|
2015-04-02 18:20:09 +02:00
|
|
|
%define with_polkit_rules 0
|
2011-04-05 00:08:05 +02:00
|
|
|
%define with_capng 0%{!?_without_capng:0}
|
2013-06-07 03:10:31 +02:00
|
|
|
%define with_fuse 0%{!?_without_fuse:0}
|
2011-04-05 00:08:05 +02:00
|
|
|
%define with_netcf 0%{!?_without_netcf:0}
|
|
|
|
%define with_nwfilter 0%{!?_without_nwfilter:0}
|
|
|
|
%define with_libpcap 0%{!?_without_libpcap:0}
|
|
|
|
%define with_macvtap 0%{!?_without_macvtap:0}
|
|
|
|
%define with_libnl 0%{!?_without_libnl:0}
|
|
|
|
%define with_dtrace 0%{!?_without_dtrace:0}
|
|
|
|
%define with_cgconfig 0%{!?_without_cgconfig:0}
|
2012-03-26 21:07:45 +02:00
|
|
|
%define with_systemd 0%{!?_without_systemd:0}
|
2012-04-12 23:33:51 +02:00
|
|
|
%define with_numad 0%{!?_without_numad:0}
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%define with_firewalld 0%{!?_without_firewalld:0}
|
2013-06-07 03:10:31 +02:00
|
|
|
%define with_libssh2 0%{!?_without_libssh2:0}
|
2015-04-02 18:20:09 +02:00
|
|
|
%define with_wireshark 0%{!?_without_wireshark:0}
|
2014-03-03 05:22:57 +01:00
|
|
|
%define with_systemd_daemon 0%{!?_without_systemd_daemon:0}
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
|
2015-04-02 18:20:09 +02:00
|
|
|
# Xen no longer contains xm/xend so disable building the legacy Xen driver
|
|
|
|
%define with_xen 0%{!?_without_xen:0}
|
|
|
|
|
2011-04-05 00:08:05 +02:00
|
|
|
# Non-server/HV driver defaults which are always enabled
|
|
|
|
%define with_sasl 0%{!?_without_sasl:1}
|
|
|
|
|
|
|
|
# Set the OS / architecture specific special cases
|
|
|
|
|
2015-05-06 19:54:05 +02:00
|
|
|
# Xen is available only on x86_64 and arm
|
|
|
|
%ifnarch x86_64 %arm aarch64
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_xen 0
|
|
|
|
%define with_libxl 0
|
2010-12-02 17:42:49 +01:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
|
|
|
|
# numactl only on x86_64 and ia64
|
|
|
|
%ifnarch x86_64 ia64
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_numactl 0
|
2011-01-18 18:47:48 +01:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
# vbox is available only on i386 x86_64
|
|
|
|
%ifnarch %{ix86} x86_64
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_vbox 0
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif
|
|
|
|
|
2011-11-10 02:55:47 +01:00
|
|
|
# SLES doesn't contain OpenVZ, VBox, UML, ESX, VMWare, Citrix XenAPI,
|
2015-07-03 00:10:14 +02:00
|
|
|
# hyper-v, or vz (Virtuozzo)
|
2011-04-05 00:08:05 +02:00
|
|
|
%if 0%{?sles_version}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_openvz 0
|
|
|
|
%define with_vbox 0
|
|
|
|
%define with_uml 0
|
|
|
|
%define with_esx 0
|
|
|
|
%define with_vmware 0
|
|
|
|
%define with_xenapi 0
|
|
|
|
%define with_hyperv 0
|
2015-07-03 00:10:14 +02:00
|
|
|
%define with_vz 0
|
2010-12-02 17:42:49 +01:00
|
|
|
%endif
|
2010-03-01 01:43:01 +01:00
|
|
|
|
2011-04-05 00:08:05 +02:00
|
|
|
# Enable phyp driver for IBM Power systems
|
|
|
|
%ifarch ppc64
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_phyp 1
|
2008-07-08 22:02:35 +02:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
# LXC and selinux are not available on anything < 11.1
|
2010-01-08 01:37:05 +01:00
|
|
|
%if 0%{?suse_version} < 1110
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_lxc 0
|
|
|
|
%define with_selinux 0
|
2008-08-10 01:31:46 +02:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
# Support systemd on 12.1 and later
|
2011-09-16 20:53:58 +02:00
|
|
|
%if 0%{?suse_version} >= 1210
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_systemd 0%{!?_without_systemd:1}
|
|
|
|
%define with_systemd_daemon 1
|
2011-09-16 20:53:58 +02:00
|
|
|
%endif
|
2013-04-03 00:01:29 +02:00
|
|
|
|
2011-05-17 19:39:57 +02:00
|
|
|
# libcapng is used to manage capabilities in 11.3 or newer.
|
|
|
|
# It is also used by lxc and needs to be enabled if lxc is enabled.
|
|
|
|
%if 0%{?suse_version} >= 1130 || %{with_lxc}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_capng 0%{!?_without_capng:1}
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%if 0%{?suse_version} >= 1230
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_fuse 0%{!?_without_fuse:1}
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# interface requires netcontrol
|
|
|
|
%if ! 0%{?with_netcontrol}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_interface 0
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# Support libssh2 in 12.3 and later
|
|
|
|
%if 0%{?suse_version} >= 1230
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_libssh2 0%{!?_without_libssh2:1}
|
2012-01-05 00:48:35 +01:00
|
|
|
%endif
|
|
|
|
|
2015-04-02 18:20:09 +02:00
|
|
|
# libvirt commit 37397320 changed the configure check for wireshark to
|
|
|
|
# use pkgconfig, but our wireshark packages do not provide wireshark.pc.
|
|
|
|
# Disable the dissector for now
|
|
|
|
%define with_wireshark 0
|
|
|
|
|
2011-08-04 20:00:03 +02:00
|
|
|
# Disable some drivers when building without libvirt daemon.
|
|
|
|
# The logic is the same as in configure.ac
|
|
|
|
%if ! %{with_libvirtd}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_interface 0
|
|
|
|
%define with_network 0
|
|
|
|
%define with_qemu 0
|
|
|
|
%define with_lxc 0
|
|
|
|
%define with_uml 0
|
|
|
|
%define with_vbox 0
|
|
|
|
%define with_udev 0
|
|
|
|
%define with_storage_fs 0
|
|
|
|
%define with_storage_lvm 0
|
|
|
|
%define with_storage_iscsi 0
|
|
|
|
%define with_storage_mpath 0
|
|
|
|
%define with_storage_rbd 0
|
|
|
|
%define with_storage_sheepdog 0
|
|
|
|
%define with_storage_gluster 0
|
|
|
|
%define with_storage_disk 0
|
2011-08-04 20:00:03 +02:00
|
|
|
%endif
|
|
|
|
|
2011-04-05 00:08:05 +02:00
|
|
|
# Enable libpcap library
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_qemu} || %{with_lxc}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if 0%{?suse_version} >= 1140
|
|
|
|
%define with_nwfilter 0%{!?_without_nwfilter:%{server_drivers}}
|
|
|
|
%define with_libpcap 0%{!?_without_libpcap:%{server_drivers}}
|
|
|
|
%define with_macvtap 0%{!?_without_macvtap:%{server_drivers}}
|
|
|
|
# numad is used to manage the CPU and memory placement dynamically.
|
|
|
|
# It is only available on x86, and openSUSE >= 13.1
|
|
|
|
%if 0%{?suse_version} >= 1310
|
|
|
|
%ifarch i386 i586 i686 x86_64
|
|
|
|
%define with_numad 0%{!?_without_numad:%{server_drivers}}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# Force QEMU to run as qemu:qemu
|
|
|
|
%define qemu_user qemu
|
|
|
|
%define qemu_group qemu
|
|
|
|
%else
|
|
|
|
%define qemu_user root
|
|
|
|
%define qemu_group root
|
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
|
|
|
|
2016-01-27 23:57:49 +01:00
|
|
|
# Advertise OVMF for >= 13.1
|
|
|
|
%if 0%{?suse_version} >= 1310
|
|
|
|
%define with_loader_nvram --with-loader-nvram="/usr/share/qemu/ovmf-x86_64-ms-code.bin:/usr/share/qemu/ovmf-x86_64-ms-vars.bin"
|
|
|
|
%endif
|
|
|
|
|
2011-04-05 00:08:05 +02:00
|
|
|
%if %{with_macvtap}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_libnl 1
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
|
|
|
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
# Pull in cgroups config system
|
|
|
|
%if %{with_qemu} || %{with_lxc}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_cgconfig 0%{!?_without_cgconfig:1}
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with_udev}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_nodedev 1
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%else
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_nodedev 0
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with_storage_fs} || %{with_storage_mpath} || %{with_storage_iscsi} || %{with_storage_lvm} || %{with_storage_disk}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_storage 1
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%else
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_storage 0
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%endif
|
|
|
|
|
2011-06-15 23:48:27 +02:00
|
|
|
%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
|
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
Name: libvirt
|
|
|
|
Url: http://libvirt.org/
|
2016-03-01 18:58:15 +01:00
|
|
|
Version: 1.3.2
|
2013-06-07 03:10:31 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Library providing a simple virtualization API
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%if %{with_libvirtd}
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_network}
|
2014-01-21 01:43:47 +01:00
|
|
|
Requires: libvirt-daemon-config-network = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_nwfilter}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-config-nwfilter = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_driver_modules}
|
|
|
|
%if %{with_libxl}
|
2013-12-06 23:50:19 +01:00
|
|
|
Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_lxc}
|
2013-12-06 23:50:19 +01:00
|
|
|
Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_qemu}
|
2013-12-06 23:50:19 +01:00
|
|
|
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_uml}
|
2013-12-06 23:50:19 +01:00
|
|
|
Requires: libvirt-daemon-driver-uml = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_xen}
|
2013-12-06 23:50:19 +01:00
|
|
|
Requires: libvirt-daemon-driver-xen = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_vbox}
|
2013-12-06 23:50:19 +01:00
|
|
|
Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_nwfilter}
|
2013-06-10 17:15:54 +02:00
|
|
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_interface}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif
|
|
|
|
Requires: libvirt-client = %{version}-%{release}
|
|
|
|
|
|
|
|
# All build-time requirements. Run-time requirements are
|
|
|
|
# listed against each sub-RPM
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2013-10-15 00:51:07 +02:00
|
|
|
BuildRequires: gettext-tools
|
2013-06-07 03:10:31 +02:00
|
|
|
BuildRequires: libtool
|
2014-03-03 05:22:57 +01:00
|
|
|
# Needed for virkmodtest in 'make check'
|
|
|
|
BuildRequires: modutils
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_systemd}
|
|
|
|
BuildRequires: systemd
|
2015-06-03 19:36:37 +02:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif
|
2014-03-03 05:22:57 +01:00
|
|
|
%if %{with_systemd_daemon}
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_xen} || %{with_libxl}
|
|
|
|
BuildRequires: xen-devel
|
|
|
|
%endif
|
2012-01-20 00:02:47 +01:00
|
|
|
BuildRequires: fdupes
|
2013-06-07 03:10:31 +02:00
|
|
|
BuildRequires: libattr-devel
|
2012-01-20 00:02:47 +01:00
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgnutls-devel
|
|
|
|
BuildRequires: libtasn1-devel
|
2011-04-05 00:08:05 +02:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: ncurses-devel
|
2014-09-02 17:52:40 +02:00
|
|
|
BuildRequires: perl
|
2013-12-06 19:39:18 +01:00
|
|
|
BuildRequires: python
|
2011-04-05 00:08:05 +02:00
|
|
|
BuildRequires: python-xml
|
2012-01-20 00:02:47 +01:00
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: xhtml-dtd
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_libvirtd}
|
|
|
|
# For pool-build probing for existing pools
|
|
|
|
BuildRequires: libblkid-devel >= 2.17
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
%if %{with_udev}
|
|
|
|
BuildRequires: libpciaccess0-devel >= 0.10.9
|
2012-04-12 23:33:51 +02:00
|
|
|
BuildRequires: libudev-devel >= 145
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_yajl}
|
|
|
|
BuildRequires: libyajl-devel
|
2010-08-09 02:19:48 +02:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_sanlock}
|
|
|
|
BuildRequires: sanlock-devel >= 2.4
|
2009-02-03 22:58:24 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_libpcap}
|
|
|
|
BuildRequires: libpcap-devel
|
2012-04-12 23:33:51 +02:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_libnl}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-10-17 22:18:18 +02:00
|
|
|
BuildRequires: libnl3-devel
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
|
|
|
%if 0%{?suse_version} >= 1210
|
2013-12-04 22:31:09 +01:00
|
|
|
BuildRequires: libnl-1_1-devel
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
2013-12-04 22:31:09 +01:00
|
|
|
BuildRequires: libnl-devel
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%endif
|
2011-09-26 05:28:30 +02:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_avahi}
|
|
|
|
BuildRequires: libavahi-devel
|
2010-10-06 00:35:25 +02:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_selinux}
|
|
|
|
BuildRequires: libselinux-devel
|
2010-12-02 17:42:49 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_apparmor}
|
|
|
|
BuildRequires: libapparmor-devel
|
2011-09-16 20:53:58 +02:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
%if %{with_network}
|
|
|
|
BuildRequires: dnsmasq >= 2.41
|
2012-01-11 17:36:57 +01:00
|
|
|
BuildRequires: iptables
|
2013-06-07 03:10:31 +02:00
|
|
|
# TODO BuildRequires: iptables-ipv6
|
2011-04-05 00:08:05 +02:00
|
|
|
BuildRequires: radvd
|
|
|
|
%endif
|
|
|
|
%if %{with_nwfilter}
|
|
|
|
BuildRequires: ebtables
|
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_sasl}
|
|
|
|
BuildRequires: cyrus-sasl-devel
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_polkit}
|
2015-04-02 18:20:09 +02:00
|
|
|
%if 0%{?suse_version} > 1140
|
|
|
|
%define with_polkit_rules 1
|
|
|
|
%endif
|
2015-01-05 21:14:57 +01:00
|
|
|
%if 0%{?suse_version} > 1110
|
2015-03-16 17:59:15 +01:00
|
|
|
BuildRequires: polkit >= 0.9
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
BuildRequires: polkit-devel >= 0.9
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
2013-06-07 03:10:31 +02:00
|
|
|
BuildRequires: PolicyKit-devel >= 0.6
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2011-09-16 21:30:03 +02:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
%if %{with_storage_fs}
|
|
|
|
# For mount/umount in FS driver
|
|
|
|
BuildRequires: util-linux
|
|
|
|
%endif
|
|
|
|
%if %{with_storage_lvm}
|
|
|
|
# For LVM drivers
|
|
|
|
BuildRequires: lvm2
|
|
|
|
%endif
|
|
|
|
%if %{with_storage_iscsi}
|
|
|
|
# For ISCSI driver
|
|
|
|
BuildRequires: open-iscsi
|
|
|
|
%endif
|
|
|
|
%if %{with_storage_disk}
|
|
|
|
# For disk driver
|
|
|
|
BuildRequires: parted-devel
|
|
|
|
%endif
|
|
|
|
%if %{with_storage_mpath}
|
|
|
|
# For Multipath support
|
2011-05-16 11:14:01 +02:00
|
|
|
BuildRequires: device-mapper-devel
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%if %{with_storage_rbd}
|
|
|
|
BuildRequires: ceph-devel
|
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_numactl}
|
|
|
|
# For QEMU/LXC numa info
|
|
|
|
BuildRequires: libnuma-devel
|
|
|
|
%endif
|
|
|
|
%if %{with_capng}
|
|
|
|
BuildRequires: libcap-ng-devel >= 0.5.0
|
|
|
|
%endif
|
|
|
|
%if %{with_fuse}
|
|
|
|
BuildRequires: fuse-devel >= 2.8.6
|
|
|
|
%endif
|
|
|
|
%if %{with_phyp} || %{with_libssh2}
|
|
|
|
BuildRequires: libssh2-devel
|
|
|
|
%endif
|
|
|
|
%if %{with_netcontrol}
|
|
|
|
BuildRequires: libnetcontrol-devel >= 0.2.0
|
|
|
|
%endif
|
|
|
|
%if %{with_esx}
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
%endif
|
|
|
|
%if %{with_hyperv}
|
|
|
|
BuildRequires: libwsman-devel >= 2.2.3
|
|
|
|
%endif
|
2011-06-30 21:38:30 +02:00
|
|
|
%if %{with_audit}
|
|
|
|
BuildRequires: audit-devel
|
|
|
|
%endif
|
2011-11-10 02:55:47 +01:00
|
|
|
%if %{with_dtrace}
|
2015-01-05 21:14:57 +01:00
|
|
|
# we need /usr/sbin/dtrace
|
2011-11-10 02:55:47 +01:00
|
|
|
BuildRequires: systemtap-sdt-devel
|
|
|
|
%endif
|
2013-12-06 19:39:18 +01:00
|
|
|
%if %{with_numad}
|
|
|
|
BuildRequires: numad
|
|
|
|
%endif
|
2015-04-02 18:20:09 +02:00
|
|
|
%if %{with_wireshark}
|
2014-10-28 00:00:39 +01:00
|
|
|
BuildRequires: wireshark-devel
|
|
|
|
%endif
|
2015-11-05 01:23:08 +01:00
|
|
|
%if %{with_qemu}
|
|
|
|
%if 0%{?suse_version} > 1130
|
|
|
|
# BuildRequire qemu-tools so configure can detect qemu-bridge-helper
|
|
|
|
# path. Ignore SLE11, which predates the qemu-tools package.
|
|
|
|
BuildRequires: qemu-tools
|
|
|
|
%endif
|
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-06-03 19:34:40 +02:00
|
|
|
%global systemd_version %(pkg-config --modversion systemd)
|
|
|
|
|
2014-10-02 00:29:37 +02:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Source1: %{name}-%{version}.tar.gz.asc
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
Source3: libvirtd.init
|
|
|
|
Source4: libvirtd-relocation-server.fw
|
2013-06-07 03:10:31 +02:00
|
|
|
Source99: baselibs.conf
|
|
|
|
# Upstream patches
|
2014-09-08 19:56:04 +02:00
|
|
|
# Patches pending upstream review
|
2013-06-07 03:10:31 +02:00
|
|
|
# Need to go upstream
|
2015-04-02 18:20:09 +02:00
|
|
|
Patch150: xen-pv-cdrom.patch
|
|
|
|
Patch151: blockcopy-check-dst-identical-device.patch
|
|
|
|
Patch152: libvirt-power8-models.patch
|
|
|
|
Patch153: ppc64le-canonical-name.patch
|
|
|
|
Patch154: apparmor-fixes.patch
|
2013-06-07 03:10:31 +02:00
|
|
|
# Our patches
|
|
|
|
Patch200: libvirtd-defaults.patch
|
|
|
|
Patch201: libvirtd-init-script.patch
|
|
|
|
Patch202: libvirt-guests-init-script.patch
|
|
|
|
Patch203: virtlockd-init-script.patch
|
2015-12-18 22:01:20 +01:00
|
|
|
Patch204: virtlogd-init-script.patch
|
|
|
|
Patch205: suse-qemu-conf.patch
|
|
|
|
Patch206: support-managed-pci-xen-driver.patch
|
|
|
|
Patch207: systemd-service-xen.patch
|
|
|
|
Patch208: xen-sxpr-disk-type.patch
|
2016-02-23 23:12:48 +01:00
|
|
|
Patch209: libxl-support-block-script.patch
|
|
|
|
Patch210: apparmor-no-mount.patch
|
|
|
|
Patch211: qemu-apparmor-screenshot.patch
|
|
|
|
Patch212: libvirt-suse-netcontrol.patch
|
|
|
|
Patch213: lxc-wait-after-eth-del.patch
|
2016-03-03 23:44:56 +01:00
|
|
|
Patch214: libxl-qemu-emulator-caps.patch
|
2015-06-03 19:34:40 +02:00
|
|
|
# SocketUser and SocketGroup settings were added to systemd.socket in
|
|
|
|
# version 214. Patch the setting away in earlier systemd
|
|
|
|
%if 0%{systemd_version} < 214
|
|
|
|
Patch300: libvirtd-systemd-socket.patch
|
2013-05-02 21:17:46 +02:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-04-05 00:08:05 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description
|
|
|
|
Libvirt is a C toolkit to interact with the virtualization
|
|
|
|
capabilities of Linux. Virtualization of the Linux Operating System means
|
|
|
|
the ability to run multiple instances of Operating Systems concurrently
|
|
|
|
on a single hardware system where the basic resources are driven by a
|
|
|
|
Linux instance. The library aims to provide long term stable C API
|
|
|
|
to interact with Linux virtualization technologies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Daniel Veillard <veillard@redhat.com>
|
|
|
|
Karel Zak <kzak@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: API reference and website documentation
|
2012-01-20 00:02:47 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2013-06-07 03:10:31 +02:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
Includes the API reference for the libvirt C library, and a complete
|
|
|
|
copy of the libvirt.org website documentation.
|
|
|
|
|
|
|
|
%if %{with_libvirtd}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon
|
|
|
|
Summary: Server side daemon and supporting files for libvirt library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
# All runtime requirements for the libvirt package (runtime requirements
|
|
|
|
# for subpackages are listed later in those subpackages)
|
2011-04-05 00:08:05 +02:00
|
|
|
|
2010-01-08 01:37:05 +01:00
|
|
|
# The client side, i.e. shared libs and virsh are in a subpackage
|
2010-05-14 00:45:32 +02:00
|
|
|
Requires: %{name}-client = %{version}-%{release}
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2011-04-05 00:08:05 +02:00
|
|
|
# for modprobe of pci devices
|
2013-02-05 06:22:33 +01:00
|
|
|
Requires: modutils
|
2011-08-04 20:00:03 +02:00
|
|
|
# for /sbin/ip & /sbin/tc
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: bridge-utils
|
2011-04-05 00:08:05 +02:00
|
|
|
Requires: iproute
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: logrotate
|
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_udev}
|
2011-04-05 00:08:05 +02:00
|
|
|
Requires: udev >= 145
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_polkit}
|
|
|
|
%if 0%{?suse_version} > 1110
|
2013-06-07 03:10:31 +02:00
|
|
|
Recommends: polkit >= 0.93
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
2010-12-02 17:42:49 +01:00
|
|
|
Recommends: PolicyKit >= 0.6
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%ifarch i386 i586 i686 x86_64 ia64
|
2011-12-15 02:23:04 +01:00
|
|
|
# For virConnectGetSysinfo
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: dmidecode
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if %{with_systemd}
|
2013-06-07 03:10:31 +02:00
|
|
|
# For service management
|
2012-01-05 00:48:35 +01:00
|
|
|
%{?systemd_requires}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_numad}
|
2013-12-06 19:39:18 +01:00
|
|
|
Requires: numad
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon
|
|
|
|
Server side daemon required to manage the virtualization capabilities
|
|
|
|
of recent versions of Linux. Requires a hypervisor specific sub-RPM
|
|
|
|
for specific drivers.
|
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_network}
|
2014-02-14 23:19:58 +01:00
|
|
|
|
2014-01-21 01:43:47 +01:00
|
|
|
%package daemon-config-network
|
|
|
|
Summary: Default configuration files for the libvirtd daemon
|
2014-01-21 02:24:00 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-01-21 01:43:47 +01:00
|
|
|
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_driver_modules}
|
2014-02-14 23:22:58 +01:00
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2014-01-21 01:43:47 +01:00
|
|
|
|
|
|
|
%description daemon-config-network
|
|
|
|
Default configuration files for setting up NAT based networking
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2014-01-21 01:43:47 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_nwfilter}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-config-nwfilter
|
|
|
|
Summary: Network filter configuration files for the libvirtd
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_driver_modules}
|
2014-02-14 23:22:58 +01:00
|
|
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
|
|
|
%description daemon-config-nwfilter
|
|
|
|
Network filter configuration files for the libvirt daemon, used for
|
|
|
|
cleaning guest network traffic.
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_driver_modules}
|
|
|
|
%if %{with_network}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-network
|
|
|
|
Summary: Network driver plugin for the libvirtd daemon
|
|
|
|
Group: Development/Libraries/C and C++
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
Requires: dnsmasq >= 2.41
|
|
|
|
Requires: iptables
|
|
|
|
# TODO Requires: iptables-ipv6
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
Requires: radvd
|
2010-01-08 01:37:05 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-network
|
|
|
|
The network driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the virtual network APIs using the Linux
|
|
|
|
bridge capabilities.
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_nwfilter}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-nwfilter
|
|
|
|
Summary: A nwfilter driver plugin for the libvirtd daemon
|
|
|
|
Group: Development/Libraries/C and C++
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
Requires: ebtables
|
|
|
|
Requires: iptables
|
|
|
|
# TODO Requires: iptables-ipv6
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2010-01-08 01:37:05 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-nwfilter
|
|
|
|
The nwfilter driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the firewall APIs using the ebtables,
|
|
|
|
iptables and ip6tables capabilities
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_nodedev}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-nodedev
|
|
|
|
Summary: Nodedev driver plugin for the libvirtd daemon
|
2010-01-08 01:37:05 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2010-01-08 01:37:05 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-nodedev
|
|
|
|
The nodedev driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the node device APIs using the udev
|
|
|
|
capabilities.
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2009-12-29 18:35:03 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_interface}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-interface
|
|
|
|
Summary: Interface driver plugin for the libvirtd daemon
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2009-12-29 18:35:03 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-interface
|
|
|
|
The interface driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the network interface APIs using the
|
|
|
|
netcontrol library
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2009-12-29 18:35:03 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-secret
|
|
|
|
Summary: Secret driver plugin for the libvirtd daemon
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-secret
|
|
|
|
The secret driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the secret key APIs.
|
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_storage}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-storage
|
|
|
|
Summary: Storage driver plugin for the libvirtd daemon
|
2007-01-11 01:44:36 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_storage_fs}
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
Requires: nfs-utils
|
|
|
|
# For mkfs
|
|
|
|
Requires: util-linux
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_qemu}
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
# From QEMU RPMs
|
|
|
|
Requires: /usr/bin/qemu-img
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_storage_lvm}
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
# For LVM drivers
|
|
|
|
Requires: lvm2
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_storage_iscsi}
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
# For ISCSI driver
|
|
|
|
Requires: open-iscsi
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_storage_disk}
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
# For disk driver
|
|
|
|
Requires: device-mapper
|
|
|
|
Requires: parted
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_storage_mpath}
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
# For multipath support
|
|
|
|
Requires: device-mapper
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
|
|
|
%description daemon-driver-storage
|
|
|
|
The storage driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the storage APIs using LVM, iSCSI,
|
|
|
|
parted and more.
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_qemu}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-qemu
|
|
|
|
Summary: Qemu driver plugin for the libvirtd daemon
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
|
|
|
# There really is a hard cross-driver dependency here
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
Requires: /usr/bin/qemu-img
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
2015-04-20 20:17:37 +02:00
|
|
|
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
# For image compression
|
|
|
|
Requires: bzip2
|
|
|
|
Requires: gzip
|
|
|
|
Requires: xz
|
2015-01-05 21:14:57 +01:00
|
|
|
%if 0%{?suse_version} > 1210
|
- Update to libvirt 1.1.4
- Add support for AArch64 architecture
- Various improvements on test code and test driver
- Don't link virt-login-shell against libvirt.so
- Close all non-stdio FDs in virt-login-shell
- Only allow 'stderr' log output when running setuid
- Fix perms for virConnectDomainXML{To,From}Native
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
484cc321-fix-spice-migration.patch,
79552754-libvirtd-chardev-crash.patch,
57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
843bdb2f-CVE-2013-4400.patch,
bd773e74-lxc-terminate-machine.patch,
e350826c-python-fix-fd-passing.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 21:02:26 +01:00
|
|
|
Requires: lzop
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2014-07-02 21:21:03 +02:00
|
|
|
Requires: qemu
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-qemu
|
|
|
|
The qemu driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the hypervisor driver APIs using QEMU.
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_lxc}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-lxc
|
|
|
|
Summary: LXC driver plugin for the libvirtd daemon
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
|
|
|
# There really is a hard cross-driver dependency here
|
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-lxc
|
|
|
|
The LXC driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the hypervisor driver APIs using
|
|
|
|
the Linux kernel
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2007-03-07 22:48:39 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_uml}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-uml
|
|
|
|
Summary: Uml driver plugin for the libvirtd daemon
|
2007-03-07 22:48:39 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2007-03-07 22:48:39 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-uml
|
|
|
|
The UML driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the hypervisor driver APIs using
|
|
|
|
User Mode Linux
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_xen}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-xen
|
|
|
|
Summary: Xen driver plugin for the libvirtd daemon
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2007-03-07 22:48:39 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-xen
|
|
|
|
The Xen driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the hypervisor driver APIs using Xen.
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2007-03-07 22:48:39 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_vbox}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-vbox
|
|
|
|
Summary: VirtualBox driver plugin for the libvirtd daemon
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2007-03-07 22:48:39 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-driver-vbox
|
|
|
|
The vbox driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the hypervisor driver APIs using
|
|
|
|
VirtualBox
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_libxl}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-driver-libxl
|
|
|
|
Summary: Libxl driver plugin for the libvirtd daemon
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
|
|
|
|
|
|
|
%description daemon-driver-libxl
|
|
|
|
The Libxl driver plugin for the libvirtd daemon, providing
|
|
|
|
an implementation of the hypervisor driver APIs using libxl.
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%endif # with_driver_modules
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_qemu}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-qemu
|
|
|
|
Summary: Server side daemon & driver required to run QEMU guests
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_driver_modules}
|
|
|
|
%if %{with_interface}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
|
|
|
%description daemon-qemu
|
|
|
|
Server side daemon and driver required to manage the virtualization
|
|
|
|
capabilities of the QEMU emulators
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_lxc}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-lxc
|
|
|
|
Summary: Server side daemon & driver required to run LXC guests
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_driver_modules}
|
|
|
|
%if %{with_interface}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
|
|
|
%description daemon-lxc
|
|
|
|
Server side daemon and driver required to manage the virtualization
|
|
|
|
capabilities of LXC
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_uml}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-uml
|
|
|
|
Summary: Server side daemon & driver required to run UML guests
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_driver_modules}
|
|
|
|
%if %{with_interface}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-uml = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2011-12-15 02:23:04 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%description daemon-uml
|
|
|
|
Server side daemon and driver required to manage the virtualization
|
|
|
|
capabilities of UML
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_xen} || %{with_libxl}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-xen
|
|
|
|
Summary: Server side daemon & driver required to run XEN guests
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_driver_modules}
|
|
|
|
%if %{with_xen}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-xen = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_libxl}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_interface}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: xen
|
|
|
|
|
|
|
|
%description daemon-xen
|
|
|
|
Server side daemon and driver required to manage the virtualization
|
|
|
|
capabilities of XEN
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_vbox}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%package daemon-vbox
|
|
|
|
Summary: Server side daemon & driver required to run VirtualBox guests
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libvirt-daemon = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_driver_modules}
|
|
|
|
%if %{with_interface}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-interface = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
|
|
|
|
Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: virtualbox
|
|
|
|
|
|
|
|
%description daemon-vbox
|
|
|
|
Server side daemon and driver required to manage the virtualization
|
|
|
|
capabilities of VirtualBox
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif # with_libvirtd
|
|
|
|
|
|
|
|
%package client
|
|
|
|
Summary: Client side library and utilities of the libvirt library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: ncurses
|
|
|
|
Requires: readline
|
|
|
|
# So remote clients can access libvirt over SSH tunnel
|
|
|
|
# (client invokes 'nc' against the UNIX socket on the server)
|
|
|
|
Requires: netcat-openbsd
|
|
|
|
# Needed by libvirt-guests init script.
|
2013-10-15 00:51:07 +02:00
|
|
|
Requires: gettext-runtime
|
2013-06-07 03:10:31 +02:00
|
|
|
# Needed by virt-pki-validate script.
|
|
|
|
Requires: gnutls
|
|
|
|
%if %{with_sasl}
|
|
|
|
Requires: cyrus-sasl
|
|
|
|
# Not technically required, but makes 'out-of-box' config
|
|
|
|
# work correctly & doesn't have onerous dependencies
|
|
|
|
Requires: cyrus-sasl-digestmd5
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description client
|
|
|
|
Shared libraries and client binaries needed to access to the
|
|
|
|
virtualization capabilities of recent versions of Linux (and other OSes).
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries, includes, etc. to compile with the libvirt library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name}-client = %{version}-%{release}
|
2013-06-07 16:16:07 +02:00
|
|
|
Requires: %{name}-doc = %{version}-%{release}
|
2013-06-07 03:10:31 +02:00
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Include header files & development libraries for the libvirt C library.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_sanlock}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2011-12-15 02:23:04 +01:00
|
|
|
%package lock-sanlock
|
|
|
|
Summary: Sanlock lock manager plugin for QEMU driver
|
|
|
|
Group: Development/Libraries/C and C++
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
Requires: sanlock >= 2.4
|
2013-06-07 03:10:31 +02:00
|
|
|
# for virt-sanlock-cleanup require augeas
|
|
|
|
Requires: %{name}-client = %{version}-%{release}
|
|
|
|
Requires: %{name}-daemon = %{version}-%{release}
|
2012-04-12 23:33:51 +02:00
|
|
|
Requires: augeas
|
2011-12-15 02:23:04 +01:00
|
|
|
|
|
|
|
%description lock-sanlock
|
|
|
|
Includes the Sanlock lock manager plugin for the QEMU driver
|
|
|
|
%endif
|
|
|
|
|
2015-04-02 18:20:09 +02:00
|
|
|
%if %{with_wireshark}
|
2015-03-02 21:13:45 +01:00
|
|
|
|
2014-11-03 10:00:37 +01:00
|
|
|
%package -n wireshark-plugin-libvirt
|
2015-11-05 01:23:08 +01:00
|
|
|
Summary: Wireshark plugin for libvirt RPC protocol
|
2014-10-28 00:00:39 +01:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
2015-11-05 01:23:08 +01:00
|
|
|
Requires: %{name}-client = %{version}-%{release}
|
2014-10-28 00:00:39 +01:00
|
|
|
Requires: wireshark
|
|
|
|
|
2014-11-03 10:00:37 +01:00
|
|
|
%description -n wireshark-plugin-libvirt
|
2015-11-05 01:23:08 +01:00
|
|
|
Wireshark dissector plugin for better analysis of libvirt RPC traffic.
|
2014-10-28 00:00:39 +01:00
|
|
|
%endif
|
|
|
|
|
2007-01-11 01:44:36 +01:00
|
|
|
%prep
|
2007-03-07 22:48:39 +01:00
|
|
|
%setup -q
|
2014-09-08 19:56:04 +02:00
|
|
|
%patch150 -p1
|
|
|
|
%patch151 -p1
|
|
|
|
%patch152 -p1
|
|
|
|
%patch153 -p1
|
|
|
|
%patch154 -p1
|
2009-09-27 00:09:58 +02:00
|
|
|
%patch200 -p1
|
2011-01-12 00:41:45 +01:00
|
|
|
%patch201 -p1
|
2011-09-26 05:28:30 +02:00
|
|
|
%patch202 -p1
|
2011-11-30 17:55:23 +01:00
|
|
|
%patch203 -p1
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%patch204 -p1
|
|
|
|
%patch205 -p1
|
2013-03-08 20:47:00 +01:00
|
|
|
%patch206 -p1
|
|
|
|
%patch207 -p1
|
2015-06-03 19:34:40 +02:00
|
|
|
%patch208 -p1
|
|
|
|
%patch209 -p1
|
|
|
|
%patch210 -p1
|
2015-12-04 09:54:48 +01:00
|
|
|
%patch211 -p1
|
2015-12-18 22:01:20 +01:00
|
|
|
%patch212 -p1
|
2016-02-23 23:12:48 +01:00
|
|
|
%patch213 -p1
|
2016-03-03 23:44:56 +01:00
|
|
|
%patch214 -p1
|
2015-06-03 19:34:40 +02:00
|
|
|
%if 0%{systemd_version} < 214
|
2011-09-16 20:53:58 +02:00
|
|
|
%patch300 -p1
|
|
|
|
%endif
|
2007-01-11 01:44:36 +01:00
|
|
|
|
|
|
|
%build
|
2008-07-08 22:02:35 +02:00
|
|
|
%if ! %{with_xen}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_xen --without-xen
|
2008-07-08 22:02:35 +02:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
%if ! %{with_qemu}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_qemu --without-qemu
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
|
|
|
%if ! %{with_openvz}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_openvz --without-openvz
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2011-04-06 00:31:12 +02:00
|
|
|
%if ! %{with_lxc}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_lxc --without-lxc
|
2011-04-06 00:31:12 +02:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
%if ! %{with_vbox}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_vbox --without-vbox
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2011-04-06 00:31:12 +02:00
|
|
|
%if ! %{with_xenapi}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_xenapi --without-xenapi
|
2011-04-06 00:31:12 +02:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
%if ! %{with_uml}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_uml --without-uml
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
|
|
|
%if ! %{with_phyp}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_phyp --without-phyp
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
|
|
|
%if ! %{with_esx}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_esx --without-esx
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2011-04-06 00:31:12 +02:00
|
|
|
%if ! %{with_vmware}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_vmware --without-vmware
|
2011-04-06 00:31:12 +02:00
|
|
|
%endif
|
2011-09-26 05:28:30 +02:00
|
|
|
%if ! %{with_hyperv}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_hyperv --without-hyperv
|
2011-09-26 05:28:30 +02:00
|
|
|
%endif
|
2015-07-03 00:10:14 +02:00
|
|
|
%if ! %{with_vz}
|
|
|
|
%define _without_vz --without-vz
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
%if ! %{with_libxl}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_libxl --without-libxl
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
2011-04-06 00:31:12 +02:00
|
|
|
%if ! %{with_libvirtd}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_libvirtd --without-libvirtd
|
2011-04-06 00:31:12 +02:00
|
|
|
%endif
|
|
|
|
%if ! %{with_storage_fs}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_storage_fs --without-storage-fs
|
2011-04-06 00:31:12 +02:00
|
|
|
%endif
|
|
|
|
%if ! %{with_storage_lvm}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_storage_lvm --without-storage-lvm
|
2011-04-06 00:31:12 +02:00
|
|
|
%endif
|
|
|
|
%if ! %{with_storage_iscsi}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_storage_iscsi --without-storage-iscsi
|
2011-04-06 00:31:12 +02:00
|
|
|
%endif
|
|
|
|
%if ! %{with_storage_disk}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_storage_disk --without-storage-disk
|
2011-04-06 00:31:12 +02:00
|
|
|
%endif
|
|
|
|
%if ! %{with_storage_mpath}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_storage_mpath --without-storage-mpath
|
2011-04-06 00:31:12 +02:00
|
|
|
%endif
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%if ! %{with_storage_rbd}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_storage_rbd --without-storage-rbd
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%endif
|
|
|
|
%if ! %{with_storage_sheepdog}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_storage_sheepdog --without-storage-sheepdog
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%endif
|
2013-12-06 19:39:18 +01:00
|
|
|
%if ! %{with_storage_gluster}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_storage_gluster --without-storage-gluster
|
2013-12-06 19:39:18 +01:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
%if ! %{with_numactl}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_numactl --without-numactl
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2012-04-12 23:33:51 +02:00
|
|
|
%if ! %{with_numad}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_numad --without-numad
|
2012-04-12 23:33:51 +02:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
%if ! %{with_selinux}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_selinux --without-selinux
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
|
|
|
%if ! %{with_apparmor}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_apparmor --without-apparmor
|
2014-01-17 20:45:49 +01:00
|
|
|
%else
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _with_apparmor_profiles --with-apparmor-profiles
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
|
|
|
%if ! %{with_capng}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_capng --without-capng
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if ! %{with_fuse}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_fuse --without-fuse
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
%if ! %{with_netcf}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_netcf --without-netcf
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2011-09-16 20:53:58 +02:00
|
|
|
%if ! %{with_netcontrol}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_netcontrol --without-netcontrol
|
2011-09-16 20:53:58 +02:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
%if ! %{with_udev}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_udev --without-udev
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
|
|
|
%if ! %{with_yajl}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_yajl --without-yajl
|
2008-09-01 17:06:07 +02:00
|
|
|
%endif
|
2010-08-09 02:19:48 +02:00
|
|
|
%if ! %{with_macvtap}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_macvtap --without-macvtap
|
2010-08-09 02:19:48 +02:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
%if ! %{with_polkit}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_polkit --without-polkit
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
2011-06-30 21:38:30 +02:00
|
|
|
%if ! %{with_audit}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_audit --without-audit
|
2011-06-30 21:38:30 +02:00
|
|
|
%endif
|
2011-11-10 02:55:47 +01:00
|
|
|
%if ! %{with_dtrace}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_dtrace --without-dtrace
|
2011-11-10 02:55:47 +01:00
|
|
|
%endif
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%if ! %{with_interface}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_interface --without-interface
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
%if ! %{with_network}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_network --without-network
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
|
|
|
%if ! %{with_sasl}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_sasl --without-sasl
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
2012-02-15 20:01:07 +01:00
|
|
|
%if ! %{with_avahi}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_avahi --without-avahi
|
2012-02-15 20:01:07 +01:00
|
|
|
%endif
|
2011-04-05 00:08:05 +02:00
|
|
|
%if ! %{with_libpcap}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_libpcap --without-libpcap
|
2010-10-02 00:46:48 +02:00
|
|
|
%endif
|
2011-12-15 02:23:04 +01:00
|
|
|
%if ! %{with_sanlock}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_sanlock --without-sanlock
|
2011-12-15 02:23:04 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_systemd}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define init_scripts --with-init_script=systemd+redhat
|
2011-12-15 02:23:04 +01:00
|
|
|
%else
|
2015-01-05 21:14:57 +01:00
|
|
|
%define init_scripts --with-init_script=redhat
|
2011-12-15 02:23:04 +01:00
|
|
|
%endif
|
2012-08-08 19:47:16 +02:00
|
|
|
%if ! %{with_driver_modules}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_driver_modules --without-driver-modules
|
2012-08-08 19:47:16 +02:00
|
|
|
%endif
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%if %{with_firewalld}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _with_firewalld --with-firewalld
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%endif
|
2015-04-02 18:20:09 +02:00
|
|
|
%if ! %{with_wireshark}
|
|
|
|
%define _without_wireshark --without-wireshark-dissector
|
|
|
|
%endif
|
2014-03-03 05:22:57 +01:00
|
|
|
%if ! %{with_systemd_daemon}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define _without_systemd_daemon --without-systemd-daemon
|
2014-03-03 05:22:57 +01:00
|
|
|
%endif
|
2011-02-15 17:27:59 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_selinux}
|
2015-01-05 21:14:57 +01:00
|
|
|
%define with_selinux_mount --with-selinux-mount="/sys/fs/selinux"
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif
|
|
|
|
|
2007-03-07 22:48:39 +01:00
|
|
|
autoreconf -f -i
|
2008-10-26 00:53:14 +02:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2009-04-24 23:15:55 +02:00
|
|
|
%configure --disable-static --with-pic \
|
|
|
|
%{?_without_xen} \
|
2010-01-08 01:37:05 +01:00
|
|
|
%{?_without_qemu} \
|
|
|
|
%{?_without_openvz} \
|
2011-04-06 00:31:12 +02:00
|
|
|
%{?_without_lxc} \
|
2010-01-08 01:37:05 +01:00
|
|
|
%{?_without_vbox} \
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{?_without_libxl} \
|
2011-04-06 00:31:12 +02:00
|
|
|
%{?_without_xenapi} \
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{?_without_sasl} \
|
|
|
|
%{?_without_avahi} \
|
|
|
|
%{?_without_polkit} \
|
|
|
|
%{?_without_libvirtd} \
|
2010-01-08 01:37:05 +01:00
|
|
|
%{?_without_uml} \
|
|
|
|
%{?_without_phyp} \
|
|
|
|
%{?_without_esx} \
|
2011-09-26 05:28:30 +02:00
|
|
|
%{?_without_hyperv} \
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{?_without_vmware} \
|
2015-07-03 00:10:14 +02:00
|
|
|
%{?_without_vz} \
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{?_without_interface} \
|
|
|
|
%{?_without_network} \
|
2011-04-06 00:31:12 +02:00
|
|
|
%{?_without_storage_fs} \
|
|
|
|
%{?_without_storage_lvm} \
|
|
|
|
%{?_without_storage_iscsi} \
|
|
|
|
%{?_without_storage_disk} \
|
|
|
|
%{?_without_storage_mpath} \
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{?_without_storage_rbd} \
|
|
|
|
%{?_without_storage_sheepdog} \
|
2013-12-06 19:39:18 +01:00
|
|
|
%{?_without_storage_gluster} \
|
2010-01-08 01:37:05 +01:00
|
|
|
%{?_without_numactl} \
|
2012-04-12 23:33:51 +02:00
|
|
|
%{?_without_numad} \
|
2011-04-05 00:08:05 +02:00
|
|
|
%{?_without_capng} \
|
2013-06-07 03:10:31 +02:00
|
|
|
%{?_without_fuse} \
|
2011-04-05 00:08:05 +02:00
|
|
|
%{?_without_netcf} \
|
2011-09-16 20:53:58 +02:00
|
|
|
%{?_without_netcontrol} \
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{?_without_selinux} \
|
2013-06-07 03:10:31 +02:00
|
|
|
%{?_with_selinux_mount} \
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{?_without_apparmor} \
|
2014-01-17 20:45:49 +01:00
|
|
|
%{?_with_apparmor_profiles} \
|
2010-01-08 01:37:05 +01:00
|
|
|
%{?_without_udev} \
|
|
|
|
%{?_without_yajl} \
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{?_without_sanlock} \
|
|
|
|
%{?_without_libpcap} \
|
2010-08-09 02:19:48 +02:00
|
|
|
%{?_without_macvtap} \
|
2011-06-30 21:38:30 +02:00
|
|
|
%{?_without_audit} \
|
2011-11-10 02:55:47 +01:00
|
|
|
%{?_without_dtrace} \
|
2012-08-08 19:47:16 +02:00
|
|
|
%{?_without_driver_modules} \
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{?_with_firewalld} \
|
2015-04-02 18:20:09 +02:00
|
|
|
%{?_without_wireshark} \
|
2014-03-03 05:22:57 +01:00
|
|
|
%{?_without_systemd_daemon} \
|
2008-07-08 22:02:35 +02:00
|
|
|
--libexecdir=%{_libdir}/%{name} \
|
2011-06-09 17:50:53 +02:00
|
|
|
--with-qemu-user=%{qemu_user} \
|
|
|
|
--with-qemu-group=%{qemu_group} \
|
2016-01-27 23:57:49 +01:00
|
|
|
%{?with_loader_nvram} \
|
2015-11-10 00:51:50 +01:00
|
|
|
--without-login-shell \
|
2011-12-15 02:23:04 +01:00
|
|
|
%{init_scripts} \
|
2009-04-24 23:15:55 +02:00
|
|
|
ac_cv_path_MODPROBE=/sbin/modprobe \
|
|
|
|
ac_cv_path_UDEVADM=/sbin/udevadm \
|
2009-01-29 01:42:42 +01:00
|
|
|
ac_cv_path_SHOWMOUNT=/usr/sbin/showmount
|
2011-12-15 02:23:04 +01:00
|
|
|
make V=1 %{?jobs:-j%jobs} DOCS_DIR=%{_docdir}/%{name}-python EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name}
|
2013-06-07 03:10:31 +02:00
|
|
|
gzip -9 ChangeLog
|
2007-01-11 01:44:36 +01:00
|
|
|
|
|
|
|
%install
|
2012-01-05 00:48:35 +01:00
|
|
|
%makeinstall SYSTEMD_UNIT_DIR=%{_unitdir} DOCS_DIR=%{_docdir}/%{name}-python EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name}
|
2016-01-18 20:32:30 +01:00
|
|
|
make -C examples distclean
|
2014-07-16 17:45:21 +02:00
|
|
|
cp examples/lxcconvert/virt-lxc-convert $RPM_BUILD_ROOT%{_bindir}
|
2012-01-20 00:02:47 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
2015-04-02 18:20:09 +02:00
|
|
|
%if %{with_wireshark}
|
2014-10-28 00:00:39 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/*/libvirt.la
|
2015-11-05 01:23:08 +01:00
|
|
|
mv $RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/*/libvirt.so \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/wireshark/plugins/libvirt.so
|
2014-10-28 00:00:39 +01:00
|
|
|
%endif
|
2012-01-20 00:02:47 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lock-driver/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lock-driver/*.a
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_driver_modules}
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/connection-driver/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/connection-driver/*.a
|
|
|
|
%endif
|
2008-08-10 01:31:46 +02:00
|
|
|
# remove currently unsupported locale(s)
|
2008-01-07 16:31:17 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/locale/sr@latin
|
2011-05-16 23:54:18 +02:00
|
|
|
%if 0%{?suse_version} < 1130
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/locale/vi_VN
|
|
|
|
%endif
|
2013-07-11 00:06:19 +02:00
|
|
|
# temporarily remove polkit ACL policiy configuration - bnc#827644
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
2015-07-03 00:10:14 +02:00
|
|
|
|
2015-12-18 22:01:20 +01:00
|
|
|
# Similar to upstream, temporarily remove admin-related files
|
2015-07-03 00:10:14 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-admin.so
|
2015-12-18 22:01:20 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/virt-admin
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/virt-admin.1*
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/libvirt-admin.conf
|
2015-07-03 00:10:14 +02:00
|
|
|
|
2008-08-10 01:31:46 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/libvirt
|
2014-03-04 19:53:29 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/libvirt/hooks
|
2011-04-05 00:08:05 +02:00
|
|
|
%find_lang %{name}
|
2013-06-07 23:42:47 +02:00
|
|
|
# Add a README to the libvirt package with a note about the empty
|
|
|
|
# file list
|
|
|
|
cat > $RPM_BUILD_ROOT%{_docdir}/libvirt/libvirt.README << 'EOF'
|
|
|
|
The libvirt package no longer contains any files. It exists now
|
2013-07-11 00:06:19 +02:00
|
|
|
only to fulfill its 'Provides' contract.
|
2013-06-07 23:42:47 +02:00
|
|
|
EOF
|
2011-04-05 00:08:05 +02:00
|
|
|
%if %{with_network}
|
2011-04-06 00:31:12 +02:00
|
|
|
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/libvirt/dnsmasq/
|
2011-04-05 00:08:05 +02:00
|
|
|
install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
|
|
|
|
cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
|
|
|
|
# Strip auto-generated UUID - we need it generated per-install
|
|
|
|
sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
|
|
|
|
%else
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
|
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if ! %{with_nwfilter}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/nwfilter
|
2013-06-10 17:15:54 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/connection-driver/libvirt_driver_nwfilter.so
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif
|
2013-12-06 23:50:19 +01:00
|
|
|
%if %{with_lxc}
|
|
|
|
cat > $RPM_BUILD_ROOT%{_docdir}/libvirt/libvirt-daemon-lxc.README << 'EOF'
|
|
|
|
Any empty package encapsulating requirements for a libvirtd capable
|
|
|
|
of managing LXC.
|
|
|
|
EOF
|
|
|
|
%else
|
2010-01-08 01:37:05 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/lxc.conf
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_lxc.aug
|
2013-06-07 03:10:31 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
|
2010-04-16 00:56:55 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.lxc
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2013-12-06 23:50:19 +01:00
|
|
|
%if %{with_qemu}
|
|
|
|
cat > $RPM_BUILD_ROOT%{_docdir}/libvirt/libvirt-daemon-qemu.README << 'EOF'
|
|
|
|
Any empty package encapsulating requirements for a libvirtd capable
|
|
|
|
of managing QEMU/KVM.
|
|
|
|
EOF
|
|
|
|
%else
|
2010-01-08 01:37:05 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_qemu.aug
|
2013-06-07 03:10:31 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
|
2010-04-16 00:56:55 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
|
|
|
|
%endif
|
2013-12-06 23:50:19 +01:00
|
|
|
%if %{with_uml}
|
|
|
|
cat > $RPM_BUILD_ROOT%{_docdir}/libvirt/libvirt-daemon-uml.README << 'EOF'
|
|
|
|
Any empty package encapsulating requirements for a libvirtd capable
|
|
|
|
of managing UML.
|
|
|
|
EOF
|
|
|
|
%else
|
2010-04-16 00:56:55 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml
|
2010-01-08 01:37:05 +01:00
|
|
|
%endif
|
2013-06-07 23:42:47 +02:00
|
|
|
%if %{with_vbox}
|
|
|
|
cat > $RPM_BUILD_ROOT%{_docdir}/libvirt/libvirt-daemon-vbox.README << 'EOF'
|
|
|
|
Any empty package encapsulating requirements for a libvirtd capable
|
|
|
|
of managing VirtualBox.
|
|
|
|
EOF
|
|
|
|
%endif
|
2013-10-19 00:13:52 +02:00
|
|
|
%if %{with_xen} || %{with_libxl}
|
|
|
|
cat > $RPM_BUILD_ROOT%{_docdir}/libvirt/libvirt-daemon-xen.README << 'EOF'
|
|
|
|
Any empty package encapsulating requirements for a libvirtd capable
|
|
|
|
of managing Xen.
|
|
|
|
EOF
|
|
|
|
%endif
|
2015-05-04 18:52:19 +02:00
|
|
|
%if ! %{with_libxl}
|
2015-06-01 19:48:26 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/libxl.conf
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.libxl
|
2015-05-04 18:52:19 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_libxl.aug
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug
|
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%if ! %{with_sanlock}
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirt_sanlock.aug
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
|
|
|
|
%endif
|
2011-03-24 11:58:29 +01:00
|
|
|
|
2011-01-12 23:51:53 +01:00
|
|
|
# init scripts
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/adm/fillup-templates
|
2011-04-06 00:31:12 +02:00
|
|
|
%if %{with_libvirtd}
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
# Currently using our own libvirtd init script
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/libvirtd
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_systemd}
|
2014-03-14 20:46:52 +01:00
|
|
|
ln -s %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rclibvirtd
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
2014-10-02 00:29:37 +02:00
|
|
|
install %SOURCE3 $RPM_BUILD_ROOT%{_sysconfdir}/init.d/libvirtd
|
2011-04-06 00:31:12 +02:00
|
|
|
ln -s /etc/init.d/libvirtd $RPM_BUILD_ROOT%{_sbindir}/rclibvirtd
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/libvirtd $RPM_BUILD_ROOT%{_localstatedir}/adm/fillup-templates/sysconfig.libvirtd
|
2015-05-04 18:52:19 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/usr/lib/sysctl.d/60-libvirtd.conf
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
# For other services, use the in-tree scripts
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_systemd}
|
2015-12-18 22:01:20 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/virtlogd
|
|
|
|
ln -s %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rcvirtlogd
|
2014-02-14 23:19:58 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/virtlockd
|
2014-03-14 20:46:52 +01:00
|
|
|
ln -s %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rcvirtlockd
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
2015-12-18 22:01:20 +01:00
|
|
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/virtlogd $RPM_BUILD_ROOT%{_sysconfdir}/init.d/virtlogd
|
|
|
|
ln -s /etc/init.d/virtlogd $RPM_BUILD_ROOT%{_sbindir}/rcvirtlogd
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/virtlockd $RPM_BUILD_ROOT%{_sysconfdir}/init.d/virtlockd
|
|
|
|
ln -s /etc/init.d/virtlockd $RPM_BUILD_ROOT%{_sbindir}/rcvirtlockd
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2015-12-18 22:01:20 +01:00
|
|
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/virtlogd $RPM_BUILD_ROOT%{_localstatedir}/adm/fillup-templates/sysconfig.virtlogd
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/virtlockd $RPM_BUILD_ROOT%{_localstatedir}/adm/fillup-templates/sysconfig.virtlockd
|
2011-06-15 23:48:27 +02:00
|
|
|
#install firewall definitions format is described here:
|
|
|
|
#/usr/share/SuSEfirewall2/services/TEMPLATE
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_fwdefdir}
|
2014-10-02 00:29:37 +02:00
|
|
|
install -m 644 %{S:4} $RPM_BUILD_ROOT/%{_fwdefdir}/libvirtd-relocation-server
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif
|
2014-02-14 23:19:58 +01:00
|
|
|
%if %{with_systemd}
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/libvirt-guests
|
2014-03-14 20:46:52 +01:00
|
|
|
ln -s %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rclibvirt-guests
|
2014-02-14 23:19:58 +01:00
|
|
|
%else
|
2013-06-07 03:10:31 +02:00
|
|
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/libvirt-guests $RPM_BUILD_ROOT%{_sysconfdir}/init.d/libvirt-guests
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
|
|
|
|
ln -s %{_sysconfdir}/init.d/libvirt-guests $RPM_BUILD_ROOT%{_sbindir}/rclibvirt-guests
|
2014-02-14 23:19:58 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/libvirt-guests $RPM_BUILD_ROOT%{_localstatedir}/adm/fillup-templates/sysconfig.libvirt-guests
|
2012-01-03 17:29:06 +01:00
|
|
|
%fdupes -s $RPM_BUILD_ROOT
|
2007-01-11 01:44:36 +01:00
|
|
|
|
|
|
|
%clean
|
2007-03-07 22:48:39 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2013-12-27 01:03:47 +01:00
|
|
|
# Ignore 'make check' on older code base
|
|
|
|
%if 0%{?suse_version} >= 1210
|
|
|
|
|
2013-12-27 00:59:17 +01:00
|
|
|
%check
|
|
|
|
cd tests
|
2015-07-03 00:10:14 +02:00
|
|
|
SKIP_TESTS=""
|
2013-12-27 00:59:17 +01:00
|
|
|
# These tests don't current work in a mock build root
|
2014-05-22 16:28:52 +02:00
|
|
|
# virnetsockettest: needs unsupported linux-user syscalls
|
2015-07-03 00:10:14 +02:00
|
|
|
SKIP_TESTS="$SKIP_TESTS virnetsockettest"
|
2014-06-06 23:41:33 +02:00
|
|
|
# virportallocatortest fails on aarch64 due to unsupported IPV6_V6ONLY flag
|
2015-01-05 21:14:57 +01:00
|
|
|
%ifarch aarch64
|
2015-07-03 00:10:14 +02:00
|
|
|
SKIP_TESTS="$SKIP_TESTS virportallocatortest"
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2015-07-03 00:10:14 +02:00
|
|
|
for i in $SKIP_TESTS
|
2013-12-27 00:59:17 +01:00
|
|
|
do
|
|
|
|
rm -f $i
|
|
|
|
printf 'int main(void) { return 0; }' > $i.c
|
|
|
|
done
|
2015-07-03 00:10:14 +02:00
|
|
|
make
|
|
|
|
|
2013-12-27 00:59:17 +01:00
|
|
|
if ! make check VIR_TEST_DEBUG=1
|
|
|
|
then
|
|
|
|
cat test-suite.log || true
|
|
|
|
exit 1
|
|
|
|
fi
|
2013-12-27 01:03:47 +01:00
|
|
|
%endif
|
2013-12-27 00:59:17 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_libvirtd}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%pre daemon
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_systemd}
|
2015-06-02 17:30:34 +02:00
|
|
|
%service_add_pre libvirtd.service libvirtd.socket
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%service_add_pre virtlockd.service virtlockd.socket
|
2015-12-18 22:01:20 +01:00
|
|
|
%service_add_pre virtlogd.service virtlogd.socket
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2011-09-14 20:13:45 +02:00
|
|
|
%{_bindir}/getent group libvirt >/dev/null || \
|
|
|
|
%{_sbindir}/groupadd -r libvirt 2>/dev/null
|
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%post daemon
|
2010-01-08 01:37:05 +01:00
|
|
|
/sbin/ldconfig
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_systemd}
|
2014-09-02 17:52:40 +02:00
|
|
|
%service_add_post libvirtd.service libvirtd.socket
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%service_add_post virtlockd.service virtlockd.socket
|
2015-12-18 22:01:20 +01:00
|
|
|
%service_add_post virtlogd.service virtlogd.socket
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2011-04-06 00:31:12 +02:00
|
|
|
%{fillup_only -n libvirtd}
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{fillup_only -n virtlockd}
|
2015-12-18 22:01:20 +01:00
|
|
|
%{fillup_only -n virtlogd}
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%preun daemon
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_systemd}
|
2014-09-02 17:52:40 +02:00
|
|
|
%service_del_preun libvirtd.service libvirtd.socket
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%service_del_preun virtlockd.service virtlockd.socket
|
2015-12-18 22:01:20 +01:00
|
|
|
%service_del_preun virtlogd.service virtlogd.socket
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
2012-01-25 22:42:04 +01:00
|
|
|
%stop_on_removal libvirtd
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%stop_on_removal virtlockd
|
2015-12-18 22:01:20 +01:00
|
|
|
%stop_on_removal virtlogd
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2007-08-21 02:37:22 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%postun daemon
|
2007-08-21 02:37:22 +02:00
|
|
|
/sbin/ldconfig
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_systemd}
|
2016-03-18 21:47:21 +01:00
|
|
|
# On upgrade, defer restarting daemons until %posttrans
|
|
|
|
if test $1 -eq 0 ; then
|
|
|
|
for service in libvirtd virtlockd virtlogd ; do
|
|
|
|
rm -f "/var/lib/systemd/migrated/$service" 2> /dev/null || :
|
|
|
|
done
|
|
|
|
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
fi
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
2012-01-25 22:42:04 +01:00
|
|
|
%restart_on_update libvirtd
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%restart_on_update virtlockd
|
2015-12-18 22:01:20 +01:00
|
|
|
%restart_on_update virtlogd
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2007-08-21 02:37:22 +02:00
|
|
|
%insserv_cleanup
|
2014-01-21 01:43:47 +01:00
|
|
|
|
2016-03-18 21:47:21 +01:00
|
|
|
%posttrans daemon
|
|
|
|
# All connection drivers should be installed post transaction.
|
|
|
|
# Time to restart daemons.
|
|
|
|
%if %{with_systemd}
|
|
|
|
if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then
|
|
|
|
for service in libvirtd virtlockd virtlogd ; do
|
|
|
|
/usr/bin/systemctl try-restart ${service}.service >/dev/null 2>&1 || :
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
|
2015-12-22 03:31:20 +01:00
|
|
|
# In upgrade scenario we must explicitly enable virtlockd/virtlogd
|
|
|
|
# sockets, if libvirtd is already enabled and start them if
|
|
|
|
# libvirtd is running, otherwise you'll get failures to start
|
|
|
|
# guests
|
|
|
|
%triggerpostun daemon -- libvirt-daemon < 1.3.0
|
|
|
|
if [ $1 -ge 1 ] ; then
|
|
|
|
%if %{with_systemd}
|
|
|
|
/usr/bin/systemctl is-enabled libvirtd.service 1>/dev/null 2>&1 &&
|
|
|
|
/usr/bin/systemctl enable virtlogd.socket || :
|
|
|
|
/usr/bin/systemctl is-active libvirtd.service 1>/dev/null 2>&1 &&
|
|
|
|
/usr/bin/systemctl start virtlogd.socket || :
|
|
|
|
%else
|
|
|
|
/sbin/chkconfig libvirtd 1>/dev/null 2>&1 &&
|
|
|
|
/sbin/chkconfig virtlogd on || :
|
|
|
|
/sbin/service libvirtd status 1>/dev/null 2>&1 &&
|
|
|
|
/sbin/service virtlogd start || :
|
|
|
|
%endif
|
|
|
|
fi
|
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_network}
|
2014-02-14 23:19:58 +01:00
|
|
|
|
2014-01-21 01:43:47 +01:00
|
|
|
%post daemon-config-network
|
|
|
|
# Install the default network if one doesn't exist
|
|
|
|
if test $1 -eq 1 && test ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml ; then
|
|
|
|
UUID=`/usr/bin/uuidgen`
|
|
|
|
sed -e "s,</name>,</name>\n <uuid>$UUID</uuid>," \
|
|
|
|
< %{_datadir}/libvirt/networks/default.xml \
|
|
|
|
> %{_sysconfdir}/libvirt/qemu/networks/default.xml
|
|
|
|
fi
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%endif # with_libvirtd
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2015-12-18 22:01:20 +01:00
|
|
|
%pre client
|
|
|
|
%if %{with_systemd}
|
|
|
|
%service_add_pre libvirt-guests.service
|
|
|
|
%endif
|
|
|
|
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%post client
|
|
|
|
/sbin/ldconfig
|
|
|
|
%if %{with_systemd}
|
|
|
|
%service_add_post libvirt-guests.service
|
|
|
|
%endif
|
|
|
|
%{fillup_only -n libvirt-guests}
|
|
|
|
|
|
|
|
%preun client
|
|
|
|
%if %{with_systemd}
|
|
|
|
%service_del_preun libvirt-guests.service
|
2014-02-14 23:19:58 +01:00
|
|
|
%else
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%stop_on_removal libvirt-guests
|
2014-02-14 23:19:58 +01:00
|
|
|
%endif
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
rm -f /var/lib/libvirt/libvirt-guests
|
|
|
|
fi
|
2010-01-08 01:37:05 +01:00
|
|
|
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%postun client
|
|
|
|
/sbin/ldconfig
|
|
|
|
%if %{with_systemd}
|
|
|
|
%service_del_postun libvirt-guests.service
|
|
|
|
%endif
|
|
|
|
%insserv_cleanup
|
2010-01-08 01:37:05 +01:00
|
|
|
|
|
|
|
%files
|
2007-01-11 01:44:36 +01:00
|
|
|
%defattr(-, root, root)
|
2013-06-07 23:42:47 +02:00
|
|
|
%doc %{_docdir}/%{name}/libvirt.README
|
2013-06-07 03:10:31 +02:00
|
|
|
|
|
|
|
%if %{with_libvirtd}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon
|
|
|
|
%defattr(-, root, root)
|
2007-07-24 01:32:16 +02:00
|
|
|
%{_sbindir}/libvirtd
|
2015-12-18 22:01:20 +01:00
|
|
|
%{_sbindir}/virtlogd
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{_sbindir}/virtlockd
|
2008-07-08 22:02:35 +02:00
|
|
|
%dir %{_libdir}/%{name}
|
2007-08-21 02:37:22 +02:00
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
|
2014-03-04 19:53:29 +01:00
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/hooks
|
2011-04-06 00:31:12 +02:00
|
|
|
%{_localstatedir}/adm/fillup-templates/sysconfig.libvirtd
|
2015-12-18 22:01:20 +01:00
|
|
|
%{_localstatedir}/adm/fillup-templates/sysconfig.virtlogd
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{_localstatedir}/adm/fillup-templates/sysconfig.virtlockd
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_systemd}
|
2011-12-15 02:23:04 +01:00
|
|
|
%{_unitdir}/libvirtd.service
|
2014-09-02 17:52:40 +02:00
|
|
|
%{_unitdir}/libvirtd.socket
|
2015-12-18 22:01:20 +01:00
|
|
|
%{_unitdir}/virtlogd.service
|
|
|
|
%{_unitdir}/virtlogd.socket
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{_unitdir}/virtlockd.service
|
|
|
|
%{_unitdir}/virtlockd.socket
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
2014-02-14 23:19:58 +01:00
|
|
|
%config /etc/init.d/libvirtd
|
2015-12-18 22:01:20 +01:00
|
|
|
%config /etc/init.d/virtlogd
|
2014-02-14 23:19:58 +01:00
|
|
|
%config /etc/init.d/virtlockd
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2014-03-14 20:46:52 +01:00
|
|
|
%{_sbindir}/rclibvirtd
|
2015-12-18 22:01:20 +01:00
|
|
|
%{_sbindir}/rcvirtlogd
|
2014-03-14 20:46:52 +01:00
|
|
|
%{_sbindir}/rcvirtlockd
|
2010-05-26 00:35:17 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
|
2011-04-01 02:28:05 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
|
2015-12-18 22:01:20 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/virtlogd.conf
|
2013-09-03 19:08:54 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/virtlockd.conf
|
2012-01-24 22:28:41 +01:00
|
|
|
%dir %{_datadir}/augeas/
|
|
|
|
%dir %{_datadir}/augeas/lenses
|
|
|
|
%dir %{_datadir}/augeas/lenses/tests
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd.aug
|
2015-12-18 22:01:20 +01:00
|
|
|
%{_datadir}/augeas/lenses/virtlogd.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_virtlogd.aug
|
2013-09-03 19:08:54 +02:00
|
|
|
%{_datadir}/augeas/lenses/virtlockd.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_virtlockd.aug
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%{_datadir}/augeas/lenses/libvirt_lockd.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_dtrace}
|
2011-11-10 02:55:47 +01:00
|
|
|
%{_datadir}/systemtap/tapset/libvirt_probes.stp
|
|
|
|
%{_datadir}/systemtap/tapset/libvirt_functions.stp
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2010-01-08 01:37:05 +01:00
|
|
|
%dir %{_localstatedir}/lib/libvirt/
|
2011-06-02 20:32:33 +02:00
|
|
|
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
|
2013-06-07 03:10:31 +02:00
|
|
|
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/filesystems/
|
2011-06-02 20:32:33 +02:00
|
|
|
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/boot/
|
|
|
|
%dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/
|
2010-01-08 01:37:05 +01:00
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%dir %attr(0755, root, root) %{_libdir}/%{name}/lock-driver
|
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/lock-driver/lockd.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_polkit}
|
2015-04-02 18:20:09 +02:00
|
|
|
%if %{with_polkit_rules}
|
2015-06-01 19:48:26 +02:00
|
|
|
%{_datadir}/polkit-1/rules.d/50-libvirt.rules
|
2015-04-02 18:20:09 +02:00
|
|
|
%endif
|
2015-01-05 21:14:57 +01:00
|
|
|
%if 0%{?suse_version} > 1110
|
2009-09-27 00:09:58 +02:00
|
|
|
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
|
2015-01-05 21:14:57 +01:00
|
|
|
%else
|
2008-10-08 18:23:52 +02:00
|
|
|
%{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%endif
|
2011-06-02 20:32:33 +02:00
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_iohelper
|
2010-08-09 02:19:48 +02:00
|
|
|
%doc %{_mandir}/man8/libvirtd.8*
|
2015-12-18 22:01:20 +01:00
|
|
|
%doc %{_mandir}/man8/virtlogd.8*
|
|
|
|
%doc %{_mandir}/man8/virtlockd.8*
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_apparmor}
|
2011-08-08 23:26:58 +02:00
|
|
|
%dir %{_sysconfdir}/apparmor.d
|
2011-08-19 23:40:32 +02:00
|
|
|
%dir %{_sysconfdir}/apparmor.d/abstractions
|
2014-02-12 16:59:31 +01:00
|
|
|
%dir %{_sysconfdir}/apparmor.d/libvirt
|
2011-08-19 23:40:32 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/usr.sbin.libvirtd
|
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.libvirt.virt-aa-helper
|
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/abstractions/libvirt-qemu
|
2014-04-02 14:48:46 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/abstractions/libvirt-lxc
|
2014-07-16 15:45:18 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/libvirt/TEMPLATE.lxc
|
|
|
|
%config(noreplace) %{_sysconfdir}/apparmor.d/libvirt/TEMPLATE.qemu
|
2011-08-08 23:26:58 +02:00
|
|
|
%{_libdir}/%{name}/virt-aa-helper
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2011-06-15 23:48:27 +02:00
|
|
|
%config %{_fwdefdir}/libvirtd-relocation-server
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if ! %{with_driver_modules}
|
|
|
|
%if %{with_network} || %{with_qemu}
|
2013-12-06 23:50:19 +01:00
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_network}
|
2013-12-06 23:50:19 +01:00
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
|
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
|
|
|
|
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/dnsmasq/
|
2014-07-02 21:21:03 +02:00
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_leaseshelper
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_nwfilter}
|
2014-04-04 15:07:17 +02:00
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_qemu}
|
2013-12-06 23:50:19 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/qemu-lockd.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
|
2015-10-02 22:23:01 +02:00
|
|
|
%dir %attr(0751, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
|
2013-12-06 23:50:19 +01:00
|
|
|
%dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd_qemu.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_lxc}
|
2013-12-06 23:50:19 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
|
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_lxc
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd_lxc.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
|
2015-05-04 18:52:19 +02:00
|
|
|
%attr(0755, root, root) %{_bindir}/virt-lxc-convert
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_uml}
|
2013-12-06 23:50:19 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.uml
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_libxl}
|
2015-05-04 18:52:19 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/libxl.conf
|
2015-06-01 19:48:26 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.libxl
|
2015-05-04 18:52:19 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/libxl-lockd.conf
|
2013-12-06 23:50:19 +01:00
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
|
2015-05-04 18:52:19 +02:00
|
|
|
%{_datadir}/augeas/lenses/libvirtd_libxl.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%if %{with_storage_disk}
|
2013-12-06 23:50:19 +01:00
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_parthelper
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%endif # ! %{with_driver_modules}
|
2013-12-06 23:50:19 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_network}
|
2014-02-14 23:19:58 +01:00
|
|
|
|
2014-01-21 01:43:47 +01:00
|
|
|
%files daemon-config-network
|
|
|
|
%defattr(-, root, root)
|
2014-04-04 15:07:17 +02:00
|
|
|
%dir %{_datadir}/libvirt/networks/
|
|
|
|
%{_datadir}/libvirt/networks/default.xml
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2014-01-21 01:43:47 +01:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_nwfilter}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-config-nwfilter
|
|
|
|
%defattr(-, root, root)
|
2013-12-06 23:50:19 +01:00
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
|
2013-06-07 03:10:31 +02:00
|
|
|
%{_sysconfdir}/libvirt/nwfilter/*.xml
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_driver_modules}
|
|
|
|
%if %{with_interface}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-interface
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_interface.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_network}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-network
|
|
|
|
%defattr(-, root, root)
|
2013-12-06 23:50:19 +01:00
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
|
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
|
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
|
|
|
|
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/dnsmasq/
|
2014-07-02 21:21:03 +02:00
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_leaseshelper
|
2013-06-07 03:10:31 +02:00
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_network.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_nodedev}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-nodedev
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_nodedev.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_nwfilter}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-nwfilter
|
|
|
|
%defattr(-, root, root)
|
2014-04-04 15:07:17 +02:00
|
|
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
|
2013-06-07 03:10:31 +02:00
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_nwfilter.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
|
|
|
%files daemon-driver-secret
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_secret.so
|
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_storage}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-storage
|
|
|
|
%defattr(-, root, root)
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_storage_disk}
|
2013-12-06 23:50:19 +01:00
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_parthelper
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_storage.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_qemu}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-qemu
|
|
|
|
%defattr(-, root, root)
|
2013-12-06 23:50:19 +01:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/qemu-lockd.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
|
|
|
|
%dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
|
|
|
|
%dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd_qemu.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
|
2013-06-07 03:10:31 +02:00
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_lxc}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-lxc
|
|
|
|
%defattr(-, root, root)
|
2013-12-06 23:50:19 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
|
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_lxc
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd_lxc.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
|
2013-06-07 03:10:31 +02:00
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_lxc.so
|
2014-07-16 17:45:21 +02:00
|
|
|
%attr(0755, root, root) %{_bindir}/virt-lxc-convert
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_uml}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-uml
|
|
|
|
%defattr(-, root, root)
|
2013-12-06 23:50:19 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.uml
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/
|
2013-06-07 03:10:31 +02:00
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_uml.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_xen}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-xen
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_xen.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_libxl}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-libxl
|
|
|
|
%defattr(-, root, root)
|
2015-05-04 18:52:19 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/libxl.conf
|
2015-06-01 19:48:26 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.libxl
|
2015-05-04 18:52:19 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/libvirt/libxl-lockd.conf
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd_libxl.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug
|
2013-10-19 00:13:52 +02:00
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
|
2013-12-06 23:50:19 +01:00
|
|
|
%dir %{_libdir}/%{name}/connection-driver
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_libxl.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_vbox}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-driver-vbox
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_vbox.so
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
|
|
|
%endif # with_driver_modules
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_qemu}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-qemu
|
|
|
|
%defattr(-, root, root)
|
2013-12-06 23:50:19 +01:00
|
|
|
%doc %{_docdir}/%{name}/libvirt-daemon-qemu.README
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_lxc}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-lxc
|
|
|
|
%defattr(-, root, root)
|
2013-12-06 23:50:19 +01:00
|
|
|
%doc %{_docdir}/%{name}/libvirt-daemon-lxc.README
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_uml}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-uml
|
|
|
|
%defattr(-, root, root)
|
2013-12-06 23:50:19 +01:00
|
|
|
%doc %{_docdir}/%{name}/libvirt-daemon-uml.README
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_xen} || %{with_libxl}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-xen
|
|
|
|
%defattr(-, root, root)
|
2013-10-19 00:13:52 +02:00
|
|
|
%doc %{_docdir}/%{name}/libvirt-daemon-xen.README
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2013-06-07 03:10:31 +02:00
|
|
|
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_vbox}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%files daemon-vbox
|
|
|
|
%defattr(-, root, root)
|
2013-06-07 23:42:47 +02:00
|
|
|
%doc %{_docdir}/%{name}/libvirt-daemon-vbox.README
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2011-12-15 02:23:04 +01:00
|
|
|
%endif # with_libvirtd
|
2010-01-08 01:37:05 +01:00
|
|
|
|
|
|
|
%files client -f %{name}.lang
|
|
|
|
%defattr(-, root, root)
|
2013-06-07 03:10:31 +02:00
|
|
|
%doc AUTHORS ChangeLog.gz NEWS README COPYING COPYING.LESSER TODO
|
2010-01-08 01:37:05 +01:00
|
|
|
%doc %{_mandir}/man1/virsh.1*
|
|
|
|
%doc %{_mandir}/man1/virt-xml-validate.1*
|
|
|
|
%doc %{_mandir}/man1/virt-pki-validate.1*
|
2012-02-15 20:01:07 +01:00
|
|
|
%doc %{_mandir}/man1/virt-host-validate.1*
|
2013-06-07 03:10:31 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/libvirt.conf
|
2010-01-08 01:37:05 +01:00
|
|
|
%{_bindir}/virsh
|
|
|
|
%{_bindir}/virt-xml-validate
|
|
|
|
%{_bindir}/virt-pki-validate
|
2012-02-15 20:01:07 +01:00
|
|
|
%{_bindir}/virt-host-validate
|
2011-04-06 00:31:12 +02:00
|
|
|
%dir %{_libdir}/%{name}
|
2014-07-02 21:21:03 +02:00
|
|
|
%{_libdir}/libvirt.so.*
|
|
|
|
%{_libdir}/libvirt-qemu.so.*
|
|
|
|
%{_libdir}/libvirt-lxc.so.*
|
2015-07-03 00:10:14 +02:00
|
|
|
%{_libdir}/libvirt-admin.so.*
|
- Update to libvirt 1.0.1
- Introduce virtlockd daemon
- parallels: add disk and network device support
- Add virDomainSendProcessSignal API
- Introduce virDomainFSTrim() public API
- add fuse support for libvirt lxc
- Add Gluster protocol as supported network disk backend
- various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
66ff2ddc-virtlockd-systemd-file-perms.patch,
462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
Dropped use-init-script-redhat.patch and added
libvirtd-init-script.patch, libvirt-guests-init-script.patch,
and virtlockd-init-script.patch
- Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
416eca18-xenstore-header-fix.patch,
f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
9785f2b6-fix-xen-sysctl9.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 19:44:26 +01:00
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt-guests.sh
|
2011-01-12 00:41:45 +01:00
|
|
|
%{_localstatedir}/adm/fillup-templates/sysconfig.libvirt-guests
|
2011-12-15 02:23:04 +01:00
|
|
|
%if %{with_systemd}
|
|
|
|
%{_unitdir}/libvirt-guests.service
|
2014-02-14 23:19:58 +01:00
|
|
|
%else
|
|
|
|
%config /etc/init.d/libvirt-guests
|
2011-12-15 02:23:04 +01:00
|
|
|
%endif
|
2014-03-14 20:46:52 +01:00
|
|
|
%{_sbindir}/rclibvirt-guests
|
2010-03-01 01:43:01 +01:00
|
|
|
|
2010-01-08 01:37:05 +01:00
|
|
|
%dir %{_datadir}/libvirt/
|
|
|
|
%dir %{_datadir}/libvirt/schemas/
|
2010-03-01 01:43:01 +01:00
|
|
|
|
2011-09-26 05:28:30 +02:00
|
|
|
%{_datadir}/libvirt/schemas/basictypes.rng
|
|
|
|
%{_datadir}/libvirt/schemas/capability.rng
|
2010-01-08 01:37:05 +01:00
|
|
|
%{_datadir}/libvirt/schemas/domain.rng
|
Accepting request 243625 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.7
- Introduce virConnectGetDomainCapabilities
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Drop upstream patches: dba3432b-virt-lxc-convert-fix.patch,
9b1e4cd5-skip-useless-apparmor-files.patch,
dba3432b-virt-lxc-convert-fix.patch,
add-nocow-to-vol-xml.patch,
lxc-keep-caps-feature.patch,
lxc-keep-caps-feature-conversion.patch,
lxc-keep-caps-feature-doc.patch,
lxc-net-target-name.patch,
lxc-net-target-name-conversion.patch,
lxc-net-target-name-doc.patch
OBS-URL: https://build.opensuse.org/request/show/243625
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=393
2014-08-04 19:17:49 +02:00
|
|
|
%{_datadir}/libvirt/schemas/domaincaps.rng
|
2011-09-26 05:28:30 +02:00
|
|
|
%{_datadir}/libvirt/schemas/domaincommon.rng
|
|
|
|
%{_datadir}/libvirt/schemas/domainsnapshot.rng
|
|
|
|
%{_datadir}/libvirt/schemas/interface.rng
|
2010-01-08 01:37:05 +01:00
|
|
|
%{_datadir}/libvirt/schemas/network.rng
|
2011-09-26 05:28:30 +02:00
|
|
|
%{_datadir}/libvirt/schemas/networkcommon.rng
|
2010-01-08 01:37:05 +01:00
|
|
|
%{_datadir}/libvirt/schemas/nodedev.rng
|
2011-09-26 05:28:30 +02:00
|
|
|
%{_datadir}/libvirt/schemas/nwfilter.rng
|
2010-01-08 01:37:05 +01:00
|
|
|
%{_datadir}/libvirt/schemas/secret.rng
|
2014-05-06 20:02:27 +02:00
|
|
|
%{_datadir}/libvirt/schemas/storagecommon.rng
|
2011-09-26 05:28:30 +02:00
|
|
|
%{_datadir}/libvirt/schemas/storagepool.rng
|
|
|
|
%{_datadir}/libvirt/schemas/storagevol.rng
|
2011-08-04 20:00:03 +02:00
|
|
|
%{_datadir}/libvirt/cpu_map.xml
|
2013-05-02 21:17:46 +02:00
|
|
|
%{_datadir}/libvirt/libvirtLogo.png
|
2011-04-05 00:08:05 +02:00
|
|
|
%if %{with_sasl}
|
2013-12-04 18:44:31 +01:00
|
|
|
%dir %{_sysconfdir}/sasl2/
|
2010-05-26 00:40:36 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
|
2011-04-05 00:08:05 +02:00
|
|
|
%endif
|
2007-01-11 01:44:36 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2014-07-02 21:21:03 +02:00
|
|
|
%{_libdir}/libvirt.so
|
|
|
|
%{_libdir}/libvirt-qemu.so
|
|
|
|
%{_libdir}/libvirt-lxc.so
|
2007-03-07 22:48:39 +01:00
|
|
|
%{_includedir}/libvirt
|
2007-01-11 01:44:36 +01:00
|
|
|
%{_libdir}/pkgconfig/libvirt.pc
|
2014-07-02 21:21:03 +02:00
|
|
|
%{_libdir}/pkgconfig/libvirt-qemu.pc
|
|
|
|
%{_libdir}/pkgconfig/libvirt-lxc.pc
|
2012-04-12 23:33:51 +02:00
|
|
|
%dir %{_datadir}/libvirt/api/
|
|
|
|
%{_datadir}/libvirt/api/libvirt-api.xml
|
|
|
|
%{_datadir}/libvirt/api/libvirt-qemu-api.xml
|
2013-01-30 19:45:29 +01:00
|
|
|
%{_datadir}/libvirt/api/libvirt-lxc-api.xml
|
2007-03-07 22:48:39 +01:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-, root, root)
|
2013-06-07 03:10:31 +02:00
|
|
|
# Website
|
|
|
|
%dir %{_docdir}/libvirt
|
2013-06-07 23:42:47 +02:00
|
|
|
%doc %{_docdir}/%{name}/*.png
|
|
|
|
%doc %{_docdir}/%{name}/*.html
|
|
|
|
%doc %{_docdir}/%{name}/*.gif
|
|
|
|
%doc %{_docdir}/%{name}/*.css
|
|
|
|
%doc %{_docdir}/%{name}/html
|
|
|
|
%doc %{_docdir}/%{name}/internals
|
2007-01-11 01:44:36 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
# API docs
|
|
|
|
%dir %{_datadir}/gtk-doc/html/libvirt/
|
|
|
|
%doc %{_datadir}/gtk-doc/html/libvirt/*
|
2011-12-15 02:23:04 +01:00
|
|
|
|
2013-06-07 03:10:31 +02:00
|
|
|
%if %{with_sanlock}
|
2013-07-22 18:42:02 +02:00
|
|
|
|
2011-12-15 02:23:04 +01:00
|
|
|
%files lock-sanlock
|
|
|
|
%defattr(-, root, root)
|
2012-01-19 00:03:47 +01:00
|
|
|
%doc %{_mandir}/man8/virt-sanlock-cleanup.8*
|
2015-01-05 21:14:57 +01:00
|
|
|
%if %{with_qemu}
|
2012-01-19 00:03:47 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/qemu-sanlock.conf
|
2015-01-05 21:14:57 +01:00
|
|
|
%endif
|
2015-05-04 18:52:19 +02:00
|
|
|
%if %{with_libxl}
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/libxl-sanlock.conf
|
|
|
|
%endif
|
2012-01-19 00:03:47 +01:00
|
|
|
%dir %{_libdir}/%{name}/lock-driver/
|
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/lock-driver/sanlock.so
|
2012-01-24 22:28:41 +01:00
|
|
|
%dir %{_datadir}/augeas/
|
|
|
|
%dir %{_datadir}/augeas/lenses
|
|
|
|
%dir %{_datadir}/augeas/lenses/tests
|
2011-12-15 02:23:04 +01:00
|
|
|
%{_datadir}/augeas/lenses/libvirt_sanlock.aug
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
|
2012-01-19 00:03:47 +01:00
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/%{name}/sanlock
|
2011-12-15 02:23:04 +01:00
|
|
|
%{_sbindir}/virt-sanlock-cleanup
|
2012-11-02 18:55:26 +01:00
|
|
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_sanlock_helper
|
2011-12-15 02:23:04 +01:00
|
|
|
%endif
|
|
|
|
|
2015-04-02 18:20:09 +02:00
|
|
|
%if %{with_wireshark}
|
2015-03-02 21:13:45 +01:00
|
|
|
|
2014-11-03 10:00:37 +01:00
|
|
|
%files -n wireshark-plugin-libvirt
|
2014-10-28 00:00:39 +01:00
|
|
|
%defattr(-, root, root)
|
2015-11-05 01:23:08 +01:00
|
|
|
%{_libdir}/wireshark/plugins/libvirt.so
|
2014-10-28 00:00:39 +01:00
|
|
|
%endif
|
|
|
|
|
2007-02-25 23:29:40 +01:00
|
|
|
%changelog
|