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_with vserver # Support for Linux-VServer guests
24 %bcond_without xenapi # Xen API (Citrix XenServer) support
25 %bcond_without xen # Xen support
26 %bcond_without static_libs # static libraries build
28 # qemu available only on x86 and ppc
29 %ifnarch %{ix86} %{x8664} ppc
33 # Xen is available only on x86 and ia64
34 %ifnarch %{ix86} %{x8664} ia64
40 Summary: Toolkit to interact with virtualization capabilities
41 Summary(pl.UTF-8): Narzędzia współpracujące z funkcjami wirtualizacji
47 Source0: ftp://ftp.libvirt.org/libvirt/%{name}-%{version}.tar.gz
48 # Source0-md5: 5531b44fc282c3ce0c3951c6bb692576
50 Patch0: %{name}-sasl.patch
51 Patch1: %{name}-lxc.patch
52 Patch2: %{name}-qemu-acl.patch
53 Patch3: %{name}-xend.patch
54 Patch4: virtlockd.init.patch
55 Patch5: %{name}-udevadm-settle.patch
57 Patch7: bashisms.patch
58 Patch8: %{name}-guests.init.patch
59 Patch9: %{name}-sysctl-dir.patch
60 URL: http://www.libvirt.org/
61 BuildRequires: audit-libs-devel
62 BuildRequires: augeas-devel
63 BuildRequires: autoconf >= 2.50
64 BuildRequires: automake
65 BuildRequires: avahi-devel >= 0.6.0
66 %{?with_ceph:BuildRequires: ceph-devel}
67 BuildRequires: curl-devel >= 7.18.0
68 BuildRequires: cyrus-sasl-devel
69 BuildRequires: dbus-devel >= 1.0.0
70 BuildRequires: device-mapper-devel >= 1.0.0
72 BuildRequires: gettext-tools >= 0.17
73 %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4.1}
74 BuildRequires: gnutls-devel >= 1.0.25
75 BuildRequires: libapparmor-devel
76 BuildRequires: libblkid-devel >= 2.17
77 BuildRequires: libcap-ng-devel >= 0.4.0
78 BuildRequires: libfuse-devel >= 2.8.6
79 BuildRequires: libgcrypt-devel
80 BuildRequires: libnl-devel >= 3.2
81 BuildRequires: libpcap-devel >= 1.0.0
82 BuildRequires: libselinux-devel >= 2.0.82
83 BuildRequires: libssh2-devel >= 1.3
84 BuildRequires: libtool
85 %{?with_xenapi:BuildRequires: libxenserver-devel}
86 BuildRequires: libxml2-devel >= 1:2.6.0
87 BuildRequires: libxslt-devel
88 BuildRequires: ncurses-devel
89 %{?with_netcf:BuildRequires: netcf-devel >= 0.2.0}
90 BuildRequires: numactl-devel
91 BuildRequires: openldap-devel
92 %{?with_hyperv:BuildRequires: openwsman-devel >= 2.2.3}
93 BuildRequires: parted-devel >= 1.8.0
94 BuildRequires: pkgconfig
96 %{?with_polkit:BuildRequires: polkit-devel >= 0.90}
97 BuildRequires: readline-devel
98 BuildRequires: rpmbuild(macros) >= 1.627
99 %{?with_sanlock:BuildRequires: sanlock-devel >= 0.8}
100 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
101 BuildRequires: sheepdog
102 BuildRequires: udev-devel >= 1:145
103 %{?with_xen:BuildRequires: xen-devel >= 4.2}
105 BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0
106 BuildRequires: yajl-devel
107 Requires: curl-libs >= 7.18.0
108 Requires: device-mapper >= 1.0.0
109 Requires: libcap-ng >= 0.4.0
110 Requires: libnl >= 3.2
111 Requires: libpcap >= 1.0.0
112 Requires: libselinux >= 2.0.82
113 Requires: libssh2 >= 1.3
114 Requires: libxml2 >= 1:2.6.0
115 %{?with_hyperv:Requires: openwsman-libs >= 2.2.3}
116 Obsoletes: libvirt-daemon-esx
117 Obsoletes: libvirt-daemon-hyperv
118 Obsoletes: libvirt-daemon-openvz
119 Obsoletes: libvirt-daemon-phyp
120 Obsoletes: libvirt-daemon-vbox
121 Obsoletes: libvirt-daemon-vmware
122 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
125 Libvirt is a C toolkit to interact with the virtualization
126 capabilities of recent versions of Linux.
128 Virtualization of the Linux Operating System means the ability to run
129 multiple instances of Operating Systems concurently on a single
130 hardware system where the basic resources are driven by a Linux
131 instance. The library aim at providing long term stable C API
132 initially for the Xen paravirtualization but should be able to
133 integrate other virtualization mechanisms if needed.
135 This package contains the base libraries and configuration file.
137 %description -l pl.UTF-8
138 Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji
139 obecnych wersji Linuksa.
141 Wirtualizacja w systemie operacyjnym Linux oznacza możliwość
142 jednoczesnego uruchamiania wielu instancji systemu operacyjnego na
143 pojedynczym systemie sprzętowym, którego podstawowe zasoby są
144 zarządzane przez instancję Linuksa. Celem biblioteki jest zapewnienie
145 długotrwale stabilnego API C, początkowo do parawirtualizacji Xen, ale
146 dającej się zintegrować w razie potrzeby z innymi mechanizmami
149 Ten pakiet zawiera podstawowe biblioteki oraz plik konfiguracyjny.
152 Summary: Development files for programs using libvirt
153 Summary(pl.UTF-8): Pliki programistyczne do programów wykorzystujących libvirt
154 Group: Development/Libraries
155 Requires: %{name} = %{version}-%{release}
156 Requires: audit-libs-devel
157 Requires: curl-devel >= 7.18.0
158 Requires: dbus-devel >= 1.0.0
159 Requires: device-mapper-devel >= 1.0.0
160 Requires: gnutls-devel >= 1.0.25
161 Requires: libapparmor-devel
162 Requires: libcap-ng-devel >= 0.4.0
163 Requires: libgcrypt-devel
164 Requires: libnl-devel >= 3.2
165 Requires: libpcap-devel >= 1.0.0
166 Requires: libselinux-devel >= 2.0.82
167 Requires: libxml2-devel >= 1:2.6.0
168 Requires: numactl-devel
169 %{?with_hyperv:Requires: openwsman-devel >= 2.2.3}
170 %{?with_xen:Requires: xen-devel >= 4.2}
174 Libvirt is a C toolkit to interact with the virtualization
175 capabilities of recent versions of Linux.
177 This package contains the header files needed for developing programs
178 using the libvirt library.
180 %description devel -l pl.UTF-8
181 Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji
182 obecnych wersji Linuksa.
184 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
185 wykorzystujących bibliotekę libvirt.
188 Summary: Development static libraries for programs using libvirt
189 Summary(pl.UTF-8): Statyczne biblioteki programistyczne do programów wykorzystujących libvirt
190 Group: Development/Libraries
191 Requires: %{name}-devel = %{version}-%{release}
194 Libvirt is a C toolkit to interact with the virtualization
195 capabilities of recent versions of Linux.
197 This package contains the static libraries for developing programs
198 using the libvirt library.
200 %description static -l pl.UTF-8
201 Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji
202 obecnych wersji Linuksa.
204 Ten pakiet zawiera biblioteki statyczne do tworzenia programów
205 wykorzystujących bibliotekę libvirt.
207 %package lock-sanlock
208 Summary: Sanlock lock manager plugin for libvirt
209 Summary(pl.UTF-8): Zarządca blokad sanlock dla biblioteki libvirt
211 Requires: %{name}-daemon = %{version}-%{release}
213 %description lock-sanlock
214 Sanlock lock manager plugin for libvirt.
216 %description lock-sanlock -l pl.UTF-8
217 Zarządca blokad sanlock dla biblioteki libvirt.
220 Summary: Server side daemon and supporting files for libvirt library
221 Summary(pl.UTF-8): Demon działający po stronie serwera oraz pliki wspierające dla biblioteki libvirt
222 Group: Applications/System
223 Requires: %{name} = %{version}-%{release}
224 Requires: avahi-libs >= 0.6.0
226 Requires: libblkid >= 2.17
227 %{?with_netcf:Requires: netcf >= 0.2.0}
228 Requires: parted-libs >= 1.8.0
229 # Needed for probing the power management features of the host.
233 Requires: udev-libs >= 1:145
235 Requires: virtual(module-tools)
236 Requires: xorg-lib-libpciaccess >= 0.10.0
237 Requires(post,preun): /sbin/chkconfig
238 Suggests: bridge-utils
240 Suggests: cyrus-sasl-digest-md5
242 Suggests: dnsmasq >= 2.41
245 Suggests: glusterfs-client >= 2.0.1
252 Suggests: parted >= 1.8.0
253 Suggests: polkit >= 0.93
256 Provides: libvirt(hypervisor)
259 Server side daemon required to manage the virtualization capabilities
260 of recent versions of Linux. Requires a hypervisor specific sub-RPM
261 for specific drivers.
263 %description daemon -l pl.UTF-8
264 Demon działający po stronie serwera wymagany do zarządzania funkcjami
265 wirtualizacji nowych wersji Linuksa. Wymaga podpakietu specyficznego
268 %package daemon-libxl
269 Summary: Server side driver required to run XEN guests (xenlight)
270 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości XEN (xenlight)
272 Requires: %{name}-daemon = %{version}-%{release}
273 Requires: /usr/sbin/qcow-create
275 Provides: libvirt(hypervisor)
277 %description daemon-libxl
278 Server side driver required to manage the virtualization capabilities
279 of XEN via xenlight interface.
281 %description daemon-libxl -l pl.UTF-8
282 Sterownik wymagany po stronie serwera do zarządzania funkcjami
283 wirtualizacji XEN poprzez interfejs xenlight.
286 Summary: Server side driver required to run LXC guests
287 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości LXC
289 Requires: %{name}-daemon = %{version}-%{release}
290 Requires: libfuse >= 2.8.6
291 Provides: libvirt(hypervisor)
293 %description daemon-lxc
294 Server side driver required to manage the virtualization capabilities
297 %description daemon-lxc -l pl.UTF-8
298 Sterownik wymagany po stronie serwera do zarządzania funkcjami
302 Summary: Server side driver required to run QEMU guests
303 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości QEMU
305 Requires: %{name}-daemon = %{version}-%{release}
306 Requires: /usr/bin/qemu-img
310 Requires: qemu-system-x86
312 Provides: libvirt(hypervisor)
314 %description daemon-qemu
315 Server side driver required to manage the virtualization capabilities
316 of the QEMU emulators.
318 %description daemon-qemu -l pl.UTF-8
319 Sterownik wymagany po stronie serwera do zarządzania funkcjami
320 wirtualizacji emulatora QEMU.
323 Summary: Server side driver required to run UML guests
324 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości UML
326 Requires: %{name}-daemon = %{version}-%{release}
327 Provides: libvirt(hypervisor)
329 %description daemon-uml
330 Server side driver required to manage the virtualization capabilities
333 %description daemon-uml -l pl.UTF-8
334 Sterownik wymagany po stronie serwera do zarządzania funkcjami
338 Summary: Server side driver required to run XEN guests
339 Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości XEN
341 Requires: %{name}-daemon = %{version}-%{release}
342 Requires: /usr/sbin/qcow-create
345 Provides: libvirt(hypervisor)
347 %description daemon-xen
348 Server side driver required to manage the virtualization capabilities
351 %description daemon-xen -l pl.UTF-8
352 Sterownik wymagany po stronie serwera do zarządzania funkcjami
356 Summary: Client side utilities of the libvirt library
357 Summary(pl.UTF-8): Narzędzia klienckie do biblioteki libvirt
358 Group: Applications/System
359 Requires: %{name} = %{version}-%{release}
360 Requires: gettext >= 0.18.1.1-6
361 Requires: gnutls >= 1.0.25
362 Requires: netcat-openbsd
364 Requires(post,preun): /sbin/chkconfig
367 Client binaries needed to access to the virtualization capabilities of
368 recent versions of Linux (and other OSes).
370 %description client -l pl.UTF-8
371 Programy klienckie potrzebne do funkcji wirtualizacji nowych wersji
372 Linuksa (oraz innych systemów operacyjnych).
375 Summary: Tools to interact with virtualization capabilities (metapackage)
376 Summary(pl.UTF-8): Narzędzia do współpracy z funkcjami wirtualizacyjnymi (metapakiet)
377 Group: Applications/System
378 Requires: %{name}-client = %{version}-%{release}
379 Requires: %{name}-daemon = %{version}-%{release}
380 %{?with_libxl:Requires: %{name}-daemon-libxl = %{version}-%{release}}
381 Requires: %{name}-daemon-lxc = %{version}-%{release}
382 Requires: %{name}-daemon-qemu = %{version}-%{release}
383 Requires: %{name}-daemon-uml = %{version}-%{release}
384 Requires: %{name}-daemon-xen = %{version}-%{release}
387 Libvirt is a C toolkit to interact with the virtualization
388 capabilities of recent versions of Linux.
390 This is metapackage gathering all tools for the libvirt library.
392 %description utils -l pl.UTF-8
393 Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji
394 obecnych wersji Linuksa.
396 To jest metapakiet zbierający wszystkie narzędzia przeznaczone dla
399 %package -n systemtap-libvirt
400 Summary: systemtap/dtrace probes for libvirt
401 Summary(pl.UTF-8): Sondy systemtap/dtrace dla libvirt
402 Group: Development/Tools
403 Requires: %{name} = %{version}-%{release}
404 Requires: systemtap-client
406 %description -n systemtap-libvirt
407 systemtap/dtrace probes for libvirt.
409 %description -n systemtap-libvirt -l pl.UTF-8
410 Sondy systemtap/dtrace dla libvirt.
421 %{?with_vserver:%patch6 -p1}
434 PVCREATE=/sbin/pvcreate \
435 VGCREATE=/sbin/vgcreate \
436 LVCREATE=/sbin/lvcreate \
437 PVREMOVE=/sbin/pvremove \
438 VGREMOVE=/sbin/vgremove \
439 LVREMOVE=/sbin/lvremove \
440 VGCHANGE=/sbin/vgchange \
441 LVCHANGE=/sbin/lvchange \
442 VGSCAN=/sbin/vgscan \
448 ISCSIADM=/sbin/iscsiadm \
449 SHOWMOUNT=/usr/sbin/showmount \
453 SHOWMOUNT=/usr/sbin/showmount \
454 IPTABLES_PATH=/usr/sbin/iptables \
455 IP6TABLES_PATH=/usr/sbin/ip6tables \
456 EBTABLES_PATH=/usr/sbin/ebtables \
457 ISCSIADM=/sbin/iscsiadm \
458 DNSMASQ=/usr/sbin/dnsmasq \
459 RADVD=/usr/sbin/radvd \
460 UDEVADM=/sbin/udevadm \
461 MODPROBE=/sbin/modprobe \
462 SCRUB=/usr/bin/scrub \
463 OVSVSCTL=/usr/bin/ovs-vsctl \
464 NUMAD=/usr/bin/numad \
465 COLLIE=/usr/sbin/collie \
466 --disable-silent-rules \
467 %{?with_static_libs:--enable-static} \
468 --with-html-dir=%{_gtkdocdir} \
469 --with-html-subdir=%{name} \
470 --with-init-script=redhat \
471 --with-packager="TLD-Linux" \
472 --with-packager-version="%{name}-%{version}-%{release}.%{_target_cpu}" \
473 --with-qemu-user=qemu \
474 --with-qemu-group=qemu \
475 --with-storage-disk \
477 --with-storage-gluster%{!?with_glusterfs:=no} \
478 --with-storage-iscsi \
480 --with-storage-mpath \
481 --with-storage-rbd%{!?with_ceph:=no} \
482 --with-storage-scsi \
483 --with-storage-sheepdog \
487 %{__with_without systemtap dtrace} \
488 %{__with_without esx} \
489 --with-driver-modules \
491 %{__with_without hyperv} \
494 %{__with_without libxl} \
495 %{__with_without lxc} \
497 %{__with_without netcf} \
500 %{__with_without openvz} \
501 %{__with_without phyp} \
502 %{__with_without polkit} \
503 %{__with_without qemu} \
504 %{__with_without sanlock} \
508 %{__with_without uml} \
509 %{__with_without vbox vbox %{_libdir}/VirtualBox} \
511 %{__with_without vmware} \
512 %{__with_without xen} \
513 %{__with_without xenapi} \
515 --x-libraries=%{_libdir}
521 rm -rf $RPM_BUILD_ROOT
522 install -d $RPM_BUILD_ROOT/etc/{sysconfig,sysctl.d,rc.d/init.d}
525 DEVHELP_DIR=%{_gtkdocdir}/%{name}/devhelp \
526 DESTDIR=$RPM_BUILD_ROOT
528 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/libvirtd
530 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
531 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.la \
532 %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.a}
535 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.la \
536 %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.a}
542 rm -rf $RPM_BUILD_ROOT
544 %post -p /sbin/ldconfig
545 %postun -p /sbin/ldconfig
548 /sbin/chkconfig --add libvirtd
549 %service libvirtd restart
552 if [ "$1" = "0" ]; then
553 %service -q libvirtd stop
554 /sbin/chkconfig --del libvirtd
558 /sbin/chkconfig --add libvirt-guests
559 %service -n libvirt-guests restart
563 if [ "$1" = "0" ]; then
564 %service -q libvirt-guests stop
565 /sbin/chkconfig --del libvirt-guests
568 %files -f %{name}.lang
569 %defattr(644,root,root,755)
570 %doc ChangeLog README TODO NEWS
571 %dir %{_sysconfdir}/libvirt
572 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirt.conf
573 %attr(755,root,root) %{_libdir}/libvirt.so.*.*.*
574 %attr(755,root,root) %ghost %{_libdir}/libvirt.so.0
575 %attr(755,root,root) %{_libdir}/libvirt-admin.so.*.*.*
576 %attr(755,root,root) %ghost %{_libdir}/libvirt-admin.so.0
578 %attr(755,root,root) %{_libdir}/libvirt-lxc.so.*.*.*
579 %attr(755,root,root) %ghost %{_libdir}/libvirt-lxc.so.0
581 %attr(755,root,root) %{_libdir}/libvirt-qemu.so.*.*.*
582 %attr(755,root,root) %ghost %{_libdir}/libvirt-qemu.so.0
584 %dir %{_libdir}/libvirt
585 %dir %{_datadir}/libvirt
586 %{_datadir}/libvirt/libvirtLogo.png
589 %defattr(644,root,root,755)
590 %attr(755,root,root) %{_libdir}/libvirt.so
591 %attr(755,root,root) %{_libdir}/libvirt-admin.so
592 %{?with_lxc:%attr(755,root,root) %{_libdir}/libvirt-lxc.so}
593 %attr(755,root,root) %{_libdir}/libvirt-qemu.so
594 %{_datadir}/%{name}/api
595 %{_gtkdocdir}/%{name}
596 %{_includedir}/%{name}
597 %{_pkgconfigdir}/libvirt.pc
598 %{?with_lxc:%{_pkgconfigdir}/libvirt-lxc.pc}
599 %{_pkgconfigdir}/libvirt-qemu.pc
602 %defattr(644,root,root,755)
604 %{_libdir}/libvirt-admin.a
605 %{?with_lxc:%{_libdir}/libvirt-lxc.a}
606 %{_libdir}/libvirt-qemu.a
610 %defattr(644,root,root,755)
611 %attr(755,root,root) %{_sbindir}/virt-sanlock-cleanup
612 %attr(755,root,root) %{_libdir}/libvirt_sanlock_helper
613 %attr(755,root,root) %{_libdir}/libvirt/lock-driver/sanlock.so
614 %{_datadir}/augeas/lenses/libvirt_sanlock.aug
615 %{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
616 %dir /var/lib/libvirt/sanlock
617 %{_mandir}/man8/virt-sanlock-cleanup.8*
621 %defattr(644,root,root,755)
623 %dir %attr(700,root,root) %{_sysconfdir}/libvirt/nwfilter
624 %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu
625 %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu/networks
626 %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu/networks/autostart
627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirtd.conf
628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtlockd.conf
629 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu/networks/default.xml
630 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
631 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/nwfilter/*.xml
632 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/libvirt.conf
633 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/libvirtd
634 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/virtlockd
635 %attr(754,root,root) /etc/rc.d/init.d/libvirtd
636 %attr(754,root,root) /etc/rc.d/init.d/virtlockd
637 %config(noreplace) %verify(not md5 mtime size) /etc/sysctl.d/60-libvirtd.conf
638 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd
639 %attr(755,root,root) %{_libdir}/libvirt_iohelper
640 %attr(755,root,root) %{_libdir}/libvirt_parthelper
641 %attr(755,root,root) %{_libdir}/virt-aa-helper
642 %attr(755,root,root) %{_sbindir}/libvirtd
643 %attr(755,root,root) %{_sbindir}/virtlockd
644 %{_datadir}/augeas/lenses/libvirtd.aug
645 %{_datadir}/augeas/lenses/libvirt_lockd.aug
646 %{_datadir}/augeas/lenses/virtlockd.aug
647 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug
648 %{?with_qemu:%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug}
649 %{_datadir}/augeas/lenses/tests/test_virtlockd.aug
651 %{_datadir}/polkit-1/actions/org.libvirt.api.policy
652 %{_datadir}/polkit-1/actions/org.libvirt.unix.policy
653 %{_datadir}/polkit-1/rules.d/50-libvirt.rules
655 %{_mandir}/man8/libvirtd.8*
656 %{_mandir}/man8/virtlockd.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-host-validate
748 %attr(4755,root,root) %{_bindir}/virt-login-shell
749 %attr(755,root,root) %{_bindir}/virt-xml-validate
750 %attr(755,root,root) %{_bindir}/virt-pki-validate
751 %attr(754,root,root) %{_libexecdir}/libvirt-guests.sh
752 %{_mandir}/man1/virsh.1*
753 %{_mandir}/man1/virt-host-validate.1*
754 %{_mandir}/man1/virt-login-shell.1*
755 %{_mandir}/man1/virt-xml-validate.1*
756 %{_mandir}/man1/virt-pki-validate.1*
757 %dir %{_datadir}/libvirt/schemas
758 %{_datadir}/libvirt/schemas/basictypes.rng
759 %{_datadir}/libvirt/schemas/capability.rng
760 %{_datadir}/libvirt/schemas/domain.rng
761 %{_datadir}/libvirt/schemas/domaincaps.rng
762 %{_datadir}/libvirt/schemas/domaincommon.rng
763 %{_datadir}/libvirt/schemas/domainsnapshot.rng
764 %{_datadir}/libvirt/schemas/interface.rng
765 %{_datadir}/libvirt/schemas/network.rng
766 %{_datadir}/libvirt/schemas/networkcommon.rng
767 %{_datadir}/libvirt/schemas/nodedev.rng
768 %{_datadir}/libvirt/schemas/nwfilter.rng
769 %{_datadir}/libvirt/schemas/secret.rng
770 %{_datadir}/libvirt/schemas/storagecommon.rng
771 %{_datadir}/libvirt/schemas/storagepool.rng
772 %{_datadir}/libvirt/schemas/storagevol.rng
775 %defattr(644,root,root,755)
777 %if %{with systemtap}
778 %files -n systemtap-libvirt
779 %defattr(644,root,root,755)
780 %{_datadir}/systemtap/tapset/libvirt_functions.stp
781 %{_datadir}/systemtap/tapset/libvirt_probes.stp
782 %{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp