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