2 # m68k and mips are the only not supported archs
5 %bcond_without dietlibc # don't use dietlibc (ask for troubles)
6 %bcond_without doc # don't build documentation which needed LaTeX
7 %bcond_with xalan # use the xalan xslt processor
9 Summary: Linux virtual server utilities
10 Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych
15 Group: Applications/System
16 Source0: http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
17 # Source0-md5: 674b122824292c20d3c53245b91f6088
18 Source1: vprocunhide.init
19 Source2: vservers.init
20 Source3: vservers-legacy.init
21 Source4: rebootmgr.init
22 Source5: vservers.sysconfig
23 Source6: vservers-legacy.sysconfig
24 # A bit of documentation explaining package menagement
25 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
26 Source7: %{name}-pkgmgmt.txt
27 Patch0: %{name}-vsysvwrapper.patch
28 Patch1: %{name}-pld.patch
29 Patch2: %{name}-build-poldek.patch
30 Patch3: %{name}-include.patch
31 Patch4: %{name}-m4-diet.patch
32 Patch5: %{name}-cpuset.patch
33 Patch6: %{name}-build-umask.patch
34 Patch7: %{name}-utmpx.patch
35 URL: http://savannah.nongnu.org/projects/util-vserver/
36 BuildRequires: autoconf
37 BuildRequires: automake >= 1.9
38 BuildRequires: beecrypt-devel
39 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
40 BuildRequires: libstdc++-devel
41 BuildRequires: libtool >= 1.5.14
43 BuildRequires: sed >= 4.0
46 BuildRequires: doxygen
47 BuildRequires: graphviz
48 BuildRequires: libxslt-progs
49 BuildRequires: tetex-format-pdflatex
50 BuildRequires: tetex-makeindex
51 %{?with_xalan:BuildRequires: xalan-j}
55 Requires(post,preun): /sbin/chkconfig
56 Requires: %{name}-lib = %{version}-%{release}
57 Obsoletes: util-vserver-core
58 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61 %define _usrbin /usr/bin
62 %define _usrsbin /usr/sbin
63 %define _usrlib /usr/lib
66 This package provides the components and a framework to setup virtual
67 servers. A virtual server runs inside a Linux server. It is
68 nevertheless highly independent. As such, you can run various services
69 with normal configuration. The various vservers can't interact with
70 each other and can't interact with services in the main server.
72 This requires a special kernel supporting the new new_s_context and
73 set_ipv4root system call.
75 This package contains utilities which are required to communicate with
76 the Linux-Vserver enabled kernel.
79 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
80 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
81 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
82 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
83 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
85 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
86 new_s_context i set_ipv4root.
88 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
89 w³±czonym mechanizmem Linux-Vserver.
92 Summary: Development files for Linux vserver libraries
93 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
94 Group: Development/Libraries
95 Requires: %{name}-lib = %{version}-%{release}
98 This package contains the development files necessary for developing
99 programs which use vserver library.
101 %description devel -l pl
102 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
103 programów u¿ywaj±cych biblioteki vserver.
106 Summary: Static vserver library
107 Summary(pl): Biblioteka statyczna vservera
108 Group: Development/Libraries
109 Requires: %{name}-devel = %{version}-%{release}
112 This package contains the static version of vserver library.
114 %description static -l pl
115 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
118 Summary: Dynamic libraries for util-vserver
119 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
123 util-vserver provides the components and a framework to setup virtual
124 servers. A virtual server runs inside a linux server. It is
125 nevertheless highly independent. As such, you can run various services
126 with normal configuration. The various vservers can't interact with
127 each other and can't interact with services in the main server.
129 This package contains the shared libraries needed by all other
130 'util-vserver' subpackages.
132 %description lib -l pl
133 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
134 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
135 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
136 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
137 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
139 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
140 podpakiety util-vserver.
143 Summary: Tools which can be used to build vservers
144 Summary(pl): Narzêdzia do budowania vserverów
145 Group: Applications/System
146 Conflicts: poldek < 0.18.8-10
147 Requires: %{name} = %{version}-%{release}
150 util-vserver provides the components and a framework to setup virtual
151 servers. A virtual server runs inside a linux server. It is
152 nevertheless highly independent. As such, you can run various services
153 with normal configuration. The various vservers can't interact with
154 each other and can't interact with services in the main server.
156 This package contains utilities which assist in building Vservers.
158 %description build -l pl
159 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
160 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
161 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
162 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
163 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
165 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
167 %package -n vserver-distro-fedora
168 Summary: VServer build templates for Fedora Core
169 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
170 Group: Applications/System
171 Requires: %{name} = %{version}-%{release}
178 %description -n vserver-distro-fedora
179 VServer build templates for Fedora Core 1,2,3,4.
181 %description -n vserver-distro-fedora -l pl
182 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
184 %package -n vserver-distro-redhat
185 Summary: VServer build template for Red Hat Linux 9
186 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
187 Group: Applications/System
188 Requires: %{name} = %{version}-%{release}
195 %description -n vserver-distro-redhat
196 VServer build template for RedHat Linux 9.
198 %description -n vserver-distro-redhat -l pl
199 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
201 %package -n vserver-distro-suse
202 Summary: VServer build template for SuSE 9.1
203 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
204 Group: Applications/System
205 Requires: %{name} = %{version}-%{release}
212 %description -n vserver-distro-suse
213 VServer build template for SuSE Linux 9.1.
215 %description -n vserver-distro-suse -l pl
216 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
218 %package -n vserver-distro-centos
219 Summary: VServer build template for CentOS 4.2
220 Summary(pl): Szablon budowania VServera dla CentOS 4.2
221 Group: Applications/System
222 Requires: util-vserver-build
225 %description -n vserver-distro-centos
226 VServer build template for CentOS 4.2.
228 %description -n vserver-distro-centos -l pl
229 Szablon budowania VServera dla CentOS 4.2.
232 Summary: initscripts for vserver
233 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
234 Group: Applications/System
235 Requires(post,preun): /sbin/chkconfig
236 Requires: %{name} = %{version}-%{release}
242 util-vserver provides the components and a framework to setup virtual
243 servers. A virtual server runs inside a linux server. It is
244 nevertheless highly independent. As such, you can run various services
245 with normal configuration. The various vservers can't interact with
246 each other and can't interact with services in the main server.
248 This package contains the SysV initscripts which start and stop
249 Vservers and related tools.
251 %description init -l pl
252 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
253 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
254 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
255 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
256 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
258 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
259 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
262 Summary: Legacy utilities for util-vserver
263 Summary(pl): Stare narzêdzia dla util-vserver
264 Group: Applications/System
265 Requires(post,preun): /sbin/chkconfig
266 Requires: %{name} = %{version}-%{release}
270 util-vserver provides the components and a framework to setup virtual
271 servers. A virtual server runs inside a linux server. It is
272 nevertheless highly independent. As such, you can run various services
273 with normal configuration. The various vservers can't interact with
274 each other and can't interact with services in the main server.
276 This package contains the tools which are needed to work with Vservers
277 having an old-style configuration.
279 %description legacy -l pl
280 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
281 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
282 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
283 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
284 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
286 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
287 konfiguracjê w starym stylu.
289 %package -n vserver-dev
290 Summary: /dev entries for systems in Vservers
291 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
293 Requires: setup >= 2.4.1-2
294 Provides: dev = 2.9.0-19
298 %description -n vserver-dev
299 Unix and unix like systems (including Linux) use file system entries
300 to represent devices attached to the machine. All of these entries are
301 in the /dev tree (though they don't have to be), and this package
302 contains only entries needed for a system running inside Vserver.
304 DO NOT install this package for a normal system!
306 %description -n vserver-dev -l pl
307 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
308 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
309 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
310 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
312 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
325 install %{SOURCE7} package-menagament.txt
327 cp -a compat.h vserver-compat.h
331 CFLAGS="%{rpmcflags} -D__GLIBC__"
337 --with-initrddir=/etc/rc.d/init.d \
339 %{?with_dietlibc:--enable-dietlibc} \
340 %{!?with_dietlibc:--disable-dietlibc} \
346 IPTABLES=%{_usrsbin}/iptables \
347 MODPROBE=/sbin/modprobe \
348 NAMEIF=/sbin/nameif \
350 VCONFIG=/sbin/vconfig \
351 WGET=%{_usrbin}/wget \
354 %{?with_doc:%{__make} doc}
357 rm -rf $RPM_BUILD_ROOT
358 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
360 %{__make} install install-distribution \
361 DESTDIR=$RPM_BUILD_ROOT
363 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
365 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
367 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
368 install -d $RPM_BUILD_ROOT/vservers/.pkg
369 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
370 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
372 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
373 s=`basename $i | sed s/v_//`
374 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
375 # IP addresses/interfaces to bound $s service to
381 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
382 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
383 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
384 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
385 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
386 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
387 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
388 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
389 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
390 $RPM_BUILD_ROOT/etc/sysconfig/vservers
392 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
394 ln -sf null $RPM_BUILD_ROOT/dev/initctl
397 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
398 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
402 rm -rf $RPM_BUILD_ROOT
405 %{_sbindir}/setattr --barrier /vservers || :
407 %post lib -p /sbin/ldconfig
408 %postun lib -p /sbin/ldconfig
411 /sbin/chkconfig --add vservers-default
412 /sbin/chkconfig --add vprocunhide
413 if [ ! -f /var/lock/subsys/vprocunhide ]; then
414 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
416 if [ ! -f /var/lock/subsys/vservers-default ]; then
417 echo "Type \"/etc/rc.d/init.d/vservers-default start\" to start default vservers" 1>&2
421 if [ "$1" = "0" ]; then
422 if [ -r /var/lock/subsys/vprocunhide ]; then
423 /etc/rc.d/init.d/vprocunhide stop >&2
425 if [ -r /var/lock/subsys/vservers-default ]; then
426 /etc/rc.d/init.d/vservers-default stop >&2
428 /sbin/chkconfig --del vprocunhide
429 /sbin/chkconfig --del vservers-default
433 /sbin/chkconfig --add rebootmgr
434 /sbin/chkconfig --add vservers-legacy
435 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
436 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
438 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
439 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
443 if [ "$1" = "0" ]; then
444 if [ -r /var/lock/subsys/rebootmgr ] ; then
445 /etc/rc.d/init.d/rebootmgr stop >&2
447 if [ -r /var/lock/subsys/vservers-legacy ] ; then
448 /etc/rc.d/init.d/vservers-legacy stop >&2
450 /sbin/chkconfig --del rebootmgr
451 /sbin/chkconfig --del vservers-legacy
455 %defattr(644,root,root,755)
456 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
457 %{?with_doc:%doc doc/*.html}
458 %dir %{_sysconfdir}/vservers
459 %dir %{_sysconfdir}/vservers/.defaults
460 %dir %{_sysconfdir}/vservers/.defaults/apps
461 %dir %{_sysconfdir}/vservers/.defaults/files
462 %{_sysconfdir}/vservers/.defaults/vdirbase
463 %{_sysconfdir}/vservers/.defaults/run.rev
464 %{_sysconfdir}/vservers/vdirbase
465 %{_sysconfdir}/vservers/run.rev
467 %attr(755,root,root) %{_sbindir}/chbind
468 %attr(755,root,root) %{_sbindir}/chcontext
469 %attr(755,root,root) %{_sbindir}/chxid
470 %attr(755,root,root) %{_sbindir}/exec-cd
471 %attr(755,root,root) %{_sbindir}/lsxid
472 %attr(755,root,root) %{_sbindir}/reducecap
473 %attr(755,root,root) %{_sbindir}/setattr
474 %attr(755,root,root) %{_sbindir}/showattr
475 %attr(755,root,root) %{_sbindir}/vattribute
476 %attr(755,root,root) %{_sbindir}/vcontext
477 %attr(755,root,root) %{_sbindir}/vdlimit
478 %attr(755,root,root) %{_sbindir}/vnamespace
479 %attr(755,root,root) %{_sbindir}/vkill
480 %attr(755,root,root) %{_sbindir}/vlimit
481 %attr(755,root,root) %{_sbindir}/vdu
482 %attr(755,root,root) %{_sbindir}/vps
483 %attr(755,root,root) %{_sbindir}/vpstree
484 %attr(755,root,root) %{_sbindir}/vrsetup
485 %attr(755,root,root) %{_sbindir}/vsched
486 %attr(755,root,root) %{_sbindir}/vserver
487 %attr(755,root,root) %{_sbindir}/vserver-info
488 %attr(755,root,root) %{_sbindir}/vserver-stat
489 %attr(755,root,root) %{_sbindir}/vsomething
490 %attr(755,root,root) %{_sbindir}/vtop
491 %attr(755,root,root) %{_sbindir}/vuname
492 %attr(755,root,root) %{_sbindir}/vwait
493 %dir %{_libdir}/%{name}
494 %dir %{_libdir}/%{name}/defaults
495 %{_libdir}/%{name}/FEATURES.txt
496 %{_libdir}/%{name}/util-vserver-vars
497 %{_libdir}/%{name}/defaults/*
498 %attr(755,root,root) %{_libdir}/%{name}/capchroot
499 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
500 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
501 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
502 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
503 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
504 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
505 %attr(755,root,root) %{_libdir}/%{name}/filetime
506 %{_libdir}/%{name}/functions
507 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
508 %attr(755,root,root) %{_libdir}/%{name}/lockfile
509 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
510 %attr(755,root,root) %{_libdir}/%{name}/readlink
511 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
512 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
513 %attr(755,root,root) %{_libdir}/%{name}/sigexec
514 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
515 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
516 %{_libdir}/%{name}/vserver.*
517 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
518 %attr(755,root,root) %{_libdir}/%{name}/vshelper
519 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
520 %{_mandir}/man8/chbind.8*
521 %{_mandir}/man8/chcontext.8*
522 %{_mandir}/man8/reducecap.8*
523 %{_mandir}/man8/vps.8*
524 %{_mandir}/man8/vpstree.8*
525 %{_mandir}/man8/vserver-stat.8*
526 %{_mandir}/man8/vserver.8*
527 %{_mandir}/man8/vtop.8*
528 %attr(000,root,root) %dir /vservers
529 %attr(755,root,root) %dir /vservers/.pkg
530 %dir %{_localstatedir}/run/vservers
531 %dir %{_localstatedir}/run/vservers.rev
532 %dir %{_localstatedir}/run/vshelper
535 %defattr(644,root,root,755)
536 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
537 %attr(755,root,root) %{_libdir}/lib*.so
539 %{_includedir}/vserver*.h
540 %{_pkgconfigdir}/*.pc
543 %defattr(644,root,root,755)
544 %{_libdir}/libvserver.a
547 %defattr(644,root,root,755)
548 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
551 %defattr(644,root,root,755)
552 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
553 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-default
554 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
555 %attr(754,root,root) /etc/rc.d/init.d/vservers-default
558 %defattr(644,root,root,755)
559 %doc contrib/yum*.patch package-menagament.txt
560 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
561 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
562 %dir %{_sysconfdir}/vservers/.distributions
563 %dir %{_sysconfdir}/vservers/.distributions/.common
564 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
565 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
566 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
567 %{_sysconfdir}/vservers/.distributions/pld1.99
568 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
569 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
570 %dir %{_libdir}/%{name}/distributions
571 %attr(-, root, root) %{_libdir}/%{name}/distributions/defaults
572 %attr(-, root, root) %{_libdir}/%{name}/distributions/pld*
573 %attr(-, root, root) %{_libdir}/%{name}/distributions/template
574 %attr(-, root, root) %{_libdir}/%{name}/distributions/redhat*
575 %{_libdir}/%{name}/vserver-build.*
576 %{_libdir}/%{name}/vserver-setup.functions
577 %{_libdir}/%{name}/defaults/fstab
578 %{_libdir}/%{name}/defaults/debootstrap.uri
579 %{_libdir}/%{name}/defaults/vunify-exclude
580 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
581 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
582 %attr(755,root,root) %{_libdir}/%{name}/vcopy
583 %attr(755,root,root) %{_libdir}/%{name}/vhashify
584 %attr(755,root,root) %{_libdir}/%{name}/vpkg
585 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
586 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
587 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
588 %attr(755,root,root) %{_libdir}/%{name}/vunify
589 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
590 %attr(755,root,root) %{_sbindir}/vapt-get
591 %attr(755,root,root) %{_sbindir}/vpoldek
592 %attr(755,root,root) %{_sbindir}/vrpm
593 %attr(755,root,root) %{_sbindir}/vyum
595 %files -n vserver-distro-fedora
596 %defattr(644,root,root,755)
597 %dir %{_sysconfdir}/vservers/.distributions/fc*
598 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
599 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
600 %{_libdir}/%{name}/distributions/fc*
602 %files -n vserver-distro-redhat
603 %defattr(644,root,root,755)
604 %dir %{_sysconfdir}/vservers/.distributions/rh*
605 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
606 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
607 %{_libdir}/%{name}/distributions/rh*
609 %files -n vserver-distro-suse
610 %defattr(644,root,root,755)
611 %dir %{_sysconfdir}/vservers/.distributions/suse*
612 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
613 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
614 %{_libdir}/%{name}/distributions/suse*
616 %files -n vserver-distro-centos
617 %defattr(644,root,root,755)
618 %{_libdir}/util-vserver/distributions/centos42
621 %defattr(644,root,root,755)
622 %dir %{_sysconfdir}/vservices
623 %{_sysconfdir}/vservices/*
624 %dir %{_libdir}/%{name}/legacy
625 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
626 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
627 %attr(754,root,root) /etc/rc.d/init.d/v_*
628 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
629 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
630 %attr(755,root,root) %{_sbindir}/vserver-copy
631 %{_mandir}/man8/distrib-info.8*
632 %{_mandir}/man8/rebootmgr.8*
633 %{_mandir}/man8/vserver-copy.8*
635 %files -n vserver-dev
636 %defattr(644,root,root,755)
638 %dev(c,1,7) %attr(666,root,root) /dev/full
639 %dev(c,1,3) %attr(666,root,root) /dev/null
640 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
641 %dev(c,1,8) %attr(644,root,root) /dev/random
642 %dev(c,5,0) %attr(666,root,root) /dev/tty
643 %dev(c,1,9) %attr(644,root,root) /dev/urandom
644 %dev(c,1,5) %attr(666,root,root) /dev/zero