2 # m68k and mips are the only not supported archs
4 %bcond_without dietlibc # don't use dietlibc (ask for troubles)
5 %bcond_without doc # don't build documentation which needed LaTeX
6 %bcond_with xalan # use the xalan xslt processor
8 Summary: Linux virtual server utilities
9 Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych
14 Group: Applications/System
15 Source0: http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
16 # Source0-md5: 4453ad0ae7f351fec651d6904e00521f
17 Source1: vprocunhide.init
18 Source2: vservers-default.init
19 Source3: vservers-legacy.init
20 Source4: rebootmgr.init
21 Source5: vservers-default.sysconfig
22 Source6: vservers-legacy.sysconfig
23 # A bit of documentation explaining package menagement
24 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
25 Source7: %{name}-pkgmgmt.txt
26 Patch0: %{name}-vsysvwrapper.patch
27 Patch1: %{name}-pld.patch
28 Patch2: %{name}-build-poldek.patch
29 Patch3: %{name}-include.patch
30 Patch4: %{name}-m4-diet.patch
31 Patch5: http://vserver.13thfloor.at/Experimental/UTIL-VSERVER/delta-0.30.208-kheaders.diff
32 Patch6: http://vserver.13thfloor.at/Experimental/UTIL-VSERVER/delta-0.30.208-shiny6.diff
33 Patch7: %{name}-cpuset.patch
34 Patch8: %{name}-build-umask.patch
35 Patch9: %{name}-vwait-timeout-fix.patch
36 Patch10: %{name}-mounted.patch
37 Patch11: %{name}-init.patch
38 URL: http://savannah.nongnu.org/projects/util-vserver/
39 BuildRequires: autoconf
40 BuildRequires: automake >= 1.9
41 BuildRequires: beecrypt-devel
42 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
43 BuildRequires: libstdc++-devel
44 BuildRequires: libtool >= 1.5.14
46 BuildRequires: sed >= 4.0
49 BuildRequires: doxygen
50 BuildRequires: graphviz
51 BuildRequires: libxslt-progs
52 BuildRequires: tetex-format-pdflatex
53 BuildRequires: tetex-makeindex
54 %{?with_xalan:BuildRequires: xalan-j}
58 Requires(post,preun): /sbin/chkconfig
59 Requires: %{name}-lib = %{version}-%{release}
60 Obsoletes: util-vserver-core
61 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 %define _usrbin /usr/bin
65 %define _usrsbin /usr/sbin
66 %define _usrlib /usr/lib
69 This package provides the components and a framework to setup virtual
70 servers. A virtual server runs inside a Linux server. It is
71 nevertheless highly independent. As such, you can run various services
72 with normal configuration. The various vservers can't interact with
73 each other and can't interact with services in the main server.
75 This requires a special kernel supporting the new new_s_context and
76 set_ipv4root system call.
78 This package contains utilities which are required to communicate with
79 the Linux-Vserver enabled kernel.
82 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
83 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
84 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
85 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
86 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
88 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
89 new_s_context i set_ipv4root.
91 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
92 w³±czonym mechanizmem Linux-Vserver.
95 Summary: Development files for Linux vserver libraries
96 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
97 Group: Development/Libraries
98 Requires: %{name}-lib = %{version}-%{release}
101 This package contains the development files necessary for developing
102 programs which use vserver library.
104 %description devel -l pl
105 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
106 programów u¿ywaj±cych biblioteki vserver.
109 Summary: Static vserver library
110 Summary(pl): Biblioteka statyczna vservera
111 Group: Development/Libraries
112 Requires: %{name}-devel = %{version}-%{release}
115 This package contains the static version of vserver library.
117 %description static -l pl
118 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
121 Summary: Dynamic libraries for util-vserver
122 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
126 util-vserver provides the components and a framework to setup virtual
127 servers. A virtual server runs inside a linux server. It is
128 nevertheless highly independent. As such, you can run various services
129 with normal configuration. The various vservers can't interact with
130 each other and can't interact with services in the main server.
132 This package contains the shared libraries needed by all other
133 'util-vserver' subpackages.
135 %description lib -l pl
136 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
137 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
138 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
139 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
140 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
142 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
143 podpakiety util-vserver.
146 Summary: Tools which can be used to build vservers
147 Summary(pl): Narzêdzia do budowania vserverów
148 Group: Applications/System
149 Conflicts: poldek < 0.18.8-10
150 Requires: %{name} = %{version}-%{release}
153 util-vserver provides the components and a framework to setup virtual
154 servers. A virtual server runs inside a linux server. It is
155 nevertheless highly independent. As such, you can run various services
156 with normal configuration. The various vservers can't interact with
157 each other and can't interact with services in the main server.
159 This package contains utilities which assist in building Vservers.
161 %description build -l pl
162 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
163 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
164 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
165 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
166 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
168 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
170 %package -n vserver-distro-fedora
171 Summary: VServer build templates for Fedora Core
172 Group: Applications/System
173 Requires: %{name} = %{version}-%{release}
180 %description -n vserver-distro-fedora
181 VServer build templates for Fedora Core 1,2,3,4
183 %package -n vserver-distro-redhat
184 Summary: VServer build template for RedHat Linux 9
185 Group: Applications/System
186 Requires: %{name} = %{version}-%{release}
193 %description -n vserver-distro-redhat
194 VServer build template for RedHat Linux 9.
196 %package -n vserver-distro-suse
197 Summary: VServer build template for SuSE 9.1
198 Group: Applications/System
199 Requires: %{name} = %{version}-%{release}
206 %description -n vserver-distro-suse
207 VServer build template for SuSE Linux 9.1.
210 Summary: initscripts for vserver
211 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
212 Group: Applications/System
213 Requires(post,preun): /sbin/chkconfig
214 Requires: %{name} = %{version}-%{release}
220 util-vserver provides the components and a framework to setup virtual
221 servers. A virtual server runs inside a linux server. It is
222 nevertheless highly independent. As such, you can run various services
223 with normal configuration. The various vservers can't interact with
224 each other and can't interact with services in the main server.
226 This package contains the SysV initscripts which start and stop
227 Vservers and related tools.
229 %description init -l pl
230 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
231 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
232 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
233 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
234 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
236 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
237 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
240 Summary: Legacy utilities for util-vserver
241 Summary(pl): Stare narzêdzia dla util-vserver
242 Group: Applications/System
243 Requires(post,preun): /sbin/chkconfig
244 Requires: %{name} = %{version}-%{release}
248 util-vserver provides the components and a framework to setup virtual
249 servers. A virtual server runs inside a linux server. It is
250 nevertheless highly independent. As such, you can run various services
251 with normal configuration. The various vservers can't interact with
252 each other and can't interact with services in the main server.
254 This package contains the tools which are needed to work with Vservers
255 having an old-style configuration.
257 %description legacy -l pl
258 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
259 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
260 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
261 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
262 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
264 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
265 konfiguracjê w starym stylu.
267 %package -n vserver-dev
268 Summary: /dev entries for systems in Vservers
269 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
271 Requires: setup >= 2.4.1-2
272 Provides: dev = 2.9.0-19
276 %description -n vserver-dev
277 Unix and unix like systems (including Linux) use file system entries
278 to represent devices attached to the machine. All of these entries are
279 in the /dev tree (though they don't have to be), and this package
280 contains only entries needed for a system running inside Vserver.
282 DO NOT install this package for a normal system!
284 %description -n vserver-dev -l pl
285 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
286 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
287 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
288 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
290 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
307 install %{SOURCE7} package-menagament.txt
309 cp -a compat.h vserver-compat.h
313 CFLAGS="%{rpmcflags} -D__GLIBC__"
319 --with-initrddir=/etc/rc.d/init.d \
321 %{?with_dietlibc:--enable-dietlibc} \
322 %{!?with_dietlibc:--disable-dietlibc} \
328 IPTABLES=%{_usrsbin}/iptables \
329 MODPROBE=/sbin/modprobe \
330 NAMEIF=/sbin/nameif \
332 VCONFIG=/sbin/vconfig \
333 WGET=%{_usrbin}/wget \
336 %{?with_doc:%{__make} doc}
339 rm -rf $RPM_BUILD_ROOT
340 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
342 %{__make} install install-distribution \
343 DESTDIR=$RPM_BUILD_ROOT
345 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
347 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
349 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
350 install -d $RPM_BUILD_ROOT/vservers/.pkg
351 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
352 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
354 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
355 s=`basename $i | sed s/v_//`
356 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
357 # IP addresses/interfaces to bound $s service to
363 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
364 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
365 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
366 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-default
367 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
368 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
369 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
370 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
372 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/vservers-default
373 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
375 ln -sf null $RPM_BUILD_ROOT/dev/initctl
378 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
379 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
383 rm -rf $RPM_BUILD_ROOT
386 %{_sbindir}/setattr --barrier /vservers || :
388 %post lib -p /sbin/ldconfig
389 %postun lib -p /sbin/ldconfig
392 /sbin/chkconfig --add vservers-default
393 /sbin/chkconfig --add vprocunhide
394 if [ ! -f /var/lock/subsys/vprocunhide ]; then
395 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
397 if [ ! -f /var/lock/subsys/vservers-default ]; then
398 echo "Type \"/etc/rc.d/init.d/vservers-default start\" to start default vservers" 1>&2
402 if [ "$1" = "0" ]; then
403 if [ -r /var/lock/subsys/vprocunhide ]; then
404 /etc/rc.d/init.d/vprocunhide stop >&2
406 if [ -r /var/lock/subsys/vservers-default ]; then
407 /etc/rc.d/init.d/vservers-default stop >&2
409 /sbin/chkconfig --del vprocunhide
410 /sbin/chkconfig --del vservers-default
414 /sbin/chkconfig --add rebootmgr
415 /sbin/chkconfig --add vservers-legacy
416 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
417 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
419 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
420 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
424 if [ "$1" = "0" ]; then
425 if [ -r /var/lock/subsys/rebootmgr ] ; then
426 /etc/rc.d/init.d/rebootmgr stop >&2
428 if [ -r /var/lock/subsys/vservers-legacy ] ; then
429 /etc/rc.d/init.d/vservers-legacy stop >&2
431 /sbin/chkconfig --del rebootmgr
432 /sbin/chkconfig --del vservers-legacy
436 %defattr(644,root,root,755)
437 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
438 %{?with_doc:%doc doc/*.html}
439 %dir %{_sysconfdir}/vservers
440 %dir %{_sysconfdir}/vservers/.defaults
441 %dir %{_sysconfdir}/vservers/.defaults/apps
442 %dir %{_sysconfdir}/vservers/.defaults/files
443 %{_sysconfdir}/vservers/.defaults/vdirbase
444 %{_sysconfdir}/vservers/.defaults/run.rev
445 %{_sysconfdir}/vservers/vdirbase
446 %{_sysconfdir}/vservers/run.rev
448 %attr(755,root,root) %{_sbindir}/chbind
449 %attr(755,root,root) %{_sbindir}/chcontext
450 %attr(755,root,root) %{_sbindir}/chxid
451 %attr(755,root,root) %{_sbindir}/exec-cd
452 %attr(755,root,root) %{_sbindir}/lsxid
453 %attr(755,root,root) %{_sbindir}/reducecap
454 %attr(755,root,root) %{_sbindir}/setattr
455 %attr(755,root,root) %{_sbindir}/showattr
456 %attr(755,root,root) %{_sbindir}/vattribute
457 %attr(755,root,root) %{_sbindir}/vcontext
458 %attr(755,root,root) %{_sbindir}/vdlimit
459 %attr(755,root,root) %{_sbindir}/vnamespace
460 %attr(755,root,root) %{_sbindir}/vkill
461 %attr(755,root,root) %{_sbindir}/vlimit
462 %attr(755,root,root) %{_sbindir}/vdu
463 %attr(755,root,root) %{_sbindir}/vps
464 %attr(755,root,root) %{_sbindir}/vpstree
465 %attr(755,root,root) %{_sbindir}/vrsetup
466 %attr(755,root,root) %{_sbindir}/vsched
467 %attr(755,root,root) %{_sbindir}/vserver
468 %attr(755,root,root) %{_sbindir}/vserver-info
469 %attr(755,root,root) %{_sbindir}/vserver-stat
470 %attr(755,root,root) %{_sbindir}/vsomething
471 %attr(755,root,root) %{_sbindir}/vtop
472 %attr(755,root,root) %{_sbindir}/vuname
473 %attr(755,root,root) %{_sbindir}/vwait
474 %dir %{_libdir}/%{name}
475 %dir %{_libdir}/%{name}/defaults
476 %{_libdir}/%{name}/FEATURES.txt
477 %{_libdir}/%{name}/util-vserver-vars
478 %{_libdir}/%{name}/defaults/*
479 %attr(755,root,root) %{_libdir}/%{name}/capchroot
480 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
481 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
482 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
483 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
484 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
485 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
486 %attr(755,root,root) %{_libdir}/%{name}/filetime
487 %{_libdir}/%{name}/functions
488 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
489 %attr(755,root,root) %{_libdir}/%{name}/lockfile
490 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
491 %attr(755,root,root) %{_libdir}/%{name}/readlink
492 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
493 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
494 %attr(755,root,root) %{_libdir}/%{name}/sigexec
495 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
496 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
497 %{_libdir}/%{name}/vserver.*
498 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
499 %attr(755,root,root) %{_libdir}/%{name}/vshelper
500 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
501 %{_mandir}/man8/chbind.8*
502 %{_mandir}/man8/chcontext.8*
503 %{_mandir}/man8/reducecap.8*
504 %{_mandir}/man8/vps.8*
505 %{_mandir}/man8/vpstree.8*
506 %{_mandir}/man8/vserver-stat.8*
507 %{_mandir}/man8/vserver.8*
508 %{_mandir}/man8/vtop.8*
509 %attr(000,root,root) %dir /vservers
510 %attr(755,root,root) %dir /vservers/.pkg
511 %dir %{_localstatedir}/run/vservers
512 %dir %{_localstatedir}/run/vservers.rev
513 %dir %{_localstatedir}/run/vshelper
516 %defattr(644,root,root,755)
517 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
518 %attr(755,root,root) %{_libdir}/lib*.so
520 %{_includedir}/vserver*.h
521 %{_pkgconfigdir}/*.pc
524 %defattr(644,root,root,755)
525 %{_libdir}/libvserver.a
528 %defattr(644,root,root,755)
529 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
532 %defattr(644,root,root,755)
533 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
534 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-default
535 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
536 %attr(754,root,root) /etc/rc.d/init.d/vservers-default
539 %defattr(644,root,root,755)
540 %doc contrib/yum*.patch package-menagament.txt
541 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
542 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
543 %dir %{_sysconfdir}/vservers/.distributions
544 %dir %{_sysconfdir}/vservers/.distributions/.common
545 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
546 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
547 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
548 %{_sysconfdir}/vservers/.distributions/pld1.99
549 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
550 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
551 %dir %{_libdir}/%{name}/distributions
552 %attr(-, root, root) %{_libdir}/%{name}/distributions/defaults
553 %attr(-, root, root) %{_libdir}/%{name}/distributions/pld*
554 %attr(-, root, root) %{_libdir}/%{name}/distributions/template
555 %attr(-, root, root) %{_libdir}/%{name}/distributions/redhat*
556 %{_libdir}/%{name}/vserver-build.*
557 %{_libdir}/%{name}/vserver-setup.functions
558 %{_libdir}/%{name}/defaults/fstab
559 %{_libdir}/%{name}/defaults/debootstrap.uri
560 %{_libdir}/%{name}/defaults/vunify-exclude
561 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
562 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
563 %attr(755,root,root) %{_libdir}/%{name}/vcopy
564 %attr(755,root,root) %{_libdir}/%{name}/vhashify
565 %attr(755,root,root) %{_libdir}/%{name}/vpkg
566 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
567 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
568 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
569 %attr(755,root,root) %{_libdir}/%{name}/vunify
570 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
571 %attr(755,root,root) %{_sbindir}/vapt-get
572 %attr(755,root,root) %{_sbindir}/vpoldek
573 %attr(755,root,root) %{_sbindir}/vrpm
574 %attr(755,root,root) %{_sbindir}/vyum
576 %files -n vserver-distro-fedora
577 %defattr(644,root,root,755)
578 %dir %{_sysconfdir}/vservers/.distributions/fc*
579 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
580 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
581 %{_libdir}/%{name}/distributions/fc*
583 %files -n vserver-distro-redhat
584 %defattr(644,root,root,755)
585 %dir %{_sysconfdir}/vservers/.distributions/rh*
586 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
587 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
588 %{_libdir}/%{name}/distributions/rh*
590 %files -n vserver-distro-suse
591 %defattr(644,root,root,755)
592 %dir %{_sysconfdir}/vservers/.distributions/suse*
593 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
594 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
595 %{_libdir}/%{name}/distributions/suse*
598 %defattr(644,root,root,755)
599 %dir %{_sysconfdir}/vservices
600 %{_sysconfdir}/vservices/*
601 %dir %{_libdir}/%{name}/legacy
602 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
603 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
604 %attr(754,root,root) /etc/rc.d/init.d/v_*
605 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
606 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
607 %attr(755,root,root) %{_sbindir}/vserver-copy
608 %{_mandir}/man8/distrib-info.8*
609 %{_mandir}/man8/rebootmgr.8*
610 %{_mandir}/man8/vserver-copy.8*
612 %files -n vserver-dev
613 %defattr(644,root,root,755)
615 %dev(c,1,7) %attr(666,root,root) /dev/full
616 %dev(c,1,3) %attr(666,root,root) /dev/null
617 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
618 %dev(c,1,8) %attr(644,root,root) /dev/random
619 %dev(c,5,0) %attr(666,root,root) /dev/tty
620 %dev(c,1,9) %attr(644,root,root) /dev/urandom
621 %dev(c,1,5) %attr(666,root,root) /dev/zero