3 # A client only build will create a libvirt.so only containing
4 # the generic RPC driver, and test driver and no libvirtd
5 # Default to a full server + client build
8 # Now turn off server build in certain cases
10 # RHEL-5 builds are client-only for s390, ppc
12 %ifnarch i386 i586 i686 x86_64 ia64
17 # Disable all server side drivers if client only build requested
19 %define server_drivers
0
21 %define server_drivers
1
25 # Now set the defaults for all the important features, independent
26 # of any particular OS
28 # First the daemon itself
29 %define with_libvirtd
0%{!?_without_libvirtd:%{server_drivers}}
30 %define with_avahi
0%{!?_without_avahi:%{server_drivers}}
32 # Then the hypervisor drivers that run on local host
33 %define with_xen
0%{!?_without_xen:%{server_drivers}}
34 %define with_xen_proxy
0%{!?_without_xen_proxy:%{server_drivers}}
35 %define with_qemu
0%{!?_without_qemu:%{server_drivers}}
36 %define with_openvz
0%{!?_without_openvz:%{server_drivers}}
37 %define with_lxc
0%{!?_without_lxc:%{server_drivers}}
38 %define with_vbox
0%{!?_without_vbox:%{server_drivers}}
39 %define with_uml
0%{!?_without_uml:%{server_drivers}}
40 %define with_xenapi
0%{!?_without_xenapi:%{server_drivers}}
41 # XXX this shouldn't be here, but it mistakenly links into libvirtd
42 %define with_one
0%{!?_without_one:%{server_drivers}}
44 # Then the hypervisor drivers that talk a native remote protocol
45 %define with_phyp
0%{!?_without_phyp:1}
46 %define with_esx
0%{!?_without_esx:1}
48 # Then the secondary host drivers
49 %define with_network
0%{!?_without_network:%{server_drivers}}
50 %define with_storage_fs
0%{!?_without_storage_fs:%{server_drivers}}
51 %define with_storage_lvm
0%{!?_without_storage_lvm:%{server_drivers}}
52 %define with_storage_iscsi
0%{!?_without_storage_iscsi:%{server_drivers}}
53 %define with_storage_disk
0%{!?_without_storage_disk:%{server_drivers}}
54 %define with_storage_mpath
0%{!?_without_storage_mpath:%{server_drivers}}
55 %define with_numactl
0%{!?_without_numactl:%{server_drivers}}
56 %define with_selinux
0%{!?_without_selinux:%{server_drivers}}
58 # A few optional bits off by default, we enable later
59 %define with_polkit
0%{!?_without_polkit:0}
60 %define with_capng
0%{!?_without_capng:0}
61 %define with_netcf
0%{!?_without_netcf:0}
62 %define with_udev
0%{!?_without_udev:0}
63 %define with_hal
0%{!?_without_hal:0}
64 %define with_yajl
0%{!?_without_yajl:0}
65 %define with_nwfilter
0%{!?_without_nwfilter:0}
66 %define with_libpcap
0%{!?_without_libpcap:0}
67 %define with_macvtap
0%{!?_without_macvtap:0}
68 %define with_libnl
0%{!?_without_libnl:0}
69 %define with_audit
0%{!?_without_audit:0}
70 %define with_dtrace
0%{!?_without_dtrace:0}
72 # Non-server/HV driver defaults which are always enabled
73 %define with_python
0%{!?_without_python:1}
74 %define with_sasl
0%{!?_without_sasl:1}
77 # Finally set the OS / architecture specific special cases
79 # Xen is available only on i386 x86_64 ia64
80 %ifnarch i386 i586 i686 x86_64 ia64
84 # Numactl is not available on s390[x]
86 %define with_numactl
0
89 # RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor, ESX,
90 # or libxenserver (xenapi)
101 # RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
109 # RHEL-6 has restricted QEMU to x86_64 only, stopped including Xen
110 # on all archs. Other archs all have LXC available though
118 # If Xen isn't turned on, we shouldn't build the xen proxy either
120 %define with_xen_proxy
0
123 # Fedora doesn't have any QEMU on ppc64 - only ppc
130 # PolicyKit was introduced in Fedora 8 / RHEL-6 or newer, allowing
131 # the setuid Xen proxy to be killed off
132 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
133 %define with_polkit
0%{!?_without_polkit:1}
134 %define with_xen_proxy
0
137 # libcapng is used to manage capabilities in Fedora 12 / RHEL-6 or newer
138 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
139 %define with_capng
0%{!?_without_capng:1}
142 # netcf is used to manage network interfaces in Fedora 12 / RHEL-6 or newer
143 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
144 %define with_netcf
0%{!?_without_netcf:%{server_drivers}}
147 # udev is used to manage host devices in Fedora 12 / RHEL-6 or newer
148 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
149 %define with_udev
0%{!?_without_udev:%{server_drivers}}
151 %define with_hal
0%{!?_without_hal:%{server_drivers}}
154 # Enable yajl library for JSON mode with QEMU
155 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
156 %define with_yajl
0%{!?_without_yajl:%{server_drivers}}
159 # Enable libpcap library
161 %define with_nwfilter
0%{!?_without_nwfilter:%{server_drivers}}
162 %define with_libpcap
0%{!?_without_libpcap:%{server_drivers}}
163 %define with_macvtap
0%{!?_without_macvtap:%{server_drivers}}
170 %if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
171 %define with_audit
0%{!?_without_audit:1}
174 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
175 %define with_dtrace
1
178 # Force QEMU to run as non-root
179 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
180 %define qemu_user qemu
181 %define qemu_group qemu
183 %define qemu_user root
184 %define qemu_group root
188 # The RHEL-5 Xen package has some feature backports. This
189 # flag is set to enable use of those special bits on RHEL-5
197 Summary: Library providing a simple API virtualization
200 Release: 1%{?dist}%{?extra_release}
202 Group: Development
/Libraries
203 Source: http
://libvirt.org
/sources
/libvirt
-%{version}.tar.gz
204 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
205 URL: http
://libvirt.org
/
206 BuildRequires
: python
-devel
208 # The client side, i.e. shared libs and virsh are in a subpackage
209 Requires: %{name}-client = %{version}-%{release}
211 # Used by many of the drivers, so turn it on whenever the
214 Requires: bridge
-utils
217 Requires: dnsmasq
>= 2.41
223 Requires: iptables
-ipv6
225 # needed for device enumeration
230 Requires: udev
>= 145
233 %if 0%{?fedora} >= 12 || 0%{?rhel} >=6
234 Requires: polkit
>= 0.93
236 Requires: PolicyKit
>= 0.6
239 %if %{with_storage_fs}
240 # For mount/umount in FS driver
241 BuildRequires
: util
-linux
242 # For showmount in FS driver (netfs discovery)
243 BuildRequires
: nfs
-utils
246 %if 0%{?fedora} >= 11
247 Requires: glusterfs
-client
>= 2.0.1
252 Requires: /usr
/bin
/qemu
-img
253 # For image compression
261 Requires: /usr
/sbin
/qcow
-create
264 %if %{with_storage_lvm}
268 %if %{with_storage_iscsi}
270 Requires: iscsi
-initiator
-utils
272 %if %{with_storage_disk}
276 %if %{with_storage_mpath}
277 # For multipath support
278 Requires: device
-mapper
281 BuildRequires
: xen
-devel
284 BuildRequires
: xmlrpc
-c
-devel
>= 1.14.0
286 BuildRequires
: libxml2
-devel
287 BuildRequires
: xhtml1
-dtds
288 BuildRequires
: readline
-devel
289 BuildRequires
: ncurses
-devel
290 BuildRequires
: gettext
291 BuildRequires
: gnutls
-devel
293 BuildRequires
: hal
-devel
296 BuildRequires
: libudev
-devel
>= 145
297 BuildRequires
: libpciaccess
-devel
>= 0.10.9
300 BuildRequires
: yajl
-devel
303 BuildRequires
: libpcap
-devel
306 BuildRequires
: libnl
-devel
309 BuildRequires
: avahi
-devel
312 BuildRequires
: libselinux
-devel
315 BuildRequires
: dnsmasq
>= 2.41
317 BuildRequires
: bridge
-utils
319 BuildRequires
: cyrus
-sasl
-devel
322 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
323 # Only need the binary, not -devel
324 BuildRequires
: polkit
>= 0.93
326 BuildRequires
: PolicyKit
-devel
>= 0.6
329 %if %{with_storage_fs}
330 # For mount/umount in FS driver
331 BuildRequires
: util
-linux
335 BuildRequires
: /usr
/bin
/qemu
-img
339 BuildRequires
: /usr
/sbin
/qcow
-create
342 %if %{with_storage_lvm}
346 %if %{with_storage_iscsi}
348 BuildRequires
: iscsi
-initiator
-utils
350 %if %{with_storage_disk}
352 BuildRequires
: parted
-devel
354 # Broken RHEL-5 parted RPM is missing a dep
355 BuildRequires
: e2fsprogs
-devel
358 %if %{with_storage_mpath}
359 # For Multipath support
361 # Broken RHEL-5 packaging has header files in main RPM :-(
362 BuildRequires
: device
-mapper
364 BuildRequires
: device
-mapper
-devel
368 # For QEMU/LXC numa info
369 BuildRequires
: numactl
-devel
372 BuildRequires
: libcap
-ng
-devel
>= 0.5.0
375 BuildRequires
: libssh2
-devel
378 BuildRequires
: netcf
-devel
>= 0.1.4
381 BuildRequires
: libcurl
-devel
384 BuildRequires
: audit
-libs
-devel
387 # Fedora build root suckage
391 Libvirt is a C toolkit to interact with the virtualization capabilities
392 of recent versions of Linux
(and other OSes
). The main package includes
393 the libvirtd server exporting the virtualization support.
396 Summary: Client side library and utilities of the libvirt library
397 Group: Development
/Libraries
400 # So remote clients can access libvirt over SSH tunnel
401 # (client invokes 'nc' against the UNIX socket on the server)
405 # Not technically required, but makes 'out-of-box' config
406 # work correctly & doesn't have onerous dependencies
407 Requires: cyrus
-sasl
-md5
411 Shared libraries and client binaries needed to access to the
412 virtualization capabilities of recent versions of Linux
(and other OSes
).
415 Summary: Libraries
, includes
, etc. to compile with the libvirt library
416 Group: Development
/Libraries
417 Requires: %{name}-client = %{version}-%{release}
424 Includes and documentations
for the C library providing an API to use
425 the virtualization capabilities of recent versions of Linux
(and other OSes
).
429 Summary: Python bindings
for the libvirt library
430 Group: Development
/Libraries
431 Requires: %{name}-client = %{version}-%{release}
434 The libvirt
-python package contains a module that permits applications
435 written
in the Python programming language to use the interface
436 supplied by the libvirt library to use the virtualization capabilities
437 of recent versions of Linux
(and other OSes
).
445 %define _without_xen
--without
-xen
449 %define _without_qemu
--without
-qemu
453 %define _without_openvz
--without
-openvz
457 %define _without_lxc
--without
-lxc
461 %define _without_vbox
--without
-vbox
465 %define _without_xenapi
--without
-xenapi
469 %define _without_sasl
--without
-sasl
473 %define _without_avahi
--without
-avahi
477 %define _without_phyp
--without
-phyp
481 %define _without_esx
--without
-esx
485 %define _without_polkit
--without
-polkit
489 %define _without_python
--without
-python
492 %if ! %{with_libvirtd}
493 %define _without_libvirtd
--without
-libvirtd
497 %define _without_uml
--without
-uml
501 %define _without_one
--without
-one
505 %define _with_rhel5_api
--with
-rhel5
-api
508 %if ! %{with_network}
509 %define _without_network
--without
-network
512 %if ! %{with_storage_fs}
513 %define _without_storage_fs
--without
-storage
-fs
516 %if ! %{with_storage_lvm}
517 %define _without_storage_lvm
--without
-storage
-lvm
520 %if ! %{with_storage_iscsi}
521 %define _without_storage_iscsi
--without
-storage
-iscsi
524 %if ! %{with_storage_disk}
525 %define _without_storage_disk
--without
-storage
-disk
528 %if ! %{with_storage_mpath}
529 %define _without_storage_mpath
--without
-storage
-mpath
532 %if ! %{with_numactl}
533 %define _without_numactl
--without
-numactl
537 %define _without_capng
--without
-capng
541 %define _without_netcf
--without
-netcf
544 %if ! %{with_selinux}
545 %define _without_selinux
--without
-selinux
549 %define _without_hal
--without
-hal
553 %define _without_udev
--without
-udev
557 %define _without_yajl
--without
-yajl
560 %if ! %{with_libpcap}
561 %define _without_libpcap
--without
-libpcap
564 %if ! %{with_macvtap}
565 %define _without_macvtap
--without
-macvtap
569 %define _without_audit
--without
-audit
573 %define _without_dtrace
--without
-dtrace
576 %configure %{?_without_xen} \
578 %{?_without_openvz} \
581 %{?_without_xenapi} \
584 %{?_without_polkit} \
585 %{?_without_python} \
586 %{?_without_libvirtd} \
591 %{?_without_network} \
592 %{?_with_rhel5_api} \
593 %{?_without_storage_fs} \
594 %{?_without_storage_lvm} \
595 %{?_without_storage_iscsi} \
596 %{?_without_storage_disk} \
597 %{?_without_storage_mpath} \
598 %{?_without_numactl} \
601 %{?_without_selinux} \
605 %{?_without_libpcap} \
606 %{?_without_macvtap} \
608 %{?_without_dtrace} \
609 --with
-qemu
-user
=%{qemu_user} \
610 --with
-qemu
-group
=%{qemu_group} \
611 --with
-init
-script
=redhat \
612 --with
-remote
-pid
-file
=%{_localstatedir}/run
/libvirtd.pid
620 for i
in domain
-events
/events
-c dominfo domsuspend hellolibvirt openauth python xml
/nwfilter systemtap
622 (cd examples
/$i
; make clean
; rm -rf .deps .libs Makefile Makefile.
in)
624 rm -f $RPM_BUILD_ROOT
%{_libdir}/*.la
625 rm -f $RPM_BUILD_ROOT
%{_libdir}/*.a
626 rm -f $RPM_BUILD_ROOT
%{_libdir}/python
*/site
-packages
/*.la
627 rm -f $RPM_BUILD_ROOT
%{_libdir}/python
*/site
-packages
/*.a
630 install -d
-m
0755 $RPM_BUILD_ROOT
%{_datadir}/lib
/libvirt
/dnsmasq
/
631 # We don't want to install /etc/libvirt/qemu/networks in the main %files list
632 # because if the admin wants to delete the default network completely, we don't
633 # want to end up re-incarnating it on every RPM upgrade.
634 install -d
-m
0755 $RPM_BUILD_ROOT
%{_datadir}/libvirt
/networks
/
635 cp $RPM_BUILD_ROOT
%{_sysconfdir}/libvirt
/qemu
/networks
/default.xml \
636 $RPM_BUILD_ROOT
%{_datadir}/libvirt
/networks
/default.xml
637 rm -f $RPM_BUILD_ROOT
%{_sysconfdir}/libvirt
/qemu
/networks
/default.xml
638 rm -f $RPM_BUILD_ROOT
%{_sysconfdir}/libvirt
/qemu
/networks
/autostart
/default.xml
639 # Strip auto-generated UUID - we need it generated per-install
640 sed
-i
-e "
/<uuid
>/d" $RPM_BUILD_ROOT
%{_datadir}/libvirt
/networks
/default.xml
642 rm -f $RPM_BUILD_ROOT
%{_sysconfdir}/libvirt
/qemu
/networks
/default.xml
643 rm -f $RPM_BUILD_ROOT
%{_sysconfdir}/libvirt
/qemu
/networks
/autostart
/default.xml
646 rm -f $RPM_BUILD_ROOT
%{_datadir}/augeas
/lenses
/libvirtd_qemu.aug
647 rm -f $RPM_BUILD_ROOT
%{_datadir}/augeas
/lenses
/tests
/test_libvirtd_qemu.aug
652 rm -f $RPM_BUILD_ROOT
%{_datadir}/augeas
/lenses
/libvirtd_lxc.aug
653 rm -f $RPM_BUILD_ROOT
%{_datadir}/augeas
/lenses
/tests
/test_libvirtd_lxc.aug
657 rm -rf $RPM_BUILD_ROOT
%{_datadir}/doc/libvirt-python-%{version}
661 rm -rf $RPM_BUILD_ROOT
%{_datadir}/doc/libvirt-%{version}
664 %if ! %{with_libvirtd}
665 rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/libvirt
/nwfilter
669 rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/libvirt
/qemu.conf
670 rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/logrotate.d
/libvirtd.qemu
673 rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/libvirt
/lxc.conf
674 rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/logrotate.d
/libvirtd.lxc
677 rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/logrotate.d
/libvirtd.uml
685 ## These 3 tests don't current work in a mock build root
686 #for i in nodeinfotest daemon-conf seclabeltest
689 # printf "#!/bin/sh\nexit 0\n" > $i
695 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
696 # Normally 'setup' adds this in /etc/passwd, but this is
697 # here for case of upgrades from earlier Fedora/RHEL. This
698 # UID/GID pair is reserved for qemu:qemu
699 getent group kvm
>/dev
/null || groupadd
-g
36 -r kvm
700 getent group qemu
>/dev
/null || groupadd
-g
107 -r qemu
701 getent passwd qemu
>/dev
/null || \
702 useradd
-r
-u
107 -g qemu
-G kvm
-d
/ -s
/sbin
/nologin \
710 # We want to install the default network for initial RPM installs
711 # or on the first upgrade from a non-network aware libvirt only.
712 # We check this by looking to see if the daemon is already installed
713 /sbin
/chkconfig
--list libvirtd
1>/dev
/null
2>&1
714 if test $?
!= 0 && test ! -f
%{_sysconfdir}/libvirt
/qemu
/networks
/default.xml
716 UUID
=`
/usr
/bin
/uuidgen`
717 sed
-e "s
,</name
>,</name
>\n
<uuid
>$UUID
</uuid
>," \
718 < %{_datadir}/libvirt
/networks
/default.xml \
719 > %{_sysconfdir}/libvirt
/qemu
/networks
/default.xml
720 ln
-s ..
/default.xml
%{_sysconfdir}/libvirt
/qemu
/networks
/autostart
/default.xml
724 /sbin
/chkconfig
--add libvirtd
725 if [ "$
1"
-ge "
1"
]; then
726 /sbin
/service libvirtd condrestart
> /dev
/null
2>&1
733 /sbin
/service libvirtd stop
1>/dev
/null
2>&1
734 /sbin
/chkconfig
--del libvirtd
741 /sbin
/chkconfig
--del libvirt
-guests
742 rm -f
/var
/lib
/libvirt
/libvirt
-guests
748 /sbin
/chkconfig
--add libvirt
-guests
749 if [ $
1 -ge
1 ]; then
750 # this doesn't do anything but allowing for libvirt-guests to be
751 # stopped on the first shutdown
752 /sbin
/service libvirt
-guests start
> /dev
/null
2>&1 || true
755 %postun client
-p
/sbin
/ldconfig
759 %defattr(-, root
, root
)
761 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
762 %dir %attr(0700, root
, root
) %{_sysconfdir}/libvirt
/
765 %dir %attr(0700, root
, root
) %{_sysconfdir}/libvirt
/qemu
/
766 %dir %attr(0700, root
, root
) %{_sysconfdir}/libvirt
/qemu
/networks
/
767 %dir %attr(0700, root
, root
) %{_sysconfdir}/libvirt
/qemu
/networks
/autostart
770 %dir %attr(0700, root
, root
) %{_sysconfdir}/libvirt
/nwfilter
/
771 %{_sysconfdir}/libvirt
/nwfilter
/*.xml
773 %{_sysconfdir}/rc.d
/init.d
/libvirtd
774 %config(noreplace
) %{_sysconfdir}/sysconfig
/libvirtd
775 %config(noreplace
) %{_sysconfdir}/libvirt
/libvirtd.conf
777 # XXX that file was not found in my rpmbuild...
778 #%{_datadir}/systemtap/tapsets/libvirtd.stp
780 %dir %attr(0700, root
, root
) %{_localstatedir}/log
/libvirt
/qemu
/
781 %dir %attr(0700, root
, root
) %{_localstatedir}/log
/libvirt
/lxc
/
782 %dir %attr(0700, root
, root
) %{_localstatedir}/log
/libvirt
/uml
/
785 %config(noreplace
) %{_sysconfdir}/libvirt
/qemu.conf
786 %config(noreplace
) %{_sysconfdir}/logrotate.d
/libvirtd.qemu
789 %config(noreplace
) %{_sysconfdir}/libvirt
/lxc.conf
790 %config(noreplace
) %{_sysconfdir}/logrotate.d
/libvirtd.lxc
793 %config(noreplace
) %{_sysconfdir}/logrotate.d
/libvirtd.uml
796 %dir %{_datadir}/libvirt
/
799 %dir %{_datadir}/libvirt
/networks
/
800 %{_datadir}/libvirt
/networks
/default.xml
803 %dir %{_localstatedir}/run
/libvirt
/
805 %dir %{_localstatedir}/lib
/libvirt
/
806 %dir %attr(0711, root
, root
) %{_localstatedir}/lib
/libvirt
/images
/
807 %dir %attr(0711, root
, root
) %{_localstatedir}/lib
/libvirt
/boot
/
808 %dir %attr(0700, root
, root
) %{_localstatedir}/cache
/libvirt
/
811 %dir %attr(0700, root
, root
) %{_localstatedir}/run
/libvirt
/qemu
/
812 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib
/libvirt
/qemu
/
813 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache
/libvirt
/qemu
/
816 %dir %{_localstatedir}/run
/libvirt
/lxc
/
817 %dir %attr(0700, root
, root
) %{_localstatedir}/lib
/libvirt
/lxc
/
820 %dir %{_localstatedir}/run
/libvirt
/uml
/
821 %dir %attr(0700, root
, root
) %{_localstatedir}/lib
/libvirt
/uml
/
824 %dir %{_localstatedir}/run
/libvirt
/network
/
825 %dir %attr(0700, root
, root
) %{_localstatedir}/lib
/libvirt
/network
/
826 %dir %attr(0755, root
, root
) %{_localstatedir}/lib
/libvirt
/dnsmasq
/
830 %{_datadir}/augeas
/lenses
/libvirtd_qemu.aug
831 %{_datadir}/augeas
/lenses
/tests
/test_libvirtd_qemu.aug
835 %{_datadir}/augeas
/lenses
/libvirtd_lxc.aug
836 %{_datadir}/augeas
/lenses
/tests
/test_libvirtd_lxc.aug
839 %{_datadir}/augeas
/lenses
/libvirtd.aug
840 %{_datadir}/augeas
/lenses
/tests
/test_libvirtd.aug
843 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
844 %{_datadir}/polkit
-1/actions
/org.libvirt.unix.policy
846 %{_datadir}/PolicyKit
/policy
/org.libvirt.unix.policy
850 %dir %attr(0700, root
, root
) %{_localstatedir}/log
/libvirt
/
852 %if %{with_xen_proxy}
853 %attr(4755, root
, root
) %{_libexecdir}/libvirt_proxy
857 %attr(0755, root
, root
) %{_libexecdir}/libvirt_lxc
860 %attr(0755, root
, root
) %{_libexecdir}/libvirt_parthelper
861 %attr(0755, root
, root
) %{_sbindir}/libvirtd
863 %{_mandir}/man8
/libvirtd
.8*
868 %files client
-f
%{name}.lang
869 %defattr(-, root
, root
)
870 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
872 %{_mandir}/man1
/virsh
.1*
873 %{_mandir}/man1
/virt
-xml
-validate
.1*
874 %{_mandir}/man1
/virt
-pki
-validate
.1*
876 %{_bindir}/virt
-xml
-validate
877 %{_bindir}/virt
-pki
-validate
880 %dir %{_datadir}/libvirt
/
881 %dir %{_datadir}/libvirt
/schemas
/
883 %{_datadir}/libvirt
/schemas
/domain.rng
884 %{_datadir}/libvirt
/schemas
/domainsnapshot.rng
885 %{_datadir}/libvirt
/schemas
/network.rng
886 %{_datadir}/libvirt
/schemas
/storagepool.rng
887 %{_datadir}/libvirt
/schemas
/storagevol.rng
888 %{_datadir}/libvirt
/schemas
/nodedev.rng
889 %{_datadir}/libvirt
/schemas
/capability.rng
890 %{_datadir}/libvirt
/schemas
/interface.rng
891 %{_datadir}/libvirt
/schemas
/secret.rng
892 %{_datadir}/libvirt
/schemas
/storageencryption.rng
893 %{_datadir}/libvirt
/schemas
/nwfilter.rng
895 %{_datadir}/libvirt
/cpu_map.xml
897 %{_sysconfdir}/rc.d
/init.d
/libvirt
-guests
898 %config(noreplace
) %{_sysconfdir}/sysconfig
/libvirt
-guests
899 %dir %attr(0700, root
, root
) %{_localstatedir}/lib
/libvirt
902 %config(noreplace
) %{_sysconfdir}/sasl2
/libvirt.conf
906 %defattr(-, root
, root
)
909 %dir %{_includedir}/libvirt
910 %{_includedir}/libvirt
/*.h
911 %{_libdir}/pkgconfig
/libvirt.pc
912 %dir %{_datadir}/gtk
-doc
/html
/libvirt
/
913 %doc %{_datadir}/gtk
-doc
/html
/libvirt
/*.devhelp
914 %doc %{_datadir}/gtk
-doc
/html
/libvirt
/*.html
915 %doc %{_datadir}/gtk
-doc
/html
/libvirt
/*.png
916 %doc %{_datadir}/gtk
-doc
/html
/libvirt
/*.css
918 %doc docs
/*.html docs
/html docs
/*.gif
919 %doc docs
/libvirt
-api.xml
920 %doc examples
/hellolibvirt
921 %doc examples
/domain
-events
/events
-c
922 %doc examples
/dominfo
923 %doc examples
/domsuspend
924 %doc examples
/openauth
926 %doc examples
/systemtap
930 %defattr(-, root
, root
)
932 %doc AUTHORS NEWS README COPYING.LIB
933 %{_libdir}/python
*/site
-packages
/libvirt.py
*
934 %{_libdir}/python
*/site
-packages
/libvirtmod
*
935 %doc python
/tests
/*.py
938 %doc examples
/domain
-events
/events
-python
942 * Fri Oct
29 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.5-1
943 - Enable JSON and netdev features
in QEMU
>= 0.13
944 - framework
for auditing integration
945 - framework DTrace
/SystemTap integration
946 - Setting the number of vcpu at boot
947 - Enable support
for nested SVM
948 - Virtio plan9fs filesystem QEMU
949 - Memory parameter controls
950 - various improvements and bug fixes
952 * Fri Sep
10 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.4-1
953 - big improvements to UML driver
954 - various improvements and bug fixes
956 * Wed Aug
4 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.3-1
957 - esx
: Support vSphere
4.1
958 - Qemu arbitrary monitor commands
959 - Qemu Monitor API entry point
960 - various improvements and bug fixes
962 * Mon Jul
5 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.2-1
963 - phyp
: adding support
for IVM
964 - libvirt
: introduce domainCreateWithFlags API
965 - add
802.1Qbh and
802.1Qbg switches handling
966 - Support
for VirtualBox version
3.2
967 - Init script
for handling guests on shutdown
/boot
968 - qemu
: live migration with non
-shared storage
for kvm
970 * Fri Apr
30 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.1-1
971 - Starts dnsmasq from libvirtd with
--dhcp
-hostsfile
972 - Add virDomainGetBlockInfo API to query disk sizing
973 - a lot of bug fixes and cleanups
975 * Mon Apr
12 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.0-1
976 - Snapshotting support
(QEmu
/VBox
/ESX
)
977 - Network filtering API
979 - new APIs
for domain events
980 - Libvirt managed save API
981 - timer subselection
for domain clock
983 - API to update guest CPU to host CPU
984 - virDomainUpdateDeviceFlags new API
985 - migrate max downtime API
989 * Fri Mar
5 2010 Daniel Veillard
<veillard@redhat.com
> - 0.7.7-1
993 - computing baseline CPU
994 - virDomain
{Attach
,Detach
}DeviceFlags
995 - assorted bug fixes and lots of cleanups
997 * Wed Feb
3 2010 Daniel Veillard
<veillard@redhat.com
> - 0.7.6-1
999 * Wed Dec
23 2009 Daniel Veillard
<veillard@redhat.com
> - 0.7.5-1
1000 - Add new API virDomainMemoryStats
1001 - Public API and domain extension
for CPU flags
1002 - vbox
: Add support
for version
3.1
1003 - Support QEMU's virtual FAT block device driver
1006 * Fri Nov
20 2009 Daniel Veillard
<veillard@redhat.com
> - 0.7.3-1
1007 - udev node device backend
1008 - API to check object properties
1009 - better QEmu monitor processing
1010 - MAC address based port filtering
for qemu
1011 - support IPv6 and multiple addresses per interfaces
1014 * Tue Sep
15 2009 Daniel Veillard
<veillard@redhat.com
> - 0.7.1-1
1015 - ESX
, VBox driver updates
1017 - support
for encrypted
(qcow
) volume
1018 - compressed save image format
for Qemu
/KVM
1019 - QEmu host PCI device hotplug support
1020 - configuration of huge pages
in guests
1023 * Wed Aug
5 2009 Daniel Veillard
<veillard@redhat.com
> - 0.7.0-1
1024 - ESX
, VBox3
, Power Hypervisor drivers
1025 - new net filesystem glusterfs
1026 - Storage cloning
for LVM and Disk backends
1027 - interface implementation based on netcf
1028 - Support cgroups
in QEMU driver
1029 - QEmu hotplug NIC support
1032 * Fri Jul
3 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.5-1
1035 * Fri May
29 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.4-1
1039 * Fri Apr
24 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.3-1
1043 * Fri Apr
3 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.2-1
1046 * Fri Mar
4 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.1-1
1049 * Sat Jan
31 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.0-1
1052 * Tue Nov
25 2008 Daniel Veillard
<veillard@redhat.com
> - 0.5.0-1
1055 * Tue Sep
23 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.6-1
1058 * Mon Sep
8 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.5-1
1061 * Wed Jun
25 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.4-1
1063 - mostly a few bug fixes from
0.4.3
1065 * Thu Jun
12 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.3-1
1067 - lots of bug fixes and small improvements
1069 * Tue Apr
8 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.2-1
1071 - lots of bug fixes and small improvements
1073 * Mon Mar
3 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.1-1
1077 - lots of assorted improvements
, bugfixes and cleanups
1078 - documentation and localization improvements
1080 * Tue Dec
18 2007 Daniel Veillard
<veillard@redhat.com
> - 0.4.0-1
1082 - SASL based authentication
1083 - PolicyKit authentication
1084 - improved NUMA and statistics support
1085 - lots of assorted improvements
, bugfixes and cleanups
1086 - documentation and localization improvements
1088 * Sun Sep
30 2007 Daniel Veillard
<veillard@redhat.com
> - 0.3.3-1
1092 - lots of assorted improvements
, bugfixes and cleanups
1093 - documentation and localization improvements
1095 * Tue Aug
21 2007 Daniel Veillard
<veillard@redhat.com
> - 0.3.2-1
1097 - API
for domains migration
1098 - APIs
for collecting statistics on disks and interfaces
1099 - lots of assorted bugfixes and cleanups
1100 - documentation and localization improvements
1102 * Tue Jul
24 2007 Daniel Veillard
<veillard@redhat.com
> - 0.3.1-1
1104 - localtime clock support
1105 - PS
/2 and USB input devices
1106 - lots of assorted bugfixes and cleanups
1107 - documentation and localization improvements
1109 * Mon Jul
9 2007 Daniel Veillard
<veillard@redhat.com
> - 0.3.0-1
1111 - Secure remote access support
1112 - unification of daemons
1113 - lots of assorted bugfixes and cleanups
1114 - documentation and localization improvements
1116 * Fri Jun
8 2007 Daniel Veillard
<veillard@redhat.com
> - 0.2.3-1
1118 - lot of assorted bugfixes and cleanups
1119 - support
for Xen
-3.1
1122 * Tue Apr
17 2007 Daniel Veillard
<veillard@redhat.com
> - 0.2.2-1
1124 - lot of assorted bugfixes and cleanups
1125 - preparing
for Xen
-3.0.5
1127 * Thu Mar
22 2007 Jeremy Katz
<katzj@redhat.com
> - 0.2.1-2.fc7
1128 - don't require xen
; we don't need the daemon and can control non
-xen now
1129 - fix scriptlet error
(need to own more directories
)
1130 - update description text
1132 * Fri Mar
16 2007 Daniel Veillard
<veillard@redhat.com
> - 0.2.1-1
1134 - lot of bug and portability fixes
1135 - Add support
for network autostart and init scripts
1136 - New API to detect the virtualization capabilities of a host
1137 - Documentation updates
1139 * Fri Feb
23 2007 Daniel P. Berrange
<berrange@redhat.com
> - 0.2.0-4.fc7
1140 - Fix loading of guest
& network configs
1142 * Fri Feb
16 2007 Daniel P. Berrange
<berrange@redhat.com
> - 0.2.0-3.fc7
1143 - Disable kqemu support since its not
in Fedora qemu binary
1144 - Fix
for -vnc arg syntax change
in 0.9.0 QEMU
1146 * Thu Feb
15 2007 Daniel P. Berrange
<berrange@redhat.com
> - 0.2.0-2.fc7
1147 - Fixed path to qemu daemon
for autostart
1148 - Fixed generation of
<features
> block
in XML
1149 - Pre
-create config directory at startup
1151 * Wed Feb
14 2007 Daniel Veillard
<veillard@redhat.com
> 0.2.0-1.fc7
1152 - support
for KVM and QEmu
1153 - support
for network configuration
1156 * Mon Jan
22 2007 Daniel Veillard
<veillard@redhat.com
> 0.1.11-1.fc7
1157 - finish inactive Xen domains support
1159 - RelaxNG schemas
for XML configs
1161 * Wed Dec
20 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.10-1.fc7
1162 - support
for inactive Xen domains
1163 - improved support
for Xen display and vnc
1165 - localization updates
1167 * Thu Dec
7 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.9-2
1168 - rebuild against python
2.5
1170 * Wed Nov
29 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.9-1
1171 - better error reporting
1172 - python bindings fixes and extensions
1173 - add support
for shareable drives
1174 - add support
for non
-bridge style networking
1175 - hot plug device support
1176 - added support
for inactive domains
1177 - API to dump core of domains
1178 - various bug fixes
, cleanups and improvements
1179 - updated the localization
1181 * Tue Nov
7 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.8-3
1182 - it's pkgconfig not pgkconfig
!
1184 * Mon Nov
6 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.8-2
1185 - fixing spec file
, added
%dist, -devel requires pkgconfig and xen
-devel
1186 - Resolves
: rhbz
#202320
1188 * Mon Oct
16 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.8-1
1189 - fix missing page size detection code
for ia64
1190 - fix mlock size when getting domain info list from hypervisor
1191 - vcpu number initialization
1192 - don't label crashed domains as shut off
1193 - fix virsh man page
1194 - blktapdd support
for alternate drivers like blktap
1195 - memory leak fixes
(xend interface and XML parsing
)
1197 - mlock
/munlock size fixes
1199 * Fri Sep
22 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.7-1
1200 - Fix bug when running against xen
-3.0.3 hypercalls
1201 - Fix memory bug when getting vcpus info from xend
1203 * Fri Sep
22 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.6-1
1204 - Support
for localization
1205 - Support
for new Xen
-3.0.3 cdrom and disk configuration
1206 - Support
for setting VNC port
1207 - Fix bug when running against xen
-3.0.2 hypercalls
1208 - Fix reconnection problem when talking directly to http xend
1210 * Tue Sep
5 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.5-3
1211 - patch from danpb to support new
-format
cd devices
for HVM guests
1213 * Tue Sep
5 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.5-2
1214 - reactivating ia64 support
1216 * Tue Sep
5 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.5-1
1219 - support
for new hypervisor calls
1220 - early code
for config files and defined domains
1222 * Mon Sep
4 2006 Daniel Berrange
<berrange@redhat.com
> - 0.1.4-5
1223 - add patch to address dom0_ops API breakage
in Xen
3.0.3 tree
1225 * Mon Aug
28 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.4-4
1226 - add patch to support paravirt framebuffer
in Xen
1228 * Mon Aug
21 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.4-3
1229 - another patch to fix network handling
in non
-HVM guests
1231 * Thu Aug
17 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.4-2
1232 - patch to fix virParseUUID
()
1234 * Wed Aug
16 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.4-1
1235 - vCPUs and affinity support
1236 - more complete XML
, console and boot options
1237 - specific features support
1238 - enforced
read-only connections
1239 - various improvements
, bug fixes
1241 * Wed Aug
2 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.3-6
1242 - add patch from pvetere to allow getting uuid from libvirt
1244 * Wed Aug
2 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.3-5
1247 * Thu Jul
27 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.3-4
1248 - don't BR xen
, we just need xen
-devel
1250 * Thu Jul
27 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.3-3
1251 - need rebuild since libxenstore is now versionned
1253 * Mon Jul
24 2006 Mark McLoughlin
<markmc@redhat.com
> - 0.1.3-2
1254 - Add BuildRequires
: xen
-devel
1256 * Wed Jul
12 2006 Jesse Keating
<jkeating@redhat.com
> - 0.1.3-1.1
1259 * Tue Jul
11 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.3-1
1260 - support
for HVM Xen guests
1263 * Mon Jul
3 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.2-1
1264 - added a proxy mechanism
for read only access using httpu
1265 - fixed header includes paths
1267 * Wed Jun
21 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.1-1
1268 - extend and cleanup the driver infrastructure and code
1270 - extend uuid support
1271 - bug fixes
, buffer handling cleanups
1272 - support
for new Xen hypervisor API
1273 - test driver
for unit testing
1274 - virsh
--conect argument
1276 * Mon Apr
10 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.0-1
1278 - new APIs
: for Node information and Reboot
1279 - virsh improvements and extensions
1280 - documentation updates and man page
1281 - enhancement and fixes of the XML description format
1283 * Tue Feb
28 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.6-1
1284 - added error handling APIs
1286 - improve python bindings
1287 - augment documentation and regression tests
1289 * Thu Feb
23 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.5-1
1290 - new domain creation API
1291 - new UUID based APIs
1292 - more tests
, documentation
, devhelp
1295 * Fri Feb
10 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.4-1
1296 - fixes some problems
in 0.0.3 due to the change of names
1298 * Wed Feb
8 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.3-1
1299 - changed library name to libvirt from libvir
, complete and
test the python
1302 * Sun Jan
29 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.2-1
1303 - upstream release of
0.0.2, use xend
, save and restore added
, python bindings
1306 * Wed Nov
2 2005 Daniel Veillard
<veillard@redhat.com
> 0.0.1-1