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
14 %bcond_without opengl # disable OpenGL support in Xen qemu
15 %bcond_without sdl # disable SDL support in Xen qemu
16 %bcond_without bluetooth # disable bluetooth support in Xen qemu
17 %bcond_without brlapi # disable brlapi support in Xen qemu
18 %bcond_without ocaml # build Ocaml libraries for Xen tools
19 %bcond_without efi # build the EFI hypervisor
26 %define seabios_version 1.6.3.2
28 %define xen_extfiles_url http://xenbits.xensource.com/xen-extfiles
29 Summary: Xen - a virtual machine monitor
30 Summary(pl.UTF-8): Xen - monitor maszyny wirtualnej
34 License: GPL v2, interface parts on BSD-like
35 Group: Applications/System
36 Source0: http://bits.xensource.com/oss-xen/release/%{version}/%{name}-%{version}.tar.gz
37 # Source0-md5: f7362b19401a47826f2d8fd603a1782a
39 Source10: %{xen_extfiles_url}/lwip-1.3.0.tar.gz
40 # Source10-md5: 36cc57650cffda9a0269493be2a169bb
41 Source11: %{xen_extfiles_url}/newlib-1.16.0.tar.gz
42 # Source11-md5: bf8f1f9e3ca83d732c00a79a6ef29bc4
43 Source12: %{xen_extfiles_url}/zlib-1.2.3.tar.gz
44 # Source12-md5: debc62758716a169df9f62e6ab2bc634
45 Source13: %{xen_extfiles_url}/pciutils-2.2.9.tar.bz2
46 # Source13-md5: cec05e7785497c5e19da2f114b934ffd
47 Source14: %{xen_extfiles_url}/grub-0.97.tar.gz
48 # Source14-md5: cd3f3eb54446be6003156158d51f4884
49 Source15: http://xenbits.xen.org/xen-extfiles/ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz
50 # Source15-md5: 7496268cebf47d5c9ccb0696e3b26065
51 # http://xenbits.xen.org/git-http/seabios.git/
52 # git archive --prefix=tools/firmware/seabios/ --format=tar rel-%{seabios_version} | xz > seabios-%{seabios_version}.tar.xz
53 Source16: seabios-%{seabios_version}.tar.xz
54 # Source16-md5: 145e07ff5618a3999f94f2e830d06b05
55 Source30: proc-xen.mount
56 Source31: var-lib-xenstored.mount
57 Source32: blktapctrl.service
58 Source33: blktapctrl.sysconfig
59 Source34: xenconsoled.service
60 Source35: xenconsoled.sysconfig
61 Source36: xenstored.service
62 Source37: xenstored.sysconfig
63 Source38: xenstored.tmpfiles
64 Source39: xend.service
65 Source40: xend.tmpfiles
66 Source41: xen-watchdog.service
67 Source42: xen-dom0-modules-load.conf
68 Source43: xendomains.sh
69 Source44: xendomains.service
72 Source51: xenconsoled.init
73 Source52: xenstored.init
74 Source53: xen-watchdog.init
75 Source54: xendomains.init
76 Source55: xen.logrotate
77 Source56: xen.tmpfiles
79 Source58: xen.efi-boot-update
80 Source59: vif-openvswitch
81 Source60: xen-init-list
82 Source61: xen-toolstack
83 Patch0: %{name}-python_scripts.patch
84 Patch1: %{name}-symbols.patch
85 Patch2: %{name}-curses.patch
86 Patch3: pygrubfix.patch
87 Patch4: xend.catchbt.patch
88 Patch5: xend-pci-loop.patch
89 Patch6: %{name}-dumpdir.patch
90 # Warning: this disables ingress filtering implemented in xen scripts!
91 Patch7: %{name}-net-disable-iptables-on-bridge.patch
92 Patch8: %{name}-configure-xend.patch
93 Patch9: %{name}-initscript.patch
94 Patch10: %{name}-quemu-softloat-c99.patch
95 Patch11: %{name}-qemu.patch
96 Patch12: %{name}-scripts-locking.patch
97 Patch13: %{name}-close_lockfd_after_lock_attempt.patch
98 Patch14: %{name}-librt.patch
99 Patch15: %{name}-ulong.patch
100 Patch16: %{name}-doc.patch
101 URL: http://www.xen.org/products/xenhyp.html
102 %{?with_opengl:BuildRequires: OpenGL-devel}
103 %{?with_sdl:BuildRequires: SDL-devel >= 1.2.1}
104 %ifarch %{ix86} %{x8664}
105 BuildRequires: acpica
108 %{?with_bluetooth:BuildRequires: bluez-libs-devel}
109 %{?with_brlapi:BuildRequires: brlapi-devel}
110 %{?with_efi:BuildRequires: binutils >= 3:2.23.51.0.3-2}
111 BuildRequires: bzip2-devel
112 BuildRequires: ceph-devel
113 BuildRequires: curl-devel
114 BuildRequires: cyrus-sasl-devel >= 2
115 BuildRequires: e2fsprogs-devel
116 BuildRequires: gcc >= 5:3.4
117 BuildRequires: gettext-devel
118 BuildRequires: glib2-devel >= 1:2.12
119 BuildRequires: gnutls-devel
120 BuildRequires: latex2html >= 2008
121 BuildRequires: libaio-devel
122 BuildRequires: libiscsi-devel
123 BuildRequires: libjpeg-devel
124 BuildRequires: libpng-devel
125 BuildRequires: libuuid-devel
126 BuildRequires: lzo-devel >= 2
127 BuildRequires: ncurses-devel
129 BuildRequires: ocaml >= 3.04-7
130 BuildRequires: ocaml-findlib
132 BuildRequires: nss-devel >= 3.12.8
133 BuildRequires: openssl-devel
134 BuildRequires: pciutils-devel
135 BuildRequires: perl-base
136 BuildRequires: pkgconfig
137 BuildRequires: python-devel
138 BuildRequires: rpm-pythonprov
139 BuildRequires: rpmbuild(macros) >= 1.647
140 BuildRequires: spice-protocol >= 0.6.0
141 BuildRequires: spice-server-devel >= 0.6.0
142 BuildRequires: texi2html
143 BuildRequires: texlive-dvips
144 BuildRequires: texlive-latex-psnfss
145 BuildRequires: texlive-xetex
146 BuildRequires: usbredir-devel
147 BuildRequires: vde2-devel
149 # for xfsctl (<xfs/xfs.h>)
150 BuildRequires: xfsprogs-devel
151 BuildRequires: xorg-lib-libX11-devel
152 BuildRequires: xorg-lib-libXext-devel
153 BuildRequires: xz-devel
154 BuildRequires: yajl-devel
155 BuildRequires: zlib-devel
156 # FIXME: see qemu configure comments on top of spec
157 %{!?with_opengl:BuildConflicts: OpenGL-devel}
158 %{!?with_sdl:BuildConflicts: SDL-devel}
159 %{!?with_sdl:BuildConflicts: SDL-devel}
160 %{!?with_bluetooth:BuildConflicts: bluez-libs-devel}
161 %{!?with_brlapi:BuildConflicts: brlapi-devel}
162 Requires(post,preun): /sbin/chkconfig
163 Requires(post,preun,postun): systemd-units >= 38
164 Requires: %{name}-libs = %{version}-%{release}
165 Requires: ZopeInterface
166 Requires: bridge-utils
173 Requires: python-%{name} = %{version}-%{release}
176 Requires: systemd-units >= 38
179 Requires: %{name}-guest = %{version}-%{release}
182 ExclusiveArch: %{ix86} %{x8664}
183 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
185 # some PPC/SPARC boot images in ELF format
186 %define _noautostrip .*%{_datadir}/\\(xen/qemu\\|qemu-xen\\)/\\(openbios-.*\\|palcode-clipper\\)
189 This package contains the Xen hypervisor and Xen tools, needed to run
190 virtual machines on x86 systems, together with the kernel-xen*
191 packages. Information on how to use Xen can be found at the Xen
194 Virtualisation can be used to run multiple versions or multiple Linux
195 distributions on one system, or to test untrusted applications in a
196 sandboxed environment. Note that the Xen technology is still in
197 development, and this RPM has received extremely little testing. Don't
198 be surprised if this RPM eats your data, drinks your coffee or makes
199 fun of you in front of your friends.
201 %description -l pl.UTF-8
202 Ten pakiet zawiera nadzorcę oraz narzędzia Xen, potrzebne do
203 uruchamiania wirtualnych maszyn w systemach x86, wraz z pakietami
204 kernel-xen*. Informacje jak używać Xena można znaleźć na stronach
207 Wirtualizacja może być używana do uruchamiania wielu wersji lub wielu
208 dystrybucji Linuksa na jednym systemie lub do testowania nie zaufanych
209 aplikacji w odizolowanym środowisku. Należy zauważyć, że technologia
210 Xen jest ciągle rozwijana, a ten RPM był słabo testowany. Nie należy
211 być zdziwionym, jeśli ten pakiet zje dane, wypije całą kawę czy będzie
212 się wyśmiewał w obecności przyjaciół.
215 Summary: Xen tools for virtual machines
216 Summary(pl.UTF-8): Narzędzia Xen dla maszyn virtualnych
217 Group: Applications/System
218 Requires: %{name}-libs-guest = %{version}-%{release}
221 Xen utilities for both dom0 and domU virtual domains.
223 %description guest -l pl.UTF-8
224 Narzędzia Xena dla maszyn wirtualnych dom0 i domU.
227 Summary: Xen libraries
228 Summary(pl.UTF-8): Biblioteki Xena
230 Requires: %{name}-libs-guest = %{version}-%{release}
235 %description libs -l pl.UTF-8
239 Summary: Xen libraries for virtual machines
240 Summary(pl.UTF-8): Biblioteki Xena dla maszyn wirtualnych
243 %description libs-guest
244 Xen libraries for both dom0 and domU virtual machines.
246 %description libs-guest -l pl.UTF-8
247 Biblioteki Xena dla maszyn wirtualnych dom0 i domU.
250 Summary: Header files for Xen
251 Summary(pl.UTF-8): Pliki nagłówkowe Xena
252 Group: Development/Libraries
253 Requires: %{name}-libs = %{version}-%{release}
256 Header files for Xen.
258 %description devel -l pl.UTF-8
259 Pliki nagłówkowe Xena.
262 Summary: Static Xen libraries
263 Summary(pl.UTF-8): Statyczne biblioteki Xena
264 Group: Development/Libraries
265 Requires: %{name}-devel = %{version}-%{release}
268 Static Xen libraries.
270 %description static -l pl.UTF-8
271 Statyczne biblioteki Xena.
275 Summary(pl.UTF-8): Demon xend
277 Requires(post,preun,postun): systemd-units >= 38
278 Requires: systemd-units >= 38
283 %description xend -l pl.UTF-8
286 %package -n ocaml-xen
287 Summary: OCaml bindings for Xen
288 Summary(pl.UTF-8): Wiązania OCamla dla Xena
289 License: LGPL v2.1 with linking exception
291 Requires: %{name}-libs = %{version}-%{release}
293 %requires_eq ocaml-runtime
296 %description -n ocaml-xen
297 OCaml bindings for Xen.
299 %description -n ocaml-xen -l pl.UTF-8
300 Wiązania OCamla dla Xena.
302 %package -n ocaml-xen-devel
303 Summary: OCaml bindings for Xen - development files
304 Summary(pl.UTF-8): Wiązania OCamla dla Xena - pliki programistyczne
305 License: LGPL v2.1 with linking exception
306 Group: Development/Libraries
307 Requires: ocaml-xen = %{version}-%{release}
312 %description -n ocaml-xen-devel
313 OCaml bindings for Xen - development files.
315 %description -n ocaml-xen-devel -l pl.UTF-8
316 Wiązania OCamla dla Xena - pliki programistyczne.
318 %package -n python-xen
319 Summary: Xen Python modules
320 Summary(pl.UTF-8): Moduły Pythona dla Xena
322 Requires: %{name}-libs = %{version}-%{release}
323 Conflicts: xen < 3.2.1-0.3
325 %description -n python-xen
328 %description -n python-xen -l pl.UTF-8
329 Moduły Pythona dla Xena.
331 %package -n python-xen-guest
332 Summary: Xen Python modules for virtual machines
333 Summary(pl.UTF-8): Moduły Pythona dla maszyn wirtualnych Xena
335 Requires: %{name}-libs-guest = %{version}-%{release}
336 Conflicts: xen < 3.2.1-0.3
338 %description -n python-xen-guest
339 Xen Python modules for both dom0 and domU virtual machines.
341 %description -n python-xen-guest -l pl.UTF-8
342 Moduły Pythona dla maszyn wirtualnych dom0 i domU.
344 %package -n bash-completion-%{name}
345 Summary: bash-completion for Xen (xl)
346 Summary(pl.UTF-8): Bashowe dopełnianie poleceń dla Xena (xl)
347 Group: Applications/Shells
348 Requires: %{name} = %{version}-%{release}
349 Requires: bash-completion
351 %description -n bash-completion-%{name}
352 This package provides bash-completion for Xen (xl).
354 %description -n bash-completion-%{name} -l pl.UTF-8
355 Ten pakiet zapewnia bashowe dopełnianie poleceń dla Xena (xl).
358 Summary: Xen hypervisor binary for EFI
359 Summary(pl.UTF-8): Hipernadzorca Xen dla EFI
360 Group: Applications/System
361 Requires: %{name}-libs-guest = %{version}-%{release}
364 Xen hypervisor EFI binary, which can be booted directly from (U)EFI
365 firmware without help from any additional bootloader.
367 %description efi -l pl.UTF-8
368 Nadzorca Xen w postaci, która może być uruchomiona wprost z firmware
369 (U)EFI, bez potrzeby oddzielnego bootloadera.
392 ln -s %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} stubdom
393 ln -s %{SOURCE15} tools/firmware/etherboot/ipxe.tar.gz
395 # do not allow fetching anything via git
396 echo GIT=/bin/false >> Config.mk
399 # if gold is used then bioses and grub doesn't build
401 ln -s /usr/bin/ld.bfd our-ld/ld
402 export PATH=$(pwd)/our-ld:$PATH
404 export CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
405 export CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
408 # - there is a quoting bug (in tools/driver/Makefile) that causes
409 # openssl is used instead of gcrypt; that's OK, openssl is obligatory
410 # anyway (see configure), gcrypt is optional
411 # - prevent libiconv from being detected (not needed with glibc)
414 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" \
415 ac_cv_lib_iconv_libiconv_open=no \
419 %{__make} dist-xen dist-tools dist-docs \
420 %{!?with_ocaml:OCAML_TOOLS=n} \
429 %{__make} -j1 dist-stubdom \
430 %{!?with_ocaml:OCAML_TOOLS=n} \
436 rm -rf $RPM_BUILD_ROOT
437 install -d $RPM_BUILD_ROOT/etc/{xen/examples,modules-load.d,logrotate.d} \
438 $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir},/var/log/xen/console} \
439 $RPM_BUILD_ROOT/etc/efi-boot/update.d
441 %{__make} -j1 install-xen install-tools install-stubdom install-docs \
442 %{!?with_ocaml:OCAML_TOOLS=n} \
444 DESTDIR=$RPM_BUILD_ROOT \
445 HOTPLUGS=install-udev
447 %if "%{_lib}" == "lib64"
448 ln -s %{_prefix}/lib/%{name}/bin/qemu-dm $RPM_BUILD_ROOT%{_libdir}/%{name}/bin/qemu-dm
451 install %{SOURCE30} $RPM_BUILD_ROOT%{systemdunitdir}/proc-xen.mount
452 install %{SOURCE31} $RPM_BUILD_ROOT%{systemdunitdir}/var-lib-xenstored.mount
453 install %{SOURCE32} $RPM_BUILD_ROOT%{systemdunitdir}/blktapctrl.service
454 install %{SOURCE33} $RPM_BUILD_ROOT/etc/sysconfig/blktapctrl
455 install %{SOURCE34} $RPM_BUILD_ROOT%{systemdunitdir}/xenconsoled.service
456 install %{SOURCE35} $RPM_BUILD_ROOT/etc/sysconfig/xenconsoled
457 install %{SOURCE36} $RPM_BUILD_ROOT%{systemdunitdir}/xenstored.service
458 install %{SOURCE37} $RPM_BUILD_ROOT/etc/sysconfig/xenstored
459 install %{SOURCE38} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xenstored.conf
460 install %{SOURCE39} $RPM_BUILD_ROOT%{systemdunitdir}/xend.service
461 install %{SOURCE40} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xend.conf
462 install %{SOURCE41} $RPM_BUILD_ROOT%{systemdunitdir}/xen-watchdog.service
463 install %{SOURCE42} $RPM_BUILD_ROOT/etc/modules-load.d/xen-dom0.conf
464 install %{SOURCE43} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xendomains.sh
465 install %{SOURCE44} $RPM_BUILD_ROOT%{systemdunitdir}/xendomains.service
467 %{__rm} $RPM_BUILD_ROOT/etc/rc.d/init.d/*
468 install %{SOURCE50} $RPM_BUILD_ROOT/etc/rc.d/init.d/xend
469 install %{SOURCE51} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenconsoled
470 install %{SOURCE52} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenstored
471 install %{SOURCE53} $RPM_BUILD_ROOT/etc/rc.d/init.d/xen-watchdog
472 install %{SOURCE54} $RPM_BUILD_ROOT/etc/rc.d/init.d/xendomains
473 install %{SOURCE55} $RPM_BUILD_ROOT/etc/logrotate.d/xen
474 install %{SOURCE56} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/xen.conf
476 install %{SOURCE60} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xen-init-list
477 install %{SOURCE61} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/bin/xen-toolstack
480 install %{SOURCE57} $RPM_BUILD_ROOT/etc/efi-boot/xen.cfg
481 sed -e's;@libdir@;%{_libdir};g' -e's;@target_cpu@;%{_target_cpu};g' \
482 %{SOURCE58} > $RPM_BUILD_ROOT/etc/efi-boot/update.d/xen.conf
485 mv $RPM_BUILD_ROOT/etc/xen/{x{m,l}example*,examples}
487 install %{SOURCE59} $RPM_BUILD_ROOT%{_sysconfdir}/xen/scripts/vif-openvswitch
491 for tool in blktap blktap2 pygrub xenmon ; do
492 cp -p tools/$tool/README _doc/README.$tool
494 cp -al tools/qemu-xen/docs _doc/qemu-xen
496 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
497 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
501 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/qemu.1
502 mv $RPM_BUILD_ROOT%{_mandir}/man1/qemu-img{,-xen}.1
503 mv $RPM_BUILD_ROOT%{_mandir}/man8/qemu-nbd{,-xen}.8
504 # seems not needed, the path is wrong anyway
505 %{__rm} $RPM_BUILD_ROOT%{_prefix}/etc/qemu/target-x86_64.conf
507 # remove unneeded files
508 %{__rm} $RPM_BUILD_ROOT/boot/xen-4.2.gz
509 %{__rm} $RPM_BUILD_ROOT/boot/xen-4.gz
510 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xen
511 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/qemu
512 %{__rm} $RPM_BUILD_ROOT%{_includedir}/%{name}/COPYING
515 rm -rf $RPM_BUILD_ROOT
518 /sbin/chkconfig --add xen-watchdog
519 /sbin/chkconfig --add xenconsoled
520 /sbin/chkconfig --add xenstored
521 /sbin/chkconfig --add xendomains
522 %systemd_post xen-watchdog.service xenconsoled.service xenstored.service xendomains.service
525 if [ "$1" = "0" ]; then
526 %service xendomains stop
527 /sbin/chkconfig --del xendomains
529 %service xenconsoled stop
530 /sbin/chkconfig --del xenconsoled
532 %service xenstored stop
533 /sbin/chkconfig --del xenstored
535 %service xen-watchdog stop
536 /sbin/chkconfig --del xen-watchdog
538 %systemd_preun xen-watchdog.service xenconsoled.service xenstored.service xendomains.service
544 /sbin/chkconfig --add xend
545 %systemd_post xend.service
548 if [ "$1" = "0" ]; then
550 /sbin/chkconfig --del xend
552 %systemd_preun xend.service
557 %post libs -p /sbin/ldconfig
558 %postun libs -p /sbin/ldconfig
560 %post libs-guest -p /sbin/ldconfig
561 %postun libs-guest -p /sbin/ldconfig
564 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
567 %defattr(644,root,root,755)
568 %doc COPYING README* docs/misc/*
570 %doc tools/qemu-xen-dir/*.html
572 /boot/%{name}-syms-%{version}
573 /boot/%{name}-%{version}.gz
575 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenconsoled
576 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenstored
577 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xendomains
578 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xencommons
579 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/xen
580 %attr(754,root,root) /etc/rc.d/init.d/xen-watchdog
581 %attr(754,root,root) /etc/rc.d/init.d/xenconsoled
582 %attr(754,root,root) /etc/rc.d/init.d/xenstored
583 %attr(754,root,root) /etc/rc.d/init.d/xendomains
584 %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/xen-dom0.conf
585 %{systemdunitdir}/proc-xen.mount
586 %{systemdunitdir}/var-lib-xenstored.mount
587 %{systemdunitdir}/xen-watchdog.service
588 %{systemdunitdir}/xenconsoled.service
589 %{systemdunitdir}/xenstored.service
590 %{systemdunitdir}/xendomains.service
591 %dir %{_sysconfdir}/xen
592 %dir %{_sysconfdir}/xen/auto
593 %dir %{_sysconfdir}/xen/examples
594 %dir %{_sysconfdir}/xen/scripts
595 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/scripts/*
596 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/examples/*
597 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/README*
598 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/cpupool
599 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xl.conf
600 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xen-backend.rules
601 %attr(755,root,root) %{_bindir}/pygrub
602 %attr(755,root,root) %{_bindir}/qemu-img-xen
603 %attr(755,root,root) %{_bindir}/qemu-nbd-xen
604 %attr(755,root,root) %{_bindir}/remus
605 %attr(755,root,root) %{_bindir}/xencons
606 %attr(755,root,root) %{_bindir}/xentrace*
607 %attr(755,root,root) %{_sbindir}/blktapctrl
608 %attr(755,root,root) %{_sbindir}/flask-*
609 %attr(755,root,root) %{_sbindir}/gdbsx
610 %attr(755,root,root) %{_sbindir}/gtrace*
611 %attr(755,root,root) %{_sbindir}/img2qcow
612 %attr(755,root,root) %{_sbindir}/kdd
613 %attr(755,root,root) %{_sbindir}/lock-util
614 %attr(755,root,root) %{_sbindir}/qcow-create
615 %attr(755,root,root) %{_sbindir}/qcow2raw
616 %attr(755,root,root) %{_sbindir}/tap-ctl
617 %attr(755,root,root) %{_sbindir}/tapdisk*
618 %attr(755,root,root) %{_sbindir}/td-util
619 %attr(755,root,root) %{_sbindir}/vhd-*
620 %attr(755,root,root) %{_sbindir}/xen-*
621 %attr(755,root,root) %{_sbindir}/xenbaked
622 %attr(755,root,root) %{_sbindir}/xenconsoled
623 %attr(755,root,root) %{_sbindir}/xenlockprof
624 %attr(755,root,root) %{_sbindir}/xenmon.py
625 %attr(755,root,root) %{_sbindir}/xenperf
626 %attr(755,root,root) %{_sbindir}/xenpm
627 %attr(755,root,root) %{_sbindir}/xenpmd
628 %attr(755,root,root) %{_sbindir}/xenstored
629 %attr(755,root,root) %{_sbindir}/xentop
630 %attr(755,root,root) %{_sbindir}/xentrace_setmask
631 %attr(755,root,root) %{_sbindir}/xenwatchdogd
632 %attr(755,root,root) %{_sbindir}/xl
633 %attr(755,root,root) %{_sbindir}/xsview
634 %dir %{_libdir}/%{name}
635 %dir %{_libdir}/%{name}/bin
636 %attr(744,root,root) %{_libdir}/%{name}/bin/*
637 %if "%{_lib}" != "lib"
638 %dir %{_prefix}/lib/%{name}
639 %dir %{_prefix}/lib/%{name}/bin
640 %attr(755,root,root) %{_prefix}/lib/%{name}/bin/*
642 %dir %{_prefix}/lib/%{name}/boot
643 %{_prefix}/lib/%{name}/boot/ioemu-stubdom.gz
644 %{_prefix}/lib/%{name}/boot/pv-grub-x86_32.gz
646 %{_prefix}/lib/%{name}/boot/pv-grub-x86_64.gz
648 %{_prefix}/lib/%{name}/boot/xenstore-stubdom.gz
649 %attr(744,root,root) %{_prefix}/lib/%{name}/boot/hvmloader
651 %{_mandir}/man1/qemu-img-xen.1*
652 %{_mandir}/man1/xentop.1*
653 %{_mandir}/man1/xentrace_format.1*
654 %{_mandir}/man1/xl.1*
655 %{_mandir}/man1/xm.1*
656 %{_mandir}/man5/xend-config.sxp.5*
657 %{_mandir}/man5/xl.cfg.5*
658 %{_mandir}/man5/xl.conf.5*
659 %{_mandir}/man5/xlcpupool.cfg.5*
660 %{_mandir}/man5/xmdomain.cfg.5*
661 %{_mandir}/man8/qemu-nbd-xen.8*
662 %{_mandir}/man8/xentrace.8*
663 %{_sharedstatedir}/xen
664 %{_sharedstatedir}/xenstored
665 %dir /var/run/xenstored
666 %{systemdtmpfilesdir}/xenstored.conf
667 %{systemdtmpfilesdir}/xen.conf
668 %dir %attr(0700,root,root) /var/log/xen
669 %dir %attr(0700,root,root) /var/log/xen/console
673 %defattr(644,root,root,755)
674 %attr(755,root,root) %{_bindir}/xen-detect
675 %attr(755,root,root) %{_bindir}/xenstore*
678 %defattr(644,root,root,755)
679 %attr(755,root,root) %{_libdir}/libblktap.so.*.*.*
680 %attr(755,root,root) %ghost %{_libdir}/libblktap.so.3.0
681 %attr(755,root,root) %{_libdir}/libblktapctl.so.*.*.*
682 %attr(755,root,root) %ghost %{_libdir}/libblktapctl.so.1.0
683 %attr(755,root,root) %{_libdir}/libfsimage.so.*.*.*
684 %attr(755,root,root) %ghost %{_libdir}/libfsimage.so.1.0
685 %attr(755,root,root) %{_libdir}/libvhd.so.*.*.*
686 %attr(755,root,root) %ghost %{_libdir}/libvhd.so.1.0
687 %attr(755,root,root) %{_libdir}/libxenctrl.so.*.*.*
688 %attr(755,root,root) %ghost %{_libdir}/libxenctrl.so.4.2
689 %attr(755,root,root) %{_libdir}/libxenguest.so.*.*.*
690 %attr(755,root,root) %ghost %{_libdir}/libxenguest.so.4.2
691 %attr(755,root,root) %{_libdir}/libxenlight.so.*.*.*
692 %attr(755,root,root) %ghost %{_libdir}/libxenlight.so.2.0
693 %attr(755,root,root) %{_libdir}/libxenstat.so.*.*
694 %attr(755,root,root) %ghost %{_libdir}/libxenstat.so.0
695 %attr(755,root,root) %{_libdir}/libxenvchan.so.*.*.*
696 %attr(755,root,root) %ghost %{_libdir}/libxenvchan.so.1.0
697 %attr(755,root,root) %{_libdir}/libxlutil.so.*.*.*
698 %attr(755,root,root) %ghost %{_libdir}/libxlutil.so.1.0
700 %dir %{_libdir}/fs/ext2fs-lib
701 %dir %{_libdir}/fs/fat
702 %dir %{_libdir}/fs/iso9660
703 %dir %{_libdir}/fs/reiserfs
704 %dir %{_libdir}/fs/ufs
705 %dir %{_libdir}/fs/xfs
706 %dir %{_libdir}/fs/zfs
707 %attr(755,root,root) %{_libdir}/fs/*/fsimage.so
710 %defattr(644,root,root,755)
711 %attr(755,root,root) %{_libdir}/libxenstore.so.*.*.*
712 %attr(755,root,root) %ghost %{_libdir}/libxenstore.so.3.0
715 %defattr(644,root,root,755)
716 %attr(755,root,root) %{_libdir}/libblktap.so
717 %attr(755,root,root) %{_libdir}/libblktapctl.so
718 %attr(755,root,root) %{_libdir}/libfsimage.so
719 %attr(755,root,root) %{_libdir}/libvhd.so
720 %attr(755,root,root) %{_libdir}/libxenctrl.so
721 %attr(755,root,root) %{_libdir}/libxenguest.so
722 %attr(755,root,root) %{_libdir}/libxenlight.so
723 %attr(755,root,root) %{_libdir}/libxenstat.so
724 %attr(755,root,root) %{_libdir}/libxenstore.so
725 %attr(755,root,root) %{_libdir}/libxenvchan.so
726 %attr(755,root,root) %{_libdir}/libxlutil.so
727 %{_includedir}/_libxl_list.h
728 %{_includedir}/_libxl_types.h
729 %{_includedir}/_libxl_types_json.h
730 %{_includedir}/blktaplib.h
731 %{_includedir}/fsimage*.h
732 %{_includedir}/libxenvchan.h
733 %{_includedir}/libxl*.h
734 %{_includedir}/xen*.h
737 %{_includedir}/xenstore-compat
740 %defattr(644,root,root,755)
741 %{_libdir}/libblktap.a
742 %{_libdir}/libblktapctl.a
744 %{_libdir}/libxenctrl.a
745 %{_libdir}/libxenguest.a
746 %{_libdir}/libxenlight.a
747 %{_libdir}/libxenvchan.a
748 %{_libdir}/libxenstat.a
749 %{_libdir}/libxenstore.a
750 %{_libdir}/libxlutil.a
753 %defattr(644,root,root,755)
754 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blktapctrl
755 %{systemdunitdir}/blktapctrl.service
756 %{systemdunitdir}/xend.service
757 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/xend
758 %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xend.rules
759 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xm*
760 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xend*
761 %attr(755,root,root) %{_sbindir}/xend
762 %attr(755,root,root) %{_sbindir}/xm
763 %dir %attr(700,root,root) /var/run/xend
764 %{systemdtmpfilesdir}/xend.conf
768 %defattr(644,root,root,755)
769 %doc tools/ocaml/LICENSE
770 %attr(755,root,root) %{_sbindir}/oxenstored
771 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/oxenstored.conf
772 %dir %{_libdir}/ocaml/site-lib/xenbus
773 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenbus/dllxenbus_stubs.so
774 %dir %{_libdir}/ocaml/site-lib/xenctrl
775 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenctrl/dllxenctrl_stubs.so
776 %dir %{_libdir}/ocaml/site-lib/xeneventchn
777 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xeneventchn/dllxeneventchn_stubs.so
778 %dir %{_libdir}/ocaml/site-lib/xenlight
779 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenlight/dllxenlight_stubs.so
780 %dir %{_libdir}/ocaml/site-lib/xenmmap
781 %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenmmap/dllxenmmap_stubs.so
783 %files -n ocaml-xen-devel
784 %defattr(644,root,root,755)
785 %{_libdir}/ocaml/site-lib/xenbus/META
786 %{_libdir}/ocaml/site-lib/xenbus/libxenbus_stubs.a
787 %{_libdir}/ocaml/site-lib/xenbus/xenbus.a
788 %{_libdir}/ocaml/site-lib/xenbus/*.cm[aixo]*
789 %{_libdir}/ocaml/site-lib/xenctrl/META
790 %{_libdir}/ocaml/site-lib/xenctrl/libxenctrl_stubs.a
791 %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.a
792 %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.cm[aix]*
793 %{_libdir}/ocaml/site-lib/xeneventchn/META
794 %{_libdir}/ocaml/site-lib/xeneventchn/libxeneventchn_stubs.a
795 %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.a
796 %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.cm[aix]*
797 %{_libdir}/ocaml/site-lib/xenmmap/META
798 %{_libdir}/ocaml/site-lib/xenmmap/libxenmmap_stubs.a
799 %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.a
800 %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.cm[aix]*
801 %{_libdir}/ocaml/site-lib/xenlight/META
802 %{_libdir}/ocaml/site-lib/xenlight/libxenlight_stubs.a
803 %{_libdir}/ocaml/site-lib/xenlight/xenlight.a
804 %{_libdir}/ocaml/site-lib/xenlight/xenlight.cm[aix]*
805 %dir %{_libdir}/ocaml/site-lib/xenstore
806 %{_libdir}/ocaml/site-lib/xenstore/META
807 %{_libdir}/ocaml/site-lib/xenstore/xenstore.a
808 %{_libdir}/ocaml/site-lib/xenstore/*.cm[aixo]*
812 %defattr(644,root,root,755)
813 %attr(755,root,root) %{py_sitedir}/fsimage.so
815 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/checkpoint.so
816 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/flask.so
817 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/netlink.so
818 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/ptsname.so
819 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xc.so
820 %{py_sitedir}/xen/remus
822 %{py_sitedir}/xen/util
823 %{py_sitedir}/xen/web
824 %{py_sitedir}/xen/xend
826 %{py_sitedir}/xen/xsview
827 %if "%{py_ver}" > "2.4"
828 %{py_sitedir}/pygrub-0.3-py*.egg-info
829 %{py_sitedir}/xen-3.0-py*.egg-info
832 %files -n python-xen-guest
833 %defattr(644,root,root,755)
834 %dir %{py_sitedir}/xen
835 %{py_sitedir}/xen/__init__.py*
836 %dir %{py_sitedir}/xen/lowlevel
837 %{py_sitedir}/xen/lowlevel/__init__.py*
838 %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xs.so
840 %files -n bash-completion-%{name}
841 %defattr(644,root,root,755)
842 /etc/bash_completion.d/xl.sh
846 %defattr(644,root,root,755)
849 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/xen.cfg
850 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.d/xen.conf