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-default.init
20 Source3: vservers-legacy.init
21 Source4: rebootmgr.init
22 Source5: vservers-default.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 Patch7: %{name}-cpuset.patch
33 Patch8: %{name}-build-umask.patch
34 Patch10: %{name}-mounted.patch
35 Patch11: %{name}-utmpx.patch
36 URL: http://savannah.nongnu.org/projects/util-vserver/
37 BuildRequires: autoconf
38 BuildRequires: automake >= 1.9
39 BuildRequires: beecrypt-devel
40 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
41 BuildRequires: libstdc++-devel
42 BuildRequires: libtool >= 1.5.14
44 BuildRequires: sed >= 4.0
47 BuildRequires: doxygen
48 BuildRequires: graphviz
49 BuildRequires: libxslt-progs
50 BuildRequires: tetex-format-pdflatex
51 BuildRequires: tetex-makeindex
52 %{?with_xalan:BuildRequires: xalan-j}
56 Requires(post,preun): /sbin/chkconfig
57 Requires: %{name}-lib = %{version}-%{release}
58 Obsoletes: util-vserver-core
59 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62 %define _usrbin /usr/bin
63 %define _usrsbin /usr/sbin
64 %define _usrlib /usr/lib
67 This package provides the components and a framework to setup virtual
68 servers. A virtual server runs inside a Linux server. It is
69 nevertheless highly independent. As such, you can run various services
70 with normal configuration. The various vservers can't interact with
71 each other and can't interact with services in the main server.
73 This requires a special kernel supporting the new new_s_context and
74 set_ipv4root system call.
76 This package contains utilities which are required to communicate with
77 the Linux-Vserver enabled kernel.
80 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
81 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
82 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
83 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
84 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
86 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
87 new_s_context i set_ipv4root.
89 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
90 w³±czonym mechanizmem Linux-Vserver.
93 Summary: Development files for Linux vserver libraries
94 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
95 Group: Development/Libraries
96 Requires: %{name}-lib = %{version}-%{release}
99 This package contains the development files necessary for developing
100 programs which use vserver library.
102 %description devel -l pl
103 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
104 programów u¿ywaj±cych biblioteki vserver.
107 Summary: Static vserver library
108 Summary(pl): Biblioteka statyczna vservera
109 Group: Development/Libraries
110 Requires: %{name}-devel = %{version}-%{release}
113 This package contains the static version of vserver library.
115 %description static -l pl
116 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
119 Summary: Dynamic libraries for util-vserver
120 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
124 util-vserver provides the components and a framework to setup virtual
125 servers. A virtual server runs inside a linux server. It is
126 nevertheless highly independent. As such, you can run various services
127 with normal configuration. The various vservers can't interact with
128 each other and can't interact with services in the main server.
130 This package contains the shared libraries needed by all other
131 'util-vserver' subpackages.
133 %description lib -l pl
134 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
135 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
136 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
137 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
138 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
140 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
141 podpakiety util-vserver.
144 Summary: Tools which can be used to build vservers
145 Summary(pl): Narzêdzia do budowania vserverów
146 Group: Applications/System
147 Conflicts: poldek < 0.18.8-10
148 Requires: %{name} = %{version}-%{release}
151 util-vserver provides the components and a framework to setup virtual
152 servers. A virtual server runs inside a linux server. It is
153 nevertheless highly independent. As such, you can run various services
154 with normal configuration. The various vservers can't interact with
155 each other and can't interact with services in the main server.
157 This package contains utilities which assist in building Vservers.
159 %description build -l pl
160 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
161 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
162 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
163 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
164 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
166 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
168 %package -n vserver-distro-fedora
169 Summary: VServer build templates for Fedora Core
170 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
171 Group: Applications/System
172 Requires: %{name} = %{version}-%{release}
179 %description -n vserver-distro-fedora
180 VServer build templates for Fedora Core 1,2,3,4.
182 %description -n vserver-distro-fedora -l pl
183 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
185 %package -n vserver-distro-redhat
186 Summary: VServer build template for Red Hat Linux 9
187 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
188 Group: Applications/System
189 Requires: %{name} = %{version}-%{release}
196 %description -n vserver-distro-redhat
197 VServer build template for RedHat Linux 9.
199 %description -n vserver-distro-redhat -l pl
200 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
202 %package -n vserver-distro-suse
203 Summary: VServer build template for SuSE 9.1
204 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
205 Group: Applications/System
206 Requires: %{name} = %{version}-%{release}
213 %description -n vserver-distro-suse
214 VServer build template for SuSE Linux 9.1.
216 %description -n vserver-distro-suse -l pl
217 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
219 %package -n vserver-distro-centos
220 Summary: VServer build template for CentOS 4.2
221 Summary(pl): Szablon budowania VServera dla CentOS 4.2
222 Group: Applications/System
223 Requires: util-vserver-build
226 %description -n vserver-distro-centos
227 VServer build template for CentOS 4.2.
229 %description -n vserver-distro-centos -l pl
230 Szablon budowania VServera dla CentOS 4.2.
233 Summary: initscripts for vserver
234 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
235 Group: Applications/System
236 Requires(post,preun): /sbin/chkconfig
237 Requires: %{name} = %{version}-%{release}
243 util-vserver provides the components and a framework to setup virtual
244 servers. A virtual server runs inside a linux server. It is
245 nevertheless highly independent. As such, you can run various services
246 with normal configuration. The various vservers can't interact with
247 each other and can't interact with services in the main server.
249 This package contains the SysV initscripts which start and stop
250 Vservers and related tools.
252 %description init -l pl
253 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
254 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
255 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
256 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
257 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
259 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
260 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
263 Summary: Legacy utilities for util-vserver
264 Summary(pl): Stare narzêdzia dla util-vserver
265 Group: Applications/System
266 Requires(post,preun): /sbin/chkconfig
267 Requires: %{name} = %{version}-%{release}
271 util-vserver provides the components and a framework to setup virtual
272 servers. A virtual server runs inside a linux server. It is
273 nevertheless highly independent. As such, you can run various services
274 with normal configuration. The various vservers can't interact with
275 each other and can't interact with services in the main server.
277 This package contains the tools which are needed to work with Vservers
278 having an old-style configuration.
280 %description legacy -l pl
281 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
282 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
283 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
284 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
285 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
287 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
288 konfiguracjê w starym stylu.
290 %package -n vserver-dev
291 Summary: /dev entries for systems in Vservers
292 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
294 Requires: setup >= 2.4.1-2
295 Provides: dev = 2.9.0-19
299 %description -n vserver-dev
300 Unix and unix like systems (including Linux) use file system entries
301 to represent devices attached to the machine. All of these entries are
302 in the /dev tree (though they don't have to be), and this package
303 contains only entries needed for a system running inside Vserver.
305 DO NOT install this package for a normal system!
307 %description -n vserver-dev -l pl
308 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
309 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
310 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
311 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
313 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
327 install %{SOURCE7} package-menagament.txt
329 cp -a compat.h vserver-compat.h
333 CFLAGS="%{rpmcflags} -D__GLIBC__"
339 --with-initrddir=/etc/rc.d/init.d \
341 %{?with_dietlibc:--enable-dietlibc} \
342 %{!?with_dietlibc:--disable-dietlibc} \
348 IPTABLES=%{_usrsbin}/iptables \
349 MODPROBE=/sbin/modprobe \
350 NAMEIF=/sbin/nameif \
352 VCONFIG=/sbin/vconfig \
353 WGET=%{_usrbin}/wget \
356 %{?with_doc:%{__make} doc}
359 rm -rf $RPM_BUILD_ROOT
360 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
362 %{__make} install install-distribution \
363 DESTDIR=$RPM_BUILD_ROOT
365 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
367 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
369 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
370 install -d $RPM_BUILD_ROOT/vservers/.pkg
371 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
372 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
374 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
375 s=`basename $i | sed s/v_//`
376 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
377 # IP addresses/interfaces to bound $s service to
383 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
384 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
385 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
386 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-default
387 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
388 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
389 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
390 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
392 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/vservers-default
393 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
395 ln -sf null $RPM_BUILD_ROOT/dev/initctl
398 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
399 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
403 rm -rf $RPM_BUILD_ROOT
406 %{_sbindir}/setattr --barrier /vservers || :
408 %post lib -p /sbin/ldconfig
409 %postun lib -p /sbin/ldconfig
412 /sbin/chkconfig --add vservers-default
413 /sbin/chkconfig --add vprocunhide
414 if [ ! -f /var/lock/subsys/vprocunhide ]; then
415 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
417 if [ ! -f /var/lock/subsys/vservers-default ]; then
418 echo "Type \"/etc/rc.d/init.d/vservers-default start\" to start default vservers" 1>&2
422 if [ "$1" = "0" ]; then
423 if [ -r /var/lock/subsys/vprocunhide ]; then
424 /etc/rc.d/init.d/vprocunhide stop >&2
426 if [ -r /var/lock/subsys/vservers-default ]; then
427 /etc/rc.d/init.d/vservers-default stop >&2
429 /sbin/chkconfig --del vprocunhide
430 /sbin/chkconfig --del vservers-default
434 /sbin/chkconfig --add rebootmgr
435 /sbin/chkconfig --add vservers-legacy
436 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
437 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
439 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
440 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
444 if [ "$1" = "0" ]; then
445 if [ -r /var/lock/subsys/rebootmgr ] ; then
446 /etc/rc.d/init.d/rebootmgr stop >&2
448 if [ -r /var/lock/subsys/vservers-legacy ] ; then
449 /etc/rc.d/init.d/vservers-legacy stop >&2
451 /sbin/chkconfig --del rebootmgr
452 /sbin/chkconfig --del vservers-legacy
456 %defattr(644,root,root,755)
457 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
458 %{?with_doc:%doc doc/*.html}
459 %dir %{_sysconfdir}/vservers
460 %dir %{_sysconfdir}/vservers/.defaults
461 %dir %{_sysconfdir}/vservers/.defaults/apps
462 %dir %{_sysconfdir}/vservers/.defaults/files
463 %{_sysconfdir}/vservers/.defaults/vdirbase
464 %{_sysconfdir}/vservers/.defaults/run.rev
465 %{_sysconfdir}/vservers/vdirbase
466 %{_sysconfdir}/vservers/run.rev
468 %attr(755,root,root) %{_sbindir}/chbind
469 %attr(755,root,root) %{_sbindir}/chcontext
470 %attr(755,root,root) %{_sbindir}/chxid
471 %attr(755,root,root) %{_sbindir}/exec-cd
472 %attr(755,root,root) %{_sbindir}/lsxid
473 %attr(755,root,root) %{_sbindir}/reducecap
474 %attr(755,root,root) %{_sbindir}/setattr
475 %attr(755,root,root) %{_sbindir}/showattr
476 %attr(755,root,root) %{_sbindir}/vattribute
477 %attr(755,root,root) %{_sbindir}/vcontext
478 %attr(755,root,root) %{_sbindir}/vdlimit
479 %attr(755,root,root) %{_sbindir}/vnamespace
480 %attr(755,root,root) %{_sbindir}/vkill
481 %attr(755,root,root) %{_sbindir}/vlimit
482 %attr(755,root,root) %{_sbindir}/vdu
483 %attr(755,root,root) %{_sbindir}/vps
484 %attr(755,root,root) %{_sbindir}/vpstree
485 %attr(755,root,root) %{_sbindir}/vrsetup
486 %attr(755,root,root) %{_sbindir}/vsched
487 %attr(755,root,root) %{_sbindir}/vserver
488 %attr(755,root,root) %{_sbindir}/vserver-info
489 %attr(755,root,root) %{_sbindir}/vserver-stat
490 %attr(755,root,root) %{_sbindir}/vsomething
491 %attr(755,root,root) %{_sbindir}/vtop
492 %attr(755,root,root) %{_sbindir}/vuname
493 %attr(755,root,root) %{_sbindir}/vwait
494 %dir %{_libdir}/%{name}
495 %dir %{_libdir}/%{name}/defaults
496 %{_libdir}/%{name}/FEATURES.txt
497 %{_libdir}/%{name}/util-vserver-vars
498 %{_libdir}/%{name}/defaults/*
499 %attr(755,root,root) %{_libdir}/%{name}/capchroot
500 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
501 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
502 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
503 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
504 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
505 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
506 %attr(755,root,root) %{_libdir}/%{name}/filetime
507 %{_libdir}/%{name}/functions
508 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
509 %attr(755,root,root) %{_libdir}/%{name}/lockfile
510 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
511 %attr(755,root,root) %{_libdir}/%{name}/readlink
512 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
513 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
514 %attr(755,root,root) %{_libdir}/%{name}/sigexec
515 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
516 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
517 %{_libdir}/%{name}/vserver.*
518 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
519 %attr(755,root,root) %{_libdir}/%{name}/vshelper
520 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
521 %{_mandir}/man8/chbind.8*
522 %{_mandir}/man8/chcontext.8*
523 %{_mandir}/man8/reducecap.8*
524 %{_mandir}/man8/vps.8*
525 %{_mandir}/man8/vpstree.8*
526 %{_mandir}/man8/vserver-stat.8*
527 %{_mandir}/man8/vserver.8*
528 %{_mandir}/man8/vtop.8*
529 %attr(000,root,root) %dir /vservers
530 %attr(755,root,root) %dir /vservers/.pkg
531 %dir %{_localstatedir}/run/vservers
532 %dir %{_localstatedir}/run/vservers.rev
533 %dir %{_localstatedir}/run/vshelper
536 %defattr(644,root,root,755)
537 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
538 %attr(755,root,root) %{_libdir}/lib*.so
540 %{_includedir}/vserver*.h
541 %{_pkgconfigdir}/*.pc
544 %defattr(644,root,root,755)
545 %{_libdir}/libvserver.a
548 %defattr(644,root,root,755)
549 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
552 %defattr(644,root,root,755)
553 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
554 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-default
555 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
556 %attr(754,root,root) /etc/rc.d/init.d/vservers-default
559 %defattr(644,root,root,755)
560 %doc contrib/yum*.patch package-menagament.txt
561 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
562 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
563 %dir %{_sysconfdir}/vservers/.distributions
564 %dir %{_sysconfdir}/vservers/.distributions/.common
565 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
566 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
567 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
568 %{_sysconfdir}/vservers/.distributions/pld1.99
569 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
570 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
571 %dir %{_libdir}/%{name}/distributions
572 %attr(-, root, root) %{_libdir}/%{name}/distributions/defaults
573 %attr(-, root, root) %{_libdir}/%{name}/distributions/pld*
574 %attr(-, root, root) %{_libdir}/%{name}/distributions/template
575 %attr(-, root, root) %{_libdir}/%{name}/distributions/redhat*
576 %{_libdir}/%{name}/vserver-build.*
577 %{_libdir}/%{name}/vserver-setup.functions
578 %{_libdir}/%{name}/defaults/fstab
579 %{_libdir}/%{name}/defaults/debootstrap.uri
580 %{_libdir}/%{name}/defaults/vunify-exclude
581 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
582 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
583 %attr(755,root,root) %{_libdir}/%{name}/vcopy
584 %attr(755,root,root) %{_libdir}/%{name}/vhashify
585 %attr(755,root,root) %{_libdir}/%{name}/vpkg
586 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
587 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
588 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
589 %attr(755,root,root) %{_libdir}/%{name}/vunify
590 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
591 %attr(755,root,root) %{_sbindir}/vapt-get
592 %attr(755,root,root) %{_sbindir}/vpoldek
593 %attr(755,root,root) %{_sbindir}/vrpm
594 %attr(755,root,root) %{_sbindir}/vyum
596 %files -n vserver-distro-fedora
597 %defattr(644,root,root,755)
598 %dir %{_sysconfdir}/vservers/.distributions/fc*
599 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
600 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
601 %{_libdir}/%{name}/distributions/fc*
603 %files -n vserver-distro-redhat
604 %defattr(644,root,root,755)
605 %dir %{_sysconfdir}/vservers/.distributions/rh*
606 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
607 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
608 %{_libdir}/%{name}/distributions/rh*
610 %files -n vserver-distro-suse
611 %defattr(644,root,root,755)
612 %dir %{_sysconfdir}/vservers/.distributions/suse*
613 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
614 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
615 %{_libdir}/%{name}/distributions/suse*
617 %files -n vserver-distro-centos
618 %defattr(644,root,root,755)
619 %{_libdir}/util-vserver/distributions/centos42
622 %defattr(644,root,root,755)
623 %dir %{_sysconfdir}/vservices
624 %{_sysconfdir}/vservices/*
625 %dir %{_libdir}/%{name}/legacy
626 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
627 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
628 %attr(754,root,root) /etc/rc.d/init.d/v_*
629 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
630 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
631 %attr(755,root,root) %{_sbindir}/vserver-copy
632 %{_mandir}/man8/distrib-info.8*
633 %{_mandir}/man8/rebootmgr.8*
634 %{_mandir}/man8/vserver-copy.8*
636 %files -n vserver-dev
637 %defattr(644,root,root,755)
639 %dev(c,1,7) %attr(666,root,root) /dev/full
640 %dev(c,1,3) %attr(666,root,root) /dev/null
641 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
642 %dev(c,1,8) %attr(644,root,root) /dev/random
643 %dev(c,5,0) %attr(666,root,root) /dev/tty
644 %dev(c,1,9) %attr(644,root,root) /dev/urandom
645 %dev(c,1,5) %attr(666,root,root) /dev/zero