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 # - mini-os objects are relinked on install (because of .PHONY rules used to make them)
12 %bcond_without qemu_traditional # without qemu-xen-traditional
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
21 %bcond_without xsm # XSM security module (by default, Flask)
22 %bcond_without blktap1 # blktap1 support
23 %bcond_without xend # include the obsolete xend & xm
26 %undefine with_hypervisor
31 %ifnarch %{ix86} %{x8664}
32 %undefine with_stubdom
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: 1868433f393503000877d15cd4e93d15
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 Source17: %{xen_extfiles_url}/polarssl-%{polarssl_version}-gpl.tgz
64 # Source17-md5: 7b72caf22b01464ee7d6165f2fd85f44
65 Source18: http://xenbits.xen.org/xen-extfiles/tpm_emulator-%{tpm_emulator_version}.tar.gz
66 # Source18-md5: e26becb8a6a2b6695f6b3e8097593db8
67 Source19: ftp://ftp.gmplib.org/pub/gmp-%{gmp_version}/gmp-%{gmp_version}.tar.bz2
68 # Source19-md5: dd60683d7057917e34630b4a787932e8
69 Source30: proc-xen.mount
70 Source31: var-lib-xenstored.mount
71 Source32: blktapctrl.service
72 Source33: blktapctrl.sysconfig
73 Source34: xenconsoled.service
74 Source35: xenconsoled.sysconfig
75 Source36: xenstored.service
76 Source37: xenstored.sysconfig
77 Source38: xenstored.tmpfiles
78 Source39: xend.service
79 Source40: xend.tmpfiles
80 Source41: xen-watchdog.service
81 Source42: xen-dom0-modules-load.conf
82 Source43: xendomains.sh
83 Source44: xendomains.service
86 Source51: xenconsoled.init
87 Source52: xenstored.init
88 Source53: xen-watchdog.init
89 Source54: xendomains.init
90 Source55: xen.logrotate
91 Source56: xen.tmpfiles
93 Source58: xen.efi-boot-update
94 Source59: vif-openvswitch
95 Source60: xen-init-list
96 Source61: xen-toolstack
97 Patch0: %{name}-python_scripts.patch
98 Patch1: %{name}-symbols.patch
99 Patch2: %{name}-curses.patch
100 Patch3: pygrubfix.patch
101 Patch4: xend.catchbt.patch
102 Patch5: xend-pci-loop.patch
103 Patch6: %{name}-dumpdir.patch
104 # Warning: this disables ingress filtering implemented in xen scripts!
105 Patch7: %{name}-net-disable-iptables-on-bridge.patch
106 Patch8: %{name}-configure-xend.patch
107 Patch9: %{name}-gawk.patch
108 Patch10: %{name}-qemu.patch
109 Patch11: %{name}-ulong.patch
110 Patch12: %{name}-doc.patch
111 Patch13: %{name}-paths.patch
112 Patch14: %{name}-no_fetcher.patch
113 Patch15: odd-glib2-fix.patch
114 Patch16: %{name}-gmp-abi.patch
115 # based on: http://xenbits.xen.org/xsa/xsa99.patch
117 Patch18: %{name}-make.patch
118 Patch19: %{name}-no_Werror.patch
119 URL: http://www.xen.org/products/xenhyp.html
120 %if %{with qemu_traditional}
121 %{?with_opengl:BuildRequires: OpenGL-devel}
122 %{?with_sdl:BuildRequires: SDL-devel >= 1.2.1}
124 %ifarch %{ix86} %{x8664}
125 BuildRequires: acpica
126 BuildRequires: autoconf
130 %if %{with qemu_traditional}
131 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
132 %{?with_brlapi:BuildRequires: brlapi-devel}
134 %{?with_efi:BuildRequires: binutils >= 3:2.23.51.0.3-2}
135 BuildRequires: bzip2-devel
136 BuildRequires: curl-devel
137 BuildRequires: cyrus-sasl-devel >= 2
139 BuildRequires: checkpolicy
141 BuildRequires: e2fsprogs-devel
142 BuildRequires: gcc >= 6:4.1
143 BuildRequires: gettext-devel
144 BuildRequires: glib2-devel >= 1:2.12
145 BuildRequires: gnutls-devel
146 BuildRequires: keyutils-devel
147 BuildRequires: latex2html >= 2008
148 BuildRequires: libaio-devel
149 BuildRequires: libcap-devel
150 BuildRequires: libjpeg-devel
151 BuildRequires: libpng-devel
152 BuildRequires: libuuid-devel
153 BuildRequires: lzo-devel >= 2
154 BuildRequires: ncurses-devel
156 BuildRequires: ocaml >= 3.04-7
157 BuildRequires: ocaml-findlib
159 BuildRequires: nss-devel >= 3.12.8
160 BuildRequires: openssl-devel
161 BuildRequires: pciutils-devel
162 BuildRequires: perl-base
163 BuildRequires: perl-tools-pod
164 BuildRequires: pkgconfig
165 BuildRequires: python-devel
166 BuildRequires: rpm-pythonprov
167 BuildRequires: rpmbuild(macros) >= 1.647
168 BuildRequires: seabios
169 BuildRequires: texi2html
170 BuildRequires: texlive-dvips
171 BuildRequires: texlive-latex-psnfss
172 BuildRequires: texlive-xetex
173 BuildRequires: transfig
174 %{?with_qemu_traditional:BuildRequires: vde2-devel}
176 # for xfsctl (<xfs/xfs.h>)
177 BuildRequires: xfsprogs-devel
178 %if %{with qemu_traditional}
179 BuildRequires: xorg-lib-libX11-devel
180 BuildRequires: xorg-lib-libXext-devel
182 BuildRequires: xz-devel
183 BuildRequires: yajl-devel
184 BuildRequires: zlib-devel
185 %if %{with qemu_traditional}
186 # FIXME: see qemu configure comments on top of spec
187 %{!?with_opengl:BuildConflicts: OpenGL-devel}
188 %{!?with_sdl:BuildConflicts: SDL-devel}
189 %{!?with_sdl:BuildConflicts: SDL-devel}
190 %{!?with_bluetooth:BuildConflicts: bluez-libs-devel}
191 %{!?with_brlapi:BuildConflicts: brlapi-devel}
193 Requires(post,preun): /sbin/chkconfig
194 Requires(post,preun,postun): systemd-units >= 38
195 Requires: %{name}-libs = %{version}-%{release}
196 Requires: ZopeInterface
197 Requires: bridge-utils
204 Requires: python-%{name} = %{version}-%{release}
207 Requires: systemd-units >= 38
210 Requires: %{name}-guest = %{version}-%{release}
213 ExclusiveArch: %{ix86} %{x8664} arm
214 %ifarch %{ix86} %{x8664}
216 Suggests: qemu-system-x86
218 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
220 # some PPC/SPARC boot images in ELF format
221 %define _noautostrip .*%{_datadir}/\\(xen\\|qemu-xen\\)/qemu/\\(openbios-.*\\|palcode-clipper\\|s390-ccw.img\\)
224 This package contains the Xen hypervisor and Xen tools, needed to run
225 virtual machines on x86 systems, together with the kernel-xen*
226 packages. Information on how to use Xen can be found at the Xen
229 Virtualisation can be used to run multiple versions or multiple Linux
230 distributions on one system, or to test untrusted applications in a
231 sandboxed environment. Note that the Xen technology is still in
232 development, and this RPM has received extremely little testing. Don't
233 be surprised if this RPM eats your data, drinks your coffee or makes
234 fun of you in front of your friends.
236 %description -l pl.UTF-8
237 Ten pakiet zawiera nadzorcę oraz narzędzia Xen, potrzebne do
238 uruchamiania wirtualnych maszyn w systemach x86, wraz z pakietami
239 kernel-xen*. Informacje jak używać Xena można znaleźć na stronach
242 Wirtualizacja może być używana do uruchamiania wielu wersji lub wielu
243 dystrybucji Linuksa na jednym systemie lub do testowania nie zaufanych
244 aplikacji w odizolowanym środowisku. Należy zauważyć, że technologia
245 Xen jest ciągle rozwijana, a ten RPM był słabo testowany. Nie należy
246 być zdziwionym, jeśli ten pakiet zje dane, wypije całą kawę czy będzie
247 się wyśmiewał w obecności przyjaciół.
250 Summary: Xen tools for virtual machines
251 Summary(pl.UTF-8): Narzędzia Xen dla maszyn virtualnych
252 Group: Applications/System
253 Requires: %{name}-libs-guest = %{version}-%{release}
256 Xen utilities for both dom0 and domU virtual domains.
258 %description guest -l pl.UTF-8
259 Narzędzia Xena dla maszyn wirtualnych dom0 i domU.
262 Summary: Xen libraries
263 Summary(pl.UTF-8): Biblioteki Xena
265 Requires: %{name}-libs-guest = %{version}-%{release}
270 %description libs -l pl.UTF-8
274 Summary: Xen libraries for virtual machines
275 Summary(pl.UTF-8): Biblioteki Xena dla maszyn wirtualnych
278 %description libs-guest
279 Xen libraries for both dom0 and domU virtual machines.
281 %description libs-guest -l pl.UTF-8
282 Biblioteki Xena dla maszyn wirtualnych dom0 i domU.
285 Summary: Header files for Xen
286 Summary(pl.UTF-8): Pliki nagłówkowe Xena
287 Group: Development/Libraries
288 Requires: %{name}-libs = %{version}-%{release}
291 Header files for Xen.
293 %description devel -l pl.UTF-8
294 Pliki nagłówkowe Xena.
297 Summary: Static Xen libraries
298 Summary(pl.UTF-8): Statyczne biblioteki Xena
299 Group: Development/Libraries
300 Requires: %{name}-devel = %{version}-%{release}
303 Static Xen libraries.
305 %description static -l pl.UTF-8
306 Statyczne biblioteki Xena.
310 Summary(pl.UTF-8): Demon xend
312 Requires(post,preun,postun): systemd-units >= 38
313 Requires: systemd-units >= 38
318 %description xend -l pl.UTF-8
321 %package -n ocaml-xen
322 Summary: OCaml bindings for Xen
323 Summary(pl.UTF-8): WiÄ…zania OCamla dla Xena
324 License: LGPL v2.1 with linking exception
326 Requires: %{name}-libs = %{version}-%{release}
328 %requires_eq ocaml-runtime
331 %description -n ocaml-xen
332 OCaml bindings for Xen.
334 %description -n ocaml-xen -l pl.UTF-8
335 WiÄ…zania OCamla dla Xena.
337 %package -n ocaml-xen-devel
338 Summary: OCaml bindings for Xen - development files
339 Summary(pl.UTF-8): WiÄ…zania OCamla dla Xena - pliki programistyczne
340 License: LGPL v2.1 with linking exception
341 Group: Development/Libraries
342 Requires: ocaml-xen = %{version}-%{release}
347 %description -n ocaml-xen-devel
348 OCaml bindings for Xen - development files.
350 %description -n ocaml-xen-devel -l pl.UTF-8
351 WiÄ…zania OCamla dla Xena - pliki programistyczne.
353 %package -n python-xen
354 Summary: Xen Python modules
355 Summary(pl.UTF-8): Moduły Pythona dla Xena
357 Requires: %{name}-libs = %{version}-%{release}
358 Conflicts: xen < 3.2.1-0.3
360 %description -n python-xen
363 %description -n python-xen -l pl.UTF-8
364 Moduły Pythona dla Xena.
366 %package -n python-xen-guest
367 Summary: Xen Python modules for virtual machines
368 Summary(pl.UTF-8): Moduły Pythona dla maszyn wirtualnych Xena
370 Requires: %{name}-libs-guest = %{version}-%{release}
371 Conflicts: xen < 3.2.1-0.3
373 %description -n python-xen-guest
374 Xen Python modules for both dom0 and domU virtual machines.
376 %description -n python-xen-guest -l pl.UTF-8
377 Moduły Pythona dla maszyn wirtualnych dom0 i domU.
379 %package -n bash-completion-%{name}
380 Summary: bash-completion for Xen (xl)
381 Summary(pl.UTF-8): Bashowe dopełnianie poleceń dla Xena (xl)
382 Group: Applications/Shells
383 Requires: %{name} = %{version}-%{release}
384 Requires: bash-completion
386 %description -n bash-completion-%{name}
387 This package provides bash-completion for Xen (xl).
389 %description -n bash-completion-%{name} -l pl.UTF-8
390 Ten pakiet zapewnia bashowe dopełnianie poleceń dla Xena (xl).
393 Summary: Xen hypervisor binary for EFI
394 Summary(pl.UTF-8): Hipernadzorca Xen dla EFI
395 Group: Applications/System
396 Requires: %{name}-libs-guest = %{version}-%{release}
399 Xen hypervisor EFI binary, which can be booted directly from (U)EFI
400 firmware without help from any additional bootloader.
402 %description efi -l pl.UTF-8
403 Nadzorca Xen w postaci, która może być uruchomiona wprost z firmware
404 (U)EFI, bez potrzeby oddzielnego bootloadera.
430 ln -s %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} stubdom
431 ln -s %{SOURCE17} %{SOURCE18} %{SOURCE19} stubdom
432 ln -s %{SOURCE15} tools/firmware/etherboot/ipxe.tar.gz
434 # do not allow fetching anything via git
435 echo GIT=/bin/false >> Config.mk
438 # based on the 'autoconf.sh' from the sources
449 # if gold is used then bioses and grub doesn't build
451 ln -f -s /usr/bin/ld.bfd our-ld/ld
452 export PATH=$(pwd)/our-ld:$PATH
454 export CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
455 export CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
458 # - there is a quoting bug (in tools/driver/Makefile) that causes
459 # openssl is used instead of gcrypt; that's OK, openssl is obligatory
460 # anyway (see configure), gcrypt is optional
461 # - prevent libiconv from being detected (not needed with glibc)
463 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" \
464 ac_cv_lib_iconv_libiconv_open=no \
465 %{__enable_disable qemu_traditional qemu-traditional} \
466 %{__enable_disable blktap1 blktap1} \
467 %{__enable_disable xend xend} \
468 --with-system-seabios=/usr/share/seabios/bios.bin \
470 --with-system-qemu=/usr/bin/qemu-system-x86_64 \
472 --with-system-qemu=/usr/bin/qemu-system-i386 \
476 %{__make} -j1 dist-xen dist-tools dist-docs \
477 %{!?with_ocaml:OCAML_TOOLS=n} \
478 XSM_ENABLE=%{?with_xsm:y}%{!?with_xsm:n} \
487 %{__make} -j1 dist-stubdom \
488 %{!?with_ocaml:OCAML_TOOLS=n} \
489 XSM_ENABLE=%{?with_xsm:y}%{!?with_xsm:n} \
496 rm -rf $RPM_BUILD_ROOT
497 install -d $RPM_BUILD_ROOT/etc/{xen/examples,modules-load.d,logrotate.d} \
498 $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir},/var/log/xen/console}
501 install -d $RPM_BUILD_ROOT/etc/efi-boot/update.d
504 %{__make} -j1 install-xen install-tools %{?with_stubdom:install-stubdom} install-docs \
505 %{!?with_ocaml:OCAML_TOOLS=n} \
506 XSM_ENABLE=%{?with_xsm:y}%{!?with_xsm:n} \
507 DESTDIR=$RPM_BUILD_ROOT \
508 HOTPLUGS=install-udev
510 %if %{with qemu_traditional}
511 %if "%{_lib}" == "lib64"
512 ln -s %{_prefix}/lib/%{name}/bin/qemu-dm $RPM_BUILD_ROOT%{_libdir}/%{name}/bin/qemu-dm
516 install %{SOURCE30} $RPM_BUILD_ROOT%{systemdunitdir}/proc-xen.mount
517 install %{SOURCE31} $RPM_BUILD_ROOT%{systemdunitdir}/var-lib-xenstored.mount
519 install %{SOURCE32} $RPM_BUILD_ROOT%{systemdunitdir}/blktapctrl.service
520 install %{SOURCE33} $RPM_BUILD_ROOT/etc/sysconfig/blktapctrl
522 install %{SOURCE34} $RPM_BUILD_ROOT%{systemdunitdir}/xenconsoled.service
523 install %{SOURCE35} $RPM_BUILD_ROOT/etc/sysconfig/xenconsoled
524 install %{SOURCE36} $RPM_BUILD_ROOT%{systemdunitdir}/xenstored.service
525 install %{SOURCE37} $RPM_BUILD_ROOT/etc/sysconfig/xenstored
526 install %{SOURCE38} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xenstored.conf
528 install %{SOURCE39} $RPM_BUILD_ROOT%{systemdunitdir}/xend.service
529 install %{SOURCE40} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xend.conf
531 install %{SOURCE41} $RPM_BUILD_ROOT%{systemdunitdir}/xen-watchdog.service
532 install %{SOURCE42} $RPM_BUILD_ROOT/etc/modules-load.d/xen-dom0.conf
533 install %{SOURCE43} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xendomains.sh
534 install %{SOURCE44} $RPM_BUILD_ROOT%{systemdunitdir}/xendomains.service
536 %{__rm} $RPM_BUILD_ROOT/etc/rc.d/init.d/*
537 %{__rm} $RPM_BUILD_ROOT/etc/sysconfig/xencommons
539 install %{SOURCE50} $RPM_BUILD_ROOT/etc/rc.d/init.d/xend
541 install %{SOURCE51} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenconsoled
542 install %{SOURCE52} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenstored
543 install %{SOURCE53} $RPM_BUILD_ROOT/etc/rc.d/init.d/xen-watchdog
544 install %{SOURCE54} $RPM_BUILD_ROOT/etc/rc.d/init.d/xendomains
545 install %{SOURCE55} $RPM_BUILD_ROOT/etc/logrotate.d/xen
546 install %{SOURCE56} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xen.conf
548 install %{SOURCE60} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xen-init-list
549 install %{SOURCE61} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xen-toolstack
552 install %{SOURCE57} $RPM_BUILD_ROOT/etc/efi-boot/xen.cfg
553 sed -e's;@libdir@;%{_libdir};g' -e's;@target_cpu@;%{_target_cpu};g' \
554 %{SOURCE58} > $RPM_BUILD_ROOT/etc/efi-boot/update.d/xen.conf
557 mv $RPM_BUILD_ROOT/etc/xen/{xlexample*,examples}
559 install %{SOURCE59} $RPM_BUILD_ROOT%{_sysconfdir}/xen/scripts/vif-openvswitch
563 for tool in blktap blktap2 pygrub xenmon ; do
564 cp -p tools/$tool/README _doc/README.$tool
567 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
568 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
572 # remove unneeded files
573 %if %{with hypervisor}
574 %{__rm} $RPM_BUILD_ROOT/boot/xen-4.4.gz
575 %{__rm} $RPM_BUILD_ROOT/boot/xen-4.gz
577 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xen
578 %{__rm} $RPM_BUILD_ROOT%{_includedir}/%{name}/COPYING
581 %{__rm} -r $RPM_BUILD_ROOT/var/run/xend
585 rm -rf $RPM_BUILD_ROOT
588 /sbin/chkconfig --add xen-watchdog
589 /sbin/chkconfig --add xenconsoled
590 /sbin/chkconfig --add xenstored
591 /sbin/chkconfig --add xendomains
593 %systemd_post xen-watchdog.service xenconsoled.service xenstored.service xendomains.service
596 if [ "$1" = "0" ]; then
597 %service xendomains stop
598 /sbin/chkconfig --del xendomains
600 %service xenconsoled stop
601 /sbin/chkconfig --del xenconsoled
603 %service xenstored stop
604 /sbin/chkconfig --del xenstored
606 %service xen-watchdog stop
607 /sbin/chkconfig --del xen-watchdog
609 %systemd_preun xen-watchdog.service xenconsoled.service xenstored.service xendomains.service
615 /sbin/chkconfig --add xend
616 %systemd_post xend.service
619 if [ "$1" = "0" ]; then
621 /sbin/chkconfig --del xend
623 %systemd_preun xend.service
628 %post libs -p /sbin/ldconfig
629 %postun libs -p /sbin/ldconfig
631 %post libs-guest -p /sbin/ldconfig
632 %postun libs-guest -p /sbin/ldconfig
635 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
638 %defattr(644,root,root,755)
639 %doc COPYING README* docs/misc/* docs/html/* _doc/*
640 %if %{with hypervisor}
641 /boot/%{name}-syms-%{version}
642 /boot/%{name}-%{version}.gz
648 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenconsoled
649 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenstored
650 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xendomains
651 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/xen
652 %attr(754,root,root) /etc/rc.d/init.d/xen-watchdog
653 %attr(754,root,root) /etc/rc.d/init.d/xenconsoled
654 %attr(754,root,root) /etc/rc.d/init.d/xenstored
655 %attr(754,root,root) /etc/rc.d/init.d/xendomains
656 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/xen-dom0.conf
657 %{systemdunitdir}/proc-xen.mount
658 %{systemdunitdir}/var-lib-xenstored.mount
659 %{systemdunitdir}/xen-watchdog.service
660 %{systemdunitdir}/xenconsoled.service
661 %{systemdunitdir}/xenstored.service
662 %{systemdunitdir}/xendomains.service
663 %dir %{_sysconfdir}/xen
664 %dir %{_sysconfdir}/xen/auto
665 %dir %{_sysconfdir}/xen/examples
666 %dir %{_sysconfdir}/xen/scripts
667 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/scripts/*
668 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/examples/*
669 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/README*
670 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/cpupool
671 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xl.conf
672 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xen-backend.rules
673 %attr(755,root,root) %{_bindir}/pygrub
674 %if %{with qemu_traditional}
675 %attr(755,root,root) %{_bindir}/qemu-img-xen
676 %attr(755,root,root) %{_bindir}/qemu-nbd-xen
678 %attr(755,root,root) %{_bindir}/remus
679 %attr(755,root,root) %{_bindir}/xencons
680 %attr(755,root,root) %{_bindir}/xencov_split
681 %attr(755,root,root) %{_bindir}/xentrace*
683 %attr(755,root,root) %{_sbindir}/blktapctrl
686 %attr(755,root,root) %{_sbindir}/flask-*
688 %attr(755,root,root) %{_sbindir}/gdbsx
689 %attr(755,root,root) %{_sbindir}/gtrace*
690 %attr(755,root,root) %{_sbindir}/img2qcow
691 %attr(755,root,root) %{_sbindir}/kdd
692 %attr(755,root,root) %{_sbindir}/lock-util
693 %attr(755,root,root) %{_sbindir}/qcow-create
694 %attr(755,root,root) %{_sbindir}/qcow2raw
695 %attr(755,root,root) %{_sbindir}/tap-ctl
696 %attr(755,root,root) %{_sbindir}/tapdisk*
697 %attr(755,root,root) %{_sbindir}/td-util
698 %attr(755,root,root) %{_sbindir}/vhd-*
699 %attr(755,root,root) %{_sbindir}/xen-*
700 %attr(755,root,root) %{_sbindir}/xenbaked
701 %attr(755,root,root) %{_sbindir}/xenconsoled
702 %attr(755,root,root) %{_sbindir}/xencov
703 %attr(755,root,root) %{_sbindir}/xenlockprof
704 %attr(755,root,root) %{_sbindir}/xenmon.py
705 %attr(755,root,root) %{_sbindir}/xenperf
706 %attr(755,root,root) %{_sbindir}/xenpm
707 %attr(755,root,root) %{_sbindir}/xenpmd
708 %attr(755,root,root) %{_sbindir}/xenstored
709 %attr(755,root,root) %{_sbindir}/xentop
710 %attr(755,root,root) %{_sbindir}/xentrace_setmask
711 %attr(755,root,root) %{_sbindir}/xenwatchdogd
712 %attr(755,root,root) %{_sbindir}/xl
713 %dir %{_libdir}/%{name}
714 %dir %{_libdir}/%{name}/bin
715 %attr(744,root,root) %{_libdir}/%{name}/bin/*
716 %if "%{_lib}" != "lib"
717 %dir %{_prefix}/lib/%{name}
718 %dir %{_prefix}/lib/%{name}/bin
719 %attr(755,root,root) %{_prefix}/lib/%{name}/bin/*
721 %dir %{_prefix}/lib/%{name}/boot
723 %if %{with qemu_traditional}
724 %{_prefix}/lib/%{name}/boot/ioemu-stubdom.gz
726 %ifarch %{ix86} %{x8664}
727 %{_prefix}/lib/%{name}/boot/pv-grub-x86_32.gz
730 %{_prefix}/lib/%{name}/boot/pv-grub-x86_64.gz
732 %{_prefix}/lib/%{name}/boot/vtpm-stubdom.gz
733 %{_prefix}/lib/%{name}/boot/vtpmmgr-stubdom.gz
734 %{_prefix}/lib/%{name}/boot/xenstore-stubdom.gz
736 %attr(744,root,root) %{_prefix}/lib/%{name}/boot/hvmloader
737 %{_mandir}/man1/xenstore-chmod.1*
738 %{_mandir}/man1/xenstore-ls.1*
739 %{_mandir}/man1/xenstore.1*
740 %{_mandir}/man1/xentop.1*
741 %{_mandir}/man1/xentrace_format.1*
742 %{_mandir}/man1/xl.1*
744 %{_mandir}/man1/xm.1*
745 %{_mandir}/man5/xend-config.sxp.5*
747 %{_mandir}/man5/xl.cfg.5*
748 %{_mandir}/man5/xl.conf.5*
749 %{_mandir}/man5/xlcpupool.cfg.5*
750 %{_mandir}/man5/xmdomain.cfg.5*
751 %{_mandir}/man8/xentrace.8*
752 %{_sharedstatedir}/xen
753 %{_sharedstatedir}/xenstored
754 %dir /var/run/xenstored
755 %{systemdtmpfilesdir}/xenstored.conf
756 %{systemdtmpfilesdir}/xen.conf
757 %dir %attr(0700,root,root) /var/log/xen
758 %dir %attr(0700,root,root) /var/log/xen/console
759 %if %{with qemu_traditional}
764 %defattr(644,root,root,755)
765 %attr(755,root,root) %{_bindir}/xen-detect
766 %attr(755,root,root) %{_bindir}/xenstore*
769 %defattr(644,root,root,755)
771 %attr(755,root,root) %{_libdir}/libblktap.so.*.*.*
772 %attr(755,root,root) %ghost %{_libdir}/libblktap.so.3.0
774 %attr(755,root,root) %{_libdir}/libblktapctl.so.*.*.*
775 %attr(755,root,root) %ghost %{_libdir}/libblktapctl.so.1.0
776 %attr(755,root,root) %{_libdir}/libfsimage.so.*.*.*
777 %attr(755,root,root) %ghost %{_libdir}/libfsimage.so.1.0
778 %attr(755,root,root) %{_libdir}/libvhd.so.*.*.*
779 %attr(755,root,root) %ghost %{_libdir}/libvhd.so.1.0
780 %attr(755,root,root) %{_libdir}/libxenctrl.so.*.*.*
781 %attr(755,root,root) %ghost %{_libdir}/libxenctrl.so.4.4
782 %attr(755,root,root) %{_libdir}/libxenguest.so.*.*.*
783 %attr(755,root,root) %ghost %{_libdir}/libxenguest.so.4.4
784 %attr(755,root,root) %{_libdir}/libxenlight.so.*.*.*
785 %attr(755,root,root) %ghost %{_libdir}/libxenlight.so.4.4
786 %attr(755,root,root) %{_libdir}/libxenstat.so.*.*
787 %attr(755,root,root) %ghost %{_libdir}/libxenstat.so.0
788 %attr(755,root,root) %{_libdir}/libxenvchan.so.*.*.*
789 %attr(755,root,root) %ghost %{_libdir}/libxenvchan.so.1.0
790 %attr(755,root,root) %{_libdir}/libxlutil.so.*.*.*
791 %attr(755,root,root) %ghost %{_libdir}/libxlutil.so.4.3
793 %dir %{_libdir}/fs/ext2fs-lib
794 %dir %{_libdir}/fs/fat
795 %dir %{_libdir}/fs/iso9660
796 %dir %{_libdir}/fs/reiserfs
797 %dir %{_libdir}/fs/ufs
798 %dir %{_libdir}/fs/xfs
799 %dir %{_libdir}/fs/zfs
800 %attr(755,root,root) %{_libdir}/fs/*/fsimage.so
803 %defattr(644,root,root,755)
804 %attr(755,root,root) %{_libdir}/libxenstore.so.*.*.*
805 %attr(755,root,root) %ghost %{_libdir}/libxenstore.so.3.0
808 %defattr(644,root,root,755)
810 %attr(755,root,root) %{_libdir}/libblktap.so
812 %attr(755,root,root) %{_libdir}/libblktapctl.so
813 %attr(755,root,root) %{_libdir}/libfsimage.so
814 %attr(755,root,root) %{_libdir}/libvhd.so
815 %attr(755,root,root) %{_libdir}/libxenctrl.so
816 %attr(755,root,root) %{_libdir}/libxenguest.so
817 %attr(755,root,root) %{_libdir}/libxenlight.so
818 %attr(755,root,root) %{_libdir}/libxenstat.so
819 %attr(755,root,root) %{_libdir}/libxenstore.so
820 %attr(755,root,root) %{_libdir}/libxenvchan.so
821 %attr(755,root,root) %{_libdir}/libxlutil.so
822 %{_includedir}/_libxl_list.h
823 %{_includedir}/_libxl_types.h
824 %{_includedir}/_libxl_types_json.h
826 %{_includedir}/blktaplib.h
828 %{_includedir}/fsimage*.h
829 %{_includedir}/libxenvchan.h
830 %{_includedir}/libxl*.h
831 %{_includedir}/xen*.h
834 %{_includedir}/xenstore-compat
837 %defattr(644,root,root,755)
839 %{_libdir}/libblktap.a
841 %{_libdir}/libblktapctl.a
843 %{_libdir}/libxenctrl.a
844 %{_libdir}/libxenguest.a
845 %{_libdir}/libxenlight.a
846 %{_libdir}/libxenvchan.a
847 %{_libdir}/libxenstat.a
848 %{_libdir}/libxenstore.a
849 %{_libdir}/libxlutil.a
853 %defattr(644,root,root,755)
855 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blktapctrl
856 %{systemdunitdir}/blktapctrl.service
858 %{systemdunitdir}/xend.service
859 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/xend
860 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xend.rules
861 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xm*
862 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xend*
863 %attr(755,root,root) %{_sbindir}/xend
864 %attr(755,root,root) %{_sbindir}/xm
865 %dir %attr(700,root,root) /var/run/xend
866 %{systemdtmpfilesdir}/xend.conf
871 %defattr(644,root,root,755)
872 %doc tools/ocaml/LICENSE
873 %attr(755,root,root) %{_sbindir}/oxenstored
874 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/oxenstored.conf
875 %dir %{_libdir}/ocaml/site-lib/xenbus
876 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenbus/dllxenbus_stubs.so
877 %dir %{_libdir}/ocaml/site-lib/xenctrl
878 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenctrl/dllxenctrl_stubs.so
879 %dir %{_libdir}/ocaml/site-lib/xeneventchn
880 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xeneventchn/dllxeneventchn_stubs.so
881 %dir %{_libdir}/ocaml/site-lib/xenlight
882 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenlight/dllxenlight_stubs.so
883 %dir %{_libdir}/ocaml/site-lib/xenmmap
884 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenmmap/dllxenmmap_stubs.so
885 %dir %{_libdir}/ocaml/site-lib/xentoollog
886 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xentoollog/dllxentoollog_stubs.so
888 %files -n ocaml-xen-devel
889 %defattr(644,root,root,755)
890 %{_libdir}/ocaml/site-lib/xenbus/META
891 %{_libdir}/ocaml/site-lib/xenbus/libxenbus_stubs.a
892 %{_libdir}/ocaml/site-lib/xenbus/xenbus.a
893 %{_libdir}/ocaml/site-lib/xenbus/*.cm[aixo]*
894 %{_libdir}/ocaml/site-lib/xenctrl/META
895 %{_libdir}/ocaml/site-lib/xenctrl/libxenctrl_stubs.a
896 %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.a
897 %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.cm[aix]*
898 %{_libdir}/ocaml/site-lib/xeneventchn/META
899 %{_libdir}/ocaml/site-lib/xeneventchn/libxeneventchn_stubs.a
900 %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.a
901 %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.cm[aix]*
902 %{_libdir}/ocaml/site-lib/xenmmap/META
903 %{_libdir}/ocaml/site-lib/xenmmap/libxenmmap_stubs.a
904 %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.a
905 %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.cm[aix]*
906 %{_libdir}/ocaml/site-lib/xenlight/META
907 %{_libdir}/ocaml/site-lib/xenlight/libxenlight_stubs.a
908 %{_libdir}/ocaml/site-lib/xenlight/xenlight.a
909 %{_libdir}/ocaml/site-lib/xenlight/xenlight.cm[aix]*
910 %dir %{_libdir}/ocaml/site-lib/xenstore
911 %{_libdir}/ocaml/site-lib/xenstore/META
912 %{_libdir}/ocaml/site-lib/xenstore/xenstore.a
913 %{_libdir}/ocaml/site-lib/xenstore/*.cm[aixo]*
914 %{_libdir}/ocaml/site-lib/xentoollog/META
915 %{_libdir}/ocaml/site-lib/xentoollog/libxentoollog_stubs.a
916 %{_libdir}/ocaml/site-lib/xentoollog/xentoollog.a
917 %{_libdir}/ocaml/site-lib/xentoollog/*.cm[aixo]*
921 %defattr(644,root,root,755)
922 %attr(755,root,root) %{py_sitedir}/fsimage.so
924 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/checkpoint.so
925 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/flask.so
926 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/netlink.so
927 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/ptsname.so
928 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xc.so
930 %{py_sitedir}/xen/remus
931 %{py_sitedir}/xen/util
932 %{py_sitedir}/xen/web
933 %{py_sitedir}/xen/xend
936 %if "%{py_ver}" > "2.4"
937 %{py_sitedir}/pygrub-0.3-py*.egg-info
938 %{py_sitedir}/xen-3.0-py*.egg-info
941 %files -n python-xen-guest
942 %defattr(644,root,root,755)
943 %dir %{py_sitedir}/xen
944 %{py_sitedir}/xen/__init__.py*
945 %dir %{py_sitedir}/xen/lowlevel
946 %{py_sitedir}/xen/lowlevel/__init__.py*
947 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xs.so
949 %files -n bash-completion-%{name}
950 %defattr(644,root,root,755)
951 /etc/bash_completion.d/xl.sh
955 %defattr(644,root,root,755)
958 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/xen.cfg
959 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.d/xen.conf