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 %{_datadir}/systemtap
/tapsets
/libvirtd.stp
779 %dir %attr(0700, root
, root
) %{_localstatedir}/log
/libvirt
/qemu
/
780 %dir %attr(0700, root
, root
) %{_localstatedir}/log
/libvirt
/lxc
/
781 %dir %attr(0700, root
, root
) %{_localstatedir}/log
/libvirt
/uml
/
784 %config(noreplace
) %{_sysconfdir}/libvirt
/qemu.conf
785 %config(noreplace
) %{_sysconfdir}/logrotate.d
/libvirtd.qemu
788 %config(noreplace
) %{_sysconfdir}/libvirt
/lxc.conf
789 %config(noreplace
) %{_sysconfdir}/logrotate.d
/libvirtd.lxc
792 %config(noreplace
) %{_sysconfdir}/logrotate.d
/libvirtd.uml
795 %dir %{_datadir}/libvirt
/
798 %dir %{_datadir}/libvirt
/networks
/
799 %{_datadir}/libvirt
/networks
/default.xml
802 %dir %{_localstatedir}/run
/libvirt
/
804 %dir %{_localstatedir}/lib
/libvirt
/
805 %dir %attr(0711, root
, root
) %{_localstatedir}/lib
/libvirt
/images
/
806 %dir %attr(0711, root
, root
) %{_localstatedir}/lib
/libvirt
/boot
/
807 %dir %attr(0700, root
, root
) %{_localstatedir}/cache
/libvirt
/
810 %dir %attr(0700, root
, root
) %{_localstatedir}/run
/libvirt
/qemu
/
811 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib
/libvirt
/qemu
/
812 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache
/libvirt
/qemu
/
815 %dir %{_localstatedir}/run
/libvirt
/lxc
/
816 %dir %attr(0700, root
, root
) %{_localstatedir}/lib
/libvirt
/lxc
/
819 %dir %{_localstatedir}/run
/libvirt
/uml
/
820 %dir %attr(0700, root
, root
) %{_localstatedir}/lib
/libvirt
/uml
/
823 %dir %{_localstatedir}/run
/libvirt
/network
/
824 %dir %attr(0700, root
, root
) %{_localstatedir}/lib
/libvirt
/network
/
825 %dir %attr(0755, root
, root
) %{_localstatedir}/lib
/libvirt
/dnsmasq
/
829 %{_datadir}/augeas
/lenses
/libvirtd_qemu.aug
830 %{_datadir}/augeas
/lenses
/tests
/test_libvirtd_qemu.aug
834 %{_datadir}/augeas
/lenses
/libvirtd_lxc.aug
835 %{_datadir}/augeas
/lenses
/tests
/test_libvirtd_lxc.aug
838 %{_datadir}/augeas
/lenses
/libvirtd.aug
839 %{_datadir}/augeas
/lenses
/tests
/test_libvirtd.aug
842 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
843 %{_datadir}/polkit
-1/actions
/org.libvirt.unix.policy
845 %{_datadir}/PolicyKit
/policy
/org.libvirt.unix.policy
849 %dir %attr(0700, root
, root
) %{_localstatedir}/log
/libvirt
/
851 %if %{with_xen_proxy}
852 %attr(4755, root
, root
) %{_libexecdir}/libvirt_proxy
856 %attr(0755, root
, root
) %{_libexecdir}/libvirt_lxc
859 %attr(0755, root
, root
) %{_libexecdir}/libvirt_parthelper
860 %attr(0755, root
, root
) %{_sbindir}/libvirtd
862 %{_mandir}/man8
/libvirtd
.8*
867 %files client
-f
%{name}.lang
868 %defattr(-, root
, root
)
869 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
871 %{_mandir}/man1
/virsh
.1*
872 %{_mandir}/man1
/virt
-xml
-validate
.1*
873 %{_mandir}/man1
/virt
-pki
-validate
.1*
875 %{_bindir}/virt
-xml
-validate
876 %{_bindir}/virt
-pki
-validate
879 %dir %{_datadir}/libvirt
/
880 %dir %{_datadir}/libvirt
/schemas
/
882 %{_datadir}/libvirt
/schemas
/domain.rng
883 %{_datadir}/libvirt
/schemas
/domainsnapshot.rng
884 %{_datadir}/libvirt
/schemas
/network.rng
885 %{_datadir}/libvirt
/schemas
/storagepool.rng
886 %{_datadir}/libvirt
/schemas
/storagevol.rng
887 %{_datadir}/libvirt
/schemas
/nodedev.rng
888 %{_datadir}/libvirt
/schemas
/capability.rng
889 %{_datadir}/libvirt
/schemas
/interface.rng
890 %{_datadir}/libvirt
/schemas
/secret.rng
891 %{_datadir}/libvirt
/schemas
/storageencryption.rng
892 %{_datadir}/libvirt
/schemas
/nwfilter.rng
894 %{_datadir}/libvirt
/cpu_map.xml
896 %{_sysconfdir}/rc.d
/init.d
/libvirt
-guests
897 %config(noreplace
) %{_sysconfdir}/sysconfig
/libvirt
-guests
898 %dir %attr(0700, root
, root
) %{_localstatedir}/lib
/libvirt
901 %config(noreplace
) %{_sysconfdir}/sasl2
/libvirt.conf
905 %defattr(-, root
, root
)
908 %dir %{_includedir}/libvirt
909 %{_includedir}/libvirt
/*.h
910 %{_libdir}/pkgconfig
/libvirt.pc
911 %dir %{_datadir}/gtk
-doc
/html
/libvirt
/
912 %doc %{_datadir}/gtk
-doc
/html
/libvirt
/*.devhelp
913 %doc %{_datadir}/gtk
-doc
/html
/libvirt
/*.html
914 %doc %{_datadir}/gtk
-doc
/html
/libvirt
/*.png
915 %doc %{_datadir}/gtk
-doc
/html
/libvirt
/*.css
917 %doc docs
/*.html docs
/html docs
/*.gif
918 %doc docs
/libvirt
-api.xml
919 %doc examples
/hellolibvirt
920 %doc examples
/domain
-events
/events
-c
921 %doc examples
/dominfo
922 %doc examples
/domsuspend
923 %doc examples
/openauth
925 %doc examples
/systemtap
929 %defattr(-, root
, root
)
931 %doc AUTHORS NEWS README COPYING.LIB
932 %{_libdir}/python
*/site
-packages
/libvirt.py
*
933 %{_libdir}/python
*/site
-packages
/libvirtmod
*
934 %doc python
/tests
/*.py
937 %doc examples
/domain
-events
/events
-python
941 * Fri Oct
29 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.5-1
942 - Enable JSON and netdev features
in QEMU
>= 0.13
943 - framework
for auditing integration
944 - framework DTrace
/SystemTap integration
945 - Setting the number of vcpu at boot
946 - Enable support
for nested SVM
947 - Virtio plan9fs filesystem QEMU
948 - Memory parameter controls
949 - various improvements and bug fixes
951 * Fri Sep
10 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.4-1
952 - big improvements to UML driver
953 - various improvements and bug fixes
955 * Wed Aug
4 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.3-1
956 - esx
: Support vSphere
4.1
957 - Qemu arbitrary monitor commands
958 - Qemu Monitor API entry point
959 - various improvements and bug fixes
961 * Mon Jul
5 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.2-1
962 - phyp
: adding support
for IVM
963 - libvirt
: introduce domainCreateWithFlags API
964 - add
802.1Qbh and
802.1Qbg switches handling
965 - Support
for VirtualBox version
3.2
966 - Init script
for handling guests on shutdown
/boot
967 - qemu
: live migration with non
-shared storage
for kvm
969 * Fri Apr
30 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.1-1
970 - Starts dnsmasq from libvirtd with
--dhcp
-hostsfile
971 - Add virDomainGetBlockInfo API to query disk sizing
972 - a lot of bug fixes and cleanups
974 * Mon Apr
12 2010 Daniel Veillard
<veillard@redhat.com
> - 0.8.0-1
975 - Snapshotting support
(QEmu
/VBox
/ESX
)
976 - Network filtering API
978 - new APIs
for domain events
979 - Libvirt managed save API
980 - timer subselection
for domain clock
982 - API to update guest CPU to host CPU
983 - virDomainUpdateDeviceFlags new API
984 - migrate max downtime API
988 * Fri Mar
5 2010 Daniel Veillard
<veillard@redhat.com
> - 0.7.7-1
992 - computing baseline CPU
993 - virDomain
{Attach
,Detach
}DeviceFlags
994 - assorted bug fixes and lots of cleanups
996 * Wed Feb
3 2010 Daniel Veillard
<veillard@redhat.com
> - 0.7.6-1
998 * Wed Dec
23 2009 Daniel Veillard
<veillard@redhat.com
> - 0.7.5-1
999 - Add new API virDomainMemoryStats
1000 - Public API and domain extension
for CPU flags
1001 - vbox
: Add support
for version
3.1
1002 - Support QEMU's virtual FAT block device driver
1005 * Fri Nov
20 2009 Daniel Veillard
<veillard@redhat.com
> - 0.7.3-1
1006 - udev node device backend
1007 - API to check object properties
1008 - better QEmu monitor processing
1009 - MAC address based port filtering
for qemu
1010 - support IPv6 and multiple addresses per interfaces
1013 * Tue Sep
15 2009 Daniel Veillard
<veillard@redhat.com
> - 0.7.1-1
1014 - ESX
, VBox driver updates
1016 - support
for encrypted
(qcow
) volume
1017 - compressed save image format
for Qemu
/KVM
1018 - QEmu host PCI device hotplug support
1019 - configuration of huge pages
in guests
1022 * Wed Aug
5 2009 Daniel Veillard
<veillard@redhat.com
> - 0.7.0-1
1023 - ESX
, VBox3
, Power Hypervisor drivers
1024 - new net filesystem glusterfs
1025 - Storage cloning
for LVM and Disk backends
1026 - interface implementation based on netcf
1027 - Support cgroups
in QEMU driver
1028 - QEmu hotplug NIC support
1031 * Fri Jul
3 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.5-1
1034 * Fri May
29 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.4-1
1038 * Fri Apr
24 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.3-1
1042 * Fri Apr
3 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.2-1
1045 * Fri Mar
4 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.1-1
1048 * Sat Jan
31 2009 Daniel Veillard
<veillard@redhat.com
> - 0.6.0-1
1051 * Tue Nov
25 2008 Daniel Veillard
<veillard@redhat.com
> - 0.5.0-1
1054 * Tue Sep
23 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.6-1
1057 * Mon Sep
8 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.5-1
1060 * Wed Jun
25 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.4-1
1062 - mostly a few bug fixes from
0.4.3
1064 * Thu Jun
12 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.3-1
1066 - lots of bug fixes and small improvements
1068 * Tue Apr
8 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.2-1
1070 - lots of bug fixes and small improvements
1072 * Mon Mar
3 2008 Daniel Veillard
<veillard@redhat.com
> - 0.4.1-1
1076 - lots of assorted improvements
, bugfixes and cleanups
1077 - documentation and localization improvements
1079 * Tue Dec
18 2007 Daniel Veillard
<veillard@redhat.com
> - 0.4.0-1
1081 - SASL based authentication
1082 - PolicyKit authentication
1083 - improved NUMA and statistics support
1084 - lots of assorted improvements
, bugfixes and cleanups
1085 - documentation and localization improvements
1087 * Sun Sep
30 2007 Daniel Veillard
<veillard@redhat.com
> - 0.3.3-1
1091 - lots of assorted improvements
, bugfixes and cleanups
1092 - documentation and localization improvements
1094 * Tue Aug
21 2007 Daniel Veillard
<veillard@redhat.com
> - 0.3.2-1
1096 - API
for domains migration
1097 - APIs
for collecting statistics on disks and interfaces
1098 - lots of assorted bugfixes and cleanups
1099 - documentation and localization improvements
1101 * Tue Jul
24 2007 Daniel Veillard
<veillard@redhat.com
> - 0.3.1-1
1103 - localtime clock support
1104 - PS
/2 and USB input devices
1105 - lots of assorted bugfixes and cleanups
1106 - documentation and localization improvements
1108 * Mon Jul
9 2007 Daniel Veillard
<veillard@redhat.com
> - 0.3.0-1
1110 - Secure remote access support
1111 - unification of daemons
1112 - lots of assorted bugfixes and cleanups
1113 - documentation and localization improvements
1115 * Fri Jun
8 2007 Daniel Veillard
<veillard@redhat.com
> - 0.2.3-1
1117 - lot of assorted bugfixes and cleanups
1118 - support
for Xen
-3.1
1121 * Tue Apr
17 2007 Daniel Veillard
<veillard@redhat.com
> - 0.2.2-1
1123 - lot of assorted bugfixes and cleanups
1124 - preparing
for Xen
-3.0.5
1126 * Thu Mar
22 2007 Jeremy Katz
<katzj@redhat.com
> - 0.2.1-2.fc7
1127 - don't require xen
; we don't need the daemon and can control non
-xen now
1128 - fix scriptlet error
(need to own more directories
)
1129 - update description text
1131 * Fri Mar
16 2007 Daniel Veillard
<veillard@redhat.com
> - 0.2.1-1
1133 - lot of bug and portability fixes
1134 - Add support
for network autostart and init scripts
1135 - New API to detect the virtualization capabilities of a host
1136 - Documentation updates
1138 * Fri Feb
23 2007 Daniel P. Berrange
<berrange@redhat.com
> - 0.2.0-4.fc7
1139 - Fix loading of guest
& network configs
1141 * Fri Feb
16 2007 Daniel P. Berrange
<berrange@redhat.com
> - 0.2.0-3.fc7
1142 - Disable kqemu support since its not
in Fedora qemu binary
1143 - Fix
for -vnc arg syntax change
in 0.9.0 QEMU
1145 * Thu Feb
15 2007 Daniel P. Berrange
<berrange@redhat.com
> - 0.2.0-2.fc7
1146 - Fixed path to qemu daemon
for autostart
1147 - Fixed generation of
<features
> block
in XML
1148 - Pre
-create config directory at startup
1150 * Wed Feb
14 2007 Daniel Veillard
<veillard@redhat.com
> 0.2.0-1.fc7
1151 - support
for KVM and QEmu
1152 - support
for network configuration
1155 * Mon Jan
22 2007 Daniel Veillard
<veillard@redhat.com
> 0.1.11-1.fc7
1156 - finish inactive Xen domains support
1158 - RelaxNG schemas
for XML configs
1160 * Wed Dec
20 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.10-1.fc7
1161 - support
for inactive Xen domains
1162 - improved support
for Xen display and vnc
1164 - localization updates
1166 * Thu Dec
7 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.9-2
1167 - rebuild against python
2.5
1169 * Wed Nov
29 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.9-1
1170 - better error reporting
1171 - python bindings fixes and extensions
1172 - add support
for shareable drives
1173 - add support
for non
-bridge style networking
1174 - hot plug device support
1175 - added support
for inactive domains
1176 - API to dump core of domains
1177 - various bug fixes
, cleanups and improvements
1178 - updated the localization
1180 * Tue Nov
7 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.8-3
1181 - it's pkgconfig not pgkconfig
!
1183 * Mon Nov
6 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.8-2
1184 - fixing spec file
, added
%dist, -devel requires pkgconfig and xen
-devel
1185 - Resolves
: rhbz
#202320
1187 * Mon Oct
16 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.8-1
1188 - fix missing page size detection code
for ia64
1189 - fix mlock size when getting domain info list from hypervisor
1190 - vcpu number initialization
1191 - don't label crashed domains as shut off
1192 - fix virsh man page
1193 - blktapdd support
for alternate drivers like blktap
1194 - memory leak fixes
(xend interface and XML parsing
)
1196 - mlock
/munlock size fixes
1198 * Fri Sep
22 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.7-1
1199 - Fix bug when running against xen
-3.0.3 hypercalls
1200 - Fix memory bug when getting vcpus info from xend
1202 * Fri Sep
22 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.6-1
1203 - Support
for localization
1204 - Support
for new Xen
-3.0.3 cdrom and disk configuration
1205 - Support
for setting VNC port
1206 - Fix bug when running against xen
-3.0.2 hypercalls
1207 - Fix reconnection problem when talking directly to http xend
1209 * Tue Sep
5 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.5-3
1210 - patch from danpb to support new
-format
cd devices
for HVM guests
1212 * Tue Sep
5 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.5-2
1213 - reactivating ia64 support
1215 * Tue Sep
5 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.5-1
1218 - support
for new hypervisor calls
1219 - early code
for config files and defined domains
1221 * Mon Sep
4 2006 Daniel Berrange
<berrange@redhat.com
> - 0.1.4-5
1222 - add patch to address dom0_ops API breakage
in Xen
3.0.3 tree
1224 * Mon Aug
28 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.4-4
1225 - add patch to support paravirt framebuffer
in Xen
1227 * Mon Aug
21 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.4-3
1228 - another patch to fix network handling
in non
-HVM guests
1230 * Thu Aug
17 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.4-2
1231 - patch to fix virParseUUID
()
1233 * Wed Aug
16 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.4-1
1234 - vCPUs and affinity support
1235 - more complete XML
, console and boot options
1236 - specific features support
1237 - enforced
read-only connections
1238 - various improvements
, bug fixes
1240 * Wed Aug
2 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.3-6
1241 - add patch from pvetere to allow getting uuid from libvirt
1243 * Wed Aug
2 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.3-5
1246 * Thu Jul
27 2006 Jeremy Katz
<katzj@redhat.com
> - 0.1.3-4
1247 - don't BR xen
, we just need xen
-devel
1249 * Thu Jul
27 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.3-3
1250 - need rebuild since libxenstore is now versionned
1252 * Mon Jul
24 2006 Mark McLoughlin
<markmc@redhat.com
> - 0.1.3-2
1253 - Add BuildRequires
: xen
-devel
1255 * Wed Jul
12 2006 Jesse Keating
<jkeating@redhat.com
> - 0.1.3-1.1
1258 * Tue Jul
11 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.3-1
1259 - support
for HVM Xen guests
1262 * Mon Jul
3 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.2-1
1263 - added a proxy mechanism
for read only access using httpu
1264 - fixed header includes paths
1266 * Wed Jun
21 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.1-1
1267 - extend and cleanup the driver infrastructure and code
1269 - extend uuid support
1270 - bug fixes
, buffer handling cleanups
1271 - support
for new Xen hypervisor API
1272 - test driver
for unit testing
1273 - virsh
--conect argument
1275 * Mon Apr
10 2006 Daniel Veillard
<veillard@redhat.com
> 0.1.0-1
1277 - new APIs
: for Node information and Reboot
1278 - virsh improvements and extensions
1279 - documentation updates and man page
1280 - enhancement and fixes of the XML description format
1282 * Tue Feb
28 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.6-1
1283 - added error handling APIs
1285 - improve python bindings
1286 - augment documentation and regression tests
1288 * Thu Feb
23 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.5-1
1289 - new domain creation API
1290 - new UUID based APIs
1291 - more tests
, documentation
, devhelp
1294 * Fri Feb
10 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.4-1
1295 - fixes some problems
in 0.0.3 due to the change of names
1297 * Wed Feb
8 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.3-1
1298 - changed library name to libvirt from libvir
, complete and
test the python
1301 * Sun Jan
29 2006 Daniel Veillard
<veillard@redhat.com
> 0.0.2-1
1302 - upstream release of
0.0.2, use xend
, save and restore added
, python bindings
1305 * Wed Nov
2 2005 Daniel Veillard
<veillard@redhat.com
> 0.0.1-1