]>
Commit | Line | Data |
---|---|---|
94462445 | 1 | # |
67b9040b | 2 | # TODO: - seems that lxc patch is not needed anymore, verify that before removing |
8357fab1 | 3 | # - pldize virtlockd.init |
e7875b0f | 4 | # |
94462445 | 5 | # Conditional build: |
c2a00b8b | 6 | %bcond_without ceph # RADOS BD (Ceph) storage support |
423a0b96 JR |
7 | %bcond_without esx # VMware ESX support |
8 | %bcond_without hyperv # Hyper-V support | |
ea8a16b2 | 9 | %bcond_without libxl # libxenlight support |
423a0b96 JR |
10 | %bcond_without lxc # LXC support |
11 | %bcond_without netcf # host interfaces support | |
bf949ec1 JR |
12 | %bcond_without openvz # OpenVZ support |
13 | %bcond_without phyp # PHYP support | |
f2c82f45 JB |
14 | %bcond_without polkit # PolicyKit support |
15 | %bcond_without qemu # Qemu support | |
423a0b96 | 16 | %bcond_without sanlock # sanlock storage lock manager |
3e5ed185 | 17 | %bcond_without systemtap # systemtap/dtrace probes |
423a0b96 JR |
18 | %bcond_without uml # UML support |
19 | %bcond_without vbox # VirtualBox support | |
20 | %bcond_without vmware # VMware Workstation/Player support | |
eb319e62 | 21 | %bcond_with vserver # Support for Linux-VServer guests |
6865448d | 22 | %bcond_without xenapi # Xen API (Citrix XenServer) support |
f2c82f45 | 23 | %bcond_without xen # Xen support |
c4db1ab9 | 24 | %bcond_without static_libs # static libraries build |
94462445 | 25 | |
148a9af3 JB |
26 | # qemu available only on x86 and ppc |
27 | %ifnarch %{ix86} %{x8664} ppc | |
28 | %undefine with_qemu | |
29 | %endif | |
bc484957 | 30 | # Xen is available only on x86 and ia64 |
94462445 ER |
31 | %ifnarch %{ix86} %{x8664} ia64 |
32 | %undefine with_xen | |
33 | %endif | |
94462445 | 34 | Summary: Toolkit to interact with virtualization capabilities |
148a9af3 | 35 | Summary(pl.UTF-8): Narzędzia współpracujące z funkcjami wirtualizacji |
94462445 | 36 | Name: libvirt |
6434e098 MK |
37 | Version: 1.1.1 |
38 | Release: 1 | |
148a9af3 | 39 | License: LGPL v2.1+ |
423a0b96 | 40 | Group: Libraries |
21f7b4fc | 41 | Source0: ftp://ftp.libvirt.org/libvirt/%{name}-%{version}.tar.gz |
6434e098 | 42 | # Source0-md5: 632f30a2f22fbb404b8e10702d7f55ca |
e285e5e5 | 43 | Source1: %{name}.init |
ed4dd5b7 | 44 | Source2: %{name}.tmpfiles |
5296d739 | 45 | Patch0: %{name}-sasl.patch |
a5db73fd | 46 | Patch1: %{name}-lxc.patch |
423a0b96 JR |
47 | Patch2: %{name}-qemu-acl.patch |
48 | Patch3: %{name}-xend.patch | |
8357fab1 | 49 | Patch4: virtlockd.init.patch |
7448c7c9 | 50 | Patch5: %{name}-udevadm-settle.patch |
eb319e62 | 51 | Patch6: vserver.patch |
5296d739 | 52 | URL: http://www.libvirt.org/ |
7ce5923d | 53 | BuildRequires: audit-libs-devel |
fa080175 | 54 | BuildRequires: augeas-devel |
148a9af3 | 55 | BuildRequires: autoconf >= 2.50 |
69187f5d | 56 | BuildRequires: automake |
4e034fd2 | 57 | BuildRequires: avahi-devel >= 0.6.0 |
83426b5b | 58 | %{?with_ceph:BuildRequires: ceph-devel} |
4e034fd2 | 59 | BuildRequires: curl-devel >= 7.18.0 |
69187f5d | 60 | BuildRequires: cyrus-sasl-devel |
54247c34 | 61 | BuildRequires: dbus-devel >= 1.0.0 |
4e034fd2 | 62 | BuildRequires: device-mapper-devel >= 1.0.0 |
5cbe4501 | 63 | BuildRequires: gawk |
7ce5923d | 64 | BuildRequires: gettext-devel >= 0.17 |
4e034fd2 | 65 | BuildRequires: gnutls-devel >= 1.0.25 |
69187f5d | 66 | BuildRequires: libapparmor-devel |
7ce5923d JB |
67 | BuildRequires: libblkid-devel >= 2.17 |
68 | BuildRequires: libcap-ng-devel >= 0.4.0 | |
4ef34a20 | 69 | BuildRequires: libfuse-devel >= 2.8.6 |
7ce5923d | 70 | BuildRequires: libgcrypt-devel |
54247c34 | 71 | BuildRequires: libnl-devel >= 3.2 |
7ce5923d JB |
72 | BuildRequires: libpcap-devel >= 1.0.0 |
73 | BuildRequires: libselinux-devel >= 2.0.82 | |
e9ea35db | 74 | BuildRequires: libssh2-devel >= 1.3 |
69187f5d | 75 | BuildRequires: libstdc++-devel |
76 | BuildRequires: libtool | |
6865448d | 77 | %{?with_xenapi:BuildRequires: libxenserver-devel} |
7ce5923d | 78 | BuildRequires: libxml2-devel >= 1:2.6.0 |
fa080175 | 79 | BuildRequires: libxslt-devel |
94462445 | 80 | BuildRequires: ncurses-devel |
0c4e060a | 81 | %{?with_netcf:BuildRequires: netcf-devel >= 0.2.0} |
69187f5d | 82 | BuildRequires: numactl-devel |
423a0b96 JR |
83 | BuildRequires: openldap-devel |
84 | BuildRequires: openwsman-devel >= 2.2.3 | |
36a3330a | 85 | BuildRequires: parted-devel >= 1.8.0 |
69187f5d | 86 | BuildRequires: perl-tools-pod |
36a3330a | 87 | %{?with_polkit:BuildRequires: polkit >= 0.90} |
69187f5d | 88 | BuildRequires: pkgconfig |
36a3330a | 89 | BuildRequires: python |
94462445 ER |
90 | BuildRequires: python-devel |
91 | BuildRequires: readline-devel | |
69187f5d | 92 | BuildRequires: rpm-pythonprov |
bf949ec1 | 93 | BuildRequires: rpmbuild(macros) >= 1.627 |
621ed3d1 | 94 | %{?with_sanlock:BuildRequires: sanlock-devel >= 0.8} |
3e5ed185 | 95 | %{?with_systemtap:BuildRequires: systemtap-sdt-devel} |
f2c82f45 | 96 | BuildRequires: udev-devel >= 1:145 |
ea8a16b2 | 97 | %{?with_xen:BuildRequires: xen-devel >= 4.2} |
94462445 | 98 | # For disk driver |
7ce5923d | 99 | BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0 |
36a3330a | 100 | BuildRequires: yajl-devel |
7ce5923d JB |
101 | Requires: curl-libs >= 7.18.0 |
102 | Requires: device-mapper >= 1.0.0 | |
7ce5923d | 103 | Requires: libcap-ng >= 0.4.0 |
54247c34 | 104 | Requires: libnl >= 3.2 |
7ce5923d JB |
105 | Requires: libpcap >= 1.0.0 |
106 | Requires: libselinux >= 2.0.82 | |
e9ea35db | 107 | Requires: libssh2 >= 1.3 |
7ce5923d | 108 | Requires: libxml2 >= 1:2.6.0 |
fec4200b | 109 | Requires: openwsman-libs >= 2.2.3 |
bf3e9ac8 JB |
110 | Obsoletes: libvirt-daemon-esx |
111 | Obsoletes: libvirt-daemon-hyperv | |
112 | Obsoletes: libvirt-daemon-openvz | |
113 | Obsoletes: libvirt-daemon-phyp | |
114 | Obsoletes: libvirt-daemon-vbox | |
115 | Obsoletes: libvirt-daemon-vmware | |
94462445 ER |
116 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
117 | ||
94462445 ER |
118 | %description |
119 | Libvirt is a C toolkit to interact with the virtualization | |
120 | capabilities of recent versions of Linux. | |
121 | ||
122 | Virtualization of the Linux Operating System means the ability to run | |
123 | multiple instances of Operating Systems concurently on a single | |
124 | hardware system where the basic resources are driven by a Linux | |
125 | instance. The library aim at providing long term stable C API | |
126 | initially for the Xen paravirtualization but should be able to | |
127 | integrate other virtualization mechanisms if needed. | |
128 | ||
cf4bec93 JB |
129 | This package contains the base libraries and configuration file. |
130 | ||
148a9af3 | 131 | %description -l pl.UTF-8 |
423a0b96 JR |
132 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji |
133 | obecnych wersji Linuksa. | |
148a9af3 JB |
134 | |
135 | Wirtualizacja w systemie operacyjnym Linux oznacza możliwość | |
136 | jednoczesnego uruchamiania wielu instancji systemu operacyjnego na | |
137 | pojedynczym systemie sprzętowym, którego podstawowe zasoby są | |
138 | zarządzane przez instancję Linuksa. Celem biblioteki jest zapewnienie | |
139 | długotrwale stabilnego API C, początkowo do parawirtualizacji Xen, ale | |
140 | dającej się zintegrować w razie potrzeby z innymi mechanizmami | |
141 | wirtualizacji. | |
142 | ||
cf4bec93 JB |
143 | Ten pakiet zawiera podstawowe biblioteki oraz plik konfiguracyjny. |
144 | ||
94462445 | 145 | %package devel |
148a9af3 JB |
146 | Summary: Development files for programs using libvirt |
147 | Summary(pl.UTF-8): Pliki programistyczne do programów wykorzystujących libvirt | |
94462445 ER |
148 | Group: Development/Libraries |
149 | Requires: %{name} = %{version}-%{release} | |
7f159b90 JB |
150 | Requires: audit-libs-devel |
151 | Requires: curl-devel >= 7.18.0 | |
54247c34 | 152 | Requires: dbus-devel >= 1.0.0 |
7f159b90 JB |
153 | Requires: device-mapper-devel >= 1.0.0 |
154 | Requires: gnutls-devel >= 1.0.25 | |
155 | Requires: libapparmor-devel | |
156 | Requires: libcap-ng-devel >= 0.4.0 | |
157 | Requires: libgcrypt-devel | |
54247c34 | 158 | Requires: libnl-devel >= 3.2 |
7f159b90 JB |
159 | Requires: libpcap-devel >= 1.0.0 |
160 | Requires: libselinux-devel >= 2.0.82 | |
161 | Requires: libxml2-devel >= 1:2.6.0 | |
162 | Requires: numactl-devel | |
fec4200b | 163 | Requires: openwsman-devel >= 2.2.3 |
4ef34a20 | 164 | %{?with_xen:Requires: xen-devel >= 4.2} |
7f159b90 | 165 | Requires: yajl-devel |
94462445 ER |
166 | |
167 | %description devel | |
168 | Libvirt is a C toolkit to interact with the virtualization | |
169 | capabilities of recent versions of Linux. | |
170 | ||
148a9af3 JB |
171 | This package contains the header files needed for developing programs |
172 | using the libvirt library. | |
173 | ||
174 | %description devel -l pl.UTF-8 | |
423a0b96 JR |
175 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji |
176 | obecnych wersji Linuksa. | |
148a9af3 JB |
177 | |
178 | Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów | |
179 | wykorzystujących bibliotekę libvirt. | |
94462445 ER |
180 | |
181 | %package static | |
182 | Summary: Development static libraries for programs using libvirt | |
148a9af3 | 183 | Summary(pl.UTF-8): Statyczne biblioteki programistyczne do programów wykorzystujących libvirt |
94462445 | 184 | Group: Development/Libraries |
148a9af3 | 185 | Requires: %{name}-devel = %{version}-%{release} |
94462445 ER |
186 | |
187 | %description static | |
188 | Libvirt is a C toolkit to interact with the virtualization | |
189 | capabilities of recent versions of Linux. | |
190 | ||
148a9af3 JB |
191 | This package contains the static libraries for developing programs |
192 | using the libvirt library. | |
193 | ||
194 | %description static -l pl.UTF-8 | |
423a0b96 JR |
195 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji |
196 | obecnych wersji Linuksa. | |
148a9af3 JB |
197 | |
198 | Ten pakiet zawiera biblioteki statyczne do tworzenia programów | |
199 | wykorzystujących bibliotekę libvirt. | |
94462445 | 200 | |
5296d739 | 201 | %package -n python-%{name} |
94462445 | 202 | Summary: Python bindings to interact with virtualization capabilities |
148a9af3 | 203 | Summary(pl.UTF-8): Wiązania Pythona do współpracy z funkcjami wirtualizacji |
94462445 ER |
204 | Group: Development/Languages/Python |
205 | Requires: %{name} = %{version}-%{release} | |
206 | ||
207 | %description -n python-%{name} | |
208 | Libvirt is a C toolkit to interact with the virtualization | |
209 | capabilities of recent versions of Linux. | |
210 | ||
211 | This package contains the Python bindings for the libvirt library. | |
212 | ||
148a9af3 | 213 | %description -n python-%{name} -l pl.UTF-8 |
423a0b96 JR |
214 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji |
215 | obecnych wersji Linuksa. | |
148a9af3 JB |
216 | |
217 | Ten pakiet zawiera wiązania Pythona do biblioteki libvirt. | |
218 | ||
423a0b96 JR |
219 | %package lock-sanlock |
220 | Summary: Sanlock lock manager plugin for libvirt | |
221 | Summary(pl.UTF-8): Zarządca blokad sanlock dla biblioteki libvirt | |
222 | Group: Libraries | |
4ef34a20 | 223 | Requires: %{name}-daemon = %{version}-%{release} |
423a0b96 JR |
224 | |
225 | %description lock-sanlock | |
226 | Sanlock lock manager plugin for libvirt. | |
227 | ||
228 | %description lock-sanlock -l pl.UTF-8 | |
229 | Zarządca blokad sanlock dla biblioteki libvirt. | |
230 | ||
231 | %package daemon | |
232 | Summary: Server side daemon and supporting files for libvirt library | |
cf4bec93 | 233 | Summary(pl.UTF-8): Demon działający po stronie serwera oraz pliki wspierające dla biblioteki libvirt |
423a0b96 | 234 | Group: Applications/System |
94462445 | 235 | Requires: %{name} = %{version}-%{release} |
7ce5923d | 236 | Requires: avahi-libs >= 0.6.0 |
423a0b96 | 237 | Requires: iproute2 |
7ce5923d | 238 | Requires: libblkid >= 2.17 |
0c4e060a | 239 | %{?with_netcf:Requires: netcf >= 0.2.0} |
7ce5923d | 240 | Requires: parted-libs >= 1.8.0 |
423a0b96 JR |
241 | # Needed for probing the power management features of the host. |
242 | Requires: pm-utils | |
bf949ec1 | 243 | Requires: systemd-units >= 37-0.10 |
f2c82f45 | 244 | Requires: udev-libs >= 1:145 |
423a0b96 JR |
245 | Requires: util-linux |
246 | Requires: virtual(module-tools) | |
7ce5923d | 247 | Requires: xorg-lib-libpciaccess >= 0.10.0 |
6a9a4b42 | 248 | Provides: libvirt(hypervisor) |
423a0b96 JR |
249 | Requires(post): systemd-units |
250 | Requires(preun): systemd-units | |
251 | Requires(postun): systemd-units | |
624d0ccc | 252 | Suggests: bridge-utils |
423a0b96 JR |
253 | Suggests: cyrus-sasl |
254 | Suggests: cyrus-sasl-digest-md5 | |
8a8149a9 | 255 | Suggests: dmidecode |
423a0b96 | 256 | Suggests: dnsmasq >= 2.41 |
8a8149a9 JR |
257 | Suggests: ebtables |
258 | Suggests: gawk | |
423a0b96 | 259 | Suggests: glusterfs-client >= 2.0.1 |
8a8149a9 | 260 | Suggests: iptables |
423a0b96 JR |
261 | Suggests: iptables |
262 | Suggests: libcgroup | |
624d0ccc | 263 | Suggests: lvm2 |
423a0b96 JR |
264 | Suggests: numad |
265 | Suggests: open-iscsi | |
54247c34 | 266 | Suggests: parted >= 1.8.0 |
423a0b96 | 267 | Suggests: polkit >= 0.93 |
cdcb191c | 268 | #Suggests: radvd |
bf949ec1 | 269 | Suggests: scrub |
57a80ac3 | 270 | #Suggests: sheepdog |
94462445 | 271 | |
423a0b96 JR |
272 | %description daemon |
273 | Server side daemon required to manage the virtualization capabilities | |
274 | of recent versions of Linux. Requires a hypervisor specific sub-RPM | |
275 | for specific drivers. | |
276 | ||
cf4bec93 JB |
277 | %description daemon -l pl.UTF-8 |
278 | Demon działający po stronie serwera wymagany do zarządzania funkcjami | |
279 | wirtualizacji nowych wersji Linuksa. Wymaga podpakietu specyficznego | |
280 | dla hipernadzorcy. | |
281 | ||
423a0b96 | 282 | %package daemon-libxl |
cf4bec93 JB |
283 | Summary: Server side driver required to run XEN guests (xenlight) |
284 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości XEN (xenlight) | |
285 | Group: Libraries | |
423a0b96 JR |
286 | Requires: %{name}-daemon = %{version}-%{release} |
287 | Requires: /usr/sbin/qcow-create | |
288 | Requires: xen | |
289 | Provides: libvirt(hypervisor) | |
290 | ||
291 | %description daemon-libxl | |
cf4bec93 JB |
292 | Server side driver required to manage the virtualization capabilities |
293 | of XEN via xenlight interface. | |
294 | ||
295 | %description daemon-libxl -l pl.UTF-8 | |
296 | Sterownik wymagany po stronie serwera do zarządzania funkcjami | |
297 | wirtualizacji XEN poprzez interfejs xenlight. | |
423a0b96 JR |
298 | |
299 | %package daemon-lxc | |
cf4bec93 JB |
300 | Summary: Server side driver required to run LXC guests |
301 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości LXC | |
302 | Group: Libraries | |
423a0b96 | 303 | Requires: %{name}-daemon = %{version}-%{release} |
4ef34a20 | 304 | Requires: libfuse >= 2.8.6 |
423a0b96 JR |
305 | Provides: libvirt(hypervisor) |
306 | ||
307 | %description daemon-lxc | |
cf4bec93 JB |
308 | Server side driver required to manage the virtualization capabilities |
309 | of LXC. | |
310 | ||
311 | %description daemon-lxc -l pl.UTF-8 | |
312 | Sterownik wymagany po stronie serwera do zarządzania funkcjami | |
313 | wirtualizacji LXC. | |
423a0b96 | 314 | |
423a0b96 | 315 | %package daemon-qemu |
cf4bec93 JB |
316 | Summary: Server side driver required to run QEMU guests |
317 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości QEMU | |
318 | Group: Libraries | |
423a0b96 JR |
319 | Requires: %{name}-daemon = %{version}-%{release} |
320 | Requires: /usr/bin/qemu-img | |
423a0b96 JR |
321 | Requires: bzip2 |
322 | Requires: gzip | |
323 | Requires: lzop | |
6a9a4b42 | 324 | Requires: qemu |
423a0b96 JR |
325 | Requires: xz |
326 | Provides: libvirt(hypervisor) | |
327 | ||
328 | %description daemon-qemu | |
cf4bec93 JB |
329 | Server side driver required to manage the virtualization capabilities |
330 | of the QEMU emulators. | |
331 | ||
332 | %description daemon-qemu -l pl.UTF-8 | |
333 | Sterownik wymagany po stronie serwera do zarządzania funkcjami | |
334 | wirtualizacji emulatora QEMU. | |
423a0b96 JR |
335 | |
336 | %package daemon-uml | |
cf4bec93 JB |
337 | Summary: Server side driver required to run UML guests |
338 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości UML | |
339 | Group: Libraries | |
423a0b96 JR |
340 | Requires: %{name}-daemon = %{version}-%{release} |
341 | Provides: libvirt(hypervisor) | |
342 | ||
343 | %description daemon-uml | |
cf4bec93 JB |
344 | Server side driver required to manage the virtualization capabilities |
345 | of UML. | |
346 | ||
347 | %description daemon-uml -l pl.UTF-8 | |
348 | Sterownik wymagany po stronie serwera do zarządzania funkcjami | |
349 | wirtualizacji UML. | |
423a0b96 | 350 | |
423a0b96 | 351 | %package daemon-xen |
cf4bec93 JB |
352 | Summary: Server side driver required to run XEN guests |
353 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości XEN | |
354 | Group: Libraries | |
423a0b96 JR |
355 | Requires: %{name}-daemon = %{version}-%{release} |
356 | Requires: /usr/sbin/qcow-create | |
357 | Requires: xen | |
358 | Requires: xen-xend | |
359 | Provides: libvirt(hypervisor) | |
360 | ||
361 | %description daemon-xen | |
cf4bec93 JB |
362 | Server side driver required to manage the virtualization capabilities |
363 | of XEN. | |
364 | ||
365 | %description daemon-xen -l pl.UTF-8 | |
366 | Sterownik wymagany po stronie serwera do zarządzania funkcjami | |
367 | wirtualizacji XEN. | |
423a0b96 JR |
368 | |
369 | %package client | |
cf4bec93 JB |
370 | Summary: Client side utilities of the libvirt library |
371 | Summary(pl.UTF-8): Narzędzia klienckie do biblioteki libvirt | |
423a0b96 JR |
372 | Group: Applications/System |
373 | Requires: gettext >= 0.18.1.1-6 | |
374 | Requires: gnutls >= 1.0.25 | |
375 | Requires: netcat-openbsd | |
376 | Requires(post): systemd-units | |
377 | Requires(preun): systemd-units | |
378 | Requires(postun): systemd-units | |
379 | ||
380 | %description client | |
cf4bec93 JB |
381 | Client binaries needed to access to the virtualization capabilities of |
382 | recent versions of Linux (and other OSes). | |
383 | ||
384 | %description client -l pl.UTF-8 | |
385 | Programy klienckie potrzebne do funkcji wirtualizacji nowych wersji | |
386 | Linuksa (oraz innych systemów operacyjnych). | |
423a0b96 JR |
387 | |
388 | %package utils | |
cf4bec93 JB |
389 | Summary: Tools to interact with virtualization capabilities (metapackage) |
390 | Summary(pl.UTF-8): Narzędzia do współpracy z funkcjami wirtualizacyjnymi (metapakiet) | |
423a0b96 JR |
391 | Group: Applications/System |
392 | Requires: %{name}-client = %{version}-%{release} | |
393 | Requires: %{name}-daemon = %{version}-%{release} | |
40e7715f | 394 | %{?with_libxl:Requires: %{name}-daemon-libxl = %{version}-%{release}} |
423a0b96 | 395 | Requires: %{name}-daemon-lxc = %{version}-%{release} |
423a0b96 JR |
396 | Requires: %{name}-daemon-qemu = %{version}-%{release} |
397 | Requires: %{name}-daemon-uml = %{version}-%{release} | |
423a0b96 JR |
398 | Requires: %{name}-daemon-xen = %{version}-%{release} |
399 | ||
94462445 ER |
400 | %description utils |
401 | Libvirt is a C toolkit to interact with the virtualization | |
402 | capabilities of recent versions of Linux. | |
403 | ||
cf4bec93 | 404 | This is metapackage gathering all tools for the libvirt library. |
94462445 | 405 | |
148a9af3 | 406 | %description utils -l pl.UTF-8 |
423a0b96 JR |
407 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji |
408 | obecnych wersji Linuksa. | |
148a9af3 | 409 | |
cf4bec93 JB |
410 | To jest metapakiet zbierający wszystkie narzędzia przeznaczone dla |
411 | biblioteki libvirt. | |
148a9af3 | 412 | |
3e5ed185 JB |
413 | %package -n systemtap-libvirt |
414 | Summary: systemtap/dtrace probes for libvirt | |
415 | Summary(pl.UTF-8): Sondy systemtap/dtrace dla libvirt | |
416 | Group: Development/Tools | |
417 | Requires: %{name} = %{version}-%{release} | |
418 | Requires: systemtap-client | |
419 | ||
420 | %description -n systemtap-libvirt | |
421 | systemtap/dtrace probes for libvirt. | |
422 | ||
423 | %description -n systemtap-libvirt -l pl.UTF-8 | |
424 | Sondy systemtap/dtrace dla libvirt. | |
425 | ||
94462445 ER |
426 | %prep |
427 | %setup -q | |
5296d739 | 428 | %patch0 -p1 |
2d6e7f7e JB |
429 | # TODO |
430 | #patch1 -p1 | |
d6de3d6a | 431 | %patch2 -p1 |
c8f65936 | 432 | %patch3 -p1 |
8357fab1 | 433 | %patch4 -p1 |
7448c7c9 | 434 | %patch5 -p1 |
eb319e62 | 435 | %{?with_vserver:%patch6 -p1} |
5296d739 | 436 | |
2c74cc69 | 437 | # weird translations |
5296d739 | 438 | %{__rm} po/{my,eu_ES}.{po,gmo} |
94462445 | 439 | |
01260398 AF |
440 | mv po/vi_VN.po po/vi.po |
441 | mv po/vi_VN.gmo po/vi.gmo | |
442 | ||
94462445 | 443 | %build |
4e034fd2 AF |
444 | %{__libtoolize} |
445 | %{__aclocal} -I gnulib/m4 -I m4 | |
4e034fd2 | 446 | %{__autoconf} |
7ce5923d | 447 | %{__autoheader} |
4e034fd2 AF |
448 | %{__automake} |
449 | ||
450 | %configure \ | |
624d0ccc | 451 | PVCREATE=/sbin/pvcreate \ |
452 | VGCREATE=/sbin/vgcreate \ | |
453 | LVCREATE=/sbin/lvcreate \ | |
454 | PVREMOVE=/sbin/pvremove \ | |
455 | VGREMOVE=/sbin/vgremove \ | |
456 | LVREMOVE=/sbin/lvremove \ | |
457 | VGCHANGE=/sbin/vgchange \ | |
a1550d89 | 458 | LVCHANGE=/sbin/lvchange \ |
624d0ccc | 459 | VGSCAN=/sbin/vgscan \ |
460 | PVS=/sbin/pvs \ | |
461 | VGS=/sbin/vgs \ | |
462 | LVS=/sbin/lvs \ | |
7ce5923d | 463 | TC=/sbin/tc \ |
624d0ccc | 464 | BRCTL=/sbin/brctl \ |
5cbe4501 | 465 | ISCSIADM=/sbin/iscsiadm \ |
466 | SHOWMOUNT=/usr/sbin/showmount \ | |
7ce5923d JB |
467 | MOUNT=/bin/mount \ |
468 | UMOUNT=/bin/umount \ | |
469 | MKFS=/sbin/mkfs \ | |
36a3330a | 470 | SHOWMOUNT=/usr/sbin/showmount \ |
471 | IPTABLES_PATH=/usr/sbin/iptables \ | |
472 | IP6TABLES_PATH=/usr/sbin/ip6tables \ | |
d9fa538f | 473 | EBTABLES_PATH=/usr/sbin/ebtables \ |
7ce5923d JB |
474 | ISCSIADM=/sbin/iscsiadm \ |
475 | DNSMASQ=/usr/sbin/dnsmasq \ | |
476 | RADVD=/usr/sbin/radvd \ | |
477 | UDEVADM=/sbin/udevadm \ | |
621ed3d1 | 478 | MODPROBE=/sbin/modprobe \ |
bf949ec1 | 479 | SCRUB=/usr/bin/scrub \ |
f4fa2857 | 480 | OVSVSCTL=/usr/bin/ovs-vsctl \ |
423a0b96 | 481 | NUMAD=/usr/bin/numad \ |
57a80ac3 | 482 | COLLIE=/usr/sbin/collie \ |
621ed3d1 | 483 | --disable-silent-rules \ |
c4db1ab9 | 484 | %{?with_static_libs:--enable-static} \ |
621ed3d1 JB |
485 | --with-html-dir=%{_gtkdocdir} \ |
486 | --with-html-subdir=%{name} \ | |
4ef34a20 JB |
487 | --with-init-script=systemd+redhat \ |
488 | --with-packager="PLD-Linux" \ | |
489 | --with-packager-version="%{name}-%{version}-%{release}.%{_target_cpu}" \ | |
3e5ed185 JB |
490 | --with-qemu-user=qemu \ |
491 | --with-qemu-group=qemu \ | |
c2a00b8b | 492 | --with-storage-disk \ |
bf949ec1 JR |
493 | --with-storage-fs \ |
494 | --with-storage-iscsi \ | |
c2a00b8b | 495 | --with-storage-lvm \ |
bf949ec1 | 496 | --with-storage-mpath \ |
c2a00b8b JB |
497 | --with-storage-rbd%{!?with_ceph:=no} \ |
498 | --with-storage-scsi \ | |
57a80ac3 | 499 | --with-storage-sheepdog \ |
423a0b96 | 500 | --with-apparmor \ |
3e5ed185 JB |
501 | --with-audit \ |
502 | --with-avahi \ | |
503 | %{__with_without systemtap dtrace} \ | |
423a0b96 | 504 | %{__with_without esx} \ |
3e5ed185 JB |
505 | --with-driver-modules \ |
506 | --without-hal \ | |
423a0b96 | 507 | %{__with_without hyperv} \ |
3e5ed185 JB |
508 | --with-libblkid \ |
509 | --with-libssh2 \ | |
423a0b96 JR |
510 | %{__with_without libxl} \ |
511 | %{__with_without lxc} \ | |
3e5ed185 | 512 | --with-macvtap \ |
423a0b96 | 513 | %{__with_without netcf} \ |
3e5ed185 JB |
514 | --with-numactl \ |
515 | --with-numad \ | |
423a0b96 JR |
516 | %{__with_without openvz} \ |
517 | %{__with_without phyp} \ | |
3e5ed185 | 518 | %{__with_without polkit} \ |
423a0b96 JR |
519 | %{__with_without qemu} \ |
520 | %{__with_without sanlock} \ | |
3e5ed185 JB |
521 | --with-sasl \ |
522 | --with-selinux \ | |
523 | --with-udev \ | |
423a0b96 JR |
524 | %{__with_without uml} \ |
525 | %{__with_without vbox vbox %{_libdir}/VirtualBox} \ | |
3e5ed185 | 526 | --with-virtualport \ |
423a0b96 JR |
527 | %{__with_without vmware} \ |
528 | %{__with_without xen} \ | |
529 | %{__with_without xenapi} \ | |
3e5ed185 | 530 | --with-yajl \ |
4ef34a20 | 531 | --x-libraries=%{_libdir} |
7ce5923d JB |
532 | |
533 | %{__make} \ | |
534 | AWK=gawk | |
94462445 ER |
535 | |
536 | %install | |
537 | rm -rf $RPM_BUILD_ROOT | |
ed4dd5b7 | 538 | install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d} \ |
423a0b96 | 539 | $RPM_BUILD_ROOT%{systemdtmpfilesdir} |
ed4dd5b7 | 540 | |
94462445 | 541 | %{__make} install \ |
46ab7552 | 542 | DEVHELP_DIR=%{_gtkdocdir}/%{name}/devhelp \ |
94462445 ER |
543 | DESTDIR=$RPM_BUILD_ROOT |
544 | ||
e285e5e5 | 545 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/libvirtd |
423a0b96 | 546 | install %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf |
e285e5e5 | 547 | |
5296d739 JB |
548 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} |
549 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
550 | %py_postclean | |
7f159b90 | 551 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la |
5296d739 | 552 | |
423a0b96 | 553 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
c4db1ab9 JB |
554 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.la \ |
555 | %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.a} | |
423a0b96 | 556 | |
621ed3d1 | 557 | %if %{with sanlock} |
c4db1ab9 JB |
558 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.la \ |
559 | %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.a} | |
621ed3d1 JB |
560 | %endif |
561 | ||
94462445 ER |
562 | %find_lang %{name} |
563 | ||
564 | %clean | |
565 | rm -rf $RPM_BUILD_ROOT | |
566 | ||
5296d739 JB |
567 | %post -p /sbin/ldconfig |
568 | %postun -p /sbin/ldconfig | |
94462445 | 569 | |
423a0b96 | 570 | %post daemon |
bf949ec1 | 571 | %systemd_post libvirtd.service |
423a0b96 JR |
572 | |
573 | %preun daemon | |
574 | %systemd_preun libvirtd.service | |
575 | ||
576 | %postun daemon | |
577 | %systemd_reload | |
578 | ||
579 | %post client | |
bf949ec1 JR |
580 | NORESTART=1 |
581 | %systemd_post libvirt-guests.service | |
582 | ||
423a0b96 | 583 | %preun client |
bf949ec1 JR |
584 | %systemd_preun libvirt-guests.service |
585 | ||
423a0b96 | 586 | %postun client |
bf949ec1 JR |
587 | %systemd_reload |
588 | ||
94462445 ER |
589 | %files -f %{name}.lang |
590 | %defattr(644,root,root,755) | |
591 | %doc ChangeLog README TODO NEWS | |
cf4bec93 | 592 | %dir %{_sysconfdir}/libvirt |
423a0b96 | 593 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirt.conf |
5296d739 JB |
594 | %attr(755,root,root) %{_libdir}/libvirt.so.*.*.* |
595 | %attr(755,root,root) %ghost %{_libdir}/libvirt.so.0 | |
bf7aa31b JB |
596 | %if %{with lxc} |
597 | %attr(755,root,root) %{_libdir}/libvirt-lxc.so.*.*.* | |
598 | %attr(755,root,root) %ghost %{_libdir}/libvirt-lxc.so.0 | |
599 | %endif | |
423a0b96 | 600 | %if %{with qemu} |
5296d739 JB |
601 | %attr(755,root,root) %{_libdir}/libvirt-qemu.so.*.*.* |
602 | %attr(755,root,root) %ghost %{_libdir}/libvirt-qemu.so.0 | |
fa6419a6 | 603 | %endif |
bf7aa31b | 604 | |
423a0b96 | 605 | %dir %{_libdir}/libvirt |
c47719f5 | 606 | %dir %{_datadir}/libvirt |
c4db1ab9 | 607 | %{_datadir}/libvirt/libvirtLogo.png |
3ac3cd0c | 608 | |
94462445 ER |
609 | %files devel |
610 | %defattr(644,root,root,755) | |
5296d739 | 611 | %attr(755,root,root) %{_libdir}/libvirt.so |
bf7aa31b JB |
612 | %{?with_lxc:%attr(755,root,root) %{_libdir}/libvirt-lxc.so} |
613 | %{?with_qemu:%attr(755,root,root) %{_libdir}/libvirt-qemu.so} | |
f4fa2857 | 614 | %{_datadir}/%{name}/api |
5296d739 JB |
615 | %{_gtkdocdir}/%{name} |
616 | %{_includedir}/%{name} | |
94462445 ER |
617 | %{_pkgconfigdir}/%{name}.pc |
618 | ||
619 | %files static | |
620 | %defattr(644,root,root,755) | |
5296d739 | 621 | %{_libdir}/libvirt.a |
bf7aa31b JB |
622 | %{?with_lxc:%{_libdir}/libvirt-lxc.a} |
623 | %{?with_qemu:%{_libdir}/libvirt-qemu.a} | |
94462445 ER |
624 | |
625 | %files -n python-%{name} | |
626 | %defattr(644,root,root,755) | |
627 | %doc %{_docdir}/%{name}-python-%{version} | |
a73c464c | 628 | %attr(755,root,root) %{py_sitedir}/libvirtmod.so |
5296d739 | 629 | %{py_sitedir}/libvirt.py[co] |
bf7aa31b JB |
630 | %if %{with lxc} |
631 | %attr(755,root,root) %{py_sitedir}/libvirtmod_lxc.so | |
632 | %{py_sitedir}/libvirt_lxc.py[co] | |
633 | %endif | |
634 | %if %{with qemu} | |
635 | %attr(755,root,root) %{py_sitedir}/libvirtmod_qemu.so | |
5296d739 | 636 | %{py_sitedir}/libvirt_qemu.py[co] |
bf7aa31b | 637 | %endif |
94462445 | 638 | |
cf4bec93 JB |
639 | %if %{with sanlock} |
640 | %files lock-sanlock | |
641 | %defattr(644,root,root,755) | |
642 | %attr(755,root,root) %{_sbindir}/virt-sanlock-cleanup | |
35ba9435 | 643 | %attr(755,root,root) %{_libdir}/libvirt_sanlock_helper |
cf4bec93 JB |
644 | %attr(755,root,root) %{_libdir}/libvirt/lock-driver/sanlock.so |
645 | %{_datadir}/augeas/lenses/libvirt_sanlock.aug | |
646 | %{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug | |
647 | %dir /var/lib/libvirt/sanlock | |
648 | %{_mandir}/man8/virt-sanlock-cleanup.8* | |
649 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu-sanlock.conf | |
650 | %endif | |
651 | ||
423a0b96 | 652 | %files daemon |
94462445 | 653 | %defattr(644,root,root,755) |
423a0b96 | 654 | %doc docs/*.xml |
423a0b96 JR |
655 | %dir %attr(700,root,root) %{_sysconfdir}/libvirt/nwfilter |
656 | %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu | |
657 | %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu/networks | |
658 | %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu/networks/autostart | |
659 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirtd.conf | |
4ef34a20 | 660 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu-lockd.conf |
423a0b96 JR |
661 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu/networks/default.xml |
662 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml | |
663 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/nwfilter/*.xml | |
72b1baa0 | 664 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/libvirt.conf |
e285e5e5 | 665 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/libvirtd |
4ef34a20 | 666 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/virtlockd |
bf949ec1 | 667 | %attr(754,root,root) /etc/rc.d/init.d/libvirtd |
4ef34a20 | 668 | %attr(754,root,root) /etc/rc.d/init.d/virtlockd |
bf949ec1 | 669 | %{systemdunitdir}/libvirtd.service |
4ef34a20 JB |
670 | %{systemdunitdir}/virtlockd.service |
671 | %{systemdunitdir}/virtlockd.socket | |
bf7aa31b | 672 | %config(noreplace) %verify(not md5 mtime size) /usr/lib/sysctl.d/libvirtd.conf |
423a0b96 JR |
673 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd |
674 | %attr(755,root,root) %{_libdir}/libvirt_iohelper | |
621ed3d1 | 675 | %attr(755,root,root) %{_libdir}/libvirt_parthelper |
423a0b96 JR |
676 | %attr(755,root,root) %{_libdir}/virt-aa-helper |
677 | %attr(755,root,root) %{_sbindir}/libvirtd | |
4ef34a20 | 678 | %attr(755,root,root) %{_sbindir}/virtlockd |
423a0b96 | 679 | %{_datadir}/augeas/lenses/libvirtd.aug |
4ef34a20 | 680 | %{_datadir}/augeas/lenses/libvirt_lockd.aug |
423a0b96 | 681 | %{_datadir}/augeas/lenses/tests/test_libvirtd.aug |
4ef34a20 | 682 | %{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug |
3e5ed185 JB |
683 | %if %{with polkit} |
684 | %{_datadir}/polkit-1/actions/org.libvirt.api.policy | |
685 | %{_datadir}/polkit-1/actions/org.libvirt.unix.policy | |
686 | %endif | |
e4177f0c | 687 | %{_mandir}/man8/libvirtd.8* |
d5a575f6 | 688 | %dir /var/lib/libvirt |
621ed3d1 | 689 | %dir /var/lib/libvirt/dnsmasq |
423a0b96 | 690 | %attr(711,root,root) %dir /var/lib/libvirt/boot |
621ed3d1 | 691 | %attr(700,root,root) %dir /var/lib/libvirt/network |
423a0b96 JR |
692 | %attr(711,root,root) %dir /var/lib/libvirt/images |
693 | %attr(711,root,root) %dir /var/lib/libvirt/filesystems | |
694 | %attr(700,root,root) %dir /var/log/libvirt | |
695 | %attr(711,root,root) %dir /var/cache/libvirt | |
621ed3d1 | 696 | %dir /var/run/libvirt |
423a0b96 JR |
697 | %dir /var/run/libvirt/network |
698 | %{systemdtmpfilesdir}/%{name}.conf | |
699 | %dir %{_libdir}/libvirt/connection-driver | |
29b6137e | 700 | %{_datadir}/libvirt/cpu_map.xml |
273917b1 JR |
701 | %{?with_netcf:%attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_interface.so} |
702 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_network.so | |
703 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_nodedev.so | |
704 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_nwfilter.so | |
705 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_secret.so | |
706 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_storage.so | |
c4db1ab9 | 707 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_vbox.so |
4ef34a20 JB |
708 | %dir %{_libdir}/libvirt/lock-driver |
709 | %attr(755,root,root) %{_libdir}/libvirt/lock-driver/lockd.so | |
423a0b96 | 710 | |
eae1555f | 711 | %if %{with libxl} |
423a0b96 JR |
712 | %files daemon-libxl |
713 | %defattr(644,root,root,755) | |
273917b1 | 714 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_libxl.so |
423a0b96 JR |
715 | %attr(700,root,root) %dir /var/lib/libvirt/libxl |
716 | %attr(700,root,root) %dir /var/run/libvirt/libxl | |
717 | %attr(700,root,root) %dir /var/log/libvirt/libxl | |
718 | %endif | |
719 | ||
eae1555f | 720 | %if %{with lxc} |
423a0b96 JR |
721 | %files daemon-lxc |
722 | %defattr(644,root,root,755) | |
723 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/lxc.conf | |
724 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.lxc | |
725 | %attr(700,root,root) %dir /var/lib/libvirt/lxc | |
621ed3d1 | 726 | %attr(700,root,root) %dir /var/run/libvirt/lxc |
423a0b96 JR |
727 | %attr(700,root,root) %dir /var/log/libvirt/lxc |
728 | %{_datadir}/augeas/lenses/libvirtd_lxc.aug | |
729 | %{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug | |
730 | %attr(755,root,root) %{_libdir}/libvirt_lxc | |
273917b1 | 731 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_lxc.so |
423a0b96 JR |
732 | %endif |
733 | ||
621ed3d1 | 734 | %if %{with qemu} |
423a0b96 JR |
735 | %files daemon-qemu |
736 | %defattr(644,root,root,755) | |
737 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu.conf | |
738 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.qemu | |
739 | %attr(750,qemu,qemu) %dir /var/cache/libvirt/qemu | |
740 | %attr(750,qemu,qemu) %dir /var/lib/libvirt/qemu | |
621ed3d1 JB |
741 | %attr(700,root,root) %dir /var/log/libvirt/qemu |
742 | %attr(700,root,root) %dir /var/run/libvirt/qemu | |
423a0b96 JR |
743 | %{_datadir}/augeas/lenses/libvirtd_qemu.aug |
744 | %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug | |
273917b1 | 745 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_qemu.so |
423a0b96 JR |
746 | %endif |
747 | ||
eae1555f | 748 | %if %{with uml} |
423a0b96 JR |
749 | %files daemon-uml |
750 | %defattr(644,root,root,755) | |
273917b1 | 751 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_uml.so |
423a0b96 JR |
752 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.uml |
753 | %attr(700,root,root) %dir /var/lib/libvirt/uml | |
754 | %attr(700,root,root) %dir /var/run/libvirt/uml | |
755 | %attr(700,root,root) %dir /var/log/libvirt/uml | |
621ed3d1 | 756 | %endif |
423a0b96 | 757 | |
eae1555f | 758 | %if %{with xen} |
423a0b96 JR |
759 | %files daemon-xen |
760 | %defattr(644,root,root,755) | |
273917b1 | 761 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_xen.so |
423a0b96 JR |
762 | %endif |
763 | ||
764 | %files client | |
765 | %defattr(644,root,root,755) | |
766 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/libvirt-guests | |
767 | %attr(754,root,root) /etc/rc.d/init.d/libvirt-guests | |
768 | %{systemdunitdir}/libvirt-guests.service | |
769 | %attr(755,root,root) %{_bindir}/virsh | |
770 | %attr(755,root,root) %{_bindir}/virt-host-validate | |
771 | %attr(755,root,root) %{_bindir}/virt-xml-validate | |
772 | %attr(755,root,root) %{_bindir}/virt-pki-validate | |
4ef34a20 | 773 | %attr(754,root,root) %{_libexecdir}/libvirt-guests.sh |
423a0b96 JR |
774 | %{_mandir}/man1/virsh.1* |
775 | %{_mandir}/man1/virt-host-validate.1* | |
776 | %{_mandir}/man1/virt-xml-validate.1* | |
777 | %{_mandir}/man1/virt-pki-validate.1* | |
423a0b96 JR |
778 | %dir %{_datadir}/libvirt/schemas |
779 | %{_datadir}/libvirt/schemas/basictypes.rng | |
780 | %{_datadir}/libvirt/schemas/capability.rng | |
781 | %{_datadir}/libvirt/schemas/domain.rng | |
782 | %{_datadir}/libvirt/schemas/domaincommon.rng | |
783 | %{_datadir}/libvirt/schemas/domainsnapshot.rng | |
784 | %{_datadir}/libvirt/schemas/interface.rng | |
785 | %{_datadir}/libvirt/schemas/network.rng | |
786 | %{_datadir}/libvirt/schemas/networkcommon.rng | |
787 | %{_datadir}/libvirt/schemas/nodedev.rng | |
788 | %{_datadir}/libvirt/schemas/nwfilter.rng | |
789 | %{_datadir}/libvirt/schemas/secret.rng | |
790 | %{_datadir}/libvirt/schemas/storageencryption.rng | |
3e5ed185 | 791 | %{_datadir}/libvirt/schemas/storagefilefeatures.rng |
423a0b96 JR |
792 | %{_datadir}/libvirt/schemas/storagepool.rng |
793 | %{_datadir}/libvirt/schemas/storagevol.rng | |
794 | ||
795 | %files utils | |
796 | %defattr(644,root,root,755) | |
3e5ed185 JB |
797 | |
798 | %if %{with systemtap} | |
799 | %files -n systemtap-libvirt | |
800 | %defattr(644,root,root,755) | |
801 | %{_datadir}/systemtap/tapset/libvirt_functions.stp | |
802 | %{_datadir}/systemtap/tapset/libvirt_probes.stp | |
803 | %{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp | |
804 | %endif |