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