]>
Commit | Line | Data |
---|---|---|
b52de85c | 1 | # TODO: |
fb415d8b JB |
2 | # - parallels-sdk >= 7.0.22? |
3 | # - virtuozzo storage? | |
40a24f8b | 4 | # - mdevctl |
1c850183 JB |
5 | # - mm-ctl (https://github.com/tfukushima/mm-ctl ?) |
6 | # - numad (https://pagure.io/numad/ or https://github.com/yhaenggi/numad/releases ?) | |
7 | # - vstorage, vstorage-mount | |
8357fab1 | 8 | # - pldize virtlockd.init |
af7f943c | 9 | # - update vserver patch, if anybody needs it |
1c850183 | 10 | # - package firewalld zone definition (see files) |
e7875b0f | 11 | # |
94462445 | 12 | # Conditional build: |
af7f943c | 13 | # - virtualization |
423a0b96 JR |
14 | %bcond_without esx # VMware ESX support |
15 | %bcond_without hyperv # Hyper-V support | |
ea8a16b2 | 16 | %bcond_without libxl # libxenlight support |
423a0b96 | 17 | %bcond_without lxc # LXC support |
bf949ec1 | 18 | %bcond_without openvz # OpenVZ support |
f2c82f45 | 19 | %bcond_without qemu # Qemu support |
423a0b96 JR |
20 | %bcond_without vbox # VirtualBox support |
21 | %bcond_without vmware # VMware Workstation/Player support | |
eb319e62 | 22 | %bcond_with vserver # Support for Linux-VServer guests |
af7f943c JB |
23 | # - storage |
24 | %bcond_without ceph # RADOS BD (Ceph) storage support | |
25 | %bcond_without glusterfs # GlusterFS storage support | |
26 | # - storage locking | |
27 | %bcond_without sanlock # sanlock storage lock manager | |
28 | # - other | |
29 | %bcond_without netcf # host interfaces support | |
30 | %bcond_without polkit # PolicyKit support | |
31 | %bcond_without systemtap # systemtap/dtrace probes | |
32 | %bcond_without wireshark # wireshark dissector module | |
04ecdedc | 33 | %bcond_without static_libs # static libraries build |
94462445 | 34 | |
148a9af3 | 35 | # qemu available only on x86 and ppc |
9499cddc | 36 | %ifnarch %{ix86} %{x8664} aarch64 ppc |
148a9af3 JB |
37 | %undefine with_qemu |
38 | %endif | |
96de3a81 | 39 | |
1c850183 JB |
40 | # Xen supported architectures |
41 | %ifnarch %{ix86} %{x8664} %{arm} aarch64 | |
5c892098 | 42 | %undefine with_libxl |
94462445 | 43 | %endif |
6d974b69 | 44 | |
94462445 | 45 | Summary: Toolkit to interact with virtualization capabilities |
148a9af3 | 46 | Summary(pl.UTF-8): Narzędzia współpracujące z funkcjami wirtualizacji |
94462445 | 47 | Name: libvirt |
8aef513d | 48 | Version: 10.2.0 |
cf08a5bf | 49 | Release: 1 |
148a9af3 | 50 | License: LGPL v2.1+ |
423a0b96 | 51 | Group: Libraries |
542efd59 | 52 | Source0: https://download.libvirt.org/%{name}-%{version}.tar.xz |
8aef513d | 53 | # Source0-md5: f0856217199b32447704fb741d4a8edc |
e285e5e5 | 54 | Source1: %{name}.init |
ed4dd5b7 | 55 | Source2: %{name}.tmpfiles |
5296d739 | 56 | Patch0: %{name}-sasl.patch |
40a24f8b | 57 | Patch1: %{name}-paths.patch |
423a0b96 | 58 | Patch2: %{name}-qemu-acl.patch |
40a24f8b | 59 | Patch3: %{name}-path-options.patch |
be8dc440 JK |
60 | Patch4: %{name}-udevadm-settle.patch |
61 | Patch5: vserver.patch | |
62 | Patch6: bashisms.patch | |
1c850183 | 63 | URL: https://www.libvirt.org/ |
fb415d8b JB |
64 | BuildRequires: acl-devel |
65 | BuildRequires: attr-devel | |
7ce5923d | 66 | BuildRequires: audit-libs-devel |
fa080175 | 67 | BuildRequires: augeas-devel |
acb65c74 | 68 | BuildRequires: bash-completion-devel >= 1:2.0 |
83426b5b | 69 | %{?with_ceph:BuildRequires: ceph-devel} |
9c616e1f | 70 | BuildRequires: curl-devel >= 7.19.1 |
1c850183 | 71 | BuildRequires: cyrus-sasl-devel >= 2.1.26 |
54247c34 | 72 | BuildRequires: dbus-devel >= 1.0.0 |
4e034fd2 | 73 | BuildRequires: device-mapper-devel >= 1.0.0 |
1c850183 JB |
74 | # rst2html5 rst2man |
75 | BuildRequires: docutils | |
5cbe4501 | 76 | BuildRequires: gawk |
0513cc2a | 77 | BuildRequires: gcc >= 6:4.4 |
e9f5f452 | 78 | BuildRequires: gettext-tools >= 0.17 |
9c616e1f | 79 | BuildRequires: glib2-devel >= 1:2.56.0 |
6dcba5af | 80 | %{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4.1} |
9c616e1f | 81 | BuildRequires: gnutls-devel >= 3.6.0 |
cf08a5bf | 82 | BuildRequires: libapparmor-devel >= 3.0.0 |
7ce5923d JB |
83 | BuildRequires: libblkid-devel >= 2.17 |
84 | BuildRequires: libcap-ng-devel >= 0.4.0 | |
9c616e1f | 85 | BuildRequires: libfuse3-devel >= 3.1.0 |
7ce5923d | 86 | BuildRequires: libgcrypt-devel |
1c850183 | 87 | BuildRequires: libiscsi-devel >= 1.18.0 |
cf08a5bf | 88 | BuildRequires: libnbd-devel >= 1.0 |
54247c34 | 89 | BuildRequires: libnl-devel >= 3.2 |
1c850183 | 90 | BuildRequires: libpcap-devel >= 1.5.0 |
fb415d8b | 91 | BuildRequires: libselinux-devel >= 2.5 |
9c616e1f | 92 | BuildRequires: libssh-devel >= 0.8.1 |
e9ea35db | 93 | BuildRequires: libssh2-devel >= 1.3 |
40a24f8b | 94 | BuildRequires: libtirpc-devel |
1c850183 JB |
95 | BuildRequires: libxml2-devel >= 1:2.9.1 |
96 | BuildRequires: libxml2-progs >= 1:2.9.1 | |
fa080175 | 97 | BuildRequires: libxslt-devel |
1c850183 | 98 | BuildRequires: libxslt-progs |
db71e203 | 99 | BuildRequires: meson >= 0.56.0 |
94462445 | 100 | BuildRequires: ncurses-devel |
0c4e060a | 101 | %{?with_netcf:BuildRequires: netcf-devel >= 0.2.0} |
04ecdedc | 102 | BuildRequires: ninja >= 1.5 |
40a24f8b JB |
103 | BuildRequires: nss-devel >= 3 |
104 | BuildRequires: numactl-devel >= 2.0.6 | |
105 | %{?with_hyperv:BuildRequires: openwsman-devel >= 2.6.3} | |
36a3330a | 106 | BuildRequires: parted-devel >= 1.8.0 |
69187f5d | 107 | BuildRequires: pkgconfig |
8b51fd22 | 108 | %{?with_polkit:BuildRequires: polkit-devel >= 0.90} |
04ecdedc | 109 | %{?with_polkit:BuildRequires: polkit} |
1c850183 | 110 | BuildRequires: python3 >= 1:3.0 |
40a24f8b | 111 | BuildRequires: readline-devel >= 7.0 |
6827ad9b | 112 | BuildRequires: rpcsvc-proto |
2508995e | 113 | BuildRequires: rpm-build >= 4.6 |
0cbba7f6 | 114 | BuildRequires: rpmbuild(macros) >= 1.752 |
40a24f8b JB |
115 | %{?with_sanlock:BuildRequires: sanlock-devel >= 3.5.0} |
116 | BuildRequires: sed >= 4.0 | |
5bb742b4 | 117 | BuildRequires: systemd-devel |
3e5ed185 | 118 | %{?with_systemtap:BuildRequires: systemtap-sdt-devel} |
887cc7c4 | 119 | BuildRequires: tar >= 1:1.22 |
1c850183 | 120 | BuildRequires: udev-devel >= 1:219 |
40a24f8b | 121 | %{?with_wireshark:BuildRequires: wireshark-devel >= 2.6.0} |
cf08a5bf | 122 | %{?with_libxl:BuildRequires: xen-devel >= 4.13} |
94462445 | 123 | # For disk driver |
7ce5923d | 124 | BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0 |
887cc7c4 | 125 | BuildRequires: xz |
1c850183 | 126 | BuildRequires: yajl-devel >= 2.0.3 |
9c616e1f | 127 | Requires: curl-libs >= 7.19.1 |
1c850183 JB |
128 | Requires: cyrus-sasl-libs >= 2.1.26 |
129 | Requires: device-mapper-libs >= 1.0.0 | |
9c616e1f JB |
130 | Requires: glib2 >= 1:2.56.0 |
131 | Requires: gnutls-libs >= 3.6.0 | |
cf08a5bf | 132 | Requires: libapparmor >= 3.0.0 |
7ce5923d | 133 | Requires: libcap-ng >= 0.4.0 |
54247c34 | 134 | Requires: libnl >= 3.2 |
1c850183 | 135 | Requires: libpcap >= 1.5.0 |
fb415d8b | 136 | Requires: libselinux >= 2.5 |
9c616e1f | 137 | Requires: libssh >= 0.8.1 |
e9ea35db | 138 | Requires: libssh2 >= 1.3 |
1c850183 | 139 | Requires: libxml2 >= 1:2.9.1 |
40a24f8b | 140 | %{?with_hyperv:Requires: openwsman-libs >= 2.6.3} |
1c850183 | 141 | Requires: yajl >= 2.0.3 |
40a24f8b JB |
142 | Obsoletes: libvirt-daemon-esx < 0.9.13 |
143 | Obsoletes: libvirt-daemon-hyperv < 0.9.13 | |
144 | Obsoletes: libvirt-daemon-openvz < 0.9.13 | |
be03a776 JB |
145 | Obsoletes: libvirt-daemon-phyp < 6.0.0 |
146 | Obsoletes: libvirt-daemon-uml < 5.0.0 | |
40a24f8b | 147 | Obsoletes: libvirt-daemon-vmware < 0.9.13 |
94462445 ER |
148 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
149 | ||
94462445 ER |
150 | %description |
151 | Libvirt is a C toolkit to interact with the virtualization | |
152 | capabilities of recent versions of Linux. | |
153 | ||
154 | Virtualization of the Linux Operating System means the ability to run | |
155 | multiple instances of Operating Systems concurently on a single | |
156 | hardware system where the basic resources are driven by a Linux | |
157 | instance. The library aim at providing long term stable C API | |
158 | initially for the Xen paravirtualization but should be able to | |
159 | integrate other virtualization mechanisms if needed. | |
160 | ||
cf4bec93 JB |
161 | This package contains the base libraries and configuration file. |
162 | ||
148a9af3 | 163 | %description -l pl.UTF-8 |
423a0b96 JR |
164 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji |
165 | obecnych wersji Linuksa. | |
148a9af3 JB |
166 | |
167 | Wirtualizacja w systemie operacyjnym Linux oznacza możliwość | |
168 | jednoczesnego uruchamiania wielu instancji systemu operacyjnego na | |
169 | pojedynczym systemie sprzętowym, którego podstawowe zasoby są | |
170 | zarządzane przez instancję Linuksa. Celem biblioteki jest zapewnienie | |
171 | długotrwale stabilnego API C, początkowo do parawirtualizacji Xen, ale | |
172 | dającej się zintegrować w razie potrzeby z innymi mechanizmami | |
173 | wirtualizacji. | |
174 | ||
cf4bec93 JB |
175 | Ten pakiet zawiera podstawowe biblioteki oraz plik konfiguracyjny. |
176 | ||
842a4333 | 177 | %package -n bash-completion-%{name} |
be03a776 | 178 | Summary: bash-completion for libvirt |
1c850183 | 179 | Summary(pl.UTF-8): Bashowe dopełnianie składni poleceń libvirt |
be03a776 | 180 | Group: Applications/Shells |
9c616e1f | 181 | Requires: bash-completion >= 1:2.0 |
5d55cc1a | 182 | BuildArch: noarch |
842a4333 JP |
183 | |
184 | %description -n bash-completion-%{name} | |
185 | This package provides bash-completion for libvirt. | |
186 | ||
1c850183 JB |
187 | %description -n bash-completion-%{name} -l pl.UTF-8 |
188 | Ten pakiet zapewnia bashowe dopełnianie składni dla poleceń libvirt. | |
189 | ||
94462445 | 190 | %package devel |
148a9af3 JB |
191 | Summary: Development files for programs using libvirt |
192 | Summary(pl.UTF-8): Pliki programistyczne do programów wykorzystujących libvirt | |
94462445 ER |
193 | Group: Development/Libraries |
194 | Requires: %{name} = %{version}-%{release} | |
94462445 ER |
195 | |
196 | %description devel | |
197 | Libvirt is a C toolkit to interact with the virtualization | |
198 | capabilities of recent versions of Linux. | |
199 | ||
148a9af3 JB |
200 | This package contains the header files needed for developing programs |
201 | using the libvirt library. | |
202 | ||
203 | %description devel -l pl.UTF-8 | |
423a0b96 JR |
204 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji |
205 | obecnych wersji Linuksa. | |
148a9af3 JB |
206 | |
207 | Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów | |
208 | wykorzystujących bibliotekę libvirt. | |
94462445 ER |
209 | |
210 | %package static | |
211 | Summary: Development static libraries for programs using libvirt | |
148a9af3 | 212 | Summary(pl.UTF-8): Statyczne biblioteki programistyczne do programów wykorzystujących libvirt |
94462445 | 213 | Group: Development/Libraries |
148a9af3 | 214 | Requires: %{name}-devel = %{version}-%{release} |
94462445 ER |
215 | |
216 | %description static | |
217 | Libvirt is a C toolkit to interact with the virtualization | |
218 | capabilities of recent versions of Linux. | |
219 | ||
148a9af3 JB |
220 | This package contains the static libraries for developing programs |
221 | using the libvirt library. | |
222 | ||
223 | %description static -l pl.UTF-8 | |
423a0b96 JR |
224 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji |
225 | obecnych wersji Linuksa. | |
148a9af3 JB |
226 | |
227 | Ten pakiet zawiera biblioteki statyczne do tworzenia programów | |
228 | wykorzystujących bibliotekę libvirt. | |
94462445 | 229 | |
1c850183 JB |
230 | %package doc |
231 | Summary: Documentation for libvirt | |
232 | Summary(pl.UTF-8): Dokumentacja do libvirt | |
233 | Group: Documentation | |
5d55cc1a | 234 | BuildArch: noarch |
1c850183 JB |
235 | |
236 | %description doc | |
237 | Documentation for libvirt. | |
238 | ||
239 | %description doc -l pl.UTF-8 | |
240 | Dokumentacja do libvirt. | |
241 | ||
423a0b96 JR |
242 | %package lock-sanlock |
243 | Summary: Sanlock lock manager plugin for libvirt | |
244 | Summary(pl.UTF-8): Zarządca blokad sanlock dla biblioteki libvirt | |
245 | Group: Libraries | |
4ef34a20 | 246 | Requires: %{name}-daemon = %{version}-%{release} |
40a24f8b | 247 | Requires: sanlock-libs >= 3.5.0 |
423a0b96 JR |
248 | |
249 | %description lock-sanlock | |
250 | Sanlock lock manager plugin for libvirt. | |
251 | ||
252 | %description lock-sanlock -l pl.UTF-8 | |
253 | Zarządca blokad sanlock dla biblioteki libvirt. | |
254 | ||
255 | %package daemon | |
256 | Summary: Server side daemon and supporting files for libvirt library | |
cf4bec93 | 257 | Summary(pl.UTF-8): Demon działający po stronie serwera oraz pliki wspierające dla biblioteki libvirt |
423a0b96 | 258 | Group: Applications/System |
1c850183 JB |
259 | Requires(post): systemd-units |
260 | Requires(post,preun): /sbin/chkconfig | |
261 | Requires(postun): systemd-units | |
262 | Requires(preun): systemd-units | |
94462445 | 263 | Requires: %{name} = %{version}-%{release} |
1c850183 | 264 | Requires: device-mapper >= 1.0.0 |
423a0b96 | 265 | Requires: iproute2 |
7ce5923d | 266 | Requires: libblkid >= 2.17 |
1c850183 JB |
267 | # iscsi-direct driver |
268 | Requires: libiscsi >= 1.18.0 | |
0c4e060a | 269 | %{?with_netcf:Requires: netcf >= 0.2.0} |
7ce5923d | 270 | Requires: parted-libs >= 1.8.0 |
8b51fd22 | 271 | Requires: rc-scripts |
423a0b96 JR |
272 | # Needed for probing the power management features of the host. |
273 | Requires: pm-utils | |
bf949ec1 | 274 | Requires: systemd-units >= 37-0.10 |
1c850183 | 275 | Requires: udev-libs >= 1:219 |
423a0b96 JR |
276 | Requires: util-linux |
277 | Requires: virtual(module-tools) | |
7ce5923d | 278 | Requires: xorg-lib-libpciaccess >= 0.10.0 |
624d0ccc | 279 | Suggests: bridge-utils |
1c850183 JB |
280 | Suggests: cyrus-sasl >= 2.1.26 |
281 | Suggests: cyrus-sasl-digest-md5 >= 2.1.26 | |
8a8149a9 | 282 | Suggests: dmidecode |
423a0b96 | 283 | Suggests: dnsmasq >= 2.41 |
8a8149a9 JR |
284 | Suggests: ebtables |
285 | Suggests: gawk | |
1c850183 | 286 | Suggests: glusterfs-client >= 3.4.1 |
8a8149a9 | 287 | Suggests: iptables |
423a0b96 JR |
288 | Suggests: iptables |
289 | Suggests: libcgroup | |
624d0ccc | 290 | Suggests: lvm2 |
423a0b96 JR |
291 | Suggests: numad |
292 | Suggests: open-iscsi | |
54247c34 | 293 | Suggests: parted >= 1.8.0 |
423a0b96 | 294 | Suggests: polkit >= 0.93 |
cdcb191c | 295 | #Suggests: radvd |
bf949ec1 | 296 | Suggests: scrub |
8b51fd22 | 297 | Provides: libvirt(hypervisor) |
94462445 | 298 | |
423a0b96 JR |
299 | %description daemon |
300 | Server side daemon required to manage the virtualization capabilities | |
301 | of recent versions of Linux. Requires a hypervisor specific sub-RPM | |
302 | for specific drivers. | |
303 | ||
cf4bec93 JB |
304 | %description daemon -l pl.UTF-8 |
305 | Demon działający po stronie serwera wymagany do zarządzania funkcjami | |
306 | wirtualizacji nowych wersji Linuksa. Wymaga podpakietu specyficznego | |
307 | dla hipernadzorcy. | |
308 | ||
fb415d8b JB |
309 | %package daemon-storage-gluster |
310 | Summary: Storage driver plugin for GlusterFS | |
311 | Summary(pl.UTF-8): Wtyczka składowania danych wykorzystująca GlusterFS | |
312 | Group: Libraries | |
313 | Requires: %{name}-daemon = %{version}-%{release} | |
314 | Requires: glusterfs-libs >= 3.4.1 | |
315 | ||
316 | %description daemon-storage-gluster | |
317 | Storage driver plugin for GlusterFS. | |
318 | ||
319 | %description daemon-storage-gluster -l pl.UTF-8 | |
320 | Wtyczka składowania danych wykorzystująca system plików GlusterFS. | |
321 | ||
322 | %package daemon-storage-rbd | |
323 | Summary: Storage driver plugin for Ceph RADOS Block Device | |
324 | Summary(pl.UTF-8): Wtyczka składowania danych wykorzystująca urządzenie blokowe RADOS (Ceph) | |
325 | Group: Libraries | |
326 | Requires: %{name}-daemon = %{version}-%{release} | |
327 | ||
328 | %description daemon-storage-rbd | |
329 | Storage driver plugin for Ceph RADOS Block Device. | |
330 | ||
331 | %description daemon-storage-rbd -l pl.UTF-8 | |
332 | Wtyczka składowania danych wykorzystująca urządzenie blokowe RADOS | |
333 | (system plików Ceph). | |
334 | ||
423a0b96 | 335 | %package daemon-libxl |
cf4bec93 JB |
336 | Summary: Server side driver required to run XEN guests (xenlight) |
337 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości XEN (xenlight) | |
338 | Group: Libraries | |
423a0b96 | 339 | Requires: %{name}-daemon = %{version}-%{release} |
cf08a5bf | 340 | Requires: xen >= 4.13 |
423a0b96 | 341 | Provides: libvirt(hypervisor) |
be03a776 | 342 | Obsoletes: libvirt-daemon-xen < 4.3.0 |
423a0b96 JR |
343 | |
344 | %description daemon-libxl | |
cf4bec93 JB |
345 | Server side driver required to manage the virtualization capabilities |
346 | of XEN via xenlight interface. | |
347 | ||
348 | %description daemon-libxl -l pl.UTF-8 | |
349 | Sterownik wymagany po stronie serwera do zarządzania funkcjami | |
350 | wirtualizacji XEN poprzez interfejs xenlight. | |
423a0b96 JR |
351 | |
352 | %package daemon-lxc | |
cf4bec93 JB |
353 | Summary: Server side driver required to run LXC guests |
354 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości LXC | |
355 | Group: Libraries | |
423a0b96 | 356 | Requires: %{name}-daemon = %{version}-%{release} |
9c616e1f | 357 | Requires: libfuse3 >= 3.1.0 |
423a0b96 JR |
358 | Provides: libvirt(hypervisor) |
359 | ||
360 | %description daemon-lxc | |
cf4bec93 JB |
361 | Server side driver required to manage the virtualization capabilities |
362 | of LXC. | |
363 | ||
364 | %description daemon-lxc -l pl.UTF-8 | |
365 | Sterownik wymagany po stronie serwera do zarządzania funkcjami | |
366 | wirtualizacji LXC. | |
423a0b96 | 367 | |
423a0b96 | 368 | %package daemon-qemu |
cf4bec93 JB |
369 | Summary: Server side driver required to run QEMU guests |
370 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości QEMU | |
371 | Group: Libraries | |
423a0b96 JR |
372 | Requires: %{name}-daemon = %{version}-%{release} |
373 | Requires: /usr/bin/qemu-img | |
423a0b96 JR |
374 | Requires: bzip2 |
375 | Requires: gzip | |
cf08a5bf | 376 | Requires: libnbd >= 1.0 |
423a0b96 | 377 | Requires: lzop |
9c616e1f | 378 | Requires: qemu-system-x86 >= 4.2 |
423a0b96 JR |
379 | Requires: xz |
380 | Provides: libvirt(hypervisor) | |
381 | ||
382 | %description daemon-qemu | |
cf4bec93 JB |
383 | Server side driver required to manage the virtualization capabilities |
384 | of the QEMU emulators. | |
385 | ||
386 | %description daemon-qemu -l pl.UTF-8 | |
387 | Sterownik wymagany po stronie serwera do zarządzania funkcjami | |
388 | wirtualizacji emulatora QEMU. | |
423a0b96 | 389 | |
1c850183 JB |
390 | %package daemon-vbox |
391 | Summary: Server side driver required to run VirtalBox guests | |
392 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości VirtalBox | |
393 | Group: Libraries | |
394 | Requires: %{name}-daemon = %{version}-%{release} | |
395 | Requires: VirtualBox >= 5.2 | |
396 | Provides: libvirt(hypervisor) | |
397 | ||
398 | %description daemon-vbox | |
399 | Server side driver required to manage the virtualization capabilities | |
400 | of VirtualBox. | |
401 | ||
402 | %description daemon-vbox -l pl.UTF-8 | |
403 | Sterownik wymagany po stronie serwera do zarządzania funkcjami | |
404 | wirtualizacji VirtualBoksa. | |
405 | ||
b040b949 JR |
406 | %package daemon-chd |
407 | Summary: Cloud Hypervisor server side driver | |
55844f4c | 408 | Summary(pl.UTF-8): Sterownik wymagany po stronie serwera do uruchamiania gości Cloud Hypervisor |
b040b949 JR |
409 | Group: Libraries |
410 | Requires: %{name}-daemon = %{version}-%{release} | |
411 | Provides: libvirt(hypervisor) | |
412 | ||
413 | %description daemon-chd | |
414 | Cloud Hypervisor is an open source Virtual Machine Monitor (VMM) that | |
415 | runs on top of KVM. The project focuses on exclusively running modern, | |
416 | cloud workloads, on top of a limited set of hardware architectures and | |
417 | platforms. Cloud workloads refers to those that are usually run by | |
418 | customers inside a cloud provider. For our purposes this means modern | |
419 | operating systems with most I/O handled by paravirtualised devices | |
420 | (i.e. virtio), no requirement for legacy devices, and 64-bit CPUs. | |
421 | ||
55844f4c JB |
422 | %description daemon-chd -l pl.UTF-8 |
423 | Cloud Hypervisor to mający otwarte źródła monitor maszyn wirtualnych | |
424 | (VMM), działający powyżej KVM. Projekt skupia się wyłącznie na | |
425 | uruchamianiu nowoczesnych, chmurowych zadań na ograniczonym zbiorze | |
426 | architektur i platform sprzętowych. Zadania chmurowe to te, które | |
427 | zwykle są uruchamiane przez klientów u dostawców chmurowych. W tym | |
428 | przypadku oznacza to nowoczesne systemy operacyjne z większością | |
429 | we/wy obsługiwaną przez urządzenia parawirtualizowane (np. virtio), | |
430 | bez wymogu tradycyjnych urządzeń, oraz 64-bitowe procesory. | |
431 | ||
423a0b96 | 432 | %package client |
cf4bec93 JB |
433 | Summary: Client side utilities of the libvirt library |
434 | Summary(pl.UTF-8): Narzędzia klienckie do biblioteki libvirt | |
423a0b96 | 435 | Group: Applications/System |
423a0b96 | 436 | Requires(post): systemd-units |
8b51fd22 | 437 | Requires(post,preun): /sbin/chkconfig |
423a0b96 | 438 | Requires(postun): systemd-units |
8b51fd22 | 439 | Requires(preun): systemd-units |
1c850183 JB |
440 | Requires: %{name} = %{version}-%{release} |
441 | Requires: gettext >= 0.18.1.1-6 | |
9c616e1f | 442 | Requires: gnutls >= 3.6.0 |
1c850183 JB |
443 | Requires: netcat-openbsd |
444 | Requires: rc-scripts | |
423a0b96 JR |
445 | |
446 | %description client | |
cf4bec93 JB |
447 | Client binaries needed to access to the virtualization capabilities of |
448 | recent versions of Linux (and other OSes). | |
449 | ||
450 | %description client -l pl.UTF-8 | |
451 | Programy klienckie potrzebne do funkcji wirtualizacji nowych wersji | |
452 | Linuksa (oraz innych systemów operacyjnych). | |
423a0b96 JR |
453 | |
454 | %package utils | |
cf4bec93 JB |
455 | Summary: Tools to interact with virtualization capabilities (metapackage) |
456 | Summary(pl.UTF-8): Narzędzia do współpracy z funkcjami wirtualizacyjnymi (metapakiet) | |
423a0b96 JR |
457 | Group: Applications/System |
458 | Requires: %{name}-client = %{version}-%{release} | |
459 | Requires: %{name}-daemon = %{version}-%{release} | |
40e7715f | 460 | %{?with_libxl:Requires: %{name}-daemon-libxl = %{version}-%{release}} |
423a0b96 | 461 | Requires: %{name}-daemon-lxc = %{version}-%{release} |
423a0b96 | 462 | Requires: %{name}-daemon-qemu = %{version}-%{release} |
423a0b96 | 463 | |
94462445 ER |
464 | %description utils |
465 | Libvirt is a C toolkit to interact with the virtualization | |
466 | capabilities of recent versions of Linux. | |
467 | ||
cf4bec93 | 468 | This is metapackage gathering all tools for the libvirt library. |
94462445 | 469 | |
148a9af3 | 470 | %description utils -l pl.UTF-8 |
423a0b96 JR |
471 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami wirtualizacji |
472 | obecnych wersji Linuksa. | |
148a9af3 | 473 | |
cf4bec93 JB |
474 | To jest metapakiet zbierający wszystkie narzędzia przeznaczone dla |
475 | biblioteki libvirt. | |
148a9af3 | 476 | |
3e5ed185 JB |
477 | %package -n systemtap-libvirt |
478 | Summary: systemtap/dtrace probes for libvirt | |
479 | Summary(pl.UTF-8): Sondy systemtap/dtrace dla libvirt | |
480 | Group: Development/Tools | |
481 | Requires: %{name} = %{version}-%{release} | |
482 | Requires: systemtap-client | |
483 | ||
484 | %description -n systemtap-libvirt | |
485 | systemtap/dtrace probes for libvirt. | |
486 | ||
487 | %description -n systemtap-libvirt -l pl.UTF-8 | |
488 | Sondy systemtap/dtrace dla libvirt. | |
489 | ||
af7f943c JB |
490 | %package -n wireshark-libvirt |
491 | Summary: Wireshark dissector module for libvirt packets | |
492 | Summary(pl.UTF-8): Moduł sekcji Wiresharka do pakietów libvirt | |
493 | Group: Libraries | |
40a24f8b | 494 | Requires: wireshark >= 2.6.0 |
af7f943c JB |
495 | |
496 | %description -n wireshark-libvirt | |
497 | Wireshark dissector module for libvirt packets. | |
498 | ||
499 | %description -n wireshark-libvirt -l pl.UTF-8 | |
500 | Moduł sekcji Wiresharka do pakietów libvirt. | |
501 | ||
94462445 ER |
502 | %prep |
503 | %setup -q | |
be8dc440 | 504 | %patch0 -p1 |
1c850183 | 505 | %patch1 -p1 |
be8dc440 | 506 | %patch2 -p1 |
40a24f8b | 507 | %patch3 -p1 |
8357fab1 | 508 | %patch4 -p1 |
be8dc440 JK |
509 | %{?with_vserver:%patch5 -p1} |
510 | %patch6 -p1 | |
40a24f8b JB |
511 | |
512 | %if %{with static_libs} | |
513 | %{__sed} -i '/^libvirt\(_admin\|_lxc\|_qemu\)\?_lib = / s/shared_library/library/' src/meson.build | |
514 | %endif | |
5296d739 | 515 | |
cf08a5bf JB |
516 | %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' tools/{virt-qemu-qmp-proxy,virt-qemu-sev-validate} |
517 | ||
518 | %{__sed} -i -e 's,/usr/lib/qemu,/usr/%{_lib}/qemu,' -e 's,/usr/lib",/usr/%{_lib}/",' src/qemu/qemu_interface.c | |
519 | %{__sed} -i -e 's,/usr/libexec",%{_libexecdir}",' src/qemu/qemu_process.c | |
542efd59 | 520 | |
94462445 | 521 | %build |
40a24f8b JB |
522 | %meson build \ |
523 | -Dbash_completion=enabled \ | |
524 | -Dbash_completion_dir=%{bash_compdir} \ | |
525 | %{!?with_esx:-Ddriver_esx=disabled} \ | |
526 | %{!?with_hyperv:-Ddriver_hyperv=disabled} \ | |
527 | %{!?with_libxl:-Ddriver_libxl=disabled} \ | |
528 | %{!?with_lxc:-Ddriver_lxc=disabled} \ | |
529 | %{!?with_openvz:-Ddriver_openvz=disabled} \ | |
530 | %{!?with_qemu:-Ddriver_qemu=disabled} \ | |
531 | %{!?with_vbox:-Ddriver_vbox=disabled} \ | |
532 | %{!?with_vmware:-Ddriver_vmware=disabled} \ | |
533 | %{!?with_systemtap:-Ddtrace=disabled} \ | |
534 | %{!?with_glusterfs:-Dglusterfs=disabled} \ | |
535 | -Dinit_script=systemd \ | |
536 | %{!?with_netcf:-Dnetcf=disabled} \ | |
537 | -Dpackager="PLD-Linux" \ | |
538 | -Dpackager_version="%{name}-%{version}-%{release}.%{_target_cpu}" \ | |
539 | %{!?with_polkit:-Dpolkit=disabled} \ | |
540 | -Dqemu_group=qemu \ | |
541 | -Dqemu_user=qemu \ | |
542 | -Drpath=disabled \ | |
543 | %{!?with_sanlock:-Dsanlock=disabled} \ | |
544 | %{!?with_glusterfs:-Dstorage_gluster=disabled} \ | |
545 | %{!?with_ceph:-Dstorage_rbd=disabled} \ | |
546 | %{?with_vbox:-Dvbox_xpcomc_dir=%{_libdir}/VirtualBox} \ | |
547 | %{!?with_wireshark:-Dwireshark_dissector=disabled} \ | |
548 | -Daugparse_path=/usr/bin/augparse \ | |
549 | -Ddmidecode_path=/usr/sbin/dmidecode \ | |
550 | -Ddnsmasq_path=/usr/sbin/dnsmasq \ | |
551 | -Debtables_path=/usr/sbin/ebtables \ | |
552 | -Dip_path=/sbin/ip \ | |
553 | -Dip6tables_path=/usr/sbin/ip6tables \ | |
554 | -Diptables_path=/usr/sbin/iptables \ | |
555 | -Discsiadm_path=/sbin/iscsiadm \ | |
556 | -Dlvchange_path=/sbin/lvchange \ | |
557 | -Dlvcreate_path=/sbin/lvcreate \ | |
558 | -Dlvremove_path=/sbin/lvremove \ | |
559 | -Dlvs_path=/sbin/lvs \ | |
560 | -Dmm_ctl_path=/usr/sbin/mm-ctl \ | |
561 | -Dmkfs_path=/sbin/mkfs \ | |
562 | -Dmodprobe_path=/sbin/modprobe \ | |
563 | -Dmount_path=/bin/mount \ | |
564 | -Dnumad_path=/usr/bin/numad \ | |
565 | -Dovs_vsctl_path=/usr/bin/ovs-vsctl \ | |
566 | -Dparted_path=/usr/sbin/parted \ | |
567 | -Dpvcreate_path=/sbin/pvcreate \ | |
568 | -Dpvremove_path=/sbin/pvremove \ | |
569 | -Dpvs_path=/sbin/pvs \ | |
40a24f8b JB |
570 | -Dradvd_path=/usr/sbin/radvd \ |
571 | -Drmmod_path=/sbin/rmmod \ | |
572 | -Dscrub_path=/usr/bin/scrub \ | |
40a24f8b JB |
573 | -Dshowmount_path=/usr/sbin/showmount \ |
574 | -Dtc_path=/sbin/tc \ | |
575 | -Dudevadm_path=/sbin/udevadm \ | |
576 | -Dumount_path=/bin/umount \ | |
577 | -Dvgchange_path=/sbin/vgchange \ | |
578 | -Dvgcreate_path=/sbin/vgcreate \ | |
579 | -Dvgremove_path=/sbin/vgremove \ | |
580 | -Dvgscan_path=/sbin/vgscan \ | |
581 | -Dvgs_path=/sbin/vgs \ | |
582 | -Dzfs_path=/usr/sbin/zfs \ | |
583 | -Dzpool_path=/usr/sbin/zpool | |
584 | ||
585 | # TODO: package and update paths | |
586 | # -Dmdevctl_path=??? | |
587 | # -Dpdwtags=??? | |
588 | # -Dqemu_slirp_path=???/slirp-helper | |
589 | # -Dvstorage_path=???/vstorage | |
590 | # -Dvstorage_mount_path=???/vstorage-mount | |
591 | ||
592 | %ninja_build -C build | |
94462445 ER |
593 | |
594 | %install | |
595 | rm -rf $RPM_BUILD_ROOT | |
663e5db6 | 596 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d \ |
423a0b96 | 597 | $RPM_BUILD_ROOT%{systemdtmpfilesdir} |
ed4dd5b7 | 598 | |
40a24f8b | 599 | %ninja_install -C build |
94462445 | 600 | |
96de3a81 ER |
601 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/libvirtd |
602 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf | |
e285e5e5 | 603 | |
94462445 ER |
604 | %find_lang %{name} |
605 | ||
606 | %clean | |
607 | rm -rf $RPM_BUILD_ROOT | |
608 | ||
5296d739 JB |
609 | %post -p /sbin/ldconfig |
610 | %postun -p /sbin/ldconfig | |
94462445 | 611 | |
423a0b96 | 612 | %post daemon |
8b51fd22 ER |
613 | /sbin/chkconfig --add libvirtd |
614 | %service libvirtd restart | |
bf949ec1 | 615 | %systemd_post libvirtd.service |
423a0b96 JR |
616 | |
617 | %preun daemon | |
8b51fd22 ER |
618 | if [ "$1" = "0" ]; then |
619 | %service -q libvirtd stop | |
620 | /sbin/chkconfig --del libvirtd | |
621 | fi | |
423a0b96 JR |
622 | %systemd_preun libvirtd.service |
623 | ||
624 | %postun daemon | |
625 | %systemd_reload | |
626 | ||
627 | %post client | |
8b51fd22 ER |
628 | /sbin/chkconfig --add libvirt-guests |
629 | %service -n libvirt-guests restart | |
bf949ec1 JR |
630 | NORESTART=1 |
631 | %systemd_post libvirt-guests.service | |
632 | ||
423a0b96 | 633 | %preun client |
bf949ec1 | 634 | %systemd_preun libvirt-guests.service |
8b51fd22 ER |
635 | if [ "$1" = "0" ]; then |
636 | %service -q libvirt-guests stop | |
637 | /sbin/chkconfig --del libvirt-guests | |
638 | fi | |
bf949ec1 | 639 | |
423a0b96 | 640 | %postun client |
bf949ec1 JR |
641 | %systemd_reload |
642 | ||
94462445 ER |
643 | %files -f %{name}.lang |
644 | %defattr(644,root,root,755) | |
40a24f8b | 645 | %doc AUTHORS.rst NEWS.rst README.rst |
cf4bec93 | 646 | %dir %{_sysconfdir}/libvirt |
423a0b96 | 647 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirt.conf |
5296d739 JB |
648 | %attr(755,root,root) %{_libdir}/libvirt.so.*.*.* |
649 | %attr(755,root,root) %ghost %{_libdir}/libvirt.so.0 | |
b2ff1d91 JB |
650 | %attr(755,root,root) %{_libdir}/libvirt-admin.so.*.*.* |
651 | %attr(755,root,root) %ghost %{_libdir}/libvirt-admin.so.0 | |
bf7aa31b JB |
652 | %if %{with lxc} |
653 | %attr(755,root,root) %{_libdir}/libvirt-lxc.so.*.*.* | |
654 | %attr(755,root,root) %ghost %{_libdir}/libvirt-lxc.so.0 | |
655 | %endif | |
5296d739 JB |
656 | %attr(755,root,root) %{_libdir}/libvirt-qemu.so.*.*.* |
657 | %attr(755,root,root) %ghost %{_libdir}/libvirt-qemu.so.0 | |
fb415d8b JB |
658 | |
659 | # NSS modules | |
660 | %attr(755,root,root) %{_libdir}/libnss_libvirt.so.2 | |
661 | %attr(755,root,root) %{_libdir}/libnss_libvirt_guest.so.2 | |
bf7aa31b | 662 | |
423a0b96 | 663 | %dir %{_libdir}/libvirt |
c47719f5 | 664 | %dir %{_datadir}/libvirt |
3ac3cd0c | 665 | |
842a4333 JP |
666 | %files -n bash-completion-%{name} |
667 | %defattr(644,root,root,755) | |
1c850183 JB |
668 | %{bash_compdir}/virsh |
669 | %{bash_compdir}/virt-admin | |
842a4333 | 670 | |
94462445 ER |
671 | %files devel |
672 | %defattr(644,root,root,755) | |
5296d739 | 673 | %attr(755,root,root) %{_libdir}/libvirt.so |
b2ff1d91 | 674 | %attr(755,root,root) %{_libdir}/libvirt-admin.so |
bf7aa31b | 675 | %{?with_lxc:%attr(755,root,root) %{_libdir}/libvirt-lxc.so} |
b842fe72 | 676 | %attr(755,root,root) %{_libdir}/libvirt-qemu.so |
f4fa2857 | 677 | %{_datadir}/%{name}/api |
5296d739 | 678 | %{_includedir}/%{name} |
771a9acb | 679 | %{_pkgconfigdir}/libvirt.pc |
c25279f9 | 680 | %{_pkgconfigdir}/libvirt-admin.pc |
771a9acb | 681 | %{?with_lxc:%{_pkgconfigdir}/libvirt-lxc.pc} |
b842fe72 | 682 | %{_pkgconfigdir}/libvirt-qemu.pc |
fb415d8b JB |
683 | %{_mandir}/man7/virkeycode-*.7* |
684 | %{_mandir}/man7/virkeyname-*.7* | |
94462445 | 685 | |
7b850baf | 686 | %if %{with static_libs} |
94462445 ER |
687 | %files static |
688 | %defattr(644,root,root,755) | |
5296d739 | 689 | %{_libdir}/libvirt.a |
bf7aa31b | 690 | %{?with_lxc:%{_libdir}/libvirt-lxc.a} |
b842fe72 | 691 | %{_libdir}/libvirt-qemu.a |
7b850baf | 692 | %endif |
94462445 | 693 | |
1c850183 JB |
694 | %files doc |
695 | %defattr(644,root,root,755) | |
696 | %dir %{_docdir}/libvirt | |
697 | %{_docdir}/libvirt/examples | |
698 | %{_docdir}/libvirt/html | |
699 | ||
cf4bec93 JB |
700 | %if %{with sanlock} |
701 | %files lock-sanlock | |
702 | %defattr(644,root,root,755) | |
703 | %attr(755,root,root) %{_sbindir}/virt-sanlock-cleanup | |
cf5c6c57 | 704 | %attr(755,root,root) %{_libexecdir}/libvirt_sanlock_helper |
cf4bec93 JB |
705 | %attr(755,root,root) %{_libdir}/libvirt/lock-driver/sanlock.so |
706 | %{_datadir}/augeas/lenses/libvirt_sanlock.aug | |
fef7eb20 | 707 | %if %{with qemu} |
cf4bec93 | 708 | %{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug |
fef7eb20 | 709 | %endif |
cf4bec93 JB |
710 | %dir /var/lib/libvirt/sanlock |
711 | %{_mandir}/man8/virt-sanlock-cleanup.8* | |
cf4bec93 JB |
712 | %endif |
713 | ||
423a0b96 | 714 | %files daemon |
94462445 | 715 | %defattr(644,root,root,755) |
9c616e1f JB |
716 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/abstractions/libvirt-lxc |
717 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/abstractions/libvirt-qemu | |
718 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/libvirt | |
9c616e1f JB |
719 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/usr.lib.libvirt.virt-aa-helper |
720 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/usr.sbin.libvirtd | |
721 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/usr.sbin.virtqemud | |
722 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apparmor.d/usr.sbin.virtxend | |
1c850183 | 723 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirt-admin.conf |
423a0b96 | 724 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libvirtd.conf |
1c850183 | 725 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtinterfaced.conf |
62e11f33 | 726 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtlockd.conf |
c25279f9 | 727 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtlogd.conf |
1c850183 JB |
728 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtnetworkd.conf |
729 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtnodedevd.conf | |
730 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtnwfilterd.conf | |
731 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtproxyd.conf | |
732 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtsecretd.conf | |
733 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtstoraged.conf | |
734 | %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu | |
735 | %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu/networks | |
423a0b96 | 736 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu/networks/default.xml |
1c850183 | 737 | %dir %attr(700,root,root) %{_sysconfdir}/libvirt/qemu/networks/autostart |
423a0b96 | 738 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml |
1c850183 | 739 | %dir %attr(700,root,root) %{_sysconfdir}/libvirt/nwfilter |
423a0b96 | 740 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/nwfilter/*.xml |
72b1baa0 | 741 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/libvirt.conf |
1c850183 | 742 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd |
bf949ec1 | 743 | %attr(754,root,root) /etc/rc.d/init.d/libvirtd |
bf949ec1 | 744 | %{systemdunitdir}/libvirtd.service |
538e1954 JP |
745 | %{systemdunitdir}/libvirtd.socket |
746 | %{systemdunitdir}/libvirtd-admin.socket | |
747 | %{systemdunitdir}/libvirtd-ro.socket | |
748 | %{systemdunitdir}/libvirtd-tcp.socket | |
749 | %{systemdunitdir}/libvirtd-tls.socket | |
2114e9b8 | 750 | %{systemdunitdir}/virt-guest-shutdown.target |
1c850183 JB |
751 | %{systemdunitdir}/virtinterfaced.service |
752 | %{systemdunitdir}/virtinterfaced.socket | |
753 | %{systemdunitdir}/virtinterfaced-admin.socket | |
754 | %{systemdunitdir}/virtinterfaced-ro.socket | |
4ef34a20 JB |
755 | %{systemdunitdir}/virtlockd.service |
756 | %{systemdunitdir}/virtlockd.socket | |
a7243fbe | 757 | %{systemdunitdir}/virtlockd-admin.socket |
c25279f9 MM |
758 | %{systemdunitdir}/virtlogd.service |
759 | %{systemdunitdir}/virtlogd.socket | |
a7243fbe | 760 | %{systemdunitdir}/virtlogd-admin.socket |
1c850183 JB |
761 | %{systemdunitdir}/virtnetworkd.service |
762 | %{systemdunitdir}/virtnetworkd.socket | |
763 | %{systemdunitdir}/virtnetworkd-admin.socket | |
764 | %{systemdunitdir}/virtnetworkd-ro.socket | |
765 | %{systemdunitdir}/virtnodedevd.service | |
766 | %{systemdunitdir}/virtnodedevd.socket | |
767 | %{systemdunitdir}/virtnodedevd-admin.socket | |
768 | %{systemdunitdir}/virtnodedevd-ro.socket | |
769 | %{systemdunitdir}/virtnwfilterd.service | |
770 | %{systemdunitdir}/virtnwfilterd.socket | |
771 | %{systemdunitdir}/virtnwfilterd-admin.socket | |
772 | %{systemdunitdir}/virtnwfilterd-ro.socket | |
773 | %{systemdunitdir}/virtproxyd.service | |
774 | %{systemdunitdir}/virtproxyd.socket | |
775 | %{systemdunitdir}/virtproxyd-admin.socket | |
776 | %{systemdunitdir}/virtproxyd-ro.socket | |
777 | %{systemdunitdir}/virtproxyd-tcp.socket | |
778 | %{systemdunitdir}/virtproxyd-tls.socket | |
779 | %{systemdunitdir}/virtsecretd.service | |
780 | %{systemdunitdir}/virtsecretd.socket | |
781 | %{systemdunitdir}/virtsecretd-admin.socket | |
782 | %{systemdunitdir}/virtsecretd-ro.socket | |
783 | %{systemdunitdir}/virtstoraged.service | |
784 | %{systemdunitdir}/virtstoraged.socket | |
785 | %{systemdunitdir}/virtstoraged-admin.socket | |
786 | %{systemdunitdir}/virtstoraged-ro.socket | |
9e91fdad | 787 | %config(noreplace) %verify(not md5 mtime size) /usr/lib/sysctl.d/60-libvirtd.conf |
423a0b96 | 788 | %attr(755,root,root) %{_sbindir}/libvirtd |
1c850183 | 789 | %attr(755,root,root) %{_sbindir}/virtinterfaced |
4ef34a20 | 790 | %attr(755,root,root) %{_sbindir}/virtlockd |
c25279f9 | 791 | %attr(755,root,root) %{_sbindir}/virtlogd |
1c850183 JB |
792 | %attr(755,root,root) %{_sbindir}/virtnetworkd |
793 | %attr(755,root,root) %{_sbindir}/virtnodedevd | |
794 | %attr(755,root,root) %{_sbindir}/virtnwfilterd | |
795 | %attr(755,root,root) %{_sbindir}/virtproxyd | |
796 | %attr(755,root,root) %{_sbindir}/virtsecretd | |
797 | %attr(755,root,root) %{_sbindir}/virtstoraged | |
798 | %attr(755,root,root) %{_libexecdir}/libvirt_iohelper | |
799 | %attr(755,root,root) %{_libexecdir}/libvirt_leaseshelper | |
800 | %attr(755,root,root) %{_libexecdir}/libvirt_parthelper | |
801 | %attr(755,root,root) %{_libexecdir}/virt-aa-helper | |
802 | # TODO: | |
542efd59 JB |
803 | #%{_libdir}/firewalld/policies/libvirt-routed-in.xml |
804 | #%{_libdir}/firewalld/policies/libvirt-routed-out.xml | |
805 | #%{_libdir}/firewalld/policies/libvirt-to-host.xml | |
1c850183 | 806 | #%{_libdir}/firewalld/zones/libvirt.xml |
542efd59 | 807 | #%{_libdir}/firewalld/zones/libvirt-routed.xml |
1c850183 | 808 | %dir %{_libdir}/libvirt/connection-driver |
728328ae | 809 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_interface.so |
1c850183 JB |
810 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_network.so |
811 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_nodedev.so | |
812 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_nwfilter.so | |
813 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_secret.so | |
814 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_storage.so | |
815 | %dir %{_libdir}/libvirt/lock-driver | |
816 | %attr(755,root,root) %{_libdir}/libvirt/lock-driver/lockd.so | |
817 | %dir %{_libdir}/libvirt/storage-backend | |
818 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_disk.so | |
819 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_fs.so | |
820 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_iscsi.so | |
821 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_iscsi-direct.so | |
822 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_logical.so | |
823 | # mpath requires libdevmapper, but libvirt itself requires it too | |
824 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_mpath.so | |
825 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_scsi.so | |
b040b949 | 826 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_vstorage.so |
1c850183 JB |
827 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_zfs.so |
828 | %dir %{_libdir}/libvirt/storage-file | |
829 | %attr(755,root,root) %{_libdir}/libvirt/storage-file/libvirt_storage_file_fs.so | |
423a0b96 | 830 | %{_datadir}/augeas/lenses/libvirtd.aug |
4ef34a20 | 831 | %{_datadir}/augeas/lenses/libvirt_lockd.aug |
1c850183 | 832 | %{_datadir}/augeas/lenses/virtinterfaced.aug |
62e11f33 | 833 | %{_datadir}/augeas/lenses/virtlockd.aug |
c25279f9 | 834 | %{_datadir}/augeas/lenses/virtlogd.aug |
1c850183 JB |
835 | %{_datadir}/augeas/lenses/virtnetworkd.aug |
836 | %{_datadir}/augeas/lenses/virtnodedevd.aug | |
837 | %{_datadir}/augeas/lenses/virtnwfilterd.aug | |
838 | %{_datadir}/augeas/lenses/virtproxyd.aug | |
839 | %{_datadir}/augeas/lenses/virtsecretd.aug | |
840 | %{_datadir}/augeas/lenses/virtstoraged.aug | |
423a0b96 | 841 | %{_datadir}/augeas/lenses/tests/test_libvirtd.aug |
1c850183 | 842 | %{_datadir}/augeas/lenses/tests/test_virtinterfaced.aug |
62e11f33 | 843 | %{_datadir}/augeas/lenses/tests/test_virtlockd.aug |
c25279f9 | 844 | %{_datadir}/augeas/lenses/tests/test_virtlogd.aug |
1c850183 JB |
845 | %{_datadir}/augeas/lenses/tests/test_virtnetworkd.aug |
846 | %{_datadir}/augeas/lenses/tests/test_virtnodedevd.aug | |
847 | %{_datadir}/augeas/lenses/tests/test_virtnwfilterd.aug | |
848 | %{_datadir}/augeas/lenses/tests/test_virtproxyd.aug | |
849 | %{_datadir}/augeas/lenses/tests/test_virtsecretd.aug | |
850 | %{_datadir}/augeas/lenses/tests/test_virtstoraged.aug | |
851 | %{_datadir}/libvirt/cpu_map | |
3e5ed185 JB |
852 | %if %{with polkit} |
853 | %{_datadir}/polkit-1/actions/org.libvirt.api.policy | |
854 | %{_datadir}/polkit-1/actions/org.libvirt.unix.policy | |
9e91fdad | 855 | %{_datadir}/polkit-1/rules.d/50-libvirt.rules |
3e5ed185 | 856 | %endif |
e4177f0c | 857 | %{_mandir}/man8/libvirtd.8* |
62e11f33 | 858 | %{_mandir}/man8/virtlockd.8* |
c25279f9 | 859 | %{_mandir}/man8/virtlogd.8* |
b040b949 JR |
860 | %{_mandir}/man8/virtinterfaced.8* |
861 | %{_mandir}/man8/virtnetworkd.8* | |
862 | %{_mandir}/man8/virtnodedevd.8* | |
863 | %{_mandir}/man8/virtnwfilterd.8* | |
864 | %{_mandir}/man8/virtproxyd.8* | |
865 | %{_mandir}/man8/virtsecretd.8* | |
866 | %{_mandir}/man8/virtstoraged.8* | |
d5a575f6 | 867 | %dir /var/lib/libvirt |
621ed3d1 | 868 | %dir /var/lib/libvirt/dnsmasq |
423a0b96 | 869 | %attr(711,root,root) %dir /var/lib/libvirt/boot |
621ed3d1 | 870 | %attr(700,root,root) %dir /var/lib/libvirt/network |
423a0b96 JR |
871 | %attr(711,root,root) %dir /var/lib/libvirt/images |
872 | %attr(711,root,root) %dir /var/lib/libvirt/filesystems | |
873 | %attr(700,root,root) %dir /var/log/libvirt | |
874 | %attr(711,root,root) %dir /var/cache/libvirt | |
621ed3d1 | 875 | %dir /var/run/libvirt |
423a0b96 JR |
876 | %dir /var/run/libvirt/network |
877 | %{systemdtmpfilesdir}/%{name}.conf | |
fb415d8b JB |
878 | |
879 | %if %{with glusterfs} | |
880 | %files daemon-storage-gluster | |
881 | %defattr(644,root,root,755) | |
882 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_gluster.so | |
c9fcc2fd | 883 | %attr(755,root,root) %{_libdir}/libvirt/storage-file/libvirt_storage_file_gluster.so |
fb415d8b JB |
884 | %endif |
885 | ||
886 | %if %{with ceph} | |
887 | %files daemon-storage-rbd | |
888 | %defattr(644,root,root,755) | |
889 | %attr(755,root,root) %{_libdir}/libvirt/storage-backend/libvirt_storage_backend_rbd.so | |
890 | %endif | |
423a0b96 | 891 | |
eae1555f | 892 | %if %{with libxl} |
423a0b96 JR |
893 | %files daemon-libxl |
894 | %defattr(644,root,root,755) | |
9e91fdad JB |
895 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libxl.conf |
896 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libxl-lockd.conf | |
897 | %{?with_sanlock:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/libxl-sanlock.conf} | |
1c850183 | 898 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtxend.conf |
9e91fdad | 899 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.libxl |
1c850183 JB |
900 | %{systemdunitdir}/virtxend.service |
901 | %{systemdunitdir}/virtxend.socket | |
902 | %{systemdunitdir}/virtxend-admin.socket | |
903 | %{systemdunitdir}/virtxend-ro.socket | |
904 | %attr(755,root,root) %{_sbindir}/virtxend | |
273917b1 | 905 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_libxl.so |
9e91fdad | 906 | %{_datadir}/augeas/lenses/libvirtd_libxl.aug |
1c850183 | 907 | %{_datadir}/augeas/lenses/virtxend.aug |
9e91fdad | 908 | %{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug |
1c850183 | 909 | %{_datadir}/augeas/lenses/tests/test_virtxend.aug |
423a0b96 JR |
910 | %attr(700,root,root) %dir /var/lib/libvirt/libxl |
911 | %attr(700,root,root) %dir /var/run/libvirt/libxl | |
912 | %attr(700,root,root) %dir /var/log/libvirt/libxl | |
b040b949 | 913 | %{_mandir}/man8/virtxend.8* |
423a0b96 JR |
914 | %endif |
915 | ||
eae1555f | 916 | %if %{with lxc} |
423a0b96 JR |
917 | %files daemon-lxc |
918 | %defattr(644,root,root,755) | |
919 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/lxc.conf | |
1c850183 | 920 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtlxcd.conf |
423a0b96 | 921 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.lxc |
1c850183 JB |
922 | %{systemdunitdir}/virtlxcd.service |
923 | %{systemdunitdir}/virtlxcd.socket | |
924 | %{systemdunitdir}/virtlxcd-admin.socket | |
925 | %{systemdunitdir}/virtlxcd-ro.socket | |
926 | %attr(755,root,root) %{_sbindir}/virtlxcd | |
927 | %attr(755,root,root) %{_libexecdir}/libvirt_lxc | |
928 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_lxc.so | |
929 | %{_datadir}/augeas/lenses/libvirtd_lxc.aug | |
930 | %{_datadir}/augeas/lenses/virtlxcd.aug | |
931 | %{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug | |
932 | %{_datadir}/augeas/lenses/tests/test_virtlxcd.aug | |
423a0b96 | 933 | %attr(700,root,root) %dir /var/lib/libvirt/lxc |
621ed3d1 | 934 | %attr(700,root,root) %dir /var/run/libvirt/lxc |
423a0b96 | 935 | %attr(700,root,root) %dir /var/log/libvirt/lxc |
b040b949 | 936 | %{_mandir}/man8/virtlxcd.8* |
423a0b96 JR |
937 | %endif |
938 | ||
621ed3d1 | 939 | %if %{with qemu} |
423a0b96 JR |
940 | %files daemon-qemu |
941 | %defattr(644,root,root,755) | |
542efd59 | 942 | %attr(755,root,root) %{_bindir}/virt-qemu-qmp-proxy |
1c850183 | 943 | %attr(755,root,root) %{_bindir}/virt-qemu-run |
542efd59 JB |
944 | %attr(755,root,root) %{_bindir}/virt-qemu-sev-validate |
945 | %attr(755,root,root) %{_sbindir}/virtqemud | |
423a0b96 | 946 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu.conf |
9e91fdad | 947 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu-lockd.conf |
1c850183 | 948 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtqemud.conf |
9e91fdad | 949 | %{?with_sanlock:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/qemu-sanlock.conf} |
423a0b96 | 950 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.qemu |
1c850183 JB |
951 | %{systemdunitdir}/virtqemud.service |
952 | %{systemdunitdir}/virtqemud.socket | |
953 | %{systemdunitdir}/virtqemud-admin.socket | |
954 | %{systemdunitdir}/virtqemud-ro.socket | |
1c850183 JB |
955 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_qemu.so |
956 | %{_datadir}/augeas/lenses/libvirtd_qemu.aug | |
957 | %{_datadir}/augeas/lenses/virtqemud.aug | |
958 | %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug | |
959 | %{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug | |
960 | %{_datadir}/augeas/lenses/tests/test_virtqemud.aug | |
423a0b96 JR |
961 | %attr(750,qemu,qemu) %dir /var/cache/libvirt/qemu |
962 | %attr(750,qemu,qemu) %dir /var/lib/libvirt/qemu | |
621ed3d1 JB |
963 | %attr(700,root,root) %dir /var/log/libvirt/qemu |
964 | %attr(700,root,root) %dir /var/run/libvirt/qemu | |
04ecdedc | 965 | %{_prefix}/lib/sysctl.d/60-qemu-postcopy-migration.conf |
542efd59 JB |
966 | %{_mandir}/man1/virt-qemu-qmp-proxy.1* |
967 | %{_mandir}/man1/virt-qemu-run.1* | |
968 | %{_mandir}/man1/virt-qemu-sev-validate.1* | |
b040b949 | 969 | %{_mandir}/man8/virtqemud.8* |
1c850183 JB |
970 | %endif |
971 | ||
972 | %if %{with vbox} | |
973 | %files daemon-vbox | |
974 | %defattr(644,root,root,755) | |
975 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtvboxd.conf | |
1c850183 JB |
976 | %{systemdunitdir}/virtvboxd.service |
977 | %{systemdunitdir}/virtvboxd.socket | |
978 | %{systemdunitdir}/virtvboxd-admin.socket | |
979 | %{systemdunitdir}/virtvboxd-ro.socket | |
980 | %attr(755,root,root) %{_sbindir}/virtvboxd | |
981 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_vbox.so | |
982 | %{_datadir}/augeas/lenses/virtvboxd.aug | |
983 | %{_datadir}/augeas/lenses/tests/test_virtvboxd.aug | |
b040b949 | 984 | %{_mandir}/man8/virtvboxd.8* |
423a0b96 JR |
985 | %endif |
986 | ||
1dff3987 | 987 | %ifnarch %{ix86} |
b040b949 JR |
988 | %files daemon-chd |
989 | %defattr(644,root,root,755) | |
990 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virtchd.conf | |
991 | %{systemdunitdir}/virtchd.service | |
992 | %{systemdunitdir}/virtchd.socket | |
993 | %{systemdunitdir}/virtchd-admin.socket | |
994 | %{systemdunitdir}/virtchd-ro.socket | |
995 | %attr(755,root,root) %{_sbindir}/virtchd | |
996 | %attr(755,root,root) %{_libdir}/libvirt/connection-driver/libvirt_driver_ch.so | |
997 | %{_datadir}/augeas/lenses/virtchd.aug | |
998 | %{_datadir}/augeas/lenses/tests/test_virtchd.aug | |
1dff3987 | 999 | %endif |
b040b949 | 1000 | |
423a0b96 JR |
1001 | %files client |
1002 | %defattr(644,root,root,755) | |
04ecdedc | 1003 | %{systemdunitdir}/libvirt-guests.service |
62e11f33 | 1004 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt/virt-login-shell.conf |
423a0b96 | 1005 | %attr(755,root,root) %{_bindir}/virsh |
c25279f9 | 1006 | %attr(755,root,root) %{_bindir}/virt-admin |
423a0b96 | 1007 | %attr(755,root,root) %{_bindir}/virt-host-validate |
1c850183 | 1008 | # TODO: %attr(4754,root,virtlogin) and virtlogin group to access binary |
62e11f33 | 1009 | %attr(4755,root,root) %{_bindir}/virt-login-shell |
423a0b96 | 1010 | %attr(755,root,root) %{_bindir}/virt-xml-validate |
b040b949 | 1011 | %attr(755,root,root) %{_bindir}/virt-pki-query-dn |
423a0b96 | 1012 | %attr(755,root,root) %{_bindir}/virt-pki-validate |
40a24f8b | 1013 | %attr(755,root,root) %{_bindir}/virt-ssh-helper |
4ef34a20 | 1014 | %attr(754,root,root) %{_libexecdir}/libvirt-guests.sh |
1c850183 | 1015 | %attr(754,root,root) %{_libexecdir}/virt-login-shell-helper |
423a0b96 | 1016 | %{_mandir}/man1/virsh.1* |
c25279f9 | 1017 | %{_mandir}/man1/virt-admin.1* |
423a0b96 | 1018 | %{_mandir}/man1/virt-host-validate.1* |
62e11f33 | 1019 | %{_mandir}/man1/virt-login-shell.1* |
423a0b96 | 1020 | %{_mandir}/man1/virt-xml-validate.1* |
b040b949 | 1021 | %{_mandir}/man1/virt-pki-query-dn.1* |
423a0b96 | 1022 | %{_mandir}/man1/virt-pki-validate.1* |
b040b949 JR |
1023 | %{_mandir}/man8/libvirt-guests.8* |
1024 | %{_mandir}/man8/virt-ssh-helper.8* | |
423a0b96 JR |
1025 | %dir %{_datadir}/libvirt/schemas |
1026 | %{_datadir}/libvirt/schemas/basictypes.rng | |
1027 | %{_datadir}/libvirt/schemas/capability.rng | |
40a24f8b | 1028 | %{_datadir}/libvirt/schemas/cpu.rng |
2114e9b8 | 1029 | %{_datadir}/libvirt/schemas/cputypes.rng |
423a0b96 | 1030 | %{_datadir}/libvirt/schemas/domain.rng |
1c850183 | 1031 | %{_datadir}/libvirt/schemas/domainbackup.rng |
3958e395 | 1032 | %{_datadir}/libvirt/schemas/domaincaps.rng |
1c850183 | 1033 | %{_datadir}/libvirt/schemas/domaincheckpoint.rng |
423a0b96 | 1034 | %{_datadir}/libvirt/schemas/domaincommon.rng |
9c616e1f | 1035 | %{_datadir}/libvirt/schemas/domainoverrides.rng |
423a0b96 | 1036 | %{_datadir}/libvirt/schemas/domainsnapshot.rng |
9c616e1f | 1037 | %{_datadir}/libvirt/schemas/inactiveDomain.rng |
423a0b96 JR |
1038 | %{_datadir}/libvirt/schemas/interface.rng |
1039 | %{_datadir}/libvirt/schemas/network.rng | |
1040 | %{_datadir}/libvirt/schemas/networkcommon.rng | |
bf4e4e30 | 1041 | %{_datadir}/libvirt/schemas/networkport.rng |
423a0b96 JR |
1042 | %{_datadir}/libvirt/schemas/nodedev.rng |
1043 | %{_datadir}/libvirt/schemas/nwfilter.rng | |
c9fcc2fd JP |
1044 | %{_datadir}/libvirt/schemas/nwfilter_params.rng |
1045 | %{_datadir}/libvirt/schemas/nwfilterbinding.rng | |
542efd59 | 1046 | %{_datadir}/libvirt/schemas/privatedata.rng |
423a0b96 | 1047 | %{_datadir}/libvirt/schemas/secret.rng |
521fc25f | 1048 | %{_datadir}/libvirt/schemas/storagecommon.rng |
423a0b96 | 1049 | %{_datadir}/libvirt/schemas/storagepool.rng |
549ba196 | 1050 | %{_datadir}/libvirt/schemas/storagepoolcaps.rng |
423a0b96 | 1051 | %{_datadir}/libvirt/schemas/storagevol.rng |
fb415d8b JB |
1052 | # for test driver (built into libvirt) |
1053 | %{_datadir}/libvirt/test-screenshot.png | |
423a0b96 JR |
1054 | |
1055 | %files utils | |
1056 | %defattr(644,root,root,755) | |
3e5ed185 JB |
1057 | |
1058 | %if %{with systemtap} | |
1059 | %files -n systemtap-libvirt | |
1060 | %defattr(644,root,root,755) | |
1061 | %{_datadir}/systemtap/tapset/libvirt_functions.stp | |
1062 | %{_datadir}/systemtap/tapset/libvirt_probes.stp | |
4238dfc2 | 1063 | %{?with_qemu:%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp} |
3e5ed185 | 1064 | %endif |
af7f943c JB |
1065 | |
1066 | %if %{with wireshark} | |
1067 | %files -n wireshark-libvirt | |
1068 | %defattr(644,root,root,755) | |
51dab576 | 1069 | %attr(755,root,root) %{_libdir}/wireshark/plugins/*/epan/libvirt.so |
af7f943c | 1070 | %endif |