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