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