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