]>
Commit | Line | Data |
---|---|---|
2f3b83cd | 1 | # |
403a0e9f | 2 | # TODO: |
e9753e37 | 3 | # - most of the qemu config options aren't detected (curses, NPTL, vde, fdt) |
52e56365 | 4 | # - package the ocaml stuff |
b650a78f | 5 | # |
c1281a11 | 6 | %define xen_extfiles_url http://xenbits.xensource.com/xen-extfiles |
adbb6385 | 7 | Summary: Xen - a virtual machine monitor |
a1a3c257 | 8 | Summary(pl.UTF-8): Xen - monitor maszyny wirtualnej |
fda6847b | 9 | Name: xen |
e9753e37 | 10 | Version: 4.1.2 |
736bd040 | 11 | Release: 0.1 |
fda6847b | 12 | License: GPL |
129858a4 | 13 | Group: Applications/System |
98fa2458 | 14 | Source0: http://bits.xensource.com/oss-xen/release/%{version}/%{name}-%{version}.tar.gz |
e9753e37 | 15 | # Source0-md5: 73561faf3c1b5e36ec5c089b5db848ad |
c1281a11 ER |
16 | # used by stubdoms |
17 | Source10: %{xen_extfiles_url}/lwip-1.3.0.tar.gz | |
18 | # Source10-md5: 36cc57650cffda9a0269493be2a169bb | |
19 | Source11: %{xen_extfiles_url}/newlib-1.16.0.tar.gz | |
20 | # Source11-md5: bf8f1f9e3ca83d732c00a79a6ef29bc4 | |
21 | Source12: %{xen_extfiles_url}/zlib-1.2.3.tar.gz | |
22 | # Source12-md5: debc62758716a169df9f62e6ab2bc634 | |
23 | Source13: %{xen_extfiles_url}/pciutils-2.2.9.tar.bz2 | |
24 | # Source13-md5: cec05e7785497c5e19da2f114b934ffd | |
25 | Source14: %{xen_extfiles_url}/grub-0.97.tar.gz | |
26 | # Source14-md5: cd3f3eb54446be6003156158d51f4884 | |
27 | Source15: %{xen_extfiles_url}/ipxe-git-v1.0.0.tar.gz | |
28 | # Source15-md5: fb7df96781d337899066d82059346885 | |
2e8b91a6 JR |
29 | Source30: proc-xen.mount |
30 | Source31: var-lib-xenstored.mount | |
31 | Source32: blktapctrl.service | |
32 | Source33: blktapctrl.sysconfig | |
33 | Source34: xenconsoled.service | |
34 | Source35: xenconsoled.sysconfig | |
35 | Source36: xenstored.service | |
36 | Source37: xenstored.sysconfig | |
37 | Source38: xenstored.tmpfiles | |
38 | Source39: xend.service | |
39 | Source40: xend.tmpfiles | |
40 | Source41: xen-watchdog.service | |
41 | # sysvinit scripts | |
42 | Source50: xend.init | |
43 | Source51: xenconsoled.init | |
44 | Source52: xenstored.init | |
45 | Source53: xen-watchdog.init | |
46 | Source54: xendomains.init | |
47 | Source55: xen.logrotate | |
47d65e01 | 48 | Patch0: %{name}-python_scripts.patch |
e9753e37 MM |
49 | Patch1: %{name}-symbols.patch |
50 | Patch2: %{name}-curses.patch | |
51 | Patch3: %{name}-gcc.patch | |
53ff2d70 | 52 | Patch4: %{name}-xz.patch |
67494ff6 | 53 | URL: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html |
abdd4c6d | 54 | BuildRequires: SDL-devel |
24d6dc2b | 55 | BuildRequires: acpica |
2e8b91a6 | 56 | BuildRequires: bcc |
39eabac9 | 57 | BuildRequires: curl-devel |
d9ee3ddc | 58 | BuildRequires: e2fsprogs-devel |
fc7816dc | 59 | BuildRequires: gcc >= 5:3.4 |
abdd4c6d | 60 | BuildRequires: gettext-devel |
47d65e01 | 61 | BuildRequires: latex2html |
403a0e9f | 62 | BuildRequires: libidn-devel |
403a0e9f | 63 | BuildRequires: ncurses-devel |
42bff0c7 | 64 | BuildRequires: pciutils-devel |
abdd4c6d | 65 | BuildRequires: pkgconfig |
53503036 | 66 | BuildRequires: python-devel |
48c47956 | 67 | BuildRequires: rpm-pythonprov |
129858a4 | 68 | BuildRequires: rpmbuild(macros) >= 1.268 |
e9753e37 | 69 | #BuildRequires: texlive-dvips |
abdd4c6d | 70 | #BuildRequires: texlive-latex-data |
f03e6adf | 71 | BuildRequires: texlive-latex-psnfss |
53503036 | 72 | BuildRequires: transfig |
12f352e2 | 73 | BuildRequires: which |
53503036 | 74 | BuildRequires: zlib-devel |
129858a4 | 75 | Requires(post,preun): /sbin/chkconfig |
9f9b2612 | 76 | Requires: %{name}-libs = %{version}-%{release} |
53503036 JB |
77 | Requires: ZopeInterface |
78 | Requires: bridge-utils | |
e77e45ff AM |
79 | Requires: coreutils |
80 | Requires: diffutils | |
d78769bd | 81 | Requires: gawk |
e77e45ff | 82 | Requires: iptables |
53503036 | 83 | Requires: losetup |
e77e45ff | 84 | Requires: net-tools |
8e6e2740 | 85 | Requires: python-%{name} = %{version}-%{release} |
129858a4 | 86 | Requires: rc-scripts |
e77e45ff | 87 | Requires: sed |
a674a8b2 | 88 | Requires: util-linux |
e77e45ff | 89 | Requires: which |
cef7399d | 90 | Obsoletes: xen-doc |
2e8b91a6 | 91 | Obsoletes: xen-udev |
971d1e2c | 92 | ExclusiveArch: %{ix86} %{x8664} |
fda6847b AM |
93 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
94 | ||
8f12ec8f | 95 | # some PPC/SPARC boot image in ELF format |
7fb9617b | 96 | %define _noautostrip .*%{_datadir}/xen/qemu/openbios-.* |
8f12ec8f | 97 | |
fda6847b AM |
98 | %description |
99 | This package contains the Xen hypervisor and Xen tools, needed to run | |
100 | virtual machines on x86 systems, together with the kernel-xen* | |
101 | packages. Information on how to use Xen can be found at the Xen | |
102 | project pages. | |
103 | ||
104 | Virtualisation can be used to run multiple versions or multiple Linux | |
105 | distributions on one system, or to test untrusted applications in a | |
106 | sandboxed environment. Note that the Xen technology is still in | |
107 | development, and this RPM has received extremely little testing. Don't | |
108 | be surprised if this RPM eats your data, drinks your coffee or makes | |
109 | fun of you in front of your friends. | |
110 | ||
d2a30a0d | 111 | %description -l pl.UTF-8 |
3615a8c8 | 112 | Ten pakiet zawiera nadzorcę oraz narzędzia Xen, potrzebne do |
adbb6385 | 113 | uruchamiania wirtualnych maszyn w systemach x86, wraz z pakietami |
3615a8c8 | 114 | kernel-xen*. Informacje jak używać Xena można znaleźć na stronach |
adbb6385 JB |
115 | projektu. |
116 | ||
3615a8c8 | 117 | Wirtualizacja może być używana do uruchamiania wielu wersji lub wielu |
dcba01a0 | 118 | dystrybucji Linuksa na jednym systemie lub do testowania nie zaufanych |
3615a8c8 ER |
119 | aplikacji w odizolowanym środowisku. Należy zauważyć, że technologia |
120 | Xen jest ciągle rozwijana, a ten RPM był słabo testowany. Nie należy | |
121 | być zdziwionym, jeśli ten pakiet zje dane, wypije całą kawę czy będzie | |
122 | się wyśmiewał w obecności przyjaciół. | |
403a0e9f | 123 | |
26412ee3 JB |
124 | %package libs |
125 | Summary: xen libraries | |
126 | Summary(pl.UTF-8): Biblioteki xena | |
127 | Group: Libraries | |
128 | ||
129 | %description libs | |
130 | xen libraries. | |
131 | ||
132 | %description libs -l pl.UTF-8 | |
133 | Biblioteki xena. | |
134 | ||
403a0e9f | 135 | %package devel |
6eccf3e8 | 136 | Summary: Header files for xen |
3615a8c8 | 137 | Summary(pl.UTF-8): Pliki nagłówkowe xena |
403a0e9f | 138 | Group: Development/Libraries |
9f9b2612 | 139 | Requires: %{name}-libs = %{version}-%{release} |
403a0e9f AM |
140 | |
141 | %description devel | |
6eccf3e8 JB |
142 | Header files for xen. |
143 | ||
d2a30a0d | 144 | %description devel -l pl.UTF-8 |
3615a8c8 | 145 | Pliki nagłówkowe xena. |
403a0e9f AM |
146 | |
147 | %package static | |
148 | Summary: Static xen libraries | |
a1a3c257 | 149 | Summary(pl.UTF-8): Statyczne biblioteki xena |
403a0e9f | 150 | Group: Development/Libraries |
9f9b2612 | 151 | Requires: %{name}-devel = %{version}-%{release} |
403a0e9f AM |
152 | |
153 | %description static | |
154 | Static xen libraries. | |
adbb6385 | 155 | |
d2a30a0d | 156 | %description static -l pl.UTF-8 |
6eccf3e8 JB |
157 | Statyczne biblioteki xena. |
158 | ||
e9753e37 MM |
159 | %package xend |
160 | Summary: xend daemon | |
161 | Summary(pl.UTF-8): Demon xend | |
162 | Group: Daemons | |
163 | ||
164 | %description xend | |
165 | xend daemon. | |
166 | ||
167 | %description xend -l pl.UTF-8 | |
168 | Demon xend. | |
169 | ||
5dd334af JB |
170 | %package -n python-xen |
171 | Summary: xen Python modules | |
3615a8c8 | 172 | Summary(pl.UTF-8): Moduły Pythona dla xena |
5dd334af | 173 | Group: Libraries |
e35fda92 | 174 | Conflicts: xen < 3.2.1-0.3 |
5dd334af JB |
175 | |
176 | %description -n python-xen | |
177 | xen Python modules. | |
178 | ||
179 | %description -n python-xen -l pl.UTF-8 | |
3615a8c8 | 180 | Moduły Pythona dla xena. |
5dd334af | 181 | |
e9753e37 MM |
182 | %package -n bash-completion-%{name} |
183 | Summary: bash-completion for xen | |
184 | Group: Applications/Shells | |
185 | Requires: %{name} = %{version}-%{release} | |
186 | Requires: bash-completion | |
187 | ||
188 | %description -n bash-completion-%{name} | |
189 | This package provides bash-completion for xen. | |
190 | ||
fda6847b | 191 | %prep |
98fa2458 | 192 | %setup -q |
47d65e01 JK |
193 | %patch0 -p1 |
194 | %patch1 -p1 | |
42bff0c7 | 195 | %patch2 -p1 |
e9753e37 | 196 | #%%patch3 -p1 |
53ff2d70 | 197 | %patch4 -p1 |
4015585b | 198 | |
c1281a11 ER |
199 | %{__rm} -v tools/check/*.orig |
200 | ||
201 | # stubdom sources | |
202 | ln -s %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} stubdom | |
203 | ln -s %{PATCH23} stubdom/grub.patches/99grub-ext4-support.patch | |
204 | ln -s %{SOURCE15} tools/firmware/etherboot/ipxe.tar.gz | |
fda6847b AM |
205 | |
206 | %build | |
2e8b91a6 JR |
207 | export CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
208 | export CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" | |
209 | ||
210 | %{__make} dist-xen dist-tools dist-docs \ | |
211 | prefix=%{_prefix} \ | |
212 | CC="%{__cc}" \ | |
213 | CXX="%{__cxx}" | |
214 | ||
215 | unset CFLAGS | |
216 | unset CXXFLAGS | |
217 | %{__make} -j1 dist-stubdom \ | |
403a0e9f | 218 | CC="%{__cc}" \ |
da88b5cd | 219 | CXX="%{__cxx}" |
fda6847b AM |
220 | |
221 | %install | |
222 | rm -rf $RPM_BUILD_ROOT | |
2e8b91a6 JR |
223 | install -d $RPM_BUILD_ROOT/etc/xen/examples \ |
224 | $RPM_BUILD_ROOT{/usr/lib/tmpfiles.d,%{systemdunitdir}} | |
adbb6385 | 225 | |
2e8b91a6 JR |
226 | %{__make} -j1 install-xen install-tools install-stubdom install-docs \ |
227 | prefix=%{_prefix} \ | |
e9753e37 | 228 | DESTDIR=$RPM_BUILD_ROOT |
403a0e9f | 229 | |
2e8b91a6 JR |
230 | install %{SOURCE30} $RPM_BUILD_ROOT%{systemdunitdir}/proc-xen.mount |
231 | install %{SOURCE31} $RPM_BUILD_ROOT%{systemdunitdir}/var-lib-xenstored.mount | |
232 | install %{SOURCE32} $RPM_BUILD_ROOT%{systemdunitdir}/blktapctrl.service | |
233 | install %{SOURCE33} $RPM_BUILD_ROOT/etc/sysconfig/blktapctrl.sysconfig | |
234 | install %{SOURCE34} $RPM_BUILD_ROOT%{systemdunitdir}/xenconsoled.service | |
235 | install %{SOURCE35} $RPM_BUILD_ROOT/etc/sysconfig/xenconsoled.sysconfig | |
236 | install %{SOURCE36} $RPM_BUILD_ROOT%{systemdunitdir}/xenstored.service | |
237 | install %{SOURCE37} $RPM_BUILD_ROOT/etc/sysconfig/xenstored.sysconfig | |
238 | install %{SOURCE38} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/xenstored.conf | |
239 | install %{SOURCE39} $RPM_BUILD_ROOT%{systemdunitdir}/xend.service | |
240 | install %{SOURCE40} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/xend.conf | |
241 | install %{SOURCE41} $RPM_BUILD_ROOT%{systemdunitdir}/xen-watchdog.service | |
242 | # sysvinit scripts | |
243 | %{__rm} $RPM_BUILD_ROOT/etc/rc.d/init.d/* | |
244 | install %{SOURCE50} $RPM_BUILD_ROOT/etc/rc.d/init.d/xend | |
245 | install %{SOURCE51} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenconsoled | |
246 | install %{SOURCE52} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenstored | |
247 | install %{SOURCE53} $RPM_BUILD_ROOT/etc/rc.d/init.d/xen-watchdog | |
248 | install %{SOURCE54} $RPM_BUILD_ROOT/etc/rc.d/init.d/xendomains | |
249 | #install %{SOURCE55} $RPM_BUILD_ROOT/etc/logrotate.d/xen | |
250 | ||
e9753e37 | 251 | mv $RPM_BUILD_ROOT/etc/xen/{xmexample*,examples} |
fda6847b | 252 | |
c1281a11 ER |
253 | cp -p tools/blktap/README{,.blktap} |
254 | cp -p tools/xenmon/README{,.xenmon} | |
67494ff6 | 255 | |
90eccaeb ER |
256 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} |
257 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
258 | ||
259 | %py_postclean | |
e9753e37 | 260 | |
86497794 | 261 | # remove unneeded files |
e9753e37 MM |
262 | %{__rm} $RPM_BUILD_ROOT/boot/xen-4.1.gz |
263 | %{__rm} $RPM_BUILD_ROOT/boot/xen-4.gz | |
8641374c | 264 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xen |
e9753e37 | 265 | %{__rm} $RPM_BUILD_ROOT%{_includedir}/%{name}/COPYING |
d26491b9 | 266 | |
fda6847b AM |
267 | %clean |
268 | rm -rf $RPM_BUILD_ROOT | |
269 | ||
403a0e9f | 270 | %post |
90a21d83 | 271 | /sbin/chkconfig --add xen-watchdog |
2e8b91a6 JR |
272 | /sbin/chkconfig --add xenconsoled |
273 | /sbin/chkconfig --add xenstored | |
403a0e9f AM |
274 | /sbin/chkconfig --add xendomains |
275 | ||
403a0e9f | 276 | %preun |
e9753e37 MM |
277 | if [ "$1" = "0" ]; then |
278 | %service xendomains stop | |
279 | /sbin/chkconfig --del xendomains | |
280 | ||
2e8b91a6 JR |
281 | %service xenconsoled stop |
282 | /sbin/chkconfig --del xenconsoled | |
283 | ||
284 | %service xenstored stop | |
285 | /sbin/chkconfig --del xenstored | |
90a21d83 MM |
286 | |
287 | %service xen-watchdog stop | |
288 | /sbin/chkconfig --del xen-watchdog | |
e9753e37 MM |
289 | fi |
290 | ||
291 | %post xend | |
292 | /sbin/chkconfig --add xend | |
293 | ||
294 | %preun xend | |
403a0e9f | 295 | if [ "$1" = "0" ]; then |
129858a4 | 296 | %service xend stop |
403a0e9f | 297 | /sbin/chkconfig --del xend |
e9753e37 | 298 | fi |
129858a4 | 299 | |
26412ee3 JB |
300 | %post libs -p /sbin/ldconfig |
301 | %postun libs -p /sbin/ldconfig | |
302 | ||
fda6847b AM |
303 | %files |
304 | %defattr(644,root,root,755) | |
e9753e37 | 305 | %doc COPYING README* docs/misc/* |
47d65e01 | 306 | %doc docs/html/* |
e9753e37 MM |
307 | %doc tools/blktap/README.blktap tools/xenmon/README.xenmon |
308 | %doc tools/ioemu-dir/*.html | |
98fa2458 AM |
309 | /boot/%{name}-syms-%{version} |
310 | /boot/%{name}-%{version}.gz | |
fda6847b | 311 | /boot/%{name}.gz |
2e8b91a6 | 312 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/* |
90a21d83 | 313 | %attr(754,root,root) /etc/rc.d/init.d/xen-watchdog |
2e8b91a6 JR |
314 | %attr(754,root,root) /etc/rc.d/init.d/xenconsoled |
315 | %attr(754,root,root) /etc/rc.d/init.d/xenstored | |
e9753e37 | 316 | %attr(754,root,root) /etc/rc.d/init.d/xendomains |
2e8b91a6 JR |
317 | %{systemdunitdir}/proc-xen.mount |
318 | %{systemdunitdir}/var-lib-xenstored.mount | |
319 | %{systemdunitdir}/blktapctrl.service | |
320 | %{systemdunitdir}/xen-watchdog.service | |
321 | %{systemdunitdir}/xenconsoled.service | |
322 | %{systemdunitdir}/xenstored.service | |
403a0e9f | 323 | %dir %{_sysconfdir}/xen |
403a0e9f | 324 | %dir %{_sysconfdir}/xen/auto |
e9753e37 | 325 | %dir %{_sysconfdir}/xen/examples |
403a0e9f AM |
326 | %dir %{_sysconfdir}/xen/scripts |
327 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/scripts/* | |
e9753e37 MM |
328 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/examples/* |
329 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/README* | |
330 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/cpupool | |
331 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xl.conf | |
2e8b91a6 | 332 | %config(noreplace) %verify(not md5 mtime size) /etc/udev/* |
403a0e9f | 333 | %attr(755,root,root) %{_bindir}/* |
e9753e37 MM |
334 | %attr(755,root,root) %{_sbindir}/[bfgikloqtv]* |
335 | %attr(755,root,root) %{_sbindir}/xen??* | |
336 | %attr(755,root,root) %{_sbindir}/xl | |
337 | %attr(755,root,root) %{_sbindir}/xsview | |
47d65e01 JK |
338 | %dir %{_libdir}/%{name} |
339 | %dir %{_libdir}/%{name}/bin | |
340 | %attr(744,root,root) %{_libdir}/%{name}/bin/* | |
38e9ca75 | 341 | %if "%{_lib}" != "lib" |
81c76053 | 342 | %dir %{_prefix}/lib/%{name} |
2e8b91a6 JR |
343 | %dir %{_prefix}/lib/%{name}/bin |
344 | %attr(755,root,root) %{_prefix}/lib/%{name}/bin/qemu-dm | |
345 | %attr(755,root,root) %{_prefix}/lib/%{name}/bin/stubdom-dm | |
346 | %attr(755,root,root) %{_prefix}/lib/%{name}/bin/stubdompath.sh | |
38e9ca75 | 347 | %endif |
81c76053 | 348 | %dir %{_prefix}/lib/%{name}/boot |
2e8b91a6 JR |
349 | %{_prefix}/lib/%{name}/boot/ioemu-stubdom.gz |
350 | %{_prefix}/lib/%{name}/boot/pv-grub-x86_32.gz | |
351 | %{_prefix}/lib/%{name}/boot/pv-grub-x86_64.gz | |
352 | %attr(744,root,root) %{_prefix}/lib/%{name}/boot/hvmloader | |
47d65e01 | 353 | %{_datadir}/xen |
403a0e9f | 354 | %{_mandir}/man?/* |
47d65e01 JK |
355 | %{_sharedstatedir}/xen |
356 | %{_sharedstatedir}/xenstored | |
47d65e01 | 357 | %dir /var/run/xenstored |
2e8b91a6 | 358 | %{systemdtmpfilesdir}/xenstored.conf |
403a0e9f | 359 | |
26412ee3 | 360 | %files libs |
403a0e9f | 361 | %defattr(644,root,root,755) |
26412ee3 | 362 | %attr(755,root,root) %{_libdir}/lib*.so.* |
4015585b | 363 | %dir %{_libdir}/fs |
d9ee3ddc | 364 | %dir %{_libdir}/fs/ext2fs-lib |
2f3b83cd AG |
365 | %dir %{_libdir}/fs/fat |
366 | %dir %{_libdir}/fs/iso9660 | |
4015585b | 367 | %dir %{_libdir}/fs/reiserfs |
368 | %dir %{_libdir}/fs/ufs | |
20aeda6e | 369 | %dir %{_libdir}/fs/zfs |
4015585b | 370 | %attr(755,root,root) %{_libdir}/fs/*/*.so |
26412ee3 | 371 | |
5dd334af JB |
372 | %files devel |
373 | %defattr(644,root,root,755) | |
374 | %attr(755,root,root) %{_libdir}/lib*.so | |
375 | %{_includedir}/* | |
376 | ||
377 | %files static | |
378 | %defattr(644,root,root,755) | |
379 | %{_libdir}/lib*.a | |
380 | ||
e9753e37 MM |
381 | %files xend |
382 | %defattr(644,root,root,755) | |
383 | %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/xend | |
2e8b91a6 | 384 | %{systemdunitdir}/xend.service |
e9753e37 MM |
385 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xm* |
386 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xen/xend* | |
387 | %attr(755,root,root) %{_sbindir}/xend | |
388 | %attr(755,root,root) %{_sbindir}/xm | |
389 | %dir %attr(700,root,root) /var/run/xend | |
2e8b91a6 | 390 | %{systemdtmpfilesdir}/xend.conf |
e9753e37 | 391 | |
8e6e2740 ER |
392 | %files -n python-xen |
393 | %defattr(644,root,root,755) | |
5dd334af | 394 | %attr(755,root,root) %{py_sitedir}/fsimage.so |
8e6e2740 ER |
395 | %{py_sitedir}/grub |
396 | %dir %{py_sitedir}/xen | |
397 | %dir %{py_sitedir}/xen/lowlevel | |
398 | %{py_sitedir}/xen/lowlevel/*.py* | |
399 | %attr(755,root,root) %{py_sitedir}/xen/lowlevel/*.so | |
e9753e37 | 400 | %{py_sitedir}/xen/remus |
8e6e2740 ER |
401 | %{py_sitedir}/xen/sv |
402 | %{py_sitedir}/xen/util | |
403 | %{py_sitedir}/xen/web | |
404 | %{py_sitedir}/xen/xend | |
405 | %{py_sitedir}/xen/xm | |
406 | %{py_sitedir}/xen/xsview | |
407 | %{py_sitedir}/xen/*.py* | |
408 | %if "%{py_ver}" > "2.4" | |
409 | %{py_sitedir}/*.egg-info | |
410 | %endif | |
e9753e37 MM |
411 | |
412 | %files -n bash-completion-%{name} | |
413 | %defattr(644,root,root,755) | |
414 | /etc/bash_completion.d/* |