3 # - check if other tools/libs are not usable in domU, move them to -guest
5 # - pass bconds to qemu configure script (tricky, as the script is called from
7 # - fix %doc - some files are installed in docdir both by make install and %d,
8 # other are installed once
9 # - now the build dependencies are insane (because of what qemu can use)
10 # we should make them optional or get rid of them all properly
13 %bcond_without opengl # OpenGL support in Xen qemu
14 %bcond_without sdl # SDL support in Xen qemu
15 %bcond_without bluetooth # bluetooth support in Xen qemu
16 %bcond_without brlapi # brlapi support in Xen qemu
17 %bcond_without ocaml # Ocaml libraries for Xen tools
18 %bcond_without efi # EFI hypervisor
19 %bcond_without hypervisor # Xen hypervisor build
20 %bcond_without stubdom # stubdom build
23 %undefine with_hypervisor
28 %ifnarch %{ix86} %{x8664}
29 %undefine with_stubdom
33 %define seabios_version 1.6.3.2
35 # from ./stubdom/configure.ac
36 %define polarssl_version 1.1.4
37 %define tpm_emulator_version 0.7.4
38 %define gmp_version 4.3.2
40 %define xen_extfiles_url http://xenbits.xensource.com/xen-extfiles
41 Summary: Xen - a virtual machine monitor
42 Summary(pl.UTF-8): Xen - monitor maszyny wirtualnej
46 License: GPL v2, interface parts on BSD-like
47 Group: Applications/System
48 Source0: http://bits.xensource.com/oss-xen/release/%{version}/%{name}-%{version}.tar.gz
49 # Source0-md5: 83e0e13678383e4fbcaa69ce6064b187
51 Source10: %{xen_extfiles_url}/lwip-1.3.0.tar.gz
52 # Source10-md5: 36cc57650cffda9a0269493be2a169bb
53 Source11: %{xen_extfiles_url}/newlib-1.16.0.tar.gz
54 # Source11-md5: bf8f1f9e3ca83d732c00a79a6ef29bc4
55 Source12: %{xen_extfiles_url}/zlib-1.2.3.tar.gz
56 # Source12-md5: debc62758716a169df9f62e6ab2bc634
57 Source13: %{xen_extfiles_url}/pciutils-2.2.9.tar.bz2
58 # Source13-md5: cec05e7785497c5e19da2f114b934ffd
59 Source14: %{xen_extfiles_url}/grub-0.97.tar.gz
60 # Source14-md5: cd3f3eb54446be6003156158d51f4884
61 Source15: http://xenbits.xen.org/xen-extfiles/ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz
62 # Source15-md5: 7496268cebf47d5c9ccb0696e3b26065
63 # http://xenbits.xen.org/git-http/seabios.git/
64 # git archive --prefix=tools/firmware/seabios/ --format=tar rel-%{seabios_version} | xz > seabios-%{seabios_version}.tar.xz
65 Source16: seabios-%{seabios_version}.tar.xz
66 # Source16-md5: 145e07ff5618a3999f94f2e830d06b05
67 Source17: %{xen_extfiles_url}/polarssl-%{polarssl_version}-gpl.tgz
68 # Source17-md5: 7b72caf22b01464ee7d6165f2fd85f44
69 Source18: http://xenbits.xen.org/xen-extfiles/tpm_emulator-%{tpm_emulator_version}.tar.gz
70 # Source18-md5: e26becb8a6a2b6695f6b3e8097593db8
71 Source19: ftp://ftp.gmplib.org/pub/gmp-%{gmp_version}/gmp-%{gmp_version}.tar.bz2
72 # Source19-md5: dd60683d7057917e34630b4a787932e8
73 Source30: proc-xen.mount
74 Source31: var-lib-xenstored.mount
75 Source32: blktapctrl.service
76 Source33: blktapctrl.sysconfig
77 Source34: xenconsoled.service
78 Source35: xenconsoled.sysconfig
79 Source36: xenstored.service
80 Source37: xenstored.sysconfig
81 Source38: xenstored.tmpfiles
82 Source39: xend.service
83 Source40: xend.tmpfiles
84 Source41: xen-watchdog.service
85 Source42: xen-dom0-modules-load.conf
86 Source43: xendomains.sh
87 Source44: xendomains.service
90 Source51: xenconsoled.init
91 Source52: xenstored.init
92 Source53: xen-watchdog.init
93 Source54: xendomains.init
94 Source55: xen.logrotate
95 Source56: xen.tmpfiles
97 Source58: xen.efi-boot-update
98 Source59: vif-openvswitch
99 Source60: xen-init-list
100 Source61: xen-toolstack
101 Patch0: %{name}-python_scripts.patch
102 Patch1: %{name}-symbols.patch
103 Patch2: %{name}-curses.patch
104 Patch3: pygrubfix.patch
105 Patch4: xend.catchbt.patch
106 Patch5: xend-pci-loop.patch
107 Patch6: %{name}-dumpdir.patch
108 # Warning: this disables ingress filtering implemented in xen scripts!
109 Patch7: %{name}-net-disable-iptables-on-bridge.patch
110 Patch8: %{name}-configure-xend.patch
111 Patch9: %{name}-initscript.patch
112 Patch10: %{name}-qemu.patch
113 Patch11: %{name}-ulong.patch
114 Patch12: %{name}-doc.patch
115 Patch13: %{name}-paths.patch
116 Patch14: %{name}-no_fetcher.patch
117 Patch15: %{name}-xattr.patch
118 URL: http://www.xen.org/products/xenhyp.html
119 %{?with_opengl:BuildRequires: OpenGL-devel}
120 %{?with_sdl:BuildRequires: SDL-devel >= 1.2.1}
121 %ifarch %{ix86} %{x8664}
122 BuildRequires: acpica
123 BuildRequires: autoconf
127 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
128 %{?with_brlapi:BuildRequires: brlapi-devel}
129 %{?with_efi:BuildRequires: binutils >= 3:2.23.51.0.3-2}
130 BuildRequires: bzip2-devel
131 BuildRequires: ceph-devel
132 BuildRequires: curl-devel
133 BuildRequires: cyrus-sasl-devel >= 2
134 BuildRequires: e2fsprogs-devel
135 BuildRequires: gcc >= 6:4.1
136 BuildRequires: gettext-devel
137 BuildRequires: glib2-devel >= 1:2.12
138 BuildRequires: glusterfs-devel >= 3.4
139 BuildRequires: gnutls-devel
140 BuildRequires: latex2html >= 2008
141 BuildRequires: libaio-devel
142 BuildRequires: libcap-devel
143 BuildRequires: libcap-ng-devel
144 BuildRequires: libiscsi-devel
145 BuildRequires: libjpeg-devel
146 BuildRequires: libpng-devel
147 BuildRequires: libseccomp-devel >= 1.0.0
148 BuildRequires: libuuid-devel
149 BuildRequires: lzo-devel >= 2
150 BuildRequires: ncurses-devel
152 BuildRequires: ocaml >= 3.04-7
153 BuildRequires: ocaml-findlib
155 BuildRequires: nss-devel >= 3.12.8
156 BuildRequires: openssl-devel
157 BuildRequires: pciutils-devel
158 BuildRequires: perl-base
159 BuildRequires: perl-tools-pod
160 BuildRequires: pixman-devel
161 BuildRequires: pkgconfig
162 BuildRequires: python-devel
163 BuildRequires: rpm-pythonprov
164 BuildRequires: rpmbuild(macros) >= 1.647
165 BuildRequires: spice-protocol >= 0.12.2
166 BuildRequires: spice-server-devel >= 0.12.0
167 BuildRequires: texi2html
168 BuildRequires: texlive-dvips
169 BuildRequires: texlive-latex-psnfss
170 BuildRequires: texlive-xetex
171 BuildRequires: transfig
172 BuildRequires: usbredir-devel >= 0.5.3
173 BuildRequires: vde2-devel
175 # for xfsctl (<xfs/xfs.h>)
176 BuildRequires: xfsprogs-devel
177 BuildRequires: xorg-lib-libX11-devel
178 BuildRequires: xorg-lib-libXext-devel
179 BuildRequires: xz-devel
180 BuildRequires: yajl-devel
181 BuildRequires: zlib-devel
182 # FIXME: see qemu configure comments on top of spec
183 %{!?with_opengl:BuildConflicts: OpenGL-devel}
184 %{!?with_sdl:BuildConflicts: SDL-devel}
185 %{!?with_sdl:BuildConflicts: SDL-devel}
186 %{!?with_bluetooth:BuildConflicts: bluez-libs-devel}
187 %{!?with_brlapi:BuildConflicts: brlapi-devel}
188 Requires(post,preun): /sbin/chkconfig
189 Requires(post,preun,postun): systemd-units >= 38
190 Requires: %{name}-libs = %{version}-%{release}
191 Requires: ZopeInterface
192 Requires: bridge-utils
199 Requires: python-%{name} = %{version}-%{release}
202 Requires: systemd-units >= 38
205 Requires: %{name}-guest = %{version}-%{release}
208 ExclusiveArch: %{ix86} %{x8664} arm
209 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
211 # some PPC/SPARC boot images in ELF format
212 %define _noautostrip .*%{_datadir}/\\(xen\\|qemu-xen\\)/qemu/\\(openbios-.*\\|palcode-clipper\\)
215 This package contains the Xen hypervisor and Xen tools, needed to run
216 virtual machines on x86 systems, together with the kernel-xen*
217 packages. Information on how to use Xen can be found at the Xen
220 Virtualisation can be used to run multiple versions or multiple Linux
221 distributions on one system, or to test untrusted applications in a
222 sandboxed environment. Note that the Xen technology is still in
223 development, and this RPM has received extremely little testing. Don't
224 be surprised if this RPM eats your data, drinks your coffee or makes
225 fun of you in front of your friends.
227 %description -l pl.UTF-8
228 Ten pakiet zawiera nadzorcę oraz narzędzia Xen, potrzebne do
229 uruchamiania wirtualnych maszyn w systemach x86, wraz z pakietami
230 kernel-xen*. Informacje jak używać Xena można znaleźć na stronach
233 Wirtualizacja może być używana do uruchamiania wielu wersji lub wielu
234 dystrybucji Linuksa na jednym systemie lub do testowania nie zaufanych
235 aplikacji w odizolowanym środowisku. Należy zauważyć, że technologia
236 Xen jest ciągle rozwijana, a ten RPM był słabo testowany. Nie należy
237 być zdziwionym, jeśli ten pakiet zje dane, wypije całą kawę czy będzie
238 się wyśmiewał w obecności przyjaciół.
241 Summary: Xen tools for virtual machines
242 Summary(pl.UTF-8): Narzędzia Xen dla maszyn virtualnych
243 Group: Applications/System
244 Requires: %{name}-libs-guest = %{version}-%{release}
247 Xen utilities for both dom0 and domU virtual domains.
249 %description guest -l pl.UTF-8
250 Narzędzia Xena dla maszyn wirtualnych dom0 i domU.
253 Summary: Xen libraries
254 Summary(pl.UTF-8): Biblioteki Xena
256 Requires: %{name}-libs-guest = %{version}-%{release}
261 %description libs -l pl.UTF-8
265 Summary: Xen libraries for virtual machines
266 Summary(pl.UTF-8): Biblioteki Xena dla maszyn wirtualnych
269 %description libs-guest
270 Xen libraries for both dom0 and domU virtual machines.
272 %description libs-guest -l pl.UTF-8
273 Biblioteki Xena dla maszyn wirtualnych dom0 i domU.
276 Summary: Header files for Xen
277 Summary(pl.UTF-8): Pliki nagłówkowe Xena
278 Group: Development/Libraries
279 Requires: %{name}-libs = %{version}-%{release}
282 Header files for Xen.
284 %description devel -l pl.UTF-8
285 Pliki nagłówkowe Xena.
288 Summary: Static Xen libraries
289 Summary(pl.UTF-8): Statyczne biblioteki Xena
290 Group: Development/Libraries
291 Requires: %{name}-devel = %{version}-%{release}
294 Static Xen libraries.
296 %description static -l pl.UTF-8
297 Statyczne biblioteki Xena.
301 Summary(pl.UTF-8): Demon xend
303 Requires(post,preun,postun): systemd-units >= 38
304 Requires: systemd-units >= 38
309 %description xend -l pl.UTF-8
312 %package -n ocaml-xen
313 Summary: OCaml bindings for Xen
314 Summary(pl.UTF-8): Wiązania OCamla dla Xena
315 License: LGPL v2.1 with linking exception
317 Requires: %{name}-libs = %{version}-%{release}
319 %requires_eq ocaml-runtime
322 %description -n ocaml-xen
323 OCaml bindings for Xen.
325 %description -n ocaml-xen -l pl.UTF-8
326 Wiązania OCamla dla Xena.
328 %package -n ocaml-xen-devel
329 Summary: OCaml bindings for Xen - development files
330 Summary(pl.UTF-8): Wiązania OCamla dla Xena - pliki programistyczne
331 License: LGPL v2.1 with linking exception
332 Group: Development/Libraries
333 Requires: ocaml-xen = %{version}-%{release}
338 %description -n ocaml-xen-devel
339 OCaml bindings for Xen - development files.
341 %description -n ocaml-xen-devel -l pl.UTF-8
342 Wiązania OCamla dla Xena - pliki programistyczne.
344 %package -n python-xen
345 Summary: Xen Python modules
346 Summary(pl.UTF-8): Moduły Pythona dla Xena
348 Requires: %{name}-libs = %{version}-%{release}
349 Conflicts: xen < 3.2.1-0.3
351 %description -n python-xen
354 %description -n python-xen -l pl.UTF-8
355 Moduły Pythona dla Xena.
357 %package -n python-xen-guest
358 Summary: Xen Python modules for virtual machines
359 Summary(pl.UTF-8): Moduły Pythona dla maszyn wirtualnych Xena
361 Requires: %{name}-libs-guest = %{version}-%{release}
362 Conflicts: xen < 3.2.1-0.3
364 %description -n python-xen-guest
365 Xen Python modules for both dom0 and domU virtual machines.
367 %description -n python-xen-guest -l pl.UTF-8
368 Moduły Pythona dla maszyn wirtualnych dom0 i domU.
370 %package -n bash-completion-%{name}
371 Summary: bash-completion for Xen (xl)
372 Summary(pl.UTF-8): Bashowe dopełnianie poleceń dla Xena (xl)
373 Group: Applications/Shells
374 Requires: %{name} = %{version}-%{release}
375 Requires: bash-completion
377 %description -n bash-completion-%{name}
378 This package provides bash-completion for Xen (xl).
380 %description -n bash-completion-%{name} -l pl.UTF-8
381 Ten pakiet zapewnia bashowe dopełnianie poleceń dla Xena (xl).
384 Summary: Xen hypervisor binary for EFI
385 Summary(pl.UTF-8): Hipernadzorca Xen dla EFI
386 Group: Applications/System
387 Requires: %{name}-libs-guest = %{version}-%{release}
390 Xen hypervisor EFI binary, which can be booted directly from (U)EFI
391 firmware without help from any additional bootloader.
393 %description efi -l pl.UTF-8
394 Nadzorca Xen w postaci, która może być uruchomiona wprost z firmware
395 (U)EFI, bez potrzeby oddzielnego bootloadera.
417 ln -s %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} stubdom
418 ln -s %{SOURCE17} %{SOURCE18} %{SOURCE19} stubdom
419 ln -s %{SOURCE15} tools/firmware/etherboot/ipxe.tar.gz
421 # do not allow fetching anything via git
422 echo GIT=/bin/false >> Config.mk
425 # based on the 'autoconf.sh' from the sources
436 # if gold is used then bioses and grub doesn't build
438 ln -s /usr/bin/ld.bfd our-ld/ld
439 export PATH=$(pwd)/our-ld:$PATH
441 export CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
442 export CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
445 # - there is a quoting bug (in tools/driver/Makefile) that causes
446 # openssl is used instead of gcrypt; that's OK, openssl is obligatory
447 # anyway (see configure), gcrypt is optional
448 # - prevent libiconv from being detected (not needed with glibc)
450 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" \
451 ac_cv_lib_iconv_libiconv_open=no \
454 %{__make} -j1 dist-xen dist-tools dist-docs \
455 %{!?with_ocaml:OCAML_TOOLS=n} \
464 %{__make} -j1 dist-stubdom \
465 %{!?with_ocaml:OCAML_TOOLS=n} \
472 rm -rf $RPM_BUILD_ROOT
473 install -d $RPM_BUILD_ROOT/etc/{xen/examples,modules-load.d,logrotate.d} \
474 $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir},/var/log/xen/console}
477 install -d $RPM_BUILD_ROOT/etc/efi-boot/update.d
480 %{__make} -j1 install-xen install-tools %{?with_stubdom:install-stubdom} install-docs \
481 %{!?with_ocaml:OCAML_TOOLS=n} \
482 DESTDIR=$RPM_BUILD_ROOT \
483 HOTPLUGS=install-udev
485 %if "%{_lib}" == "lib64"
486 ln -s %{_prefix}/lib/%{name}/bin/qemu-dm $RPM_BUILD_ROOT%{_libdir}/%{name}/bin/qemu-dm
489 install %{SOURCE30} $RPM_BUILD_ROOT%{systemdunitdir}/proc-xen.mount
490 install %{SOURCE31} $RPM_BUILD_ROOT%{systemdunitdir}/var-lib-xenstored.mount
491 install %{SOURCE32} $RPM_BUILD_ROOT%{systemdunitdir}/blktapctrl.service
492 install %{SOURCE33} $RPM_BUILD_ROOT/etc/sysconfig/blktapctrl
493 install %{SOURCE34} $RPM_BUILD_ROOT%{systemdunitdir}/xenconsoled.service
494 install %{SOURCE35} $RPM_BUILD_ROOT/etc/sysconfig/xenconsoled
495 install %{SOURCE36} $RPM_BUILD_ROOT%{systemdunitdir}/xenstored.service
496 install %{SOURCE37} $RPM_BUILD_ROOT/etc/sysconfig/xenstored
497 install %{SOURCE38} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xenstored.conf
498 install %{SOURCE39} $RPM_BUILD_ROOT%{systemdunitdir}/xend.service
499 install %{SOURCE40} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xend.conf
500 install %{SOURCE41} $RPM_BUILD_ROOT%{systemdunitdir}/xen-watchdog.service
501 install %{SOURCE42} $RPM_BUILD_ROOT/etc/modules-load.d/xen-dom0.conf
502 install %{SOURCE43} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xendomains.sh
503 install %{SOURCE44} $RPM_BUILD_ROOT%{systemdunitdir}/xendomains.service
505 %{__rm} $RPM_BUILD_ROOT/etc/rc.d/init.d/*
506 %{__rm} $RPM_BUILD_ROOT/etc/sysconfig/xencommons
507 install %{SOURCE50} $RPM_BUILD_ROOT/etc/rc.d/init.d/xend
508 install %{SOURCE51} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenconsoled
509 install %{SOURCE52} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenstored
510 install %{SOURCE53} $RPM_BUILD_ROOT/etc/rc.d/init.d/xen-watchdog
511 install %{SOURCE54} $RPM_BUILD_ROOT/etc/rc.d/init.d/xendomains
512 install %{SOURCE55} $RPM_BUILD_ROOT/etc/logrotate.d/xen
513 install %{SOURCE56} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xen.conf
515 install %{SOURCE60} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xen-init-list
516 install %{SOURCE61} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xen-toolstack
519 install %{SOURCE57} $RPM_BUILD_ROOT/etc/efi-boot/xen.cfg
520 sed -e's;@libdir@;%{_libdir};g' -e's;@target_cpu@;%{_target_cpu};g' \
521 %{SOURCE58} > $RPM_BUILD_ROOT/etc/efi-boot/update.d/xen.conf
524 mv $RPM_BUILD_ROOT/etc/xen/{x{m,l}example*,examples}
526 install %{SOURCE59} $RPM_BUILD_ROOT%{_sysconfdir}/xen/scripts/vif-openvswitch
530 for tool in blktap blktap2 pygrub xenmon ; do
531 cp -p tools/$tool/README _doc/README.$tool
533 cp -al tools/qemu-xen/docs _doc/qemu-xen
535 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
536 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
540 # seems not needed, the path is wrong anyway
541 %{__rm} $RPM_BUILD_ROOT%{_prefix}/etc/qemu/target-x86_64.conf
543 # remove unneeded files
544 %if %{with hypervisor}
545 %{__rm} $RPM_BUILD_ROOT/boot/xen-4.3.gz
546 %{__rm} $RPM_BUILD_ROOT/boot/xen-4.gz
548 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xen
549 %{__rm} $RPM_BUILD_ROOT%{_includedir}/%{name}/COPYING
552 rm -rf $RPM_BUILD_ROOT
555 /sbin/chkconfig --add xen-watchdog
556 /sbin/chkconfig --add xenconsoled
557 /sbin/chkconfig --add xenstored
558 /sbin/chkconfig --add xendomains
560 %systemd_post xen-watchdog.service xenconsoled.service xenstored.service xendomains.service
563 if [ "$1" = "0" ]; then
564 %service xendomains stop
565 /sbin/chkconfig --del xendomains
567 %service xenconsoled stop
568 /sbin/chkconfig --del xenconsoled
570 %service xenstored stop
571 /sbin/chkconfig --del xenstored
573 %service xen-watchdog stop
574 /sbin/chkconfig --del xen-watchdog
576 %systemd_preun xen-watchdog.service xenconsoled.service xenstored.service xendomains.service
582 /sbin/chkconfig --add xend
583 %systemd_post xend.service
586 if [ "$1" = "0" ]; then
588 /sbin/chkconfig --del xend
590 %systemd_preun xend.service
595 %post libs -p /sbin/ldconfig
596 %postun libs -p /sbin/ldconfig
598 %post libs-guest -p /sbin/ldconfig
599 %postun libs-guest -p /sbin/ldconfig
602 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
605 %defattr(644,root,root,755)
606 %doc COPYING README* docs/misc/* docs/html/* _doc/*
607 %if %{with hypervisor}
608 /boot/%{name}-syms-%{version}
609 /boot/%{name}-%{version}.gz
612 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenconsoled
613 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenstored
614 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xendomains
615 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/xen
616 %attr(754,root,root) /etc/rc.d/init.d/xen-watchdog
617 %attr(754,root,root) /etc/rc.d/init.d/xenconsoled
618 %attr(754,root,root) /etc/rc.d/init.d/xenstored
619 %attr(754,root,root) /etc/rc.d/init.d/xendomains
620 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/xen-dom0.conf
621 %{systemdunitdir}/proc-xen.mount
622 %{systemdunitdir}/var-lib-xenstored.mount
623 %{systemdunitdir}/xen-watchdog.service
624 %{systemdunitdir}/xenconsoled.service
625 %{systemdunitdir}/xenstored.service
626 %{systemdunitdir}/xendomains.service
627 %dir %{_sysconfdir}/xen
628 %dir %{_sysconfdir}/xen/auto
629 %dir %{_sysconfdir}/xen/examples
630 %dir %{_sysconfdir}/xen/scripts
631 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/scripts/*
632 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/examples/*
633 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/README*
634 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/cpupool
635 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xl.conf
636 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xen-backend.rules
637 %attr(755,root,root) %{_bindir}/pygrub
638 %attr(755,root,root) %{_bindir}/qemu-img-xen
639 %attr(755,root,root) %{_bindir}/qemu-nbd-xen
640 %attr(755,root,root) %{_bindir}/remus
641 %attr(755,root,root) %{_bindir}/xencons
642 %attr(755,root,root) %{_bindir}/xencov_split
643 %attr(755,root,root) %{_bindir}/xentrace*
644 %attr(755,root,root) %{_sbindir}/blktapctrl
645 %attr(755,root,root) %{_sbindir}/flask-*
646 %attr(755,root,root) %{_sbindir}/gdbsx
647 %attr(755,root,root) %{_sbindir}/gtrace*
648 %attr(755,root,root) %{_sbindir}/img2qcow
649 %attr(755,root,root) %{_sbindir}/kdd
650 %attr(755,root,root) %{_sbindir}/lock-util
651 %attr(755,root,root) %{_sbindir}/qcow-create
652 %attr(755,root,root) %{_sbindir}/qcow2raw
653 %attr(755,root,root) %{_sbindir}/tap-ctl
654 %attr(755,root,root) %{_sbindir}/tapdisk*
655 %attr(755,root,root) %{_sbindir}/td-util
656 %attr(755,root,root) %{_sbindir}/vhd-*
657 %attr(755,root,root) %{_sbindir}/xen-*
658 %attr(755,root,root) %{_sbindir}/xenbaked
659 %attr(755,root,root) %{_sbindir}/xenconsoled
660 %attr(755,root,root) %{_sbindir}/xencov
661 %attr(755,root,root) %{_sbindir}/xenlockprof
662 %attr(755,root,root) %{_sbindir}/xenmon.py
663 %attr(755,root,root) %{_sbindir}/xenperf
664 %attr(755,root,root) %{_sbindir}/xenpm
665 %attr(755,root,root) %{_sbindir}/xenpmd
666 %attr(755,root,root) %{_sbindir}/xenstored
667 %attr(755,root,root) %{_sbindir}/xentop
668 %attr(755,root,root) %{_sbindir}/xentrace_setmask
669 %attr(755,root,root) %{_sbindir}/xenwatchdogd
670 %attr(755,root,root) %{_sbindir}/xl
671 %attr(755,root,root) %{_sbindir}/xsview
672 %dir %{_libdir}/%{name}
673 %dir %{_libdir}/%{name}/bin
674 %attr(744,root,root) %{_libdir}/%{name}/bin/*
675 %if "%{_lib}" != "lib"
676 %dir %{_prefix}/lib/%{name}
677 %dir %{_prefix}/lib/%{name}/bin
678 %attr(755,root,root) %{_prefix}/lib/%{name}/bin/*
680 %dir %{_prefix}/lib/%{name}/boot
682 %{_prefix}/lib/%{name}/boot/ioemu-stubdom.gz
683 %ifarch %{ix86} %{x8664}
684 %{_prefix}/lib/%{name}/boot/pv-grub-x86_32.gz
687 %{_prefix}/lib/%{name}/boot/pv-grub-x86_64.gz
689 %{_prefix}/lib/%{name}/boot/vtpm-stubdom.gz
690 %{_prefix}/lib/%{name}/boot/vtpmmgr-stubdom.gz
691 %{_prefix}/lib/%{name}/boot/xenstore-stubdom.gz
693 %attr(744,root,root) %{_prefix}/lib/%{name}/boot/hvmloader
695 %{_mandir}/man1/xentop.1*
696 %{_mandir}/man1/xentrace_format.1*
697 %{_mandir}/man1/xl.1*
698 %{_mandir}/man1/xm.1*
699 %{_mandir}/man5/xend-config.sxp.5*
700 %{_mandir}/man5/xl.cfg.5*
701 %{_mandir}/man5/xl.conf.5*
702 %{_mandir}/man5/xlcpupool.cfg.5*
703 %{_mandir}/man5/xmdomain.cfg.5*
704 %{_mandir}/man8/xentrace.8*
705 %{_sharedstatedir}/xen
706 %{_sharedstatedir}/xenstored
707 %dir /var/run/xenstored
708 %{systemdtmpfilesdir}/xenstored.conf
709 %{systemdtmpfilesdir}/xen.conf
710 %dir %attr(0700,root,root) /var/log/xen
711 %dir %attr(0700,root,root) /var/log/xen/console
715 %defattr(644,root,root,755)
716 %attr(755,root,root) %{_bindir}/xen-detect
717 %attr(755,root,root) %{_bindir}/xenstore*
720 %defattr(644,root,root,755)
721 %attr(755,root,root) %{_libdir}/libblktap.so.*.*.*
722 %attr(755,root,root) %ghost %{_libdir}/libblktap.so.3.0
723 %attr(755,root,root) %{_libdir}/libblktapctl.so.*.*.*
724 %attr(755,root,root) %ghost %{_libdir}/libblktapctl.so.1.0
725 %attr(755,root,root) %{_libdir}/libfsimage.so.*.*.*
726 %attr(755,root,root) %ghost %{_libdir}/libfsimage.so.1.0
727 %attr(755,root,root) %{_libdir}/libvhd.so.*.*.*
728 %attr(755,root,root) %ghost %{_libdir}/libvhd.so.1.0
729 %attr(755,root,root) %{_libdir}/libxenctrl.so.*.*.*
730 %attr(755,root,root) %ghost %{_libdir}/libxenctrl.so.4.3
731 %attr(755,root,root) %{_libdir}/libxenguest.so.*.*.*
732 %attr(755,root,root) %ghost %{_libdir}/libxenguest.so.4.3
733 %attr(755,root,root) %{_libdir}/libxenlight.so.*.*.*
734 %attr(755,root,root) %ghost %{_libdir}/libxenlight.so.4.3
735 %attr(755,root,root) %{_libdir}/libxenstat.so.*.*
736 %attr(755,root,root) %ghost %{_libdir}/libxenstat.so.0
737 %attr(755,root,root) %{_libdir}/libxenvchan.so.*.*.*
738 %attr(755,root,root) %ghost %{_libdir}/libxenvchan.so.1.0
739 %attr(755,root,root) %{_libdir}/libxlutil.so.*.*.*
740 %attr(755,root,root) %ghost %{_libdir}/libxlutil.so.4.3
742 %dir %{_libdir}/fs/ext2fs-lib
743 %dir %{_libdir}/fs/fat
744 %dir %{_libdir}/fs/iso9660
745 %dir %{_libdir}/fs/reiserfs
746 %dir %{_libdir}/fs/ufs
747 %dir %{_libdir}/fs/xfs
748 %dir %{_libdir}/fs/zfs
749 %attr(755,root,root) %{_libdir}/fs/*/fsimage.so
752 %defattr(644,root,root,755)
753 %attr(755,root,root) %{_libdir}/libxenstore.so.*.*.*
754 %attr(755,root,root) %ghost %{_libdir}/libxenstore.so.3.0
757 %defattr(644,root,root,755)
758 %attr(755,root,root) %{_libdir}/libblktap.so
759 %attr(755,root,root) %{_libdir}/libblktapctl.so
760 %attr(755,root,root) %{_libdir}/libfsimage.so
761 %attr(755,root,root) %{_libdir}/libvhd.so
762 %attr(755,root,root) %{_libdir}/libxenctrl.so
763 %attr(755,root,root) %{_libdir}/libxenguest.so
764 %attr(755,root,root) %{_libdir}/libxenlight.so
765 %attr(755,root,root) %{_libdir}/libxenstat.so
766 %attr(755,root,root) %{_libdir}/libxenstore.so
767 %attr(755,root,root) %{_libdir}/libxenvchan.so
768 %attr(755,root,root) %{_libdir}/libxlutil.so
769 %{_includedir}/_libxl_list.h
770 %{_includedir}/_libxl_types.h
771 %{_includedir}/_libxl_types_json.h
772 %{_includedir}/blktaplib.h
773 %{_includedir}/fsimage*.h
774 %{_includedir}/libxenvchan.h
775 %{_includedir}/libxl*.h
776 %{_includedir}/xen*.h
779 %{_includedir}/xenstore-compat
782 %defattr(644,root,root,755)
783 %{_libdir}/libblktap.a
784 %{_libdir}/libblktapctl.a
786 %{_libdir}/libxenctrl.a
787 %{_libdir}/libxenguest.a
788 %{_libdir}/libxenlight.a
789 %{_libdir}/libxenvchan.a
790 %{_libdir}/libxenstat.a
791 %{_libdir}/libxenstore.a
792 %{_libdir}/libxlutil.a
795 %defattr(644,root,root,755)
796 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blktapctrl
797 %{systemdunitdir}/blktapctrl.service
798 %{systemdunitdir}/xend.service
799 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/xend
800 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xend.rules
801 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xm*
802 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xend*
803 %attr(755,root,root) %{_sbindir}/xend
804 %attr(755,root,root) %{_sbindir}/xm
805 %dir %attr(700,root,root) /var/run/xend
806 %{systemdtmpfilesdir}/xend.conf
810 %defattr(644,root,root,755)
811 %doc tools/ocaml/LICENSE
812 %attr(755,root,root) %{_sbindir}/oxenstored
813 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/oxenstored.conf
814 %dir %{_libdir}/ocaml/site-lib/xenbus
815 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenbus/dllxenbus_stubs.so
816 %dir %{_libdir}/ocaml/site-lib/xenctrl
817 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenctrl/dllxenctrl_stubs.so
818 %dir %{_libdir}/ocaml/site-lib/xeneventchn
819 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xeneventchn/dllxeneventchn_stubs.so
820 %dir %{_libdir}/ocaml/site-lib/xenlight
821 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenlight/dllxenlight_stubs.so
822 %dir %{_libdir}/ocaml/site-lib/xenmmap
823 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenmmap/dllxenmmap_stubs.so
825 %files -n ocaml-xen-devel
826 %defattr(644,root,root,755)
827 %{_libdir}/ocaml/site-lib/xenbus/META
828 %{_libdir}/ocaml/site-lib/xenbus/libxenbus_stubs.a
829 %{_libdir}/ocaml/site-lib/xenbus/xenbus.a
830 %{_libdir}/ocaml/site-lib/xenbus/*.cm[aixo]*
831 %{_libdir}/ocaml/site-lib/xenctrl/META
832 %{_libdir}/ocaml/site-lib/xenctrl/libxenctrl_stubs.a
833 %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.a
834 %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.cm[aix]*
835 %{_libdir}/ocaml/site-lib/xeneventchn/META
836 %{_libdir}/ocaml/site-lib/xeneventchn/libxeneventchn_stubs.a
837 %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.a
838 %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.cm[aix]*
839 %{_libdir}/ocaml/site-lib/xenmmap/META
840 %{_libdir}/ocaml/site-lib/xenmmap/libxenmmap_stubs.a
841 %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.a
842 %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.cm[aix]*
843 %{_libdir}/ocaml/site-lib/xenlight/META
844 %{_libdir}/ocaml/site-lib/xenlight/libxenlight_stubs.a
845 %{_libdir}/ocaml/site-lib/xenlight/xenlight.a
846 %{_libdir}/ocaml/site-lib/xenlight/xenlight.cm[aix]*
847 %dir %{_libdir}/ocaml/site-lib/xenstore
848 %{_libdir}/ocaml/site-lib/xenstore/META
849 %{_libdir}/ocaml/site-lib/xenstore/xenstore.a
850 %{_libdir}/ocaml/site-lib/xenstore/*.cm[aixo]*
854 %defattr(644,root,root,755)
855 %attr(755,root,root) %{py_sitedir}/fsimage.so
857 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/checkpoint.so
858 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/flask.so
859 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/netlink.so
860 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/ptsname.so
861 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xc.so
862 %{py_sitedir}/xen/remus
864 %{py_sitedir}/xen/util
865 %{py_sitedir}/xen/web
866 %{py_sitedir}/xen/xend
868 %{py_sitedir}/xen/xsview
869 %if "%{py_ver}" > "2.4"
870 %{py_sitedir}/pygrub-0.3-py*.egg-info
871 %{py_sitedir}/xen-3.0-py*.egg-info
874 %files -n python-xen-guest
875 %defattr(644,root,root,755)
876 %dir %{py_sitedir}/xen
877 %{py_sitedir}/xen/__init__.py*
878 %dir %{py_sitedir}/xen/lowlevel
879 %{py_sitedir}/xen/lowlevel/__init__.py*
880 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xs.so
882 %files -n bash-completion-%{name}
883 %defattr(644,root,root,755)
884 /etc/bash_completion.d/xl.sh
888 %defattr(644,root,root,755)
891 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/xen.cfg
892 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.d/xen.conf