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