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