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