2 # - wireshark-dissector
3 # - seems that lxc patch is not needed anymore, verify that before removing
4 # - pldize virtlockd.init
7 %bcond_without ceph # RADOS BD (Ceph) storage support
8 %bcond_without esx # VMware ESX support
9 %bcond_without glusterfs # GlusterFS storage support
10 %bcond_without hyperv # Hyper-V support
11 %bcond_without libxl # libxenlight support
12 %bcond_without lxc # LXC support
13 %bcond_without netcf # host interfaces support
14 %bcond_without openvz # OpenVZ support
15 %bcond_without phyp # PHYP support
16 %bcond_without polkit # PolicyKit support
17 %bcond_without qemu # Qemu support
18 %bcond_without sanlock # sanlock storage lock manager
19 %bcond_without systemtap # systemtap/dtrace probes
20 %bcond_without uml # UML support
21 %bcond_without vbox # VirtualBox support
22 %bcond_without vmware # VMware Workstation/Player support
23 %bcond_without xenapi # Xen API (Citrix XenServer) support
24 %bcond_without xen # Xen support
25 %bcond_without static_libs # static libraries build
27 # qemu available only on x86 and ppc
28 %ifnarch %{ix86} %{x8664} ppc
32 # Xen is available only on x86 and ia64
33 %ifnarch %{ix86} %{x8664} ia64
39 Summary: Toolkit to interact with virtualization capabilities
40 Summary(pl.UTF-8): Narzędzia współpracujące z funkcjami wirtualizacji
46 Source0: ftp://ftp.libvirt.org/libvirt/%{name}-%{version}.tar.gz
47 # Source0-md5: b48b06bbc7efbe9973ed0f3f223d6da2
49 Patch0: %{name}-sasl.patch
50 Patch2: %{name}-qemu-acl.patch
51 Patch3: %{name}-xend.patch
52 Patch5: %{name}-udevadm-settle.patch
53 Patch7: bashisms.patch
54 Patch8: %{name}-guests.init.patch
55 Patch9: %{name}-sysctl-dir.patch
56 URL: http://www.libvirt.org/
57 BuildRequires: audit-libs-devel
58 BuildRequires: augeas-devel
59 BuildRequires: autoconf >= 2.50
60 BuildRequires: automake
61 BuildRequires: avahi-devel >= 0.6.0
62 %{?with_ceph:BuildRequires: ceph-devel}
63 BuildRequires: curl-devel >= 7.18.0
64 BuildRequires: cyrus-sasl-devel
65 BuildRequires: dbus-devel >= 1.0.0
66 BuildRequires: device-mapper-devel >= 1.0.0
68 BuildRequires: gettext-tools >= 0.17
69 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4.1}
70 BuildRequires: gnutls-devel >= 1.0.25
71 BuildRequires: libapparmor-devel
72 BuildRequires: libblkid-devel >= 2.17
73 BuildRequires: libcap-ng-devel >= 0.4.0
74 BuildRequires: libfuse-devel >= 2.8.6
75 BuildRequires: libgcrypt-devel
76 BuildRequires: libnl-devel >= 3.2
77 BuildRequires: libpcap-devel >= 1.0.0
78 BuildRequires: libselinux-devel >= 2.0.82
79 BuildRequires: libssh2-devel >= 1.3
80 BuildRequires: libtool
81 %{?with_xenapi:BuildRequires: libxenserver-devel}
82 BuildRequires: libxml2-devel >= 1:2.6.0
83 BuildRequires: libxslt-devel
84 BuildRequires: ncurses-devel
85 %{?with_netcf:BuildRequires: netcf-devel >= 0.2.0}
86 BuildRequires: numactl-devel
87 BuildRequires: openldap-devel
88 %{?with_hyperv:BuildRequires: openwsman-devel >= 2.2.3}
89 BuildRequires: parted-devel >= 1.8.0
90 BuildRequires: pkgconfig
92 %{?with_polkit:BuildRequires: polkit-devel >= 0.90}
93 BuildRequires: readline-devel
94 BuildRequires: rpmbuild(macros) >= 1.627
95 %{?with_sanlock:BuildRequires: sanlock-devel >= 0.8}
96 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
97 BuildRequires: sheepdog
98 BuildRequires: udev-devel >= 1:145
99 %{?with_xen:BuildRequires: xen-devel >= 4.2}
101 BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0
102 BuildRequires: yajl-devel
103 Requires: curl-libs >= 7.18.0
104 Requires: device-mapper >= 1.0.0
105 Requires: libcap-ng >= 0.4.0
106 Requires: libnl >= 3.2
107 Requires: libpcap >= 1.0.0
108 Requires: libselinux >= 2.0.82
109 Requires: libssh2 >= 1.3
110 Requires: libxml2 >= 1:2.6.0
111 %{?with_hyperv:Requires: openwsman-libs >= 2.2.3}
112 Obsoletes: libvirt-daemon-esx
113 Obsoletes: libvirt-daemon-hyperv
114 Obsoletes: libvirt-daemon-openvz
115 Obsoletes: libvirt-daemon-phyp
116 Obsoletes: libvirt-daemon-vbox
117 Obsoletes: libvirt-daemon-vmware
118 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
121 Libvirt is a C toolkit to interact with the virtualization
122 capabilities of recent versions of Linux.
124 Virtualization of the Linux Operating System means the ability to run
125 multiple instances of Operating Systems concurently on a single
126 hardware system where the basic resources are driven by a Linux
127 instance. The library aim at providing long term stable C API
128 initially for the Xen paravirtualization but should be able to
129 integrate other virtualization mechanisms if needed.
131 This package contains the base libraries and configuration file.
133 %description -l pl.UTF-8
134 Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji
135 obecnych wersji Linuksa.
137 Wirtualizacja w systemie operacyjnym Linux oznacza możliwość
138 jednoczesnego uruchamiania wielu instancji systemu operacyjnego na
139 pojedynczym systemie sprzętowym, którego podstawowe zasoby są
140 zarządzane przez instancję Linuksa. Celem biblioteki jest zapewnienie
141 długotrwale stabilnego API C, początkowo do parawirtualizacji Xen, ale
142 dającej się zintegrować w razie potrzeby z innymi mechanizmami
145 Ten pakiet zawiera podstawowe biblioteki oraz plik konfiguracyjny.
148 Summary: Development files for programs using libvirt
149 Summary(pl.UTF-8): Pliki programistyczne do programów wykorzystujących libvirt
150 Group: Development/Libraries
151 Requires: %{name} = %{version}-%{release}
152 Requires: audit-libs-devel
153 Requires: curl-devel >= 7.18.0
154 Requires: dbus-devel >= 1.0.0
155 Requires: device-mapper-devel >= 1.0.0
156 Requires: gnutls-devel >= 1.0.25
157 Requires: libapparmor-devel
158 Requires: libcap-ng-devel >= 0.4.0
159 Requires: libgcrypt-devel
160 Requires: libnl-devel >= 3.2
161 Requires: libpcap-devel >= 1.0.0
162 Requires: libselinux-devel >= 2.0.82
163 Requires: libxml2-devel >= 1:2.6.0
164 Requires: numactl-devel
165 %{?with_hyperv:Requires: openwsman-devel >= 2.2.3}
166 %{?with_xen:Requires: xen-devel >= 4.2}
170 Libvirt is a C toolkit to interact with the virtualization
171 capabilities of recent versions of Linux.
173 This package contains the header files needed for developing programs
174 using the libvirt library.
176 %description devel -l pl.UTF-8
177 Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji
178 obecnych wersji Linuksa.
180 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
181 wykorzystujących bibliotekę libvirt.
184 Summary: Development static libraries for programs using libvirt
185 Summary(pl.UTF-8): Statyczne biblioteki programistyczne do programów wykorzystujących libvirt
186 Group: Development/Libraries
187 Requires: %{name}-devel = %{version}-%{release}
190 Libvirt is a C toolkit to interact with the virtualization
191 capabilities of recent versions of Linux.
193 This package contains the static libraries for developing programs
194 using the libvirt library.
196 %description static -l pl.UTF-8
197 Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji
198 obecnych wersji Linuksa.
200 Ten pakiet zawiera biblioteki statyczne do tworzenia programów
201 wykorzystujących bibliotekę libvirt.
203 %package lock-sanlock
204 Summary: Sanlock lock manager plugin for libvirt
205 Summary(pl.UTF-8): Zarządca blokad sanlock dla biblioteki libvirt
207 Requires: %{name}-daemon = %{version}-%{release}
209 %description lock-sanlock
210 Sanlock lock manager plugin for libvirt.
212 %description lock-sanlock -l pl.UTF-8
213 Zarządca blokad sanlock dla biblioteki libvirt.
216 Summary: Server side daemon and supporting files for libvirt library
217 Summary(pl.UTF-8): Demon działający po stronie serwera oraz pliki wspierające dla biblioteki libvirt
218 Group: Applications/System
219 Requires: %{name} = %{version}-%{release}
220 Requires: avahi-libs >= 0.6.0
222 Requires: libblkid >= 2.17
223 %{?with_netcf:Requires: netcf >= 0.2.0}
224 Requires: parted-libs >= 1.8.0
225 # Needed for probing the power management features of the host.
229 Requires: udev-libs >= 1:145
231 Requires: virtual(module-tools)
232 Requires: xorg-lib-libpciaccess >= 0.10.0
233 Requires(post,preun): /sbin/chkconfig
234 Suggests: bridge-utils
236 Suggests: cyrus-sasl-digest-md5
238 Suggests: dnsmasq >= 2.41
241 Suggests: glusterfs-client >= 2.0.1
248 Suggests: parted >= 1.8.0
249 Suggests: polkit >= 0.93
252 Provides: libvirt(hypervisor)
255 Server side daemon required to manage the virtualization capabilities
256 of recent versions of Linux. Requires a hypervisor specific sub-RPM
257 for specific drivers.
259 %description daemon -l pl.UTF-8
260 Demon działający po stronie serwera wymagany do zarządzania funkcjami
261 wirtualizacji nowych wersji Linuksa. Wymaga podpakietu specyficznego
264 %package daemon-libxl
265 Summary: Server side driver required to run XEN guests (xenlight)
266 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości XEN (xenlight)
268 Requires: %{name}-daemon = %{version}-%{release}
269 Requires: /usr/sbin/qcow-create
271 Provides: libvirt(hypervisor)
273 %description daemon-libxl
274 Server side driver required to manage the virtualization capabilities
275 of XEN via xenlight interface.
277 %description daemon-libxl -l pl.UTF-8
278 Sterownik wymagany po stronie serwera do zarządzania funkcjami
279 wirtualizacji XEN poprzez interfejs xenlight.
282 Summary: Server side driver required to run LXC guests
283 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości LXC
285 Requires: %{name}-daemon = %{version}-%{release}
286 Requires: libfuse >= 2.8.6
287 Provides: libvirt(hypervisor)
289 %description daemon-lxc
290 Server side driver required to manage the virtualization capabilities
293 %description daemon-lxc -l pl.UTF-8
294 Sterownik wymagany po stronie serwera do zarządzania funkcjami
298 Summary: Server side driver required to run QEMU guests
299 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości QEMU
301 Requires: %{name}-daemon = %{version}-%{release}
302 Requires: /usr/bin/qemu-img
306 Requires: qemu-system-x86
308 Provides: libvirt(hypervisor)
310 %description daemon-qemu
311 Server side driver required to manage the virtualization capabilities
312 of the QEMU emulators.
314 %description daemon-qemu -l pl.UTF-8
315 Sterownik wymagany po stronie serwera do zarządzania funkcjami
316 wirtualizacji emulatora QEMU.
319 Summary: Server side driver required to run UML guests
320 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości UML
322 Requires: %{name}-daemon = %{version}-%{release}
323 Provides: libvirt(hypervisor)
325 %description daemon-uml
326 Server side driver required to manage the virtualization capabilities
329 %description daemon-uml -l pl.UTF-8
330 Sterownik wymagany po stronie serwera do zarządzania funkcjami
334 Summary: Server side driver required to run XEN guests
335 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości XEN
337 Requires: %{name}-daemon = %{version}-%{release}
338 Requires: /usr/sbin/qcow-create
341 Provides: libvirt(hypervisor)
343 %description daemon-xen
344 Server side driver required to manage the virtualization capabilities
347 %description daemon-xen -l pl.UTF-8
348 Sterownik wymagany po stronie serwera do zarządzania funkcjami
352 Summary: Client side utilities of the libvirt library
353 Summary(pl.UTF-8): Narzędzia klienckie do biblioteki libvirt
354 Group: Applications/System
355 Requires: %{name} = %{version}-%{release}
356 Requires: gettext >= 0.18.1.1-6
357 Requires: gnutls >= 1.0.25
358 Requires: netcat-openbsd
360 Requires(post,preun): /sbin/chkconfig
363 Client binaries needed to access to the virtualization capabilities of
364 recent versions of Linux (and other OSes).
366 %description client -l pl.UTF-8
367 Programy klienckie potrzebne do funkcji wirtualizacji nowych wersji
368 Linuksa (oraz innych systemów operacyjnych).
371 Summary: Tools to interact with virtualization capabilities (metapackage)
372 Summary(pl.UTF-8): Narzędzia do współpracy z funkcjami wirtualizacyjnymi (metapakiet)
373 Group: Applications/System
374 Requires: %{name}-client = %{version}-%{release}
375 Requires: %{name}-daemon = %{version}-%{release}
376 %{?with_libxl:Requires: %{name}-daemon-libxl = %{version}-%{release}}
377 Requires: %{name}-daemon-lxc = %{version}-%{release}
378 Requires: %{name}-daemon-qemu = %{version}-%{release}
379 Requires: %{name}-daemon-uml = %{version}-%{release}
380 Requires: %{name}-daemon-xen = %{version}-%{release}
383 Libvirt is a C toolkit to interact with the virtualization
384 capabilities of recent versions of Linux.
386 This is metapackage gathering all tools for the libvirt library.
388 %description utils -l pl.UTF-8
389 Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji
390 obecnych wersji Linuksa.
392 To jest metapakiet zbierający wszystkie narzędzia przeznaczone dla
395 %package -n systemtap-libvirt
396 Summary: systemtap/dtrace probes for libvirt
397 Summary(pl.UTF-8): Sondy systemtap/dtrace dla libvirt
398 Group: Development/Tools
399 Requires: %{name} = %{version}-%{release}
400 Requires: systemtap-client
402 %description -n systemtap-libvirt
403 systemtap/dtrace probes for libvirt.
405 %description -n systemtap-libvirt -l pl.UTF-8
406 Sondy systemtap/dtrace dla libvirt.
426 PVCREATE=/sbin/pvcreate \
427 VGCREATE=/sbin/vgcreate \
428 LVCREATE=/sbin/lvcreate \
429 PVREMOVE=/sbin/pvremove \
430 VGREMOVE=/sbin/vgremove \
431 LVREMOVE=/sbin/lvremove \
432 VGCHANGE=/sbin/vgchange \
433 LVCHANGE=/sbin/lvchange \
434 VGSCAN=/sbin/vgscan \
440 ISCSIADM=/sbin/iscsiadm \
441 SHOWMOUNT=/usr/sbin/showmount \
445 SHOWMOUNT=/usr/sbin/showmount \
446 IPTABLES_PATH=/usr/sbin/iptables \
447 IP6TABLES_PATH=/usr/sbin/ip6tables \
448 EBTABLES_PATH=/usr/sbin/ebtables \
449 ISCSIADM=/sbin/iscsiadm \
450 DNSMASQ=/usr/sbin/dnsmasq \
451 RADVD=/usr/sbin/radvd \
452 UDEVADM=/sbin/udevadm \
453 MODPROBE=/sbin/modprobe \
454 SCRUB=/usr/bin/scrub \
455 OVSVSCTL=/usr/bin/ovs-vsctl \
456 NUMAD=/usr/bin/numad \
457 COLLIE=/usr/sbin/collie \
458 --disable-silent-rules \
459 %{?with_static_libs:--enable-static} \
460 --with-html-dir=%{_gtkdocdir} \
461 --with-html-subdir=%{name} \
462 --with-init-script=redhat \
463 --with-packager="TLD-Linux" \
464 --with-packager-version="%{name}-%{version}-%{release}.%{_target_cpu}" \
465 --with-qemu-user=qemu \
466 --with-qemu-group=qemu \
467 --with-storage-disk \
469 --with-storage-gluster%{!?with_glusterfs:=no} \
470 --with-storage-iscsi \
472 --with-storage-mpath \
473 --with-storage-rbd%{!?with_ceph:=no} \
474 --with-storage-scsi \
475 --with-storage-sheepdog \
479 %{__with_without systemtap dtrace} \
480 %{__with_without esx} \
481 --with-driver-modules \
483 %{__with_without hyperv} \
486 %{__with_without libxl} \
487 %{__with_without lxc} \
489 %{__with_without netcf} \
492 %{__with_without openvz} \
493 %{__with_without phyp} \
494 %{__with_without polkit} \
495 %{__with_without qemu} \
496 %{__with_without sanlock} \
500 %{__with_without uml} \
501 %{__with_without vbox vbox %{_libdir}/VirtualBox} \
503 %{__with_without vmware} \
504 %{__with_without xen} \
505 %{__with_without xenapi} \
507 --x-libraries=%{_libdir}
513 rm -rf $RPM_BUILD_ROOT
514 install -d $RPM_BUILD_ROOT/etc/{sysconfig,sysctl.d,rc.d/init.d}
517 DEVHELP_DIR=%{_gtkdocdir}/%{name}/devhelp \
518 DESTDIR=$RPM_BUILD_ROOT
520 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/libvirtd
522 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
523 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.la \
524 %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.a}
527 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.la \
528 %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.a}
534 rm -rf $RPM_BUILD_ROOT
536 %post -p /sbin/ldconfig
537 %postun -p /sbin/ldconfig
540 /sbin/chkconfig --add libvirtd
541 %service libvirtd restart
544 if [ "$1" = "0" ]; then
545 %service -q libvirtd stop
546 /sbin/chkconfig --del libvirtd
550 /sbin/chkconfig --add libvirt-guests
551 %service -n libvirt-guests restart
555 if [ "$1" = "0" ]; then
556 %service -q libvirt-guests stop
557 /sbin/chkconfig --del libvirt-guests
560 %files -f %{name}.lang
561 %defattr(644,root,root,755)
562 %doc ChangeLog README TODO NEWS
563 %dir %{_sysconfdir}/libvirt
564 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirt.conf
565 %attr(755,root,root) %{_libdir}/libvirt.so.*.*.*
566 %attr(755,root,root) %ghost %{_libdir}/libvirt.so.0
567 %attr(755,root,root) %{_libdir}/libvirt-admin.so.*.*.*
568 %attr(755,root,root) %ghost %{_libdir}/libvirt-admin.so.0
570 %attr(755,root,root) %{_libdir}/libvirt-lxc.so.*.*.*
571 %attr(755,root,root) %ghost %{_libdir}/libvirt-lxc.so.0
573 %attr(755,root,root) %{_libdir}/libvirt-qemu.so.*.*.*
574 %attr(755,root,root) %ghost %{_libdir}/libvirt-qemu.so.0
576 %dir %{_libdir}/libvirt
577 %dir %{_datadir}/libvirt
578 %{_datadir}/libvirt/libvirtLogo.png
581 %defattr(644,root,root,755)
582 %attr(755,root,root) %{_libdir}/libvirt.so
583 %attr(755,root,root) %{_libdir}/libvirt-admin.so
584 %{?with_lxc:%attr(755,root,root) %{_libdir}/libvirt-lxc.so}
585 %attr(755,root,root) %{_libdir}/libvirt-qemu.so
586 %{_datadir}/%{name}/api
587 %{_gtkdocdir}/%{name}
588 %{_includedir}/%{name}
589 %{_pkgconfigdir}/libvirt.pc
590 %{?with_lxc:%{_pkgconfigdir}/libvirt-lxc.pc}
591 %{_pkgconfigdir}/libvirt-qemu.pc
594 %defattr(644,root,root,755)
596 %{_libdir}/libvirt-admin.a
597 %{?with_lxc:%{_libdir}/libvirt-lxc.a}
598 %{_libdir}/libvirt-qemu.a
602 %defattr(644,root,root,755)
603 %attr(755,root,root) %{_sbindir}/virt-sanlock-cleanup
604 %attr(755,root,root) %{_libdir}/libvirt_sanlock_helper
605 %attr(755,root,root) %{_libdir}/libvirt/lock-driver/sanlock.so
606 %{_datadir}/augeas/lenses/libvirt_sanlock.aug
607 %{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
608 %dir /var/lib/libvirt/sanlock
609 %{_mandir}/man8/virt-sanlock-cleanup.8*
613 %defattr(644,root,root,755)
615 %dir %attr(700,root,root) %{_sysconfdir}/libvirt/nwfilter
616 %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu
617 %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu/networks
618 %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu/networks/autostart
619 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirt-admin.conf
620 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirtd.conf
621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtlockd.conf
622 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtlogd.conf
623 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu/networks/default.xml
624 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
625 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/nwfilter/*.xml
626 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/libvirt.conf
627 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/libvirtd
628 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/virtlockd
629 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/virtlogd
630 %attr(754,root,root) /etc/rc.d/init.d/libvirtd
631 %attr(754,root,root) /etc/rc.d/init.d/virtlockd
632 %attr(754,root,root) /etc/rc.d/init.d/virtlogd
633 %config(noreplace) %verify(not md5 mtime size) /etc/sysctl.d/60-libvirtd.conf
634 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd
635 %attr(755,root,root) %{_libdir}/libvirt_iohelper
636 %attr(755,root,root) %{_libdir}/libvirt_parthelper
637 %attr(755,root,root) %{_libdir}/virt-aa-helper
638 %attr(755,root,root) %{_sbindir}/libvirtd
639 %attr(755,root,root) %{_sbindir}/virtlockd
640 %attr(755,root,root) %{_sbindir}/virtlogd
641 %{_datadir}/augeas/lenses/libvirtd.aug
642 %{_datadir}/augeas/lenses/libvirt_lockd.aug
643 %{_datadir}/augeas/lenses/virtlockd.aug
644 %{_datadir}/augeas/lenses/virtlogd.aug
645 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug
646 %{?with_qemu:%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug}
647 %{_datadir}/augeas/lenses/tests/test_virtlockd.aug
648 %{_datadir}/augeas/lenses/tests/test_virtlogd.aug
650 %{_datadir}/polkit-1/actions/org.libvirt.api.policy
651 %{_datadir}/polkit-1/actions/org.libvirt.unix.policy
652 %{_datadir}/polkit-1/rules.d/50-libvirt.rules
654 %{_mandir}/man8/libvirtd.8*
655 %{_mandir}/man8/virtlockd.8*
656 %{_mandir}/man8/virtlogd.8*
657 %dir /var/lib/libvirt
658 %dir /var/lib/libvirt/dnsmasq
659 %attr(711,root,root) %dir /var/lib/libvirt/boot
660 %attr(700,root,root) %dir /var/lib/libvirt/network
661 %attr(711,root,root) %dir /var/lib/libvirt/images
662 %attr(711,root,root) %dir /var/lib/libvirt/filesystems
663 %attr(700,root,root) %dir /var/log/libvirt
664 %attr(711,root,root) %dir /var/cache/libvirt
665 %dir /var/run/libvirt
666 %dir /var/run/libvirt/network
667 %attr(755,root,root) %{_libexecdir}/libvirt_leaseshelper
668 %dir %{_libdir}/libvirt/connection-driver
669 %{_datadir}/libvirt/cpu_map.xml
670 %{?with_netcf:%attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_interface.so}
671 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_network.so
672 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_nodedev.so
673 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_nwfilter.so
674 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_secret.so
675 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_storage.so
676 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_vbox.so
677 %dir %{_libdir}/libvirt/lock-driver
678 %attr(755,root,root) %{_libdir}/libvirt/lock-driver/lockd.so
682 %defattr(644,root,root,755)
683 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libxl.conf
684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libxl-lockd.conf
685 %{?with_sanlock:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libxl-sanlock.conf}
686 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.libxl
687 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_libxl.so
688 %{_datadir}/augeas/lenses/libvirtd_libxl.aug
689 %{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug
690 %attr(700,root,root) %dir /var/lib/libvirt/libxl
691 %attr(700,root,root) %dir /var/run/libvirt/libxl
692 %attr(700,root,root) %dir /var/log/libvirt/libxl
697 %defattr(644,root,root,755)
698 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/lxc.conf
699 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.lxc
700 %attr(700,root,root) %dir /var/lib/libvirt/lxc
701 %attr(700,root,root) %dir /var/run/libvirt/lxc
702 %attr(700,root,root) %dir /var/log/libvirt/lxc
703 %{_datadir}/augeas/lenses/libvirtd_lxc.aug
704 %{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
705 %attr(755,root,root) %{_libdir}/libvirt_lxc
706 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_lxc.so
711 %defattr(644,root,root,755)
712 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu.conf
713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu-lockd.conf
714 %{?with_sanlock:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu-sanlock.conf}
715 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.qemu
716 %attr(750,qemu,qemu) %dir /var/cache/libvirt/qemu
717 %attr(750,qemu,qemu) %dir /var/lib/libvirt/qemu
718 %attr(700,root,root) %dir /var/log/libvirt/qemu
719 %attr(700,root,root) %dir /var/run/libvirt/qemu
720 %{_datadir}/augeas/lenses/libvirtd_qemu.aug
721 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
722 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_qemu.so
727 %defattr(644,root,root,755)
728 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_uml.so
729 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.uml
730 %attr(700,root,root) %dir /var/lib/libvirt/uml
731 %attr(700,root,root) %dir /var/run/libvirt/uml
732 %attr(700,root,root) %dir /var/log/libvirt/uml
737 %defattr(644,root,root,755)
738 %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_xen.so
742 %defattr(644,root,root,755)
743 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/libvirt-guests
744 %attr(754,root,root) /etc/rc.d/init.d/libvirt-guests
745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virt-login-shell.conf
746 %attr(755,root,root) %{_bindir}/virsh
747 %attr(755,root,root) %{_bindir}/virt-admin
748 %attr(755,root,root) %{_bindir}/virt-host-validate
749 %attr(4755,root,root) %{_bindir}/virt-login-shell
750 %attr(755,root,root) %{_bindir}/virt-xml-validate
751 %attr(755,root,root) %{_bindir}/virt-pki-validate
752 %attr(754,root,root) %{_libexecdir}/libvirt-guests.sh
753 %{_mandir}/man1/virsh.1*
754 %{_mandir}/man1/virt-admin.1*
755 %{_mandir}/man1/virt-host-validate.1*
756 %{_mandir}/man1/virt-login-shell.1*
757 %{_mandir}/man1/virt-xml-validate.1*
758 %{_mandir}/man1/virt-pki-validate.1*
759 %dir %{_datadir}/libvirt/schemas
760 %{_datadir}/libvirt/schemas/basictypes.rng
761 %{_datadir}/libvirt/schemas/capability.rng
762 %{_datadir}/libvirt/schemas/domain.rng
763 %{_datadir}/libvirt/schemas/domaincaps.rng
764 %{_datadir}/libvirt/schemas/domaincommon.rng
765 %{_datadir}/libvirt/schemas/domainsnapshot.rng
766 %{_datadir}/libvirt/schemas/interface.rng
767 %{_datadir}/libvirt/schemas/network.rng
768 %{_datadir}/libvirt/schemas/networkcommon.rng
769 %{_datadir}/libvirt/schemas/nodedev.rng
770 %{_datadir}/libvirt/schemas/nwfilter.rng
771 %{_datadir}/libvirt/schemas/secret.rng
772 %{_datadir}/libvirt/schemas/storagecommon.rng
773 %{_datadir}/libvirt/schemas/storagepool.rng
774 %{_datadir}/libvirt/schemas/storagevol.rng
777 %defattr(644,root,root,755)
779 %if %{with systemtap}
780 %files -n systemtap-libvirt
781 %defattr(644,root,root,755)
782 %{_datadir}/systemtap/tapset/libvirt_functions.stp
783 %{_datadir}/systemtap/tapset/libvirt_probes.stp
784 %{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp