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 qemu_traditional # without qemu-xen-traditional
14 %bcond_without opengl # OpenGL support in Xen qemu
15 %bcond_without sdl # SDL support in Xen qemu
16 %bcond_without bluetooth # bluetooth support in Xen qemu
17 %bcond_without brlapi # brlapi support in Xen qemu
18 %bcond_without ocaml # Ocaml libraries for Xen tools
19 %bcond_without efi # EFI hypervisor
20 %bcond_without hypervisor # Xen hypervisor build
21 %bcond_without stubdom # stubdom build
22 %bcond_without xsm # XSM security module (by default, Flask)
23 %bcond_without blktap1 # blktap1 support
24 %bcond_without xend # include the obsolete xend & xm
27 %undefine with_hypervisor
32 %ifnarch %{ix86} %{x8664}
33 %undefine with_stubdom
37 %define seabios_version 1.6.3.2
39 # from ./stubdom/configure.ac
40 %define polarssl_version 1.1.4
41 %define tpm_emulator_version 0.7.4
42 %define gmp_version 4.3.2
44 %define xen_extfiles_url http://xenbits.xensource.com/xen-extfiles
45 Summary: Xen - a virtual machine monitor
46 Summary(pl.UTF-8): Xen - monitor maszyny wirtualnej
50 License: GPL v2, interface parts on BSD-like
51 Group: Applications/System
52 Source0: http://bits.xensource.com/oss-xen/release/%{version}/%{name}-%{version}.tar.gz
53 # Source0-md5: fd9031d499af38c5d04108681734027e
55 Source10: %{xen_extfiles_url}/lwip-1.3.0.tar.gz
56 # Source10-md5: 36cc57650cffda9a0269493be2a169bb
57 Source11: %{xen_extfiles_url}/newlib-1.16.0.tar.gz
58 # Source11-md5: bf8f1f9e3ca83d732c00a79a6ef29bc4
59 Source12: %{xen_extfiles_url}/zlib-1.2.3.tar.gz
60 # Source12-md5: debc62758716a169df9f62e6ab2bc634
61 Source13: %{xen_extfiles_url}/pciutils-2.2.9.tar.bz2
62 # Source13-md5: cec05e7785497c5e19da2f114b934ffd
63 Source14: %{xen_extfiles_url}/grub-0.97.tar.gz
64 # Source14-md5: cd3f3eb54446be6003156158d51f4884
65 Source15: http://xenbits.xen.org/xen-extfiles/ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz
66 # Source15-md5: 7496268cebf47d5c9ccb0696e3b26065
67 # http://xenbits.xen.org/git-http/seabios.git/
68 # git archive --prefix=tools/firmware/seabios/ --format=tar rel-%{seabios_version} | xz > seabios-%{seabios_version}.tar.xz
69 Source16: seabios-%{seabios_version}.tar.xz
70 # Source16-md5: 145e07ff5618a3999f94f2e830d06b05
71 Source17: %{xen_extfiles_url}/polarssl-%{polarssl_version}-gpl.tgz
72 # Source17-md5: 7b72caf22b01464ee7d6165f2fd85f44
73 Source18: http://xenbits.xen.org/xen-extfiles/tpm_emulator-%{tpm_emulator_version}.tar.gz
74 # Source18-md5: e26becb8a6a2b6695f6b3e8097593db8
75 Source19: ftp://ftp.gmplib.org/pub/gmp-%{gmp_version}/gmp-%{gmp_version}.tar.bz2
76 # Source19-md5: dd60683d7057917e34630b4a787932e8
77 Source30: proc-xen.mount
78 Source31: var-lib-xenstored.mount
79 Source32: blktapctrl.service
80 Source33: blktapctrl.sysconfig
81 Source34: xenconsoled.service
82 Source35: xenconsoled.sysconfig
83 Source36: xenstored.service
84 Source37: xenstored.sysconfig
85 Source38: xenstored.tmpfiles
86 Source39: xend.service
87 Source40: xend.tmpfiles
88 Source41: xen-watchdog.service
89 Source42: xen-dom0-modules-load.conf
90 Source43: xendomains.sh
91 Source44: xendomains.service
94 Source51: xenconsoled.init
95 Source52: xenstored.init
96 Source53: xen-watchdog.init
97 Source54: xendomains.init
98 Source55: xen.logrotate
99 Source56: xen.tmpfiles
101 Source58: xen.efi-boot-update
102 Source59: vif-openvswitch
103 Source60: xen-init-list
104 Source61: xen-toolstack
105 Patch0: %{name}-python_scripts.patch
106 Patch1: %{name}-symbols.patch
107 Patch2: %{name}-curses.patch
108 Patch3: pygrubfix.patch
109 Patch4: xend.catchbt.patch
110 Patch5: xend-pci-loop.patch
111 Patch6: %{name}-dumpdir.patch
112 # Warning: this disables ingress filtering implemented in xen scripts!
113 Patch7: %{name}-net-disable-iptables-on-bridge.patch
114 Patch8: %{name}-configure-xend.patch
115 Patch10: %{name}-qemu.patch
116 Patch11: %{name}-ulong.patch
117 Patch12: %{name}-doc.patch
118 Patch13: %{name}-paths.patch
119 Patch14: %{name}-no_fetcher.patch
120 Patch15: odd-glib2-fix.patch
121 URL: http://www.xen.org/products/xenhyp.html
122 %if %{with qemu_traditional}
123 %{?with_opengl:BuildRequires: OpenGL-devel}
124 %{?with_sdl:BuildRequires: SDL-devel >= 1.2.1}
126 %ifarch %{ix86} %{x8664}
127 BuildRequires: acpica
128 BuildRequires: autoconf
132 %if %{with qemu_traditional}
133 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
134 %{?with_brlapi:BuildRequires: brlapi-devel}
136 %{?with_efi:BuildRequires: binutils >= 3:2.23.51.0.3-2}
137 BuildRequires: bzip2-devel
138 BuildRequires: curl-devel
139 BuildRequires: cyrus-sasl-devel >= 2
140 BuildRequires: e2fsprogs-devel
141 BuildRequires: gcc >= 6:4.1
142 BuildRequires: gettext-devel
143 BuildRequires: glib2-devel >= 1:2.12
144 BuildRequires: glusterfs-devel >= 3.4
145 BuildRequires: gnutls-devel
146 BuildRequires: keyutils-devel
147 BuildRequires: latex2html >= 2008
148 BuildRequires: libaio-devel
149 BuildRequires: libcap-devel
150 BuildRequires: libcap-ng-devel
151 BuildRequires: libiscsi-devel
152 BuildRequires: libjpeg-devel
153 BuildRequires: libpng-devel
154 BuildRequires: libseccomp-devel >= 1.0.0
155 BuildRequires: libuuid-devel
156 BuildRequires: lzo-devel >= 2
157 BuildRequires: ncurses-devel
159 BuildRequires: ocaml >= 3.04-7
160 BuildRequires: ocaml-findlib
162 BuildRequires: nss-devel >= 3.12.8
163 BuildRequires: openssl-devel
164 BuildRequires: pciutils-devel
165 BuildRequires: perl-base
166 BuildRequires: perl-tools-pod
167 BuildRequires: pixman-devel
168 BuildRequires: pkgconfig
169 BuildRequires: python-devel
170 BuildRequires: rpm-pythonprov
171 BuildRequires: rpmbuild(macros) >= 1.647
172 BuildRequires: texi2html
173 BuildRequires: texlive-dvips
174 BuildRequires: texlive-latex-psnfss
175 BuildRequires: texlive-xetex
176 BuildRequires: transfig
177 BuildRequires: usbredir-devel >= 0.5.3
178 BuildRequires: vde2-devel
180 # for xfsctl (<xfs/xfs.h>)
181 BuildRequires: xfsprogs-devel
182 %if %{with qemu_traditional}
183 BuildRequires: xorg-lib-libX11-devel
184 BuildRequires: xorg-lib-libXext-devel
186 BuildRequires: xz-devel
187 BuildRequires: yajl-devel
188 BuildRequires: zlib-devel
189 %if %{with qemu_traditional}
190 # FIXME: see qemu configure comments on top of spec
191 %{!?with_opengl:BuildConflicts: OpenGL-devel}
192 %{!?with_sdl:BuildConflicts: SDL-devel}
193 %{!?with_sdl:BuildConflicts: SDL-devel}
194 %{!?with_bluetooth:BuildConflicts: bluez-libs-devel}
195 %{!?with_brlapi:BuildConflicts: brlapi-devel}
197 Requires(post,preun): /sbin/chkconfig
198 Requires(post,preun,postun): systemd-units >= 38
199 Requires: %{name}-libs = %{version}-%{release}
200 Requires: ZopeInterface
201 Requires: bridge-utils
208 Requires: python-%{name} = %{version}-%{release}
211 Requires: systemd-units >= 38
214 Requires: %{name}-guest = %{version}-%{release}
217 ExclusiveArch: %{ix86} %{x8664} arm
218 %ifarch %{ix86} %{x8664}
220 Suggests: qemu-system-x86
222 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
224 # some PPC/SPARC boot images in ELF format
225 %define _noautostrip .*%{_datadir}/\\(xen\\|qemu-xen\\)/qemu/\\(openbios-.*\\|palcode-clipper\\|s390-ccw.img\\)
228 This package contains the Xen hypervisor and Xen tools, needed to run
229 virtual machines on x86 systems, together with the kernel-xen*
230 packages. Information on how to use Xen can be found at the Xen
233 Virtualisation can be used to run multiple versions or multiple Linux
234 distributions on one system, or to test untrusted applications in a
235 sandboxed environment. Note that the Xen technology is still in
236 development, and this RPM has received extremely little testing. Don't
237 be surprised if this RPM eats your data, drinks your coffee or makes
238 fun of you in front of your friends.
240 %description -l pl.UTF-8
241 Ten pakiet zawiera nadzorcę oraz narzędzia Xen, potrzebne do
242 uruchamiania wirtualnych maszyn w systemach x86, wraz z pakietami
243 kernel-xen*. Informacje jak używać Xena można znaleźć na stronach
246 Wirtualizacja może być używana do uruchamiania wielu wersji lub wielu
247 dystrybucji Linuksa na jednym systemie lub do testowania nie zaufanych
248 aplikacji w odizolowanym środowisku. Należy zauważyć, że technologia
249 Xen jest ciągle rozwijana, a ten RPM był słabo testowany. Nie należy
250 być zdziwionym, jeśli ten pakiet zje dane, wypije całą kawę czy będzie
251 się wyśmiewał w obecności przyjaciół.
254 Summary: Xen tools for virtual machines
255 Summary(pl.UTF-8): Narzędzia Xen dla maszyn virtualnych
256 Group: Applications/System
257 Requires: %{name}-libs-guest = %{version}-%{release}
260 Xen utilities for both dom0 and domU virtual domains.
262 %description guest -l pl.UTF-8
263 Narzędzia Xena dla maszyn wirtualnych dom0 i domU.
266 Summary: Xen libraries
267 Summary(pl.UTF-8): Biblioteki Xena
269 Requires: %{name}-libs-guest = %{version}-%{release}
274 %description libs -l pl.UTF-8
278 Summary: Xen libraries for virtual machines
279 Summary(pl.UTF-8): Biblioteki Xena dla maszyn wirtualnych
282 %description libs-guest
283 Xen libraries for both dom0 and domU virtual machines.
285 %description libs-guest -l pl.UTF-8
286 Biblioteki Xena dla maszyn wirtualnych dom0 i domU.
289 Summary: Header files for Xen
290 Summary(pl.UTF-8): Pliki nagłówkowe Xena
291 Group: Development/Libraries
292 Requires: %{name}-libs = %{version}-%{release}
295 Header files for Xen.
297 %description devel -l pl.UTF-8
298 Pliki nagłówkowe Xena.
301 Summary: Static Xen libraries
302 Summary(pl.UTF-8): Statyczne biblioteki Xena
303 Group: Development/Libraries
304 Requires: %{name}-devel = %{version}-%{release}
307 Static Xen libraries.
309 %description static -l pl.UTF-8
310 Statyczne biblioteki Xena.
314 Summary(pl.UTF-8): Demon xend
316 Requires(post,preun,postun): systemd-units >= 38
317 Requires: systemd-units >= 38
322 %description xend -l pl.UTF-8
325 %package -n ocaml-xen
326 Summary: OCaml bindings for Xen
327 Summary(pl.UTF-8): Wiązania OCamla dla Xena
328 License: LGPL v2.1 with linking exception
330 Requires: %{name}-libs = %{version}-%{release}
332 %requires_eq ocaml-runtime
335 %description -n ocaml-xen
336 OCaml bindings for Xen.
338 %description -n ocaml-xen -l pl.UTF-8
339 Wiązania OCamla dla Xena.
341 %package -n ocaml-xen-devel
342 Summary: OCaml bindings for Xen - development files
343 Summary(pl.UTF-8): Wiązania OCamla dla Xena - pliki programistyczne
344 License: LGPL v2.1 with linking exception
345 Group: Development/Libraries
346 Requires: ocaml-xen = %{version}-%{release}
351 %description -n ocaml-xen-devel
352 OCaml bindings for Xen - development files.
354 %description -n ocaml-xen-devel -l pl.UTF-8
355 Wiązania OCamla dla Xena - pliki programistyczne.
357 %package -n python-xen
358 Summary: Xen Python modules
359 Summary(pl.UTF-8): Moduły Pythona dla Xena
361 Requires: %{name}-libs = %{version}-%{release}
362 Conflicts: xen < 3.2.1-0.3
364 %description -n python-xen
367 %description -n python-xen -l pl.UTF-8
368 Moduły Pythona dla Xena.
370 %package -n python-xen-guest
371 Summary: Xen Python modules for virtual machines
372 Summary(pl.UTF-8): Moduły Pythona dla maszyn wirtualnych Xena
374 Requires: %{name}-libs-guest = %{version}-%{release}
375 Conflicts: xen < 3.2.1-0.3
377 %description -n python-xen-guest
378 Xen Python modules for both dom0 and domU virtual machines.
380 %description -n python-xen-guest -l pl.UTF-8
381 Moduły Pythona dla maszyn wirtualnych dom0 i domU.
383 %package -n bash-completion-%{name}
384 Summary: bash-completion for Xen (xl)
385 Summary(pl.UTF-8): Bashowe dopełnianie poleceń dla Xena (xl)
386 Group: Applications/Shells
387 Requires: %{name} = %{version}-%{release}
388 Requires: bash-completion
390 %description -n bash-completion-%{name}
391 This package provides bash-completion for Xen (xl).
393 %description -n bash-completion-%{name} -l pl.UTF-8
394 Ten pakiet zapewnia bashowe dopełnianie poleceń dla Xena (xl).
397 Summary: Xen hypervisor binary for EFI
398 Summary(pl.UTF-8): Hipernadzorca Xen dla EFI
399 Group: Applications/System
400 Requires: %{name}-libs-guest = %{version}-%{release}
403 Xen hypervisor EFI binary, which can be booted directly from (U)EFI
404 firmware without help from any additional bootloader.
406 %description efi -l pl.UTF-8
407 Nadzorca Xen w postaci, która może być uruchomiona wprost z firmware
408 (U)EFI, bez potrzeby oddzielnego bootloadera.
429 ln -s %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} stubdom
430 ln -s %{SOURCE17} %{SOURCE18} %{SOURCE19} stubdom
431 ln -s %{SOURCE15} tools/firmware/etherboot/ipxe.tar.gz
433 # do not allow fetching anything via git
434 echo GIT=/bin/false >> Config.mk
437 # based on the 'autoconf.sh' from the sources
448 # if gold is used then bioses and grub doesn't build
450 ln -f -s /usr/bin/ld.bfd our-ld/ld
451 export PATH=$(pwd)/our-ld:$PATH
453 export CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
454 export CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
457 # - there is a quoting bug (in tools/driver/Makefile) that causes
458 # openssl is used instead of gcrypt; that's OK, openssl is obligatory
459 # anyway (see configure), gcrypt is optional
460 # - prevent libiconv from being detected (not needed with glibc)
462 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" \
463 ac_cv_lib_iconv_libiconv_open=no \
464 %{__enable_disable qemu_traditional qemu-traditional} \
465 %{__enable_disable blktap1 blktap1} \
466 %{__enable_disable xend xend} \
468 --with-system-qemu=/usr/bin/qemu-system-x86_64 \
470 --with-system-qemu=/usr/bin/qemu-system-i386 \
474 %{__make} -j1 dist-xen dist-tools dist-docs \
475 %{!?with_ocaml:OCAML_TOOLS=n} \
476 XSM_ENABLE=%{?with_xsm:y}%{!?with_xsm:n} \
485 %{__make} -j1 dist-stubdom \
486 %{!?with_ocaml:OCAML_TOOLS=n} \
487 XSM_ENABLE=%{?with_xsm:y}%{!?with_xsm:n} \
494 rm -rf $RPM_BUILD_ROOT
495 install -d $RPM_BUILD_ROOT/etc/{xen/examples,modules-load.d,logrotate.d} \
496 $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir},/var/log/xen/console}
499 install -d $RPM_BUILD_ROOT/etc/efi-boot/update.d
502 %{__make} -j1 install-xen install-tools %{?with_stubdom:install-stubdom} install-docs \
503 %{!?with_ocaml:OCAML_TOOLS=n} \
504 XSM_ENABLE=%{?with_xsm:y}%{!?with_xsm:n} \
505 DESTDIR=$RPM_BUILD_ROOT \
506 HOTPLUGS=install-udev
508 %if %{with qemu_traditional}
509 %if "%{_lib}" == "lib64"
510 ln -s %{_prefix}/lib/%{name}/bin/qemu-dm $RPM_BUILD_ROOT%{_libdir}/%{name}/bin/qemu-dm
514 install %{SOURCE30} $RPM_BUILD_ROOT%{systemdunitdir}/proc-xen.mount
515 install %{SOURCE31} $RPM_BUILD_ROOT%{systemdunitdir}/var-lib-xenstored.mount
517 install %{SOURCE32} $RPM_BUILD_ROOT%{systemdunitdir}/blktapctrl.service
518 install %{SOURCE33} $RPM_BUILD_ROOT/etc/sysconfig/blktapctrl
520 install %{SOURCE34} $RPM_BUILD_ROOT%{systemdunitdir}/xenconsoled.service
521 install %{SOURCE35} $RPM_BUILD_ROOT/etc/sysconfig/xenconsoled
522 install %{SOURCE36} $RPM_BUILD_ROOT%{systemdunitdir}/xenstored.service
523 install %{SOURCE37} $RPM_BUILD_ROOT/etc/sysconfig/xenstored
524 install %{SOURCE38} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xenstored.conf
526 install %{SOURCE39} $RPM_BUILD_ROOT%{systemdunitdir}/xend.service
527 install %{SOURCE40} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xend.conf
529 install %{SOURCE41} $RPM_BUILD_ROOT%{systemdunitdir}/xen-watchdog.service
530 install %{SOURCE42} $RPM_BUILD_ROOT/etc/modules-load.d/xen-dom0.conf
531 install %{SOURCE43} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xendomains.sh
532 install %{SOURCE44} $RPM_BUILD_ROOT%{systemdunitdir}/xendomains.service
534 %{__rm} $RPM_BUILD_ROOT/etc/rc.d/init.d/*
535 %{__rm} $RPM_BUILD_ROOT/etc/sysconfig/xencommons
537 install %{SOURCE50} $RPM_BUILD_ROOT/etc/rc.d/init.d/xend
539 install %{SOURCE51} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenconsoled
540 install %{SOURCE52} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenstored
541 install %{SOURCE53} $RPM_BUILD_ROOT/etc/rc.d/init.d/xen-watchdog
542 install %{SOURCE54} $RPM_BUILD_ROOT/etc/rc.d/init.d/xendomains
543 install %{SOURCE55} $RPM_BUILD_ROOT/etc/logrotate.d/xen
544 install %{SOURCE56} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xen.conf
546 install %{SOURCE60} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xen-init-list
547 install %{SOURCE61} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xen-toolstack
550 install %{SOURCE57} $RPM_BUILD_ROOT/etc/efi-boot/xen.cfg
551 sed -e's;@libdir@;%{_libdir};g' -e's;@target_cpu@;%{_target_cpu};g' \
552 %{SOURCE58} > $RPM_BUILD_ROOT/etc/efi-boot/update.d/xen.conf
555 mv $RPM_BUILD_ROOT/etc/xen/{xlexample*,examples}
557 install %{SOURCE59} $RPM_BUILD_ROOT%{_sysconfdir}/xen/scripts/vif-openvswitch
561 for tool in blktap blktap2 pygrub xenmon ; do
562 cp -p tools/$tool/README _doc/README.$tool
565 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
566 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
570 # remove unneeded files
571 %if %{with hypervisor}
572 %{__rm} $RPM_BUILD_ROOT/boot/xen-4.4.gz
573 %{__rm} $RPM_BUILD_ROOT/boot/xen-4.gz
575 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xen
576 %{__rm} $RPM_BUILD_ROOT%{_includedir}/%{name}/COPYING
579 %{__rm} -r $RPM_BUILD_ROOT/var/run/xend
583 rm -rf $RPM_BUILD_ROOT
586 /sbin/chkconfig --add xen-watchdog
587 /sbin/chkconfig --add xenconsoled
588 /sbin/chkconfig --add xenstored
589 /sbin/chkconfig --add xendomains
591 %systemd_post xen-watchdog.service xenconsoled.service xenstored.service xendomains.service
594 if [ "$1" = "0" ]; then
595 %service xendomains stop
596 /sbin/chkconfig --del xendomains
598 %service xenconsoled stop
599 /sbin/chkconfig --del xenconsoled
601 %service xenstored stop
602 /sbin/chkconfig --del xenstored
604 %service xen-watchdog stop
605 /sbin/chkconfig --del xen-watchdog
607 %systemd_preun xen-watchdog.service xenconsoled.service xenstored.service xendomains.service
613 /sbin/chkconfig --add xend
614 %systemd_post xend.service
617 if [ "$1" = "0" ]; then
619 /sbin/chkconfig --del xend
621 %systemd_preun xend.service
626 %post libs -p /sbin/ldconfig
627 %postun libs -p /sbin/ldconfig
629 %post libs-guest -p /sbin/ldconfig
630 %postun libs-guest -p /sbin/ldconfig
633 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
636 %defattr(644,root,root,755)
637 %doc COPYING README* docs/misc/* docs/html/* _doc/*
638 %if %{with hypervisor}
639 /boot/%{name}-syms-%{version}
640 /boot/%{name}-%{version}.gz
643 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenconsoled
644 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenstored
645 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xendomains
646 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/xen
647 %attr(754,root,root) /etc/rc.d/init.d/xen-watchdog
648 %attr(754,root,root) /etc/rc.d/init.d/xenconsoled
649 %attr(754,root,root) /etc/rc.d/init.d/xenstored
650 %attr(754,root,root) /etc/rc.d/init.d/xendomains
651 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/xen-dom0.conf
652 %{systemdunitdir}/proc-xen.mount
653 %{systemdunitdir}/var-lib-xenstored.mount
654 %{systemdunitdir}/xen-watchdog.service
655 %{systemdunitdir}/xenconsoled.service
656 %{systemdunitdir}/xenstored.service
657 %{systemdunitdir}/xendomains.service
658 %dir %{_sysconfdir}/xen
659 %dir %{_sysconfdir}/xen/auto
660 %dir %{_sysconfdir}/xen/examples
661 %dir %{_sysconfdir}/xen/scripts
662 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/scripts/*
663 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/examples/*
664 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/README*
665 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/cpupool
666 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xl.conf
667 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xen-backend.rules
668 %attr(755,root,root) %{_bindir}/pygrub
669 %if %{with qemu_traditional}
670 %attr(755,root,root) %{_bindir}/qemu-img-xen
671 %attr(755,root,root) %{_bindir}/qemu-nbd-xen
673 %attr(755,root,root) %{_bindir}/remus
674 %attr(755,root,root) %{_bindir}/xencons
675 %attr(755,root,root) %{_bindir}/xencov_split
676 %attr(755,root,root) %{_bindir}/xentrace*
678 %attr(755,root,root) %{_sbindir}/blktapctrl
681 %attr(755,root,root) %{_sbindir}/flask-*
683 %attr(755,root,root) %{_sbindir}/gdbsx
684 %attr(755,root,root) %{_sbindir}/gtrace*
685 %attr(755,root,root) %{_sbindir}/img2qcow
686 %attr(755,root,root) %{_sbindir}/kdd
687 %attr(755,root,root) %{_sbindir}/lock-util
688 %attr(755,root,root) %{_sbindir}/qcow-create
689 %attr(755,root,root) %{_sbindir}/qcow2raw
690 %attr(755,root,root) %{_sbindir}/tap-ctl
691 %attr(755,root,root) %{_sbindir}/tapdisk*
692 %attr(755,root,root) %{_sbindir}/td-util
693 %attr(755,root,root) %{_sbindir}/vhd-*
694 %attr(755,root,root) %{_sbindir}/xen-*
695 %attr(755,root,root) %{_sbindir}/xenbaked
696 %attr(755,root,root) %{_sbindir}/xenconsoled
697 %attr(755,root,root) %{_sbindir}/xencov
698 %attr(755,root,root) %{_sbindir}/xenlockprof
699 %attr(755,root,root) %{_sbindir}/xenmon.py
700 %attr(755,root,root) %{_sbindir}/xenperf
701 %attr(755,root,root) %{_sbindir}/xenpm
702 %attr(755,root,root) %{_sbindir}/xenpmd
703 %attr(755,root,root) %{_sbindir}/xenstored
704 %attr(755,root,root) %{_sbindir}/xentop
705 %attr(755,root,root) %{_sbindir}/xentrace_setmask
706 %attr(755,root,root) %{_sbindir}/xenwatchdogd
707 %attr(755,root,root) %{_sbindir}/xl
708 %dir %{_libdir}/%{name}
709 %dir %{_libdir}/%{name}/bin
710 %attr(744,root,root) %{_libdir}/%{name}/bin/*
711 %if "%{_lib}" != "lib"
712 %dir %{_prefix}/lib/%{name}
713 %dir %{_prefix}/lib/%{name}/bin
714 %attr(755,root,root) %{_prefix}/lib/%{name}/bin/*
716 %dir %{_prefix}/lib/%{name}/boot
718 %if %{with qemu_traditional}
719 %{_prefix}/lib/%{name}/boot/ioemu-stubdom.gz
721 %ifarch %{ix86} %{x8664}
722 %{_prefix}/lib/%{name}/boot/pv-grub-x86_32.gz
725 %{_prefix}/lib/%{name}/boot/pv-grub-x86_64.gz
727 %{_prefix}/lib/%{name}/boot/vtpm-stubdom.gz
728 %{_prefix}/lib/%{name}/boot/vtpmmgr-stubdom.gz
729 %{_prefix}/lib/%{name}/boot/xenstore-stubdom.gz
731 %attr(744,root,root) %{_prefix}/lib/%{name}/boot/hvmloader
732 %{_mandir}/man1/xenstore-chmod.1*
733 %{_mandir}/man1/xenstore-ls.1*
734 %{_mandir}/man1/xenstore.1*
735 %{_mandir}/man1/xentop.1*
736 %{_mandir}/man1/xentrace_format.1*
737 %{_mandir}/man1/xl.1*
739 %{_mandir}/man1/xm.1*
740 %{_mandir}/man5/xend-config.sxp.5*
742 %{_mandir}/man5/xl.cfg.5*
743 %{_mandir}/man5/xl.conf.5*
744 %{_mandir}/man5/xlcpupool.cfg.5*
745 %{_mandir}/man5/xmdomain.cfg.5*
746 %{_mandir}/man8/xentrace.8*
747 %{_sharedstatedir}/xen
748 %{_sharedstatedir}/xenstored
749 %dir /var/run/xenstored
750 %{systemdtmpfilesdir}/xenstored.conf
751 %{systemdtmpfilesdir}/xen.conf
752 %dir %attr(0700,root,root) /var/log/xen
753 %dir %attr(0700,root,root) /var/log/xen/console
754 %if %{with qemu_traditional}
759 %defattr(644,root,root,755)
760 %attr(755,root,root) %{_bindir}/xen-detect
761 %attr(755,root,root) %{_bindir}/xenstore*
764 %defattr(644,root,root,755)
765 %attr(755,root,root) %{_libdir}/libblktap.so.*.*.*
766 %attr(755,root,root) %ghost %{_libdir}/libblktap.so.3.0
767 %attr(755,root,root) %{_libdir}/libblktapctl.so.*.*.*
768 %attr(755,root,root) %ghost %{_libdir}/libblktapctl.so.1.0
769 %attr(755,root,root) %{_libdir}/libfsimage.so.*.*.*
770 %attr(755,root,root) %ghost %{_libdir}/libfsimage.so.1.0
771 %attr(755,root,root) %{_libdir}/libvhd.so.*.*.*
772 %attr(755,root,root) %ghost %{_libdir}/libvhd.so.1.0
773 %attr(755,root,root) %{_libdir}/libxenctrl.so.*.*.*
774 %attr(755,root,root) %ghost %{_libdir}/libxenctrl.so.4.4
775 %attr(755,root,root) %{_libdir}/libxenguest.so.*.*.*
776 %attr(755,root,root) %ghost %{_libdir}/libxenguest.so.4.4
777 %attr(755,root,root) %{_libdir}/libxenlight.so.*.*.*
778 %attr(755,root,root) %ghost %{_libdir}/libxenlight.so.4.4
779 %attr(755,root,root) %{_libdir}/libxenstat.so.*.*
780 %attr(755,root,root) %ghost %{_libdir}/libxenstat.so.0
781 %attr(755,root,root) %{_libdir}/libxenvchan.so.*.*.*
782 %attr(755,root,root) %ghost %{_libdir}/libxenvchan.so.1.0
783 %attr(755,root,root) %{_libdir}/libxlutil.so.*.*.*
784 %attr(755,root,root) %ghost %{_libdir}/libxlutil.so.4.3
786 %dir %{_libdir}/fs/ext2fs-lib
787 %dir %{_libdir}/fs/fat
788 %dir %{_libdir}/fs/iso9660
789 %dir %{_libdir}/fs/reiserfs
790 %dir %{_libdir}/fs/ufs
791 %dir %{_libdir}/fs/xfs
792 %dir %{_libdir}/fs/zfs
793 %attr(755,root,root) %{_libdir}/fs/*/fsimage.so
796 %defattr(644,root,root,755)
797 %attr(755,root,root) %{_libdir}/libxenstore.so.*.*.*
798 %attr(755,root,root) %ghost %{_libdir}/libxenstore.so.3.0
801 %defattr(644,root,root,755)
802 %attr(755,root,root) %{_libdir}/libblktap.so
803 %attr(755,root,root) %{_libdir}/libblktapctl.so
804 %attr(755,root,root) %{_libdir}/libfsimage.so
805 %attr(755,root,root) %{_libdir}/libvhd.so
806 %attr(755,root,root) %{_libdir}/libxenctrl.so
807 %attr(755,root,root) %{_libdir}/libxenguest.so
808 %attr(755,root,root) %{_libdir}/libxenlight.so
809 %attr(755,root,root) %{_libdir}/libxenstat.so
810 %attr(755,root,root) %{_libdir}/libxenstore.so
811 %attr(755,root,root) %{_libdir}/libxenvchan.so
812 %attr(755,root,root) %{_libdir}/libxlutil.so
813 %{_includedir}/_libxl_list.h
814 %{_includedir}/_libxl_types.h
815 %{_includedir}/_libxl_types_json.h
816 %{_includedir}/blktaplib.h
817 %{_includedir}/fsimage*.h
818 %{_includedir}/libxenvchan.h
819 %{_includedir}/libxl*.h
820 %{_includedir}/xen*.h
823 %{_includedir}/xenstore-compat
826 %defattr(644,root,root,755)
827 %{_libdir}/libblktap.a
828 %{_libdir}/libblktapctl.a
830 %{_libdir}/libxenctrl.a
831 %{_libdir}/libxenguest.a
832 %{_libdir}/libxenlight.a
833 %{_libdir}/libxenvchan.a
834 %{_libdir}/libxenstat.a
835 %{_libdir}/libxenstore.a
836 %{_libdir}/libxlutil.a
840 %defattr(644,root,root,755)
842 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blktapctrl
843 %{systemdunitdir}/blktapctrl.service
845 %{systemdunitdir}/xend.service
846 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/xend
847 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xend.rules
848 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xm*
849 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xend*
850 %attr(755,root,root) %{_sbindir}/xend
851 %attr(755,root,root) %{_sbindir}/xm
852 %dir %attr(700,root,root) /var/run/xend
853 %{systemdtmpfilesdir}/xend.conf
858 %defattr(644,root,root,755)
859 %doc tools/ocaml/LICENSE
860 %attr(755,root,root) %{_sbindir}/oxenstored
861 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/oxenstored.conf
862 %dir %{_libdir}/ocaml/site-lib/xenbus
863 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenbus/dllxenbus_stubs.so
864 %dir %{_libdir}/ocaml/site-lib/xenctrl
865 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenctrl/dllxenctrl_stubs.so
866 %dir %{_libdir}/ocaml/site-lib/xeneventchn
867 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xeneventchn/dllxeneventchn_stubs.so
868 %dir %{_libdir}/ocaml/site-lib/xenlight
869 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenlight/dllxenlight_stubs.so
870 %dir %{_libdir}/ocaml/site-lib/xenmmap
871 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenmmap/dllxenmmap_stubs.so
872 %dir %{_libdir}/ocaml/site-lib/xentoollog
873 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xentoollog/dllxentoollog_stubs.so
875 %files -n ocaml-xen-devel
876 %defattr(644,root,root,755)
877 %{_libdir}/ocaml/site-lib/xenbus/META
878 %{_libdir}/ocaml/site-lib/xenbus/libxenbus_stubs.a
879 %{_libdir}/ocaml/site-lib/xenbus/xenbus.a
880 %{_libdir}/ocaml/site-lib/xenbus/*.cm[aixo]*
881 %{_libdir}/ocaml/site-lib/xenctrl/META
882 %{_libdir}/ocaml/site-lib/xenctrl/libxenctrl_stubs.a
883 %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.a
884 %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.cm[aix]*
885 %{_libdir}/ocaml/site-lib/xeneventchn/META
886 %{_libdir}/ocaml/site-lib/xeneventchn/libxeneventchn_stubs.a
887 %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.a
888 %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.cm[aix]*
889 %{_libdir}/ocaml/site-lib/xenmmap/META
890 %{_libdir}/ocaml/site-lib/xenmmap/libxenmmap_stubs.a
891 %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.a
892 %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.cm[aix]*
893 %{_libdir}/ocaml/site-lib/xenlight/META
894 %{_libdir}/ocaml/site-lib/xenlight/libxenlight_stubs.a
895 %{_libdir}/ocaml/site-lib/xenlight/xenlight.a
896 %{_libdir}/ocaml/site-lib/xenlight/xenlight.cm[aix]*
897 %dir %{_libdir}/ocaml/site-lib/xenstore
898 %{_libdir}/ocaml/site-lib/xenstore/META
899 %{_libdir}/ocaml/site-lib/xenstore/xenstore.a
900 %{_libdir}/ocaml/site-lib/xenstore/*.cm[aixo]*
901 %{_libdir}/ocaml/site-lib/xentoollog/META
902 %{_libdir}/ocaml/site-lib/xentoollog/libxentoollog_stubs.a
903 %{_libdir}/ocaml/site-lib/xentoollog/xentoollog.a
904 %{_libdir}/ocaml/site-lib/xentoollog/*.cm[aixo]*
908 %defattr(644,root,root,755)
909 %attr(755,root,root) %{py_sitedir}/fsimage.so
911 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/checkpoint.so
912 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/flask.so
913 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/netlink.so
914 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/ptsname.so
915 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xc.so
917 %{py_sitedir}/xen/remus
918 %{py_sitedir}/xen/util
919 %{py_sitedir}/xen/web
920 %{py_sitedir}/xen/xend
923 %if "%{py_ver}" > "2.4"
924 %{py_sitedir}/pygrub-0.3-py*.egg-info
925 %{py_sitedir}/xen-3.0-py*.egg-info
928 %files -n python-xen-guest
929 %defattr(644,root,root,755)
930 %dir %{py_sitedir}/xen
931 %{py_sitedir}/xen/__init__.py*
932 %dir %{py_sitedir}/xen/lowlevel
933 %{py_sitedir}/xen/lowlevel/__init__.py*
934 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xs.so
936 %files -n bash-completion-%{name}
937 %defattr(644,root,root,755)
938 /etc/bash_completion.d/xl.sh
942 %defattr(644,root,root,755)
945 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/xen.cfg
946 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.d/xen.conf