]>
Commit | Line | Data |
---|---|---|
621ed3d1 | 1 | # xenapi (libxenserver), xenlight (libxenlight)? |
7ce5923d | 2 | # --with-driver-modules ? |
94462445 ER |
3 | # |
4 | # Conditional build: | |
5 | %bcond_with xen # xen | |
5296d739 | 6 | %bcond_without xen_proxy # Xen proxy |
94462445 | 7 | %bcond_without qemu # Qemu |
4e034fd2 | 8 | %bcond_without polkit # PolicyKit |
fa6419a6 | 9 | %bcond_with sanlock # sanlock storage lock manager |
36a3330a | 10 | %bcond_with netcf # host interfaces support |
94462445 | 11 | |
148a9af3 JB |
12 | # qemu available only on x86 and ppc |
13 | %ifnarch %{ix86} %{x8664} ppc | |
14 | %undefine with_qemu | |
15 | %endif | |
16 | # Xen is available only on i686 x86_64 ia64 | |
94462445 ER |
17 | %ifnarch %{ix86} %{x8664} ia64 |
18 | %undefine with_xen | |
19 | %endif | |
20 | %ifarch i386 i486 i586 | |
21 | %undefine with_xen | |
22 | %endif | |
94462445 ER |
23 | %if %{without xen} |
24 | %undefine with_xen_proxy | |
25 | %endif | |
26 | ||
94462445 | 27 | Summary: Toolkit to interact with virtualization capabilities |
148a9af3 | 28 | Summary(pl.UTF-8): Narzędzia współpracujące z funkcjami wirtualizacji |
94462445 | 29 | Name: libvirt |
a0b92b5f | 30 | Version: 0.9.9 |
31 | Release: 1 | |
148a9af3 | 32 | License: LGPL v2.1+ |
94462445 | 33 | Group: Base/Kernel |
94462445 | 34 | Source0: ftp://ftp.libvirt.org/libvirt/%{name}-%{version}.tar.gz |
a0b92b5f | 35 | # Source0-md5: 37c4bf8cdd4c76150bc0c1d249945d27 |
e285e5e5 | 36 | Source1: %{name}.init |
5296d739 JB |
37 | Patch0: %{name}-sasl.patch |
38 | URL: http://www.libvirt.org/ | |
7ce5923d | 39 | BuildRequires: audit-libs-devel |
fa080175 | 40 | BuildRequires: augeas-devel |
148a9af3 | 41 | BuildRequires: autoconf >= 2.50 |
69187f5d | 42 | BuildRequires: automake |
4e034fd2 | 43 | BuildRequires: avahi-devel >= 0.6.0 |
4e034fd2 | 44 | BuildRequires: curl-devel >= 7.18.0 |
69187f5d | 45 | BuildRequires: cyrus-sasl-devel |
4e034fd2 | 46 | BuildRequires: device-mapper-devel >= 1.0.0 |
7ce5923d | 47 | BuildRequires: gettext-devel >= 0.17 |
4e034fd2 | 48 | BuildRequires: gnutls-devel >= 1.0.25 |
69187f5d | 49 | BuildRequires: libapparmor-devel |
7ce5923d JB |
50 | BuildRequires: libblkid-devel >= 2.17 |
51 | BuildRequires: libcap-ng-devel >= 0.4.0 | |
52 | BuildRequires: libgcrypt-devel | |
53 | BuildRequires: libnl1-devel >= 1.1 | |
54 | BuildRequires: libpcap-devel >= 1.0.0 | |
55 | BuildRequires: libselinux-devel >= 2.0.82 | |
56 | BuildRequires: libssh2-devel >= 1.0 | |
69187f5d | 57 | BuildRequires: libstdc++-devel |
58 | BuildRequires: libtool | |
7ce5923d | 59 | BuildRequires: libxml2-devel >= 1:2.6.0 |
fa080175 | 60 | BuildRequires: libxslt-devel |
61 | BuildRequires: openldap-devel | |
fec4200b | 62 | BuildRequires: openwsman-devel >= 2.2.3 |
94462445 | 63 | BuildRequires: ncurses-devel |
36a3330a | 64 | %{?with_netcf:BuildRequires: netcf-devel >= 0.1.4} |
69187f5d | 65 | BuildRequires: numactl-devel |
36a3330a | 66 | BuildRequires: parted-devel >= 1.8.0 |
69187f5d | 67 | BuildRequires: perl-tools-pod |
36a3330a | 68 | %{?with_polkit:BuildRequires: polkit >= 0.90} |
69187f5d | 69 | BuildRequires: pkgconfig |
36a3330a | 70 | BuildRequires: python |
94462445 ER |
71 | BuildRequires: python-devel |
72 | BuildRequires: readline-devel | |
69187f5d | 73 | BuildRequires: rpm-pythonprov |
5296d739 | 74 | BuildRequires: rpmbuild(macros) >= 1.219 |
621ed3d1 | 75 | %{?with_sanlock:BuildRequires: sanlock-devel >= 0.8} |
69187f5d | 76 | BuildRequires: udev-devel >= 145 |
98574323 | 77 | %{?with_xen:BuildRequires: xen-devel >= 3.0.4} |
94462445 | 78 | # For disk driver |
7ce5923d | 79 | BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0 |
36a3330a | 80 | BuildRequires: yajl-devel |
7ce5923d JB |
81 | Requires: curl-libs >= 7.18.0 |
82 | Requires: device-mapper >= 1.0.0 | |
83 | Requires: gnutls >= 1.0.25 | |
84 | Requires: libcap-ng >= 0.4.0 | |
85 | Requires: libnl1 >= 1.1 | |
86 | Requires: libpcap >= 1.0.0 | |
87 | Requires: libselinux >= 2.0.82 | |
88 | Requires: libssh2 >= 1.0 | |
89 | Requires: libxml2 >= 1:2.6.0 | |
fec4200b | 90 | Requires: openwsman-libs >= 2.2.3 |
94462445 ER |
91 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
92 | ||
93 | # libxenstore is not versionned properly | |
94 | %define _noautoreq devel(libxenstore.*) | |
95 | ||
96 | %description | |
97 | Libvirt is a C toolkit to interact with the virtualization | |
98 | capabilities of recent versions of Linux. | |
99 | ||
100 | Virtualization of the Linux Operating System means the ability to run | |
101 | multiple instances of Operating Systems concurently on a single | |
102 | hardware system where the basic resources are driven by a Linux | |
103 | instance. The library aim at providing long term stable C API | |
104 | initially for the Xen paravirtualization but should be able to | |
105 | integrate other virtualization mechanisms if needed. | |
106 | ||
148a9af3 JB |
107 | %description -l pl.UTF-8 |
108 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami | |
109 | wirtualizacji obecnych wersji Linuksa. | |
110 | ||
111 | Wirtualizacja w systemie operacyjnym Linux oznacza możliwość | |
112 | jednoczesnego uruchamiania wielu instancji systemu operacyjnego na | |
113 | pojedynczym systemie sprzętowym, którego podstawowe zasoby są | |
114 | zarządzane przez instancję Linuksa. Celem biblioteki jest zapewnienie | |
115 | długotrwale stabilnego API C, początkowo do parawirtualizacji Xen, ale | |
116 | dającej się zintegrować w razie potrzeby z innymi mechanizmami | |
117 | wirtualizacji. | |
118 | ||
94462445 | 119 | %package devel |
148a9af3 JB |
120 | Summary: Development files for programs using libvirt |
121 | Summary(pl.UTF-8): Pliki programistyczne do programów wykorzystujących libvirt | |
94462445 ER |
122 | Group: Development/Libraries |
123 | Requires: %{name} = %{version}-%{release} | |
7f159b90 JB |
124 | Requires: audit-libs-devel |
125 | Requires: curl-devel >= 7.18.0 | |
126 | Requires: device-mapper-devel >= 1.0.0 | |
127 | Requires: gnutls-devel >= 1.0.25 | |
128 | Requires: libapparmor-devel | |
129 | Requires: libcap-ng-devel >= 0.4.0 | |
130 | Requires: libgcrypt-devel | |
131 | Requires: libnl1-devel >= 1.1 | |
132 | Requires: libpcap-devel >= 1.0.0 | |
133 | Requires: libselinux-devel >= 2.0.82 | |
134 | Requires: libxml2-devel >= 1:2.6.0 | |
135 | Requires: numactl-devel | |
fec4200b | 136 | Requires: openwsman-devel >= 2.2.3 |
94462445 | 137 | %{?with_xen:Requires: xen-devel} |
7f159b90 | 138 | Requires: yajl-devel |
94462445 ER |
139 | |
140 | %description devel | |
141 | Libvirt is a C toolkit to interact with the virtualization | |
142 | capabilities of recent versions of Linux. | |
143 | ||
148a9af3 JB |
144 | This package contains the header files needed for developing programs |
145 | using the libvirt library. | |
146 | ||
147 | %description devel -l pl.UTF-8 | |
148 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami | |
149 | wirtualizacji obecnych wersji Linuksa. | |
150 | ||
151 | Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów | |
152 | wykorzystujących bibliotekę libvirt. | |
94462445 ER |
153 | |
154 | %package static | |
155 | Summary: Development static libraries for programs using libvirt | |
148a9af3 | 156 | Summary(pl.UTF-8): Statyczne biblioteki programistyczne do programów wykorzystujących libvirt |
94462445 | 157 | Group: Development/Libraries |
148a9af3 | 158 | Requires: %{name}-devel = %{version}-%{release} |
94462445 ER |
159 | |
160 | %description static | |
161 | Libvirt is a C toolkit to interact with the virtualization | |
162 | capabilities of recent versions of Linux. | |
163 | ||
148a9af3 JB |
164 | This package contains the static libraries for developing programs |
165 | using the libvirt library. | |
166 | ||
167 | %description static -l pl.UTF-8 | |
168 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami | |
169 | wirtualizacji obecnych wersji Linuksa. | |
170 | ||
171 | Ten pakiet zawiera biblioteki statyczne do tworzenia programów | |
172 | wykorzystujących bibliotekę libvirt. | |
94462445 | 173 | |
5296d739 | 174 | %package -n python-%{name} |
94462445 | 175 | Summary: Python bindings to interact with virtualization capabilities |
148a9af3 | 176 | Summary(pl.UTF-8): Wiązania Pythona do współpracy z funkcjami wirtualizacji |
94462445 ER |
177 | Group: Development/Languages/Python |
178 | Requires: %{name} = %{version}-%{release} | |
179 | ||
180 | %description -n python-%{name} | |
181 | Libvirt is a C toolkit to interact with the virtualization | |
182 | capabilities of recent versions of Linux. | |
183 | ||
184 | This package contains the Python bindings for the libvirt library. | |
185 | ||
148a9af3 JB |
186 | %description -n python-%{name} -l pl.UTF-8 |
187 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami | |
188 | wirtualizacji obecnych wersji Linuksa. | |
189 | ||
190 | Ten pakiet zawiera wiązania Pythona do biblioteki libvirt. | |
191 | ||
94462445 ER |
192 | %package utils |
193 | Summary: Tools to interact with virtualization capabilities | |
148a9af3 | 194 | Summary(pl.UTF-8): Narzędzia do współpracy z funkcjami wirtualizacyjnymi |
94462445 ER |
195 | Group: Base/Kernel |
196 | Requires: %{name} = %{version}-%{release} | |
7ce5923d | 197 | Requires: avahi-libs >= 0.6.0 |
d15f5e97 AM |
198 | # /etc/init.d/libvirt-guests[37]: .: /usr/bin/gettext.sh: not found, some better split needed |
199 | Requires: gettext-devel | |
7ce5923d JB |
200 | Requires: libblkid >= 2.17 |
201 | Requires: parted-libs >= 1.8.0 | |
202 | Requires: udev-libs >= 145 | |
203 | Requires: xorg-lib-libpciaccess >= 0.10.0 | |
8a8149a9 | 204 | Suggests: iptables |
624d0ccc | 205 | Suggests: bridge-utils |
8a8149a9 | 206 | Suggests: dmidecode |
624d0ccc | 207 | Suggests: dnsmasq |
8a8149a9 JR |
208 | Suggests: ebtables |
209 | Suggests: gawk | |
210 | Suggests: iptables | |
624d0ccc | 211 | Suggests: lvm2 |
8a8149a9 JR |
212 | # for management through ssh |
213 | Suggests: netcat-openbsd | |
7ce5923d | 214 | Suggests: polkit >= 0.90 |
94462445 ER |
215 | |
216 | %description utils | |
217 | Libvirt is a C toolkit to interact with the virtualization | |
218 | capabilities of recent versions of Linux. | |
219 | ||
220 | This package contains tools for the libvirt library. | |
221 | ||
148a9af3 JB |
222 | %description utils -l pl.UTF-8 |
223 | Libvirt to zestaw narzędzi w C do współpracy z funkcjami | |
224 | wirtualizacji obecnych wersji Linuksa. | |
225 | ||
226 | Ten pakiet zawiera narzędzia do biblioteki libvirt. | |
227 | ||
621ed3d1 JB |
228 | %package lock-sanlock |
229 | Summary: Sanlock lock manager plugin for libvirt | |
230 | Summary(pl.UTF-8): Zarządca blokad sanlock dla biblioteki libvirt | |
231 | Group: Libraries | |
232 | Requires: %{name} = %{version}-%{release} | |
233 | ||
234 | %description lock-sanlock | |
235 | Sanlock lock manager plugin for libvirt. | |
236 | ||
237 | %description lock-sanlock -l pl.UTF-8 | |
238 | Zarządca blokad sanlock dla biblioteki libvirt. | |
239 | ||
94462445 ER |
240 | %prep |
241 | %setup -q | |
5296d739 JB |
242 | %patch0 -p1 |
243 | ||
2c74cc69 | 244 | # weird translations |
5296d739 | 245 | %{__rm} po/{my,eu_ES}.{po,gmo} |
94462445 | 246 | |
01260398 AF |
247 | mv po/vi_VN.po po/vi.po |
248 | mv po/vi_VN.gmo po/vi.gmo | |
249 | ||
94462445 | 250 | %build |
4e034fd2 AF |
251 | %{__libtoolize} |
252 | %{__aclocal} -I gnulib/m4 -I m4 | |
4e034fd2 | 253 | %{__autoconf} |
7ce5923d | 254 | %{__autoheader} |
4e034fd2 AF |
255 | %{__automake} |
256 | ||
257 | %configure \ | |
624d0ccc | 258 | PVCREATE=/sbin/pvcreate \ |
259 | VGCREATE=/sbin/vgcreate \ | |
260 | LVCREATE=/sbin/lvcreate \ | |
261 | PVREMOVE=/sbin/pvremove \ | |
262 | VGREMOVE=/sbin/vgremove \ | |
263 | LVREMOVE=/sbin/lvremove \ | |
264 | VGCHANGE=/sbin/vgchange \ | |
a1550d89 | 265 | LVCHANGE=/sbin/lvchange \ |
624d0ccc | 266 | VGSCAN=/sbin/vgscan \ |
267 | PVS=/sbin/pvs \ | |
268 | VGS=/sbin/vgs \ | |
269 | LVS=/sbin/lvs \ | |
7ce5923d | 270 | TC=/sbin/tc \ |
624d0ccc | 271 | BRCTL=/sbin/brctl \ |
7ce5923d JB |
272 | MOUNT=/bin/mount \ |
273 | UMOUNT=/bin/umount \ | |
274 | MKFS=/sbin/mkfs \ | |
36a3330a | 275 | SHOWMOUNT=/usr/sbin/showmount \ |
276 | IPTABLES_PATH=/usr/sbin/iptables \ | |
277 | IP6TABLES_PATH=/usr/sbin/ip6tables \ | |
d9fa538f | 278 | EBTABLES_PATH=/usr/sbin/ebtables \ |
7ce5923d JB |
279 | ISCSIADM=/sbin/iscsiadm \ |
280 | DNSMASQ=/usr/sbin/dnsmasq \ | |
281 | RADVD=/usr/sbin/radvd \ | |
282 | UDEVADM=/sbin/udevadm \ | |
621ed3d1 JB |
283 | MODPROBE=/sbin/modprobe \ |
284 | --disable-silent-rules \ | |
285 | --with-html-dir=%{_gtkdocdir} \ | |
286 | --with-html-subdir=%{name} \ | |
287 | --with-init-script=redhat \ | |
288 | --with-storage-lvm \ | |
289 | --with-udev \ | |
290 | --without-hal \ | |
291 | %{!?with_netcf:--without-netcf} \ | |
292 | %{!?with_sanlock:--without-sanlock} \ | |
293 | %{!?with_qemu:--without-qemu} \ | |
294 | %{!?with_xen:--without-xen} \ | |
295 | --x-libraries=%{_libdir} | |
7ce5923d JB |
296 | |
297 | %{__make} \ | |
298 | AWK=gawk | |
94462445 ER |
299 | |
300 | %install | |
301 | rm -rf $RPM_BUILD_ROOT | |
302 | %{__make} install \ | |
46ab7552 | 303 | DEVHELP_DIR=%{_gtkdocdir}/%{name}/devhelp \ |
94462445 ER |
304 | DESTDIR=$RPM_BUILD_ROOT |
305 | ||
e285e5e5 SP |
306 | install -d $RPM_BUILD_ROOT/etc/sysconfig |
307 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d | |
308 | ||
feec3441 | 309 | #install qemud/libvirtd.sysconf $RPM_BUILD_ROOT/etc/sysconfig/libvirtd |
e285e5e5 SP |
310 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/libvirtd |
311 | ||
5296d739 JB |
312 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} |
313 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
314 | %py_postclean | |
7f159b90 | 315 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la |
5296d739 | 316 | |
621ed3d1 JB |
317 | %if %{with sanlock} |
318 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.{a,la} | |
319 | %endif | |
320 | ||
94462445 ER |
321 | %find_lang %{name} |
322 | ||
323 | %clean | |
324 | rm -rf $RPM_BUILD_ROOT | |
325 | ||
5296d739 JB |
326 | %post -p /sbin/ldconfig |
327 | %postun -p /sbin/ldconfig | |
94462445 ER |
328 | |
329 | %files -f %{name}.lang | |
330 | %defattr(644,root,root,755) | |
331 | %doc ChangeLog README TODO NEWS | |
5296d739 JB |
332 | %attr(755,root,root) %{_libdir}/libvirt.so.*.*.* |
333 | %attr(755,root,root) %ghost %{_libdir}/libvirt.so.0 | |
334 | %attr(755,root,root) %{_libdir}/libvirt-qemu.so.*.*.* | |
335 | %attr(755,root,root) %ghost %{_libdir}/libvirt-qemu.so.0 | |
8c29141c | 336 | %attr(755,root,root) %{_libdir}/libvirt_lxc |
36a3330a | 337 | %attr(755,root,root) %{_libdir}/libvirt_iohelper |
621ed3d1 JB |
338 | %attr(755,root,root) %{_libdir}/virt-aa-helper |
339 | %dir %{_libdir}/libvirt | |
fa6419a6 | 340 | %if %{with sanlock} |
621ed3d1 | 341 | %dir %{_libdir}/libvirt/lock-driver |
fa6419a6 | 342 | %endif |
e74f18c1 JR |
343 | %dir %{_datadir}/libvirt |
344 | %dir %{_datadir}/libvirt/schemas | |
a73c464c | 345 | %{_datadir}/libvirt/schemas/basictypes.rng |
feec3441 | 346 | %{_datadir}/libvirt/schemas/capability.rng |
347 | %{_datadir}/libvirt/schemas/domain.rng | |
a73c464c | 348 | %{_datadir}/libvirt/schemas/domaincommon.rng |
fa080175 | 349 | %{_datadir}/libvirt/schemas/domainsnapshot.rng |
feec3441 | 350 | %{_datadir}/libvirt/schemas/interface.rng |
351 | %{_datadir}/libvirt/schemas/network.rng | |
a73c464c | 352 | %{_datadir}/libvirt/schemas/networkcommon.rng |
feec3441 | 353 | %{_datadir}/libvirt/schemas/nodedev.rng |
4e034fd2 | 354 | %{_datadir}/libvirt/schemas/nwfilter.rng |
feec3441 | 355 | %{_datadir}/libvirt/schemas/secret.rng |
356 | %{_datadir}/libvirt/schemas/storageencryption.rng | |
357 | %{_datadir}/libvirt/schemas/storagepool.rng | |
358 | %{_datadir}/libvirt/schemas/storagevol.rng | |
3ac3cd0c | 359 | |
621ed3d1 JB |
360 | %if %{with sanlock} |
361 | %files lock-sanlock | |
362 | %attr(755,root,root) %{_sbindir}/virt-sanlock-cleanup | |
363 | %attr(755,root,root) %{_libdir}/libvirt/lock-driver/sanlock.so | |
364 | %dir /var/lib/libvirt/sanlock | |
365 | %{_mandir}/man8/virt-sanlock-cleanup.8* | |
366 | %endif | |
367 | ||
94462445 ER |
368 | %files devel |
369 | %defattr(644,root,root,755) | |
5296d739 JB |
370 | %attr(755,root,root) %{_libdir}/libvirt.so |
371 | %attr(755,root,root) %{_libdir}/libvirt-qemu.so | |
372 | %{_libdir}/libvirt.la | |
373 | %{_libdir}/libvirt-qemu.la | |
374 | %{_gtkdocdir}/%{name} | |
375 | %{_includedir}/%{name} | |
94462445 ER |
376 | %{_pkgconfigdir}/%{name}.pc |
377 | ||
378 | %files static | |
379 | %defattr(644,root,root,755) | |
5296d739 JB |
380 | %{_libdir}/libvirt.a |
381 | %{_libdir}/libvirt-qemu.a | |
94462445 ER |
382 | |
383 | %files -n python-%{name} | |
384 | %defattr(644,root,root,755) | |
385 | %doc %{_docdir}/%{name}-python-%{version} | |
a73c464c AM |
386 | %attr(755,root,root) %{py_sitedir}/libvirtmod.so |
387 | %attr(755,root,root) %{py_sitedir}/libvirtmod_qemu.so | |
5296d739 JB |
388 | %{py_sitedir}/libvirt.py[co] |
389 | %{py_sitedir}/libvirt_qemu.py[co] | |
94462445 ER |
390 | |
391 | %files utils | |
392 | %defattr(644,root,root,755) | |
393 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt | |
72b1baa0 | 394 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/libvirt.conf |
94462445 ER |
395 | %attr(755,root,root) %{_bindir}/virsh |
396 | %attr(755,root,root) %{_sbindir}/libvirtd | |
e285e5e5 | 397 | %attr(754,root,root) /etc/rc.d/init.d/libvirtd |
fa080175 | 398 | %attr(754,root,root) /etc/rc.d/init.d/libvirt-guests |
3ac3cd0c | 399 | %attr(755,root,root) %{_bindir}/virt-xml-validate |
feec3441 | 400 | %attr(755,root,root) %{_bindir}/virt-pki-validate |
e285e5e5 | 401 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/libvirtd |
fa080175 | 402 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/libvirt-guests |
36a3330a | 403 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd |
4e034fd2 AF |
404 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.lxc |
405 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.qemu | |
406 | %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/libvirtd.uml | |
621ed3d1 | 407 | %attr(755,root,root) %{_libdir}/libvirt_parthelper |
5296d739 | 408 | %{?with_polkit:%{_datadir}/polkit-1/actions/org.libvirt.unix.policy} |
94462445 | 409 | %{_mandir}/man1/virsh.1* |
3ac3cd0c | 410 | %{_mandir}/man1/virt-xml-validate.1* |
feec3441 | 411 | %{_mandir}/man1/virt-pki-validate.1* |
e4177f0c | 412 | %{_mandir}/man8/libvirtd.8* |
feec3441 | 413 | %{_datadir}/%{name}/*.xml |
fa080175 | 414 | %{_datadir}/augeas/lenses/*.aug |
415 | %{_datadir}/augeas/lenses/tests/*.aug | |
621ed3d1 | 416 | %attr(711,root,root) %dir /var/cache/libvirt |
d5a575f6 | 417 | %dir /var/lib/libvirt |
621ed3d1 JB |
418 | %attr(711,root,root) %dir /var/lib/libvirt/boot |
419 | %dir /var/lib/libvirt/dnsmasq | |
420 | %attr(711,root,root) %dir /var/lib/libvirt/images | |
421 | %attr(700,root,root) %dir /var/lib/libvirt/lxc | |
422 | %attr(700,root,root) %dir /var/lib/libvirt/network | |
423 | %attr(700,root,root) %dir /var/lib/libvirt/uml | |
424 | %dir /var/log/libvirt | |
425 | %attr(700,root,root) %dir /var/log/libvirt/lxc | |
426 | %attr(700,root,root) %dir /var/log/libvirt/uml | |
427 | %dir /var/run/libvirt | |
428 | %attr(700,root,root) %dir /var/run/libvirt/lxc | |
429 | %if %{with qemu} | |
430 | # %attr(750,qemu,qemu) ? | |
431 | %dir /var/cache/libvirt/qemu | |
432 | # %attr(750,qemu,qemu) ? | |
433 | %dir /var/lib/libvirt/qemu | |
434 | %attr(700,root,root) %dir /var/log/libvirt/qemu | |
435 | %attr(700,root,root) %dir /var/run/libvirt/qemu | |
436 | %endif |