TEMP comment out libvirtd.stp
[libvirt/apevec.git] / libvirt.spec.in
blobceb65c14513b5bedc1e431c8ed0ab61fb25288b6
1 # -*- rpm-spec -*-
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
6 %define client_only 0
8 # Now turn off server build in certain cases
10 # RHEL-5 builds are client-only for s390, ppc
11 %if 0%{?rhel} == 5
12 %ifnarch i386 i586 i686 x86_64 ia64
13 %define client_only 1
14 %endif
15 %endif
17 # Disable all server side drivers if client only build requested
18 %if %{client_only}
19 %define server_drivers 0
20 %else
21 %define server_drivers 1
22 %endif
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
81 %define with_xen 0
82 %endif
84 # Numactl is not available on s390[x]
85 %ifarch s390 s390x
86 %define with_numactl 0
87 %endif
89 # RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor, ESX,
90 # or libxenserver (xenapi)
91 %if 0%{?rhel}
92 %define with_openvz 0
93 %define with_vbox 0
94 %define with_uml 0
95 %define with_one 0
96 %define with_phyp 0
97 %define with_esx 0
98 %define with_xenapi 0
99 %endif
101 # RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
102 %if 0%{?rhel} == 5
103 %ifnarch x86_64
104 %define with_qemu 0
105 %endif
106 %define with_lxc 0
107 %endif
109 # RHEL-6 has restricted QEMU to x86_64 only, stopped including Xen
110 # on all archs. Other archs all have LXC available though
111 %if 0%{?rhel} >= 6
112 %ifnarch x86_64
113 %define with_qemu 0
114 %endif
115 %define with_xen 0
116 %endif
118 # If Xen isn't turned on, we shouldn't build the xen proxy either
119 %if ! %{with_xen}
120 %define with_xen_proxy 0
121 %endif
123 # Fedora doesn't have any QEMU on ppc64 - only ppc
124 %if 0%{?fedora}
125 %ifarch ppc64
126 %define with_qemu 0
127 %endif
128 %endif
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
135 %endif
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}
140 %endif
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}}
145 %endif
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}}
150 %else
151 %define with_hal 0%{!?_without_hal:%{server_drivers}}
152 %endif
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}}
157 %endif
159 # Enable libpcap library
160 %if %{with_qemu}
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}}
164 %endif
166 %if %{with_macvtap}
167 %define with_libnl 1
168 %endif
170 %if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
171 %define with_audit 0%{!?_without_audit:1}
172 %endif
174 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
175 %define with_dtrace 1
176 %endif
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
182 %else
183 %define qemu_user root
184 %define qemu_group root
185 %endif
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
190 %if 0%{?rhel} == 5
191 %define with_rhel5 1
192 %else
193 %define with_rhel5 0
194 %endif
197 Summary: Library providing a simple API virtualization
198 Name: libvirt
199 Version: @VERSION@
200 Release: 1%{?dist}%{?extra_release}
201 License: LGPLv2+
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
212 # daemon is present
213 %if %{with_libvirtd}
214 Requires: bridge-utils
215 %endif
216 %if %{with_network}
217 Requires: dnsmasq >= 2.41
218 Requires: iptables
219 %endif
220 %if %{with_nwfilter}
221 Requires: ebtables
222 Requires: iptables
223 Requires: iptables-ipv6
224 %endif
225 # needed for device enumeration
226 %if %{with_hal}
227 Requires: hal
228 %endif
229 %if %{with_udev}
230 Requires: udev >= 145
231 %endif
232 %if %{with_polkit}
233 %if 0%{?fedora} >= 12 || 0%{?rhel} >=6
234 Requires: polkit >= 0.93
235 %else
236 Requires: PolicyKit >= 0.6
237 %endif
238 %endif
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
244 Requires: nfs-utils
245 # For glusterfs
246 %if 0%{?fedora} >= 11
247 Requires: glusterfs-client >= 2.0.1
248 %endif
249 %endif
250 %if %{with_qemu}
251 # From QEMU RPMs
252 Requires: /usr/bin/qemu-img
253 # For image compression
254 Requires: gzip
255 Requires: bzip2
256 Requires: lzop
257 Requires: xz
258 %else
259 %if %{with_xen}
260 # From Xen RPMs
261 Requires: /usr/sbin/qcow-create
262 %endif
263 %endif
264 %if %{with_storage_lvm}
265 # For LVM drivers
266 Requires: lvm2
267 %endif
268 %if %{with_storage_iscsi}
269 # For ISCSI driver
270 Requires: iscsi-initiator-utils
271 %endif
272 %if %{with_storage_disk}
273 # For disk driver
274 Requires: parted
275 %endif
276 %if %{with_storage_mpath}
277 # For multipath support
278 Requires: device-mapper
279 %endif
280 %if %{with_xen}
281 BuildRequires: xen-devel
282 %endif
283 %if %{with_one}
284 BuildRequires: xmlrpc-c-devel >= 1.14.0
285 %endif
286 BuildRequires: libxml2-devel
287 BuildRequires: xhtml1-dtds
288 BuildRequires: readline-devel
289 BuildRequires: ncurses-devel
290 BuildRequires: gettext
291 BuildRequires: gnutls-devel
292 %if %{with_hal}
293 BuildRequires: hal-devel
294 %endif
295 %if %{with_udev}
296 BuildRequires: libudev-devel >= 145
297 BuildRequires: libpciaccess-devel >= 0.10.9
298 %endif
299 %if %{with_yajl}
300 BuildRequires: yajl-devel
301 %endif
302 %if %{with_libpcap}
303 BuildRequires: libpcap-devel
304 %endif
305 %if %{with_libnl}
306 BuildRequires: libnl-devel
307 %endif
308 %if %{with_avahi}
309 BuildRequires: avahi-devel
310 %endif
311 %if %{with_selinux}
312 BuildRequires: libselinux-devel
313 %endif
314 %if %{with_network}
315 BuildRequires: dnsmasq >= 2.41
316 %endif
317 BuildRequires: bridge-utils
318 %if %{with_sasl}
319 BuildRequires: cyrus-sasl-devel
320 %endif
321 %if %{with_polkit}
322 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
323 # Only need the binary, not -devel
324 BuildRequires: polkit >= 0.93
325 %else
326 BuildRequires: PolicyKit-devel >= 0.6
327 %endif
328 %endif
329 %if %{with_storage_fs}
330 # For mount/umount in FS driver
331 BuildRequires: util-linux
332 %endif
333 %if %{with_qemu}
334 # From QEMU RPMs
335 BuildRequires: /usr/bin/qemu-img
336 %else
337 %if %{with_xen}
338 # From Xen RPMs
339 BuildRequires: /usr/sbin/qcow-create
340 %endif
341 %endif
342 %if %{with_storage_lvm}
343 # For LVM drivers
344 BuildRequires: lvm2
345 %endif
346 %if %{with_storage_iscsi}
347 # For ISCSI driver
348 BuildRequires: iscsi-initiator-utils
349 %endif
350 %if %{with_storage_disk}
351 # For disk driver
352 BuildRequires: parted-devel
353 %if 0%{?rhel} == 5
354 # Broken RHEL-5 parted RPM is missing a dep
355 BuildRequires: e2fsprogs-devel
356 %endif
357 %endif
358 %if %{with_storage_mpath}
359 # For Multipath support
360 %if 0%{?rhel} == 5
361 # Broken RHEL-5 packaging has header files in main RPM :-(
362 BuildRequires: device-mapper
363 %else
364 BuildRequires: device-mapper-devel
365 %endif
366 %endif
367 %if %{with_numactl}
368 # For QEMU/LXC numa info
369 BuildRequires: numactl-devel
370 %endif
371 %if %{with_capng}
372 BuildRequires: libcap-ng-devel >= 0.5.0
373 %endif
374 %if %{with_phyp}
375 BuildRequires: libssh2-devel
376 %endif
377 %if %{with_netcf}
378 BuildRequires: netcf-devel >= 0.1.4
379 %endif
380 %if %{with_esx}
381 BuildRequires: libcurl-devel
382 %endif
383 %if %{with_audit}
384 BuildRequires: audit-libs-devel
385 %endif
387 # Fedora build root suckage
388 BuildRequires: gawk
390 %description
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.
395 %package client
396 Summary: Client side library and utilities of the libvirt library
397 Group: Development/Libraries
398 Requires: readline
399 Requires: ncurses
400 # So remote clients can access libvirt over SSH tunnel
401 # (client invokes 'nc' against the UNIX socket on the server)
402 Requires: nc
403 %if %{with_sasl}
404 Requires: cyrus-sasl
405 # Not technically required, but makes 'out-of-box' config
406 # work correctly & doesn't have onerous dependencies
407 Requires: cyrus-sasl-md5
408 %endif
410 %description client
411 Shared libraries and client binaries needed to access to the
412 virtualization capabilities of recent versions of Linux (and other OSes).
414 %package devel
415 Summary: Libraries, includes, etc. to compile with the libvirt library
416 Group: Development/Libraries
417 Requires: %{name}-client = %{version}-%{release}
418 Requires: pkgconfig
419 %if %{with_xen}
420 Requires: xen-devel
421 %endif
423 %description devel
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).
427 %if %{with_python}
428 %package python
429 Summary: Python bindings for the libvirt library
430 Group: Development/Libraries
431 Requires: %{name}-client = %{version}-%{release}
433 %description python
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).
438 %endif
440 %prep
441 %setup -q
443 %build
444 %if ! %{with_xen}
445 %define _without_xen --without-xen
446 %endif
448 %if ! %{with_qemu}
449 %define _without_qemu --without-qemu
450 %endif
452 %if ! %{with_openvz}
453 %define _without_openvz --without-openvz
454 %endif
456 %if ! %{with_lxc}
457 %define _without_lxc --without-lxc
458 %endif
460 %if ! %{with_vbox}
461 %define _without_vbox --without-vbox
462 %endif
464 %if ! %{with_xenapi}
465 %define _without_xenapi --without-xenapi
466 %endif
468 %if ! %{with_sasl}
469 %define _without_sasl --without-sasl
470 %endif
472 %if ! %{with_avahi}
473 %define _without_avahi --without-avahi
474 %endif
476 %if ! %{with_phyp}
477 %define _without_phyp --without-phyp
478 %endif
480 %if ! %{with_esx}
481 %define _without_esx --without-esx
482 %endif
484 %if ! %{with_polkit}
485 %define _without_polkit --without-polkit
486 %endif
488 %if ! %{with_python}
489 %define _without_python --without-python
490 %endif
492 %if ! %{with_libvirtd}
493 %define _without_libvirtd --without-libvirtd
494 %endif
496 %if ! %{with_uml}
497 %define _without_uml --without-uml
498 %endif
500 %if ! %{with_one}
501 %define _without_one --without-one
502 %endif
504 %if %{with_rhel5}
505 %define _with_rhel5_api --with-rhel5-api
506 %endif
508 %if ! %{with_network}
509 %define _without_network --without-network
510 %endif
512 %if ! %{with_storage_fs}
513 %define _without_storage_fs --without-storage-fs
514 %endif
516 %if ! %{with_storage_lvm}
517 %define _without_storage_lvm --without-storage-lvm
518 %endif
520 %if ! %{with_storage_iscsi}
521 %define _without_storage_iscsi --without-storage-iscsi
522 %endif
524 %if ! %{with_storage_disk}
525 %define _without_storage_disk --without-storage-disk
526 %endif
528 %if ! %{with_storage_mpath}
529 %define _without_storage_mpath --without-storage-mpath
530 %endif
532 %if ! %{with_numactl}
533 %define _without_numactl --without-numactl
534 %endif
536 %if ! %{with_capng}
537 %define _without_capng --without-capng
538 %endif
540 %if ! %{with_netcf}
541 %define _without_netcf --without-netcf
542 %endif
544 %if ! %{with_selinux}
545 %define _without_selinux --without-selinux
546 %endif
548 %if ! %{with_hal}
549 %define _without_hal --without-hal
550 %endif
552 %if ! %{with_udev}
553 %define _without_udev --without-udev
554 %endif
556 %if ! %{with_yajl}
557 %define _without_yajl --without-yajl
558 %endif
560 %if ! %{with_libpcap}
561 %define _without_libpcap --without-libpcap
562 %endif
564 %if ! %{with_macvtap}
565 %define _without_macvtap --without-macvtap
566 %endif
568 %if ! %{with_audit}
569 %define _without_audit --without-audit
570 %endif
572 %if ! %{with_dtrace}
573 %define _without_dtrace --without-dtrace
574 %endif
576 %configure %{?_without_xen} \
577 %{?_without_qemu} \
578 %{?_without_openvz} \
579 %{?_without_lxc} \
580 %{?_without_vbox} \
581 %{?_without_xenapi} \
582 %{?_without_sasl} \
583 %{?_without_avahi} \
584 %{?_without_polkit} \
585 %{?_without_python} \
586 %{?_without_libvirtd} \
587 %{?_without_uml} \
588 %{?_without_one} \
589 %{?_without_phyp} \
590 %{?_without_esx} \
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} \
599 %{?_without_capng} \
600 %{?_without_netcf} \
601 %{?_without_selinux} \
602 %{?_without_hal} \
603 %{?_without_udev} \
604 %{?_without_yajl} \
605 %{?_without_libpcap} \
606 %{?_without_macvtap} \
607 %{?_without_audit} \
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
613 make %{?_smp_mflags}
614 gzip -9 ChangeLog
616 %install
617 rm -fr %{buildroot}
619 %makeinstall
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)
623 done
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
629 %if %{with_network}
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
641 %else
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
644 %endif
645 %if ! %{with_qemu}
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
648 %endif
649 %find_lang %{name}
651 %if ! %{with_lxc}
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
654 %endif
656 %if ! %{with_python}
657 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
658 %endif
660 %if %{client_only}
661 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version}
662 %endif
664 %if ! %{with_libvirtd}
665 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/nwfilter
666 %endif
668 %if ! %{with_qemu}
669 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
670 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
671 %endif
672 %if ! %{with_lxc}
673 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/lxc.conf
674 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.lxc
675 %endif
676 %if ! %{with_uml}
677 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml
678 %endif
680 %clean
681 rm -fr %{buildroot}
683 #%check
684 #cd tests
685 ## These 3 tests don't current work in a mock build root
686 #for i in nodeinfotest daemon-conf seclabeltest
688 # rm -f $i
689 # printf "#!/bin/sh\nexit 0\n" > $i
690 # chmod +x $i
691 #done
692 #make check
694 %pre
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 \
703 -c "qemu user" qemu
704 %endif
706 %post
708 %if %{with_libvirtd}
709 %if %{with_network}
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
715 then
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
722 %endif
724 /sbin/chkconfig --add libvirtd
725 if [ "$1" -ge "1" ]; then
726 /sbin/service libvirtd condrestart > /dev/null 2>&1
728 %endif
730 %preun
731 %if %{with_libvirtd}
732 if [ $1 = 0 ]; then
733 /sbin/service libvirtd stop 1>/dev/null 2>&1
734 /sbin/chkconfig --del libvirtd
736 %endif
738 %preun client
740 if [ $1 = 0 ]; then
741 /sbin/chkconfig --del libvirt-guests
742 rm -f /var/lib/libvirt/libvirt-guests
745 %post client
747 /sbin/ldconfig
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
757 %if %{with_libvirtd}
758 %files
759 %defattr(-, root, root)
761 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
762 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
764 %if %{with_network}
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
768 %endif
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
776 %if %{with_dtrace}
777 # XXX that file was not found in my rpmbuild...
778 #%{_datadir}/systemtap/tapsets/libvirtd.stp
779 %endif
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/
784 %if %{with_qemu}
785 %config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
786 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
787 %endif
788 %if %{with_lxc}
789 %config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
790 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
791 %endif
792 %if %{with_uml}
793 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.uml
794 %endif
796 %dir %{_datadir}/libvirt/
798 %if %{with_network}
799 %dir %{_datadir}/libvirt/networks/
800 %{_datadir}/libvirt/networks/default.xml
801 %endif
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/
810 %if %{with_qemu}
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/
814 %endif
815 %if %{with_lxc}
816 %dir %{_localstatedir}/run/libvirt/lxc/
817 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
818 %endif
819 %if %{with_uml}
820 %dir %{_localstatedir}/run/libvirt/uml/
821 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
822 %endif
823 %if %{with_network}
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/
827 %endif
829 %if %{with_qemu}
830 %{_datadir}/augeas/lenses/libvirtd_qemu.aug
831 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
832 %endif
834 %if %{with_lxc}
835 %{_datadir}/augeas/lenses/libvirtd_lxc.aug
836 %{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
837 %endif
839 %{_datadir}/augeas/lenses/libvirtd.aug
840 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug
842 %if %{with_polkit}
843 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
844 %{_datadir}/polkit-1/actions/org.libvirt.unix.policy
845 %else
846 %{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
847 %endif
848 %endif
850 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
852 %if %{with_xen_proxy}
853 %attr(4755, root, root) %{_libexecdir}/libvirt_proxy
854 %endif
856 %if %{with_lxc}
857 %attr(0755, root, root) %{_libexecdir}/libvirt_lxc
858 %endif
860 %attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
861 %attr(0755, root, root) %{_sbindir}/libvirtd
863 %{_mandir}/man8/libvirtd.8*
865 %doc docs/*.xml
866 %endif
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*
875 %{_bindir}/virsh
876 %{_bindir}/virt-xml-validate
877 %{_bindir}/virt-pki-validate
878 %{_libdir}/lib*.so.*
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
901 %if %{with_sasl}
902 %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
903 %endif
905 %files devel
906 %defattr(-, root, root)
908 %{_libdir}/lib*.so
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
925 %doc examples/xml
926 %doc examples/systemtap
928 %if %{with_python}
929 %files python
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
936 %doc python/TODO
937 %doc examples/python
938 %doc examples/domain-events/events-python
939 %endif
941 %changelog
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
978 - XenAPI driver
979 - new APIs for domain events
980 - Libvirt managed save API
981 - timer subselection for domain clock
982 - synchronous hooks
983 - API to update guest CPU to host CPU
984 - virDomainUpdateDeviceFlags new API
985 - migrate max downtime API
986 - volume wiping API
987 - and many bug fixes
989 * Fri Mar 5 2010 Daniel Veillard <veillard@redhat.com> - 0.7.7-1
990 - macvtap support
991 - async job handling
992 - virtio channel
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
1004 - a lot of fixes
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
1012 - a lot of fixes
1014 * Tue Sep 15 2009 Daniel Veillard <veillard@redhat.com> - 0.7.1-1
1015 - ESX, VBox driver updates
1016 - mutipath support
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
1021 - a lot of fixes
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
1030 - a lot of fixes
1032 * Fri Jul 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.5-1
1033 - release of 0.6.5
1035 * Fri May 29 2009 Daniel Veillard <veillard@redhat.com> - 0.6.4-1
1036 - release of 0.6.4
1037 - various new APIs
1039 * Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1
1040 - release of 0.6.3
1041 - VirtualBox driver
1043 * Fri Apr 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.2-1
1044 - release of 0.6.2
1046 * Fri Mar 4 2009 Daniel Veillard <veillard@redhat.com> - 0.6.1-1
1047 - release of 0.6.1
1049 * Sat Jan 31 2009 Daniel Veillard <veillard@redhat.com> - 0.6.0-1
1050 - release of 0.6.0
1052 * Tue Nov 25 2008 Daniel Veillard <veillard@redhat.com> - 0.5.0-1
1053 - release of 0.5.0
1055 * Tue Sep 23 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-1
1056 - release of 0.4.6
1058 * Mon Sep 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.5-1
1059 - release of 0.4.5
1061 * Wed Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1
1062 - release of 0.4.4
1063 - mostly a few bug fixes from 0.4.3
1065 * Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1
1066 - release of 0.4.3
1067 - lots of bug fixes and small improvements
1069 * Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1
1070 - release of 0.4.2
1071 - lots of bug fixes and small improvements
1073 * Mon Mar 3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1
1074 - Release of 0.4.1
1075 - Storage APIs
1076 - xenner support
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
1081 - Release of 0.4.0
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
1089 - Release of 0.3.3
1090 - Avahi support
1091 - NUMA support
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
1096 - Release of 0.3.2
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
1103 - Release of 0.3.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
1110 - Release of 0.3.0
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
1117 - Release of 0.2.3
1118 - lot of assorted bugfixes and cleanups
1119 - support for Xen-3.1
1120 - new scheduler API
1122 * Tue Apr 17 2007 Daniel Veillard <veillard@redhat.com> - 0.2.2-1
1123 - Release of 0.2.2
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
1133 - Release of 0.2.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
1154 - assorted fixes
1156 * Mon Jan 22 2007 Daniel Veillard <veillard@redhat.com> 0.1.11-1.fc7
1157 - finish inactive Xen domains support
1158 - memory leak fix
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
1164 - a few bug fixes
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)
1196 - compile fix
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
1217 - new release
1218 - bug fixes
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
1245 - build on ia64 now
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
1257 - rebuild
1259 * Tue Jul 11 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-1
1260 - support for HVM Xen guests
1261 - various bugfixes
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
1269 - python examples
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
1277 - various fixes
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
1285 - small bug fixes
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
1293 - bug fixes
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
1300 bindings
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
1304 fixed
1306 * Wed Nov 2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1
1307 - created