]>
Commit | Line | Data |
---|---|---|
2f3b83cd | 1 | # |
403a0e9f | 2 | # TODO: |
7f699907 | 3 | # - most of the qemu config options aren't detected (NPTL, vde, fdt) |
263a9ffc JK |
4 | # - check if other tools/libs are not usable in domU, move them to -guest |
5 | # packages if so | |
7f699907 JK |
6 | # - pass bconds to qemu configure script (tricky, as the script is called from |
7 | # Xen Makefiles) | |
b650a78f | 8 | # |
732e4a65 JR |
9 | # |
10 | # Conditional build: | |
1c511a89 JB |
11 | %bcond_without opengl # disable OpenGL support in Xen qemu |
12 | %bcond_without sdl # disable SDL support in Xen qemu | |
13 | %bcond_without bluetooth # disable bluetooth support in Xen qemu | |
14 | %bcond_without brlapi # disable brlapi support in Xen qemu | |
e6e7d0de | 15 | %bcond_without ocaml # build Ocaml libraries for Xen tools |
732e4a65 | 16 | # |
7f699907 JK |
17 | # from Config.mk: |
18 | %define seabios_version 1.6.3.2 | |
19 | # | |
c1281a11 | 20 | %define xen_extfiles_url http://xenbits.xensource.com/xen-extfiles |
adbb6385 | 21 | Summary: Xen - a virtual machine monitor |
a1a3c257 | 22 | Summary(pl.UTF-8): Xen - monitor maszyny wirtualnej |
fda6847b | 23 | Name: xen |
bf4f47e8 JK |
24 | Version: 4.2.0 |
25 | Release: 0.1 | |
e6e7d0de | 26 | License: GPL v2, interface parts on BSD-like |
129858a4 | 27 | Group: Applications/System |
98fa2458 | 28 | Source0: http://bits.xensource.com/oss-xen/release/%{version}/%{name}-%{version}.tar.gz |
bf4f47e8 | 29 | # Source0-md5: f4f217969afc38f09251039966d91a87 |
c1281a11 | 30 | # used by stubdoms |
94b34ae4 | 31 | Source10: %{xen_extfiles_url}/lwip-1.3.0.tar.gz |
c1281a11 | 32 | # Source10-md5: 36cc57650cffda9a0269493be2a169bb |
94b34ae4 | 33 | Source11: %{xen_extfiles_url}/newlib-1.16.0.tar.gz |
c1281a11 | 34 | # Source11-md5: bf8f1f9e3ca83d732c00a79a6ef29bc4 |
94b34ae4 | 35 | Source12: %{xen_extfiles_url}/zlib-1.2.3.tar.gz |
c1281a11 | 36 | # Source12-md5: debc62758716a169df9f62e6ab2bc634 |
94b34ae4 | 37 | Source13: %{xen_extfiles_url}/pciutils-2.2.9.tar.bz2 |
c1281a11 | 38 | # Source13-md5: cec05e7785497c5e19da2f114b934ffd |
94b34ae4 | 39 | Source14: %{xen_extfiles_url}/grub-0.97.tar.gz |
c1281a11 | 40 | # Source14-md5: cd3f3eb54446be6003156158d51f4884 |
bf4f47e8 JK |
41 | Source15: http://xenbits.xen.org/xen-extfiles/ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz |
42 | # Source15-md5: 7496268cebf47d5c9ccb0696e3b26065 | |
7f699907 JK |
43 | # http://xenbits.xen.org/git-http/seabios.git/ |
44 | # git archive --prefix=tools/firmware/seabios/ --format=tar rel-%{seabios_version} | xz > seabios-%{seabios_version}.tar.xz | |
45 | Source16: seabios-%{seabios_version}.tar.xz | |
46 | # Source16-md5: 145e07ff5618a3999f94f2e830d06b05 | |
2e8b91a6 JR |
47 | Source30: proc-xen.mount |
48 | Source31: var-lib-xenstored.mount | |
49 | Source32: blktapctrl.service | |
50 | Source33: blktapctrl.sysconfig | |
51 | Source34: xenconsoled.service | |
52 | Source35: xenconsoled.sysconfig | |
53 | Source36: xenstored.service | |
54 | Source37: xenstored.sysconfig | |
55 | Source38: xenstored.tmpfiles | |
56 | Source39: xend.service | |
57 | Source40: xend.tmpfiles | |
58 | Source41: xen-watchdog.service | |
36106ee8 | 59 | Source42: xen-dom0-modules-load.conf |
2e8b91a6 JR |
60 | # sysvinit scripts |
61 | Source50: xend.init | |
62 | Source51: xenconsoled.init | |
63 | Source52: xenstored.init | |
64 | Source53: xen-watchdog.init | |
65 | Source54: xendomains.init | |
66 | Source55: xen.logrotate | |
47d65e01 | 67 | Patch0: %{name}-python_scripts.patch |
e9753e37 MM |
68 | Patch1: %{name}-symbols.patch |
69 | Patch2: %{name}-curses.patch | |
7f699907 JK |
70 | Patch3: pygrubfix.patch |
71 | Patch4: xend.catchbt.patch | |
72 | Patch5: xend-pci-loop.patch | |
73 | Patch6: xen-dumpdir.patch | |
bf4f47e8 | 74 | # Warning: this disables ingress filtering implemented in xen scripts! |
7f699907 JK |
75 | Patch7: xen-net-disable-iptables-on-bridge.patch |
76 | Patch8: xen-configure-xend.patch | |
77 | Patch9: xen-initscript.patch | |
78 | Patch10: xen-quemu-softloat-c99.patch | |
79 | URL: http://www.xen.org/products/xenhyp.html | |
f0691982 | 80 | %{?with_opengl:BuildRequires: OpenGL-devel} |
1c511a89 JB |
81 | %{?with_sdl:BuildRequires: SDL-devel >= 1.2.1} |
82 | %ifarch %{ix86} %{x8664} | |
24d6dc2b | 83 | BuildRequires: acpica |
2e8b91a6 | 84 | BuildRequires: bcc |
1c511a89 | 85 | %endif |
7f699907 JK |
86 | %{?with_bluetooth:BuildRequires: bluez-libs-devel} |
87 | %{?with_brlapi:BuildRequires: brlapi-devel} | |
1c511a89 JB |
88 | BuildRequires: bzip2-devel |
89 | BuildRequires: ceph-devel | |
39eabac9 | 90 | BuildRequires: curl-devel |
1c511a89 | 91 | BuildRequires: cyrus-sasl-devel >= 2 |
d9ee3ddc | 92 | BuildRequires: e2fsprogs-devel |
fc7816dc | 93 | BuildRequires: gcc >= 5:3.4 |
abdd4c6d | 94 | BuildRequires: gettext-devel |
1c511a89 | 95 | BuildRequires: glib2-devel >= 1:2.12 |
04f24179 | 96 | BuildRequires: gnutls-devel |
145a61ab | 97 | BuildRequires: latex2html >= 2008 |
1c511a89 JB |
98 | BuildRequires: libaio-devel |
99 | BuildRequires: libiscsi-devel | |
100 | BuildRequires: libjpeg-devel | |
101 | BuildRequires: libpng-devel | |
102 | BuildRequires: libuuid-devel | |
103 | BuildRequires: lzo-devel >= 2 | |
403a0e9f | 104 | BuildRequires: ncurses-devel |
732e4a65 JR |
105 | %if %{with ocaml} |
106 | BuildRequires: ocaml >= 3.04-7 | |
107 | BuildRequires: ocaml-findlib | |
732e4a65 | 108 | %endif |
1c511a89 JB |
109 | BuildRequires: nss-devel >= 3.12.8 |
110 | BuildRequires: openssl-devel | |
42bff0c7 | 111 | BuildRequires: pciutils-devel |
1c511a89 | 112 | BuildRequires: perl-base |
abdd4c6d | 113 | BuildRequires: pkgconfig |
53503036 | 114 | BuildRequires: python-devel |
48c47956 | 115 | BuildRequires: rpm-pythonprov |
5db31b25 | 116 | BuildRequires: rpmbuild(macros) >= 1.647 |
1c511a89 JB |
117 | BuildRequires: spice-protocol >= 0.6.0 |
118 | BuildRequires: spice-server-devel >= 0.6.0 | |
8505c292 | 119 | BuildRequires: texi2html |
7f699907 | 120 | BuildRequires: texlive-dvips |
f03e6adf | 121 | BuildRequires: texlive-latex-psnfss |
55fc09d2 | 122 | BuildRequires: texlive-xetex |
1c511a89 JB |
123 | # not adjusted for usbredir 0.5.x (libusbredirparser-0.5) |
124 | #BuildRequires: usbredir-devel | |
125 | BuildRequires: vde2-devel | |
12f352e2 | 126 | BuildRequires: which |
1c511a89 JB |
127 | # for xfsctl (<xfs/xfs.h>) |
128 | BuildRequires: xfsprogs-devel | |
04f24179 JB |
129 | BuildRequires: xorg-lib-libX11-devel |
130 | BuildRequires: xorg-lib-libXext-devel | |
7f699907 | 131 | BuildRequires: xz-devel |
bf4f47e8 | 132 | BuildRequires: yajl-devel |
53503036 | 133 | BuildRequires: zlib-devel |
1c511a89 JB |
134 | # FIXME: see qemu configure comments on top of spec |
135 | %{!?with_opengl:BuildConflicts: OpenGL-devel} | |
136 | %{!?with_sdl:BuildConflicts: SDL-devel} | |
137 | %{!?with_sdl:BuildConflicts: SDL-devel} | |
138 | %{!?with_bluetooth:BuildConflicts: bluez-libs-devel} | |
139 | %{!?with_brlapi:BuildConflicts: brlapi-devel} | |
129858a4 | 140 | Requires(post,preun): /sbin/chkconfig |
c2ee841b | 141 | Requires(post,preun,postun): systemd-units >= 38 |
9f9b2612 | 142 | Requires: %{name}-libs = %{version}-%{release} |
53503036 JB |
143 | Requires: ZopeInterface |
144 | Requires: bridge-utils | |
e77e45ff AM |
145 | Requires: coreutils |
146 | Requires: diffutils | |
d78769bd | 147 | Requires: gawk |
e77e45ff | 148 | Requires: iptables |
53503036 | 149 | Requires: losetup |
e77e45ff | 150 | Requires: net-tools |
8e6e2740 | 151 | Requires: python-%{name} = %{version}-%{release} |
129858a4 | 152 | Requires: rc-scripts |
e77e45ff | 153 | Requires: sed |
5db31b25 | 154 | Requires: systemd-units >= 38 |
a674a8b2 | 155 | Requires: util-linux |
e77e45ff | 156 | Requires: which |
263a9ffc | 157 | Requires: %{name}-guest = %{version}-%{release} |
cef7399d | 158 | Obsoletes: xen-doc |
2e8b91a6 | 159 | Obsoletes: xen-udev |
971d1e2c | 160 | ExclusiveArch: %{ix86} %{x8664} |
fda6847b AM |
161 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
162 | ||
02272923 JB |
163 | # some PPC/SPARC boot images in ELF format |
164 | %define _noautostrip .*%{_datadir}/\\(xen/qemu\\|qemu-xen\\)/\\(openbios-.*\\|palcode-clipper\\) | |
8f12ec8f | 165 | |
fda6847b AM |
166 | %description |
167 | This package contains the Xen hypervisor and Xen tools, needed to run | |
168 | virtual machines on x86 systems, together with the kernel-xen* | |
169 | packages. Information on how to use Xen can be found at the Xen | |
170 | project pages. | |
171 | ||
172 | Virtualisation can be used to run multiple versions or multiple Linux | |
173 | distributions on one system, or to test untrusted applications in a | |
174 | sandboxed environment. Note that the Xen technology is still in | |
175 | development, and this RPM has received extremely little testing. Don't | |
176 | be surprised if this RPM eats your data, drinks your coffee or makes | |
177 | fun of you in front of your friends. | |
178 | ||
d2a30a0d | 179 | %description -l pl.UTF-8 |
3615a8c8 | 180 | Ten pakiet zawiera nadzorcę oraz narzędzia Xen, potrzebne do |
adbb6385 | 181 | uruchamiania wirtualnych maszyn w systemach x86, wraz z pakietami |
3615a8c8 | 182 | kernel-xen*. Informacje jak używać Xena można znaleźć na stronach |
adbb6385 JB |
183 | projektu. |
184 | ||
3615a8c8 | 185 | Wirtualizacja może być używana do uruchamiania wielu wersji lub wielu |
dcba01a0 | 186 | dystrybucji Linuksa na jednym systemie lub do testowania nie zaufanych |
3615a8c8 ER |
187 | aplikacji w odizolowanym środowisku. Należy zauważyć, że technologia |
188 | Xen jest ciągle rozwijana, a ten RPM był słabo testowany. Nie należy | |
189 | być zdziwionym, jeśli ten pakiet zje dane, wypije całą kawę czy będzie | |
190 | się wyśmiewał w obecności przyjaciół. | |
403a0e9f | 191 | |
263a9ffc JK |
192 | %package guest |
193 | Summary: Xen tools for virtual machines | |
194 | Summary(pl.UTF-8): Narzędzia Xen dla maszyn virtualnych | |
195 | Group: Applications/System | |
196 | Requires: %{name}-libs-guest = %{version}-%{release} | |
197 | ||
198 | %description guest | |
199 | Xen utilities for both dom0 and domU virtual domains. | |
200 | ||
201 | %description guest -l pl.UTF-8 | |
202 | Narzędzia Xena dla maszyn wirtualnych dom0 i domU. | |
203 | ||
26412ee3 | 204 | %package libs |
e6e7d0de JB |
205 | Summary: Xen libraries |
206 | Summary(pl.UTF-8): Biblioteki Xena | |
26412ee3 | 207 | Group: Libraries |
a2f5a84a | 208 | Requires: %{name}-libs-guest = %{version}-%{release} |
26412ee3 JB |
209 | |
210 | %description libs | |
e6e7d0de | 211 | Xen libraries. |
26412ee3 JB |
212 | |
213 | %description libs -l pl.UTF-8 | |
e6e7d0de | 214 | Biblioteki Xena. |
26412ee3 | 215 | |
263a9ffc JK |
216 | %package libs-guest |
217 | Summary: Xen libraries for virtual machines | |
218 | Summary(pl.UTF-8): Biblioteki Xena dla maszyn wirtualnych | |
219 | Group: Libraries | |
220 | ||
221 | %description libs-guest | |
222 | Xen libraries for both dom0 and domU virtual machines. | |
223 | ||
224 | %description libs-guest -l pl.UTF-8 | |
225 | Biblioteki Xena dla maszyn wirtualnych dom0 i domU. | |
226 | ||
403a0e9f | 227 | %package devel |
e6e7d0de JB |
228 | Summary: Header files for Xen |
229 | Summary(pl.UTF-8): Pliki nagłówkowe Xena | |
403a0e9f | 230 | Group: Development/Libraries |
9f9b2612 | 231 | Requires: %{name}-libs = %{version}-%{release} |
403a0e9f AM |
232 | |
233 | %description devel | |
e6e7d0de | 234 | Header files for Xen. |
6eccf3e8 | 235 | |
d2a30a0d | 236 | %description devel -l pl.UTF-8 |
e6e7d0de | 237 | Pliki nagłówkowe Xena. |
403a0e9f AM |
238 | |
239 | %package static | |
e6e7d0de JB |
240 | Summary: Static Xen libraries |
241 | Summary(pl.UTF-8): Statyczne biblioteki Xena | |
403a0e9f | 242 | Group: Development/Libraries |
9f9b2612 | 243 | Requires: %{name}-devel = %{version}-%{release} |
403a0e9f AM |
244 | |
245 | %description static | |
e6e7d0de | 246 | Static Xen libraries. |
adbb6385 | 247 | |
d2a30a0d | 248 | %description static -l pl.UTF-8 |
e6e7d0de | 249 | Statyczne biblioteki Xena. |
6eccf3e8 | 250 | |
e9753e37 MM |
251 | %package xend |
252 | Summary: xend daemon | |
253 | Summary(pl.UTF-8): Demon xend | |
254 | Group: Daemons | |
c2ee841b | 255 | Requires(post,preun,postun): systemd-units >= 38 |
5db31b25 | 256 | Requires: systemd-units >= 38 |
e9753e37 MM |
257 | |
258 | %description xend | |
259 | xend daemon. | |
260 | ||
261 | %description xend -l pl.UTF-8 | |
262 | Demon xend. | |
263 | ||
e6e7d0de JB |
264 | %package -n ocaml-xen |
265 | Summary: OCaml bindings for Xen | |
266 | Summary(pl.UTF-8): Wiązania OCamla dla Xena | |
267 | License: LGPL v2.1 with linking exception | |
268 | Group: Libraries | |
269 | Requires: %{name}-libs = %{version}-%{release} | |
1d76ff09 | 270 | %if %{with ocaml} |
e6e7d0de | 271 | %requires_eq ocaml-runtime |
1d76ff09 | 272 | %endif |
f249176d | 273 | |
e6e7d0de JB |
274 | %description -n ocaml-xen |
275 | OCaml bindings for Xen. | |
276 | ||
277 | %description -n ocaml-xen -l pl.UTF-8 | |
278 | Wiązania OCamla dla Xena. | |
279 | ||
280 | %package -n ocaml-xen-devel | |
281 | Summary: OCaml bindings for Xen - development files | |
282 | Summary(pl.UTF-8): Wiązania OCamla dla Xena - pliki programistyczne | |
283 | License: LGPL v2.1 with linking exception | |
284 | Group: Development/Libraries | |
285 | Requires: ocaml-xen = %{version}-%{release} | |
1d76ff09 | 286 | %if %{with ocaml} |
e6e7d0de | 287 | %requires_eq ocaml |
1d76ff09 | 288 | %endif |
e6e7d0de JB |
289 | |
290 | %description -n ocaml-xen-devel | |
291 | OCaml bindings for Xen - development files. | |
292 | ||
293 | %description -n ocaml-xen-devel -l pl.UTF-8 | |
294 | Wiązania OCamla dla Xena - pliki programistyczne. | |
295 | ||
5dd334af | 296 | %package -n python-xen |
e6e7d0de JB |
297 | Summary: Xen Python modules |
298 | Summary(pl.UTF-8): Moduły Pythona dla Xena | |
5dd334af | 299 | Group: Libraries |
e6e7d0de | 300 | Requires: %{name}-libs = %{version}-%{release} |
e35fda92 | 301 | Conflicts: xen < 3.2.1-0.3 |
5dd334af JB |
302 | |
303 | %description -n python-xen | |
e6e7d0de | 304 | Xen Python modules. |
5dd334af JB |
305 | |
306 | %description -n python-xen -l pl.UTF-8 | |
e6e7d0de | 307 | Moduły Pythona dla Xena. |
5dd334af | 308 | |
263a9ffc JK |
309 | %package -n python-xen-guest |
310 | Summary: Xen Python modules for virtual machines | |
311 | Summary(pl.UTF-8): Moduły Pythona dla maszyn wirtualnych Xena | |
312 | Group: Libraries | |
313 | Requires: %{name}-libs-guest = %{version}-%{release} | |
314 | Conflicts: xen < 3.2.1-0.3 | |
315 | ||
316 | %description -n python-xen-guest | |
317 | Xen Python modules for both dom0 and domU virtual machines. | |
318 | ||
319 | %description -n python-xen-guest -l pl.UTF-8 | |
320 | Moduły Pythona dla maszyn wirtualnych dom0 i domU. | |
321 | ||
e9753e37 | 322 | %package -n bash-completion-%{name} |
e6e7d0de JB |
323 | Summary: bash-completion for Xen (xl) |
324 | Summary(pl.UTF-8): Bashowe dopełnianie poleceń dla Xena (xl) | |
e9753e37 MM |
325 | Group: Applications/Shells |
326 | Requires: %{name} = %{version}-%{release} | |
327 | Requires: bash-completion | |
328 | ||
329 | %description -n bash-completion-%{name} | |
e6e7d0de | 330 | This package provides bash-completion for Xen (xl). |
94b34ae4 JB |
331 | |
332 | %description -n bash-completion-%{name} -l pl.UTF-8 | |
e6e7d0de | 333 | Ten pakiet zapewnia bashowe dopełnianie poleceń dla Xena (xl). |
e9753e37 | 334 | |
fda6847b | 335 | %prep |
7f699907 | 336 | %setup -q -a 16 |
47d65e01 | 337 | %patch0 -p1 |
7f699907 JK |
338 | %patch1 -p1 |
339 | %patch2 -p1 | |
340 | %patch3 -p1 | |
53ff2d70 | 341 | %patch4 -p1 |
7f699907 JK |
342 | %patch5 -p1 |
343 | %patch6 -p1 | |
344 | %patch7 -p1 | |
6ca9eddd | 345 | %patch8 -p1 |
7f699907 | 346 | %patch9 -p1 |
6ca9eddd | 347 | %patch10 -p1 |
c1281a11 ER |
348 | |
349 | # stubdom sources | |
350 | ln -s %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} stubdom | |
c1281a11 | 351 | ln -s %{SOURCE15} tools/firmware/etherboot/ipxe.tar.gz |
fda6847b | 352 | |
7f699907 JK |
353 | # do not allow fetching anything via git |
354 | echo GIT=/bin/false >> Config.mk | |
355 | ||
fda6847b | 356 | %build |
2e8b91a6 JR |
357 | export CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
358 | export CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" | |
359 | ||
1c511a89 JB |
360 | # NOTE: |
361 | # - there is a quoting bug (in tools/driver/Makefile) that causes | |
362 | # openssl is used instead of gcrypt; that's OK, openssl is obligatory | |
363 | # anyway (see configure), gcrypt is optional | |
364 | # - prevent libiconv from being detected (not needed with glibc) | |
bf4f47e8 JK |
365 | cd tools |
366 | %configure \ | |
1c511a89 JB |
367 | CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" \ |
368 | ac_cv_lib_iconv_libiconv_open=no \ | |
369 | --disable-debug | |
bf4f47e8 JK |
370 | cd .. |
371 | ||
2e8b91a6 | 372 | %{__make} dist-xen dist-tools dist-docs \ |
732e4a65 | 373 | %{!?with_ocaml:OCAML_TOOLS=n} \ |
2e8b91a6 JR |
374 | prefix=%{_prefix} \ |
375 | CC="%{__cc}" \ | |
04f24179 JB |
376 | CXX="%{__cxx}" \ |
377 | V=1 | |
2e8b91a6 JR |
378 | |
379 | unset CFLAGS | |
380 | unset CXXFLAGS | |
bf4f47e8 | 381 | |
2e8b91a6 | 382 | %{__make} -j1 dist-stubdom \ |
732e4a65 | 383 | %{!?with_ocaml:OCAML_TOOLS=n} \ |
403a0e9f | 384 | CC="%{__cc}" \ |
da88b5cd | 385 | CXX="%{__cxx}" |
fda6847b AM |
386 | |
387 | %install | |
388 | rm -rf $RPM_BUILD_ROOT | |
245547b2 | 389 | install -d $RPM_BUILD_ROOT/etc/{xen/examples,modules-load.d,logrotate.d} \ |
ba7770de | 390 | $RPM_BUILD_ROOT{/usr/lib/tmpfiles.d,%{systemdunitdir},/var/log/xen/console} |
adbb6385 | 391 | |
2e8b91a6 | 392 | %{__make} -j1 install-xen install-tools install-stubdom install-docs \ |
732e4a65 | 393 | %{!?with_ocaml:OCAML_TOOLS=n} \ |
2e8b91a6 | 394 | prefix=%{_prefix} \ |
9e5cb9d3 JB |
395 | DESTDIR=$RPM_BUILD_ROOT \ |
396 | HOTPLUGS=install-udev | |
403a0e9f | 397 | |
a1283e56 JR |
398 | %if "%{_lib}" == "lib64" |
399 | ln -s %{_prefix}/lib/%{name}/bin/qemu-dm $RPM_BUILD_ROOT%{_libdir}/%{name}/bin/qemu-dm | |
400 | %endif | |
401 | ||
2e8b91a6 JR |
402 | install %{SOURCE30} $RPM_BUILD_ROOT%{systemdunitdir}/proc-xen.mount |
403 | install %{SOURCE31} $RPM_BUILD_ROOT%{systemdunitdir}/var-lib-xenstored.mount | |
5db31b25 JR |
404 | install %{SOURCE32} $RPM_BUILD_ROOT%{systemdunitdir}/blktapctrl.service |
405 | install %{SOURCE33} $RPM_BUILD_ROOT/etc/sysconfig/blktapctrl | |
2e8b91a6 | 406 | install %{SOURCE34} $RPM_BUILD_ROOT%{systemdunitdir}/xenconsoled.service |
4a5ac969 | 407 | install %{SOURCE35} $RPM_BUILD_ROOT/etc/sysconfig/xenconsoled |
2e8b91a6 | 408 | install %{SOURCE36} $RPM_BUILD_ROOT%{systemdunitdir}/xenstored.service |
4a5ac969 | 409 | install %{SOURCE37} $RPM_BUILD_ROOT/etc/sysconfig/xenstored |
2e8b91a6 JR |
410 | install %{SOURCE38} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/xenstored.conf |
411 | install %{SOURCE39} $RPM_BUILD_ROOT%{systemdunitdir}/xend.service | |
412 | install %{SOURCE40} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/xend.conf | |
413 | install %{SOURCE41} $RPM_BUILD_ROOT%{systemdunitdir}/xen-watchdog.service | |
36106ee8 | 414 | install %{SOURCE42} $RPM_BUILD_ROOT/etc/modules-load.d/xen-dom0.conf |
2e8b91a6 JR |
415 | # sysvinit scripts |
416 | %{__rm} $RPM_BUILD_ROOT/etc/rc.d/init.d/* | |
417 | install %{SOURCE50} $RPM_BUILD_ROOT/etc/rc.d/init.d/xend | |
418 | install %{SOURCE51} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenconsoled | |
419 | install %{SOURCE52} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenstored | |
420 | install %{SOURCE53} $RPM_BUILD_ROOT/etc/rc.d/init.d/xen-watchdog | |
421 | install %{SOURCE54} $RPM_BUILD_ROOT/etc/rc.d/init.d/xendomains | |
245547b2 | 422 | install %{SOURCE55} $RPM_BUILD_ROOT/etc/logrotate.d/xen |
2e8b91a6 | 423 | |
7f699907 | 424 | mv $RPM_BUILD_ROOT/etc/xen/{x{m,l}example*,examples} |
fda6847b | 425 | |
7f699907 JK |
426 | # for %%doc |
427 | install -d _doc | |
428 | for tool in blktap blktap2 pygrub xenmon ; do | |
429 | cp -p tools/$tool/README _doc/README.$tool | |
430 | done | |
431 | cp -al tools/qemu-xen/docs _doc/qemu-xen | |
67494ff6 | 432 | |
90eccaeb ER |
433 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} |
434 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
435 | ||
436 | %py_postclean | |
e9753e37 | 437 | |
02272923 | 438 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/qemu.1 |
7f699907 JK |
439 | mv $RPM_BUILD_ROOT%{_mandir}/man1/qemu-img{,-xen}.1 |
440 | mv $RPM_BUILD_ROOT%{_mandir}/man8/qemu-nbd{,-xen}.8 | |
02272923 JB |
441 | # seems not needed, the path is wrong anyway |
442 | %{__rm} $RPM_BUILD_ROOT%{_prefix}/etc/qemu/target-x86_64.conf | |
7f699907 | 443 | |
86497794 | 444 | # remove unneeded files |
bf4f47e8 | 445 | %{__rm} $RPM_BUILD_ROOT/boot/xen-4.2.gz |
e9753e37 | 446 | %{__rm} $RPM_BUILD_ROOT/boot/xen-4.gz |
8641374c | 447 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xen |
7f699907 | 448 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/qemu |
e9753e37 | 449 | %{__rm} $RPM_BUILD_ROOT%{_includedir}/%{name}/COPYING |
d26491b9 | 450 | |
fda6847b AM |
451 | %clean |
452 | rm -rf $RPM_BUILD_ROOT | |
453 | ||
403a0e9f | 454 | %post |
90a21d83 | 455 | /sbin/chkconfig --add xen-watchdog |
2e8b91a6 JR |
456 | /sbin/chkconfig --add xenconsoled |
457 | /sbin/chkconfig --add xenstored | |
403a0e9f | 458 | /sbin/chkconfig --add xendomains |
5db31b25 | 459 | %systemd_post xen-watchdog.service xenconsoled.service xenstored.service |
403a0e9f | 460 | |
403a0e9f | 461 | %preun |
e9753e37 MM |
462 | if [ "$1" = "0" ]; then |
463 | %service xendomains stop | |
464 | /sbin/chkconfig --del xendomains | |
465 | ||
2e8b91a6 JR |
466 | %service xenconsoled stop |
467 | /sbin/chkconfig --del xenconsoled | |
468 | ||
469 | %service xenstored stop | |
470 | /sbin/chkconfig --del xenstored | |
90a21d83 MM |
471 | |
472 | %service xen-watchdog stop | |
473 | /sbin/chkconfig --del xen-watchdog | |
e9753e37 | 474 | fi |
5db31b25 | 475 | %systemd_preun xen-watchdog.service xenconsoled.service xenstored.service |
e9753e37 | 476 | |
5db31b25 JR |
477 | %postun |
478 | %systemd_reload | |
479 | ||
480 | %post xend | |
e9753e37 | 481 | /sbin/chkconfig --add xend |
5db31b25 | 482 | %systemd_post xend.service |
e9753e37 MM |
483 | |
484 | %preun xend | |
403a0e9f | 485 | if [ "$1" = "0" ]; then |
129858a4 | 486 | %service xend stop |
403a0e9f | 487 | /sbin/chkconfig --del xend |
e9753e37 | 488 | fi |
5db31b25 JR |
489 | %systemd_preun xend.service |
490 | ||
491 | %postun xend | |
492 | %systemd_reload | |
129858a4 | 493 | |
26412ee3 JB |
494 | %post libs -p /sbin/ldconfig |
495 | %postun libs -p /sbin/ldconfig | |
496 | ||
263a9ffc JK |
497 | %post libs-guest -p /sbin/ldconfig |
498 | %postun libs-guest -p /sbin/ldconfig | |
499 | ||
fda6847b AM |
500 | %files |
501 | %defattr(644,root,root,755) | |
e9753e37 | 502 | %doc COPYING README* docs/misc/* |
47d65e01 | 503 | %doc docs/html/* |
7f699907 JK |
504 | %doc tools/qemu-xen-dir/*.html |
505 | %doc _doc/* | |
98fa2458 AM |
506 | /boot/%{name}-syms-%{version} |
507 | /boot/%{name}-%{version}.gz | |
fda6847b | 508 | /boot/%{name}.gz |
6ca9eddd JR |
509 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenconsoled |
510 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xenstored | |
511 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xendomains | |
7e5cc489 | 512 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xencommons |
245547b2 | 513 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/xen |
90a21d83 | 514 | %attr(754,root,root) /etc/rc.d/init.d/xen-watchdog |
2e8b91a6 JR |
515 | %attr(754,root,root) /etc/rc.d/init.d/xenconsoled |
516 | %attr(754,root,root) /etc/rc.d/init.d/xenstored | |
e9753e37 | 517 | %attr(754,root,root) /etc/rc.d/init.d/xendomains |
36106ee8 | 518 | %config(noreplace) %verify(not md5 mtime size) /etc/modules-load.d/xen-dom0.conf |
2e8b91a6 JR |
519 | %{systemdunitdir}/proc-xen.mount |
520 | %{systemdunitdir}/var-lib-xenstored.mount | |
2e8b91a6 JR |
521 | %{systemdunitdir}/xen-watchdog.service |
522 | %{systemdunitdir}/xenconsoled.service | |
523 | %{systemdunitdir}/xenstored.service | |
403a0e9f | 524 | %dir %{_sysconfdir}/xen |
403a0e9f | 525 | %dir %{_sysconfdir}/xen/auto |
e9753e37 | 526 | %dir %{_sysconfdir}/xen/examples |
403a0e9f AM |
527 | %dir %{_sysconfdir}/xen/scripts |
528 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/scripts/* | |
e9753e37 MM |
529 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/examples/* |
530 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/README* | |
531 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/cpupool | |
532 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xl.conf | |
eb3891cc | 533 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xen-backend.rules |
94b34ae4 JB |
534 | %attr(755,root,root) %{_bindir}/pygrub |
535 | %attr(755,root,root) %{_bindir}/qemu-img-xen | |
536 | %attr(755,root,root) %{_bindir}/qemu-nbd-xen | |
537 | %attr(755,root,root) %{_bindir}/remus | |
94b34ae4 | 538 | %attr(755,root,root) %{_bindir}/xencons |
94b34ae4 JB |
539 | %attr(755,root,root) %{_bindir}/xentrace* |
540 | %attr(755,root,root) %{_sbindir}/blktapctrl | |
541 | %attr(755,root,root) %{_sbindir}/flask-* | |
542 | %attr(755,root,root) %{_sbindir}/gdbsx | |
543 | %attr(755,root,root) %{_sbindir}/gtrace* | |
544 | %attr(755,root,root) %{_sbindir}/img2qcow | |
545 | %attr(755,root,root) %{_sbindir}/kdd | |
546 | %attr(755,root,root) %{_sbindir}/lock-util | |
547 | %attr(755,root,root) %{_sbindir}/qcow-create | |
548 | %attr(755,root,root) %{_sbindir}/qcow2raw | |
549 | %attr(755,root,root) %{_sbindir}/tap-ctl | |
550 | %attr(755,root,root) %{_sbindir}/tapdisk* | |
551 | %attr(755,root,root) %{_sbindir}/td-util | |
552 | %attr(755,root,root) %{_sbindir}/vhd-* | |
553 | %attr(755,root,root) %{_sbindir}/xen-* | |
554 | %attr(755,root,root) %{_sbindir}/xenbaked | |
555 | %attr(755,root,root) %{_sbindir}/xenconsoled | |
556 | %attr(755,root,root) %{_sbindir}/xenlockprof | |
557 | %attr(755,root,root) %{_sbindir}/xenmon.py | |
94b34ae4 JB |
558 | %attr(755,root,root) %{_sbindir}/xenperf |
559 | %attr(755,root,root) %{_sbindir}/xenpm | |
560 | %attr(755,root,root) %{_sbindir}/xenpmd | |
561 | %attr(755,root,root) %{_sbindir}/xenstored | |
562 | %attr(755,root,root) %{_sbindir}/xentop | |
563 | %attr(755,root,root) %{_sbindir}/xentrace_setmask | |
564 | %attr(755,root,root) %{_sbindir}/xenwatchdogd | |
e9753e37 MM |
565 | %attr(755,root,root) %{_sbindir}/xl |
566 | %attr(755,root,root) %{_sbindir}/xsview | |
47d65e01 JK |
567 | %dir %{_libdir}/%{name} |
568 | %dir %{_libdir}/%{name}/bin | |
569 | %attr(744,root,root) %{_libdir}/%{name}/bin/* | |
38e9ca75 | 570 | %if "%{_lib}" != "lib" |
81c76053 | 571 | %dir %{_prefix}/lib/%{name} |
2e8b91a6 JR |
572 | %dir %{_prefix}/lib/%{name}/bin |
573 | %attr(755,root,root) %{_prefix}/lib/%{name}/bin/qemu-dm | |
574 | %attr(755,root,root) %{_prefix}/lib/%{name}/bin/stubdom-dm | |
575 | %attr(755,root,root) %{_prefix}/lib/%{name}/bin/stubdompath.sh | |
38e9ca75 | 576 | %endif |
81c76053 | 577 | %dir %{_prefix}/lib/%{name}/boot |
2e8b91a6 JR |
578 | %{_prefix}/lib/%{name}/boot/ioemu-stubdom.gz |
579 | %{_prefix}/lib/%{name}/boot/pv-grub-x86_32.gz | |
10a7e15f | 580 | %ifarch %{x8664} |
2e8b91a6 | 581 | %{_prefix}/lib/%{name}/boot/pv-grub-x86_64.gz |
10a7e15f | 582 | %endif |
7f699907 | 583 | %{_prefix}/lib/%{name}/boot/xenstore-stubdom.gz |
2e8b91a6 | 584 | %attr(744,root,root) %{_prefix}/lib/%{name}/boot/hvmloader |
47d65e01 | 585 | %{_datadir}/xen |
7f699907 | 586 | %{_mandir}/man1/qemu-img-xen.1* |
94b34ae4 JB |
587 | %{_mandir}/man1/xentop.1* |
588 | %{_mandir}/man1/xentrace_format.1* | |
7f699907 | 589 | %{_mandir}/man1/xl.1* |
94b34ae4 JB |
590 | %{_mandir}/man1/xm.1* |
591 | %{_mandir}/man5/xend-config.sxp.5* | |
7f699907 JK |
592 | %{_mandir}/man5/xl.cfg.5* |
593 | %{_mandir}/man5/xl.conf.5* | |
594 | %{_mandir}/man5/xlcpupool.cfg.5* | |
94b34ae4 | 595 | %{_mandir}/man5/xmdomain.cfg.5* |
7f699907 | 596 | %{_mandir}/man8/qemu-nbd-xen.8* |
94b34ae4 | 597 | %{_mandir}/man8/xentrace.8* |
47d65e01 JK |
598 | %{_sharedstatedir}/xen |
599 | %{_sharedstatedir}/xenstored | |
47d65e01 | 600 | %dir /var/run/xenstored |
2e8b91a6 | 601 | %{systemdtmpfilesdir}/xenstored.conf |
ba7770de JR |
602 | %dir %attr(0700,root,root) /var/log/xen |
603 | %dir %attr(0700,root,root) /var/log/xen/console | |
7f699907 | 604 | %{_datadir}/qemu-xen |
403a0e9f | 605 | |
263a9ffc JK |
606 | %files guest |
607 | %defattr(644,root,root,755) | |
608 | %attr(755,root,root) %{_bindir}/xen-detect | |
609 | %attr(755,root,root) %{_bindir}/xenstore* | |
610 | ||
26412ee3 | 611 | %files libs |
403a0e9f | 612 | %defattr(644,root,root,755) |
94b34ae4 JB |
613 | %attr(755,root,root) %{_libdir}/libblktap.so.*.*.* |
614 | %attr(755,root,root) %ghost %{_libdir}/libblktap.so.3.0 | |
615 | %attr(755,root,root) %{_libdir}/libblktapctl.so.*.*.* | |
616 | %attr(755,root,root) %ghost %{_libdir}/libblktapctl.so.1.0 | |
94b34ae4 JB |
617 | %attr(755,root,root) %{_libdir}/libfsimage.so.*.*.* |
618 | %attr(755,root,root) %ghost %{_libdir}/libfsimage.so.1.0 | |
619 | %attr(755,root,root) %{_libdir}/libvhd.so.*.*.* | |
620 | %attr(755,root,root) %ghost %{_libdir}/libvhd.so.1.0 | |
621 | %attr(755,root,root) %{_libdir}/libxenctrl.so.*.*.* | |
7f699907 | 622 | %attr(755,root,root) %ghost %{_libdir}/libxenctrl.so.4.2 |
94b34ae4 | 623 | %attr(755,root,root) %{_libdir}/libxenguest.so.*.*.* |
7f699907 | 624 | %attr(755,root,root) %ghost %{_libdir}/libxenguest.so.4.2 |
94b34ae4 | 625 | %attr(755,root,root) %{_libdir}/libxenlight.so.*.*.* |
7f699907 JK |
626 | %attr(755,root,root) %ghost %{_libdir}/libxenlight.so.2.0 |
627 | %attr(755,root,root) %{_libdir}/libxenstat.so.*.* | |
628 | %attr(755,root,root) %ghost %{_libdir}/libxenstat.so.0 | |
629 | %attr(755,root,root) %{_libdir}/libxenvchan.so.*.*.* | |
630 | %attr(755,root,root) %ghost %{_libdir}/libxenvchan.so.1.0 | |
94b34ae4 JB |
631 | %attr(755,root,root) %{_libdir}/libxlutil.so.*.*.* |
632 | %attr(755,root,root) %ghost %{_libdir}/libxlutil.so.1.0 | |
4015585b | 633 | %dir %{_libdir}/fs |
d9ee3ddc | 634 | %dir %{_libdir}/fs/ext2fs-lib |
2f3b83cd AG |
635 | %dir %{_libdir}/fs/fat |
636 | %dir %{_libdir}/fs/iso9660 | |
4015585b | 637 | %dir %{_libdir}/fs/reiserfs |
638 | %dir %{_libdir}/fs/ufs | |
7f699907 | 639 | %dir %{_libdir}/fs/xfs |
20aeda6e | 640 | %dir %{_libdir}/fs/zfs |
94b34ae4 | 641 | %attr(755,root,root) %{_libdir}/fs/*/fsimage.so |
26412ee3 | 642 | |
263a9ffc JK |
643 | %files libs-guest |
644 | %defattr(644,root,root,755) | |
645 | %attr(755,root,root) %{_libdir}/libxenstore.so.*.*.* | |
646 | %attr(755,root,root) %ghost %{_libdir}/libxenstore.so.3.0 | |
647 | ||
5dd334af JB |
648 | %files devel |
649 | %defattr(644,root,root,755) | |
94b34ae4 JB |
650 | %attr(755,root,root) %{_libdir}/libblktap.so |
651 | %attr(755,root,root) %{_libdir}/libblktapctl.so | |
94b34ae4 JB |
652 | %attr(755,root,root) %{_libdir}/libfsimage.so |
653 | %attr(755,root,root) %{_libdir}/libvhd.so | |
654 | %attr(755,root,root) %{_libdir}/libxenctrl.so | |
655 | %attr(755,root,root) %{_libdir}/libxenguest.so | |
656 | %attr(755,root,root) %{_libdir}/libxenlight.so | |
7f699907 | 657 | %attr(755,root,root) %{_libdir}/libxenstat.so |
94b34ae4 | 658 | %attr(755,root,root) %{_libdir}/libxenstore.so |
7f699907 | 659 | %attr(755,root,root) %{_libdir}/libxenvchan.so |
94b34ae4 | 660 | %attr(755,root,root) %{_libdir}/libxlutil.so |
7f699907 | 661 | %{_includedir}/_libxl_list.h |
94b34ae4 | 662 | %{_includedir}/_libxl_types.h |
7f699907 | 663 | %{_includedir}/_libxl_types_json.h |
94b34ae4 JB |
664 | %{_includedir}/blktaplib.h |
665 | %{_includedir}/fsimage*.h | |
7f699907 | 666 | %{_includedir}/libxenvchan.h |
94b34ae4 JB |
667 | %{_includedir}/libxl*.h |
668 | %{_includedir}/xen*.h | |
669 | %{_includedir}/xs*.h | |
670 | %{_includedir}/xen | |
7f699907 | 671 | %{_includedir}/xenstore-compat |
5dd334af JB |
672 | |
673 | %files static | |
674 | %defattr(644,root,root,755) | |
94b34ae4 JB |
675 | %{_libdir}/libblktap.a |
676 | %{_libdir}/libblktapctl.a | |
94b34ae4 JB |
677 | %{_libdir}/libvhd.a |
678 | %{_libdir}/libxenctrl.a | |
679 | %{_libdir}/libxenguest.a | |
680 | %{_libdir}/libxenlight.a | |
7f699907 JK |
681 | %{_libdir}/libxenvchan.a |
682 | %{_libdir}/libxenstat.a | |
94b34ae4 JB |
683 | %{_libdir}/libxenstore.a |
684 | %{_libdir}/libxlutil.a | |
5dd334af | 685 | |
e9753e37 MM |
686 | %files xend |
687 | %defattr(644,root,root,755) | |
5db31b25 JR |
688 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/blktapctrl |
689 | %{systemdunitdir}/blktapctrl.service | |
2e8b91a6 | 690 | %{systemdunitdir}/xend.service |
6ca9eddd | 691 | %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/xend |
eb3891cc | 692 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xend.rules |
e9753e37 MM |
693 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xm* |
694 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xend* | |
695 | %attr(755,root,root) %{_sbindir}/xend | |
696 | %attr(755,root,root) %{_sbindir}/xm | |
697 | %dir %attr(700,root,root) /var/run/xend | |
2e8b91a6 | 698 | %{systemdtmpfilesdir}/xend.conf |
e9753e37 | 699 | |
e6e7d0de JB |
700 | %if %{with ocaml} |
701 | %files -n ocaml-xen | |
702 | %defattr(644,root,root,755) | |
703 | %doc tools/ocaml/LICENSE | |
704 | %attr(755,root,root) %{_sbindir}/oxenstored | |
7f699907 JK |
705 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/oxenstored.conf |
706 | %dir %{_libdir}/ocaml/site-lib/xenbus | |
707 | %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenbus/dllxenbus_stubs.so | |
708 | %dir %{_libdir}/ocaml/site-lib/xenctrl | |
709 | %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenctrl/dllxenctrl_stubs.so | |
710 | %dir %{_libdir}/ocaml/site-lib/xeneventchn | |
711 | %attr(755,root,root) %{_libdir}/ocaml/site-lib/xeneventchn/dllxeneventchn_stubs.so | |
712 | %dir %{_libdir}/ocaml/site-lib/xenlight | |
713 | %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenlight/dllxenlight_stubs.so | |
714 | %dir %{_libdir}/ocaml/site-lib/xenmmap | |
715 | %attr(755,root,root) %{_libdir}/ocaml/site-lib/xenmmap/dllxenmmap_stubs.so | |
e6e7d0de JB |
716 | |
717 | %files -n ocaml-xen-devel | |
718 | %defattr(644,root,root,755) | |
7f699907 JK |
719 | %{_libdir}/ocaml/site-lib/xenbus/META |
720 | %{_libdir}/ocaml/site-lib/xenbus/libxenbus_stubs.a | |
721 | %{_libdir}/ocaml/site-lib/xenbus/xenbus.a | |
722 | %{_libdir}/ocaml/site-lib/xenbus/*.cm[aixo]* | |
723 | %{_libdir}/ocaml/site-lib/xenctrl/META | |
724 | %{_libdir}/ocaml/site-lib/xenctrl/libxenctrl_stubs.a | |
725 | %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.a | |
726 | %{_libdir}/ocaml/site-lib/xenctrl/xenctrl.cm[aix]* | |
727 | %{_libdir}/ocaml/site-lib/xeneventchn/META | |
728 | %{_libdir}/ocaml/site-lib/xeneventchn/libxeneventchn_stubs.a | |
729 | %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.a | |
730 | %{_libdir}/ocaml/site-lib/xeneventchn/xeneventchn.cm[aix]* | |
731 | %{_libdir}/ocaml/site-lib/xenmmap/META | |
732 | %{_libdir}/ocaml/site-lib/xenmmap/libxenmmap_stubs.a | |
733 | %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.a | |
734 | %{_libdir}/ocaml/site-lib/xenmmap/xenmmap.cm[aix]* | |
735 | %{_libdir}/ocaml/site-lib/xenlight/META | |
736 | %{_libdir}/ocaml/site-lib/xenlight/libxenlight_stubs.a | |
737 | %{_libdir}/ocaml/site-lib/xenlight/xenlight.a | |
738 | %{_libdir}/ocaml/site-lib/xenlight/xenlight.cm[aix]* | |
739 | %dir %{_libdir}/ocaml/site-lib/xenstore | |
740 | %{_libdir}/ocaml/site-lib/xenstore/META | |
741 | %{_libdir}/ocaml/site-lib/xenstore/xenstore.a | |
742 | %{_libdir}/ocaml/site-lib/xenstore/*.cm[aixo]* | |
e6e7d0de JB |
743 | %endif |
744 | ||
8e6e2740 ER |
745 | %files -n python-xen |
746 | %defattr(644,root,root,755) | |
5dd334af | 747 | %attr(755,root,root) %{py_sitedir}/fsimage.so |
8e6e2740 | 748 | %{py_sitedir}/grub |
263a9ffc JK |
749 | %attr(755,root,root) %{py_sitedir}/xen/lowlevel/checkpoint.so |
750 | %attr(755,root,root) %{py_sitedir}/xen/lowlevel/flask.so | |
751 | %attr(755,root,root) %{py_sitedir}/xen/lowlevel/netlink.so | |
752 | %attr(755,root,root) %{py_sitedir}/xen/lowlevel/ptsname.so | |
753 | %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xc.so | |
e9753e37 | 754 | %{py_sitedir}/xen/remus |
8e6e2740 ER |
755 | %{py_sitedir}/xen/sv |
756 | %{py_sitedir}/xen/util | |
757 | %{py_sitedir}/xen/web | |
758 | %{py_sitedir}/xen/xend | |
759 | %{py_sitedir}/xen/xm | |
760 | %{py_sitedir}/xen/xsview | |
8e6e2740 | 761 | %if "%{py_ver}" > "2.4" |
94b34ae4 JB |
762 | %{py_sitedir}/pygrub-0.3-py*.egg-info |
763 | %{py_sitedir}/xen-3.0-py*.egg-info | |
8e6e2740 | 764 | %endif |
e9753e37 | 765 | |
263a9ffc JK |
766 | %files -n python-xen-guest |
767 | %defattr(644,root,root,755) | |
768 | %dir %{py_sitedir}/xen | |
769 | %{py_sitedir}/xen/__init__.py* | |
770 | %dir %{py_sitedir}/xen/lowlevel | |
771 | %{py_sitedir}/xen/lowlevel/__init__.py* | |
772 | %attr(755,root,root) %{py_sitedir}/xen/lowlevel/xs.so | |
773 | ||
e9753e37 MM |
774 | %files -n bash-completion-%{name} |
775 | %defattr(644,root,root,755) | |
94b34ae4 | 776 | /etc/bash_completion.d/xl.sh |