1 Summary: Xen is a virtual machine monitor
5 Group: Development/Libraries
7 URL: http://www.sourceforge.net/projects/xen/
8 Source0: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/%{name}-unstable-src.tgz
9 BuildRequires: python-Twisted
10 BuildRequires: bridge-utils
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 This package contains the Xen hypervisor and Xen tools, needed to run
15 virtual machines on x86 systems, together with the kernel-xen*
16 packages. Information on how to use Xen can be found at the Xen
19 Virtualisation can be used to run multiple versions or multiple Linux
20 distributions on one system, or to test untrusted applications in a
21 sandboxed environment. Note that the Xen technology is still in
22 development, and this RPM has received extremely little testing. Don't
23 be surprised if this RPM eats your data, drinks your coffee or makes
24 fun of you in front of your friends.
27 %setup -q -n xen-unstable
30 CFLAGS="%{rpmcflags}" %{__make} xen tools docs
33 rm -rf $RPM_BUILD_ROOT
34 %{__make} prefix=$RPM_BUILD_ROOT \
39 install -d $RPM_BUILD_ROOT%{_mandir}
40 mv $RPM_BUILD_ROOT%{_prefix}/man/* $RPM_BUILD_ROOT%{_mandir}
42 rm -f $RPM_BUILD_ROOT%{_includedir}/%{name}/COPYING
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc COPYING ChangeLog README docs
52 %attr(755,root,root) %{_sbindir}/netfix
53 %attr(755,root,root) %{_sbindir}/xend
54 %attr(755,root,root) %{_sbindir}/xensv
55 %attr(755,root,root) %{_sbindir}/xfrd
56 %attr(755,root,root) %{_sbindir}/xm
57 %attr(755,root,root) %{_sbindir}/xenperf
58 %attr(755,root,root) %{_bindir}/xenperf
59 %attr(755,root,root) %{_bindir}/miniterm
60 %attr(755,root,root) %{_bindir}/xencons
61 %attr(755,root,root) %{_bindir}/xentrace
62 %attr(755,root,root) %{_bindir}/xentrace_format
64 %dir %{_includedir}/%{name}
65 %{_includedir}/%{name}/*.h
66 %{_includedir}/%{name}/*/*.h
68 %{_libdir}/libxutil.so.*
70 %{_libdir}/libxutil.so
72 %dir %{_libdir}/python%{pyver}/site-packages/%{name}
73 %{_libdir}/python%{pyver}/site-packages/%{name}/*.pyc
74 %{_libdir}/python%{pyver}/site-packages/%{name}/*.py
75 %{_libdir}/python%{pyver}/site-packages/%{name}/*/*.pyc
76 %{_libdir}/python%{pyver}/site-packages/%{name}/*/*.py
77 %{_libdir}/python%{pyver}/site-packages/%{name}/*/*/*.pyc
78 %{_libdir}/python%{pyver}/site-packages/%{name}/*/*/*.py
79 %{_libdir}/python%{pyver}/site-packages/%{name}/lowlevel/*.so
80 %{_mandir}/man?/*.?.gz
81 %dir %{_localstatedir}/%{name}
82 %{_localstatedir}/%{name}/sv/inc/*.css
83 %{_localstatedir}/%{name}/sv/inc/*.js
84 %{_localstatedir}/%{name}/sv/images/*.png
85 %{_localstatedir}/%{name}/sv/images/*.jpg
86 %{_localstatedir}/%{name}/sv/*.rpy
87 %{_sysconfdir}/init.d/xend
88 %{_sysconfdir}/init.d/xendomains
89 %dir %{_sysconfdir}/%{name}
90 %{_sysconfdir}/%{name}/scripts/block-enbd
91 %{_sysconfdir}/%{name}/scripts/block-file
92 %{_sysconfdir}/%{name}/scripts/network
93 %{_sysconfdir}/%{name}/scripts/vif-bridge
94 %{_sysconfdir}/%{name}/xend-config.sxp
95 %{_sysconfdir}/%{name}/xmexample1
96 %{_sysconfdir}/%{name}/xmexample2