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 # To be removed when tetex-format-pdflatex, tetex-pdftex...
52 # ...and graphviz packages get fixed
53 BuildRequires: tetex-fonts-jknappen
54 BuildRequires: tetex-metafont
55 BuildRequires: ghostscript
56 BuildRequires: ghostscript-fonts-std
57 %{?with_xalan:BuildRequires: xalan-j}
61 Requires(post,preun): /sbin/chkconfig
62 Requires: %{name}-lib = %{version}-%{release}
63 Obsoletes: util-vserver-core
64 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67 %define _usrbin /usr/bin
68 %define _usrsbin /usr/sbin
69 %define _usrlib /usr/lib
72 This package provides the components and a framework to setup virtual
73 servers. A virtual server runs inside a Linux server. It is
74 nevertheless highly independent. As such, you can run various services
75 with normal configuration. The various vservers can't interact with
76 each other and can't interact with services in the main server.
78 This requires a special kernel supporting the new new_s_context and
79 set_ipv4root system call.
81 This package contains utilities which are required to communicate with
82 the Linux-Vserver enabled kernel.
85 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
86 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
87 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
88 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
89 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
91 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
92 new_s_context i set_ipv4root.
94 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
95 w³±czonym mechanizmem Linux-Vserver.
98 Summary: Development files for Linux vserver libraries
99 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
100 Group: Development/Libraries
101 Requires: %{name}-lib = %{version}-%{release}
104 This package contains the development files necessary for developing
105 programs which use vserver library.
107 %description devel -l pl
108 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
109 programów u¿ywaj±cych biblioteki vserver.
112 Summary: Static vserver library
113 Summary(pl): Biblioteka statyczna vservera
114 Group: Development/Libraries
115 Requires: %{name}-devel = %{version}-%{release}
118 This package contains the static version of vserver library.
120 %description static -l pl
121 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
124 Summary: Dynamic libraries for util-vserver
125 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
129 util-vserver provides the components and a framework to setup virtual
130 servers. A virtual server runs inside a linux server. It is
131 nevertheless highly independent. As such, you can run various services
132 with normal configuration. The various vservers can't interact with
133 each other and can't interact with services in the main server.
135 This package contains the shared libraries needed by all other
136 'util-vserver' subpackages.
138 %description lib -l pl
139 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
140 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
141 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
142 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
143 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
145 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
146 podpakiety util-vserver.
149 Summary: Tools which can be used to build vservers
150 Summary(pl): Narzêdzia do budowania vserverów
151 Group: Applications/System
152 Conflicts: poldek < 0.18.8-10
153 Requires: %{name} = %{version}-%{release}
156 util-vserver provides the components and a framework to setup virtual
157 servers. A virtual server runs inside a linux server. It is
158 nevertheless highly independent. As such, you can run various services
159 with normal configuration. The various vservers can't interact with
160 each other and can't interact with services in the main server.
162 This package contains utilities which assist in building Vservers.
164 %description build -l pl
165 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
166 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
167 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
168 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
169 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
171 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
173 %package -n vserver-distro-fedora
174 Summary: VServer build templates for Fedora Core
175 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
176 Group: Applications/System
177 Requires: %{name} = %{version}-%{release}
184 %description -n vserver-distro-fedora
185 VServer build templates for Fedora Core 1,2,3,4.
187 %description -n vserver-distro-fedora -l pl
188 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
190 %package -n vserver-distro-redhat
191 Summary: VServer build template for Red Hat Linux 9
192 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
193 Group: Applications/System
194 Requires: %{name} = %{version}-%{release}
201 %description -n vserver-distro-redhat
202 VServer build template for RedHat Linux 9.
204 %description -n vserver-distro-redhat -l pl
205 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
207 %package -n vserver-distro-suse
208 Summary: VServer build template for SuSE 9.1
209 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
210 Group: Applications/System
211 Requires: %{name} = %{version}-%{release}
218 %description -n vserver-distro-suse
219 VServer build template for SuSE Linux 9.1.
221 %description -n vserver-distro-suse -l pl
222 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
224 %package -n vserver-distro-centos
225 Summary: VServer build template for CentOS 4.2
226 Summary(pl): Szablon budowania VServera dla CentOS 4.2
227 Group: Applications/System
228 Requires: util-vserver-build
231 %description -n vserver-distro-centos
232 VServer build template for CentOS 4.2.
234 %description -n vserver-distro-centos -l pl
235 Szablon budowania VServera dla CentOS 4.2.
238 Summary: initscripts for vserver
239 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
240 Group: Applications/System
241 Requires(post,preun): /sbin/chkconfig
242 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 SysV initscripts which start and stop
255 Vservers and related tools.
257 %description init -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 skrypty inicjalizuj±ce SysV uruchamiaj±ce i
265 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
268 Summary: Legacy utilities for util-vserver
269 Summary(pl): Stare narzêdzia dla util-vserver
270 Group: Applications/System
271 Requires(post,preun): /sbin/chkconfig
272 Requires: %{name} = %{version}-%{release}
276 util-vserver provides the components and a framework to setup virtual
277 servers. A virtual server runs inside a linux server. It is
278 nevertheless highly independent. As such, you can run various services
279 with normal configuration. The various vservers can't interact with
280 each other and can't interact with services in the main server.
282 This package contains the tools which are needed to work with Vservers
283 having an old-style configuration.
285 %description legacy -l pl
286 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
287 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
288 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
289 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
290 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
292 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
293 konfiguracjê w starym stylu.
295 %package -n vserver-dev
296 Summary: /dev entries for systems in Vservers
297 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
299 Requires: setup >= 2.4.1-2
300 Provides: dev = 2.9.0-19
304 %description -n vserver-dev
305 Unix and unix like systems (including Linux) use file system entries
306 to represent devices attached to the machine. All of these entries are
307 in the /dev tree (though they don't have to be), and this package
308 contains only entries needed for a system running inside Vserver.
310 DO NOT install this package for a normal system!
312 %description -n vserver-dev -l pl
313 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
314 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
315 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
316 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
318 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
331 install %{SOURCE7} package-menagament.txt
333 cp -a compat.h vserver-compat.h
337 CFLAGS="%{rpmcflags} -D__GLIBC__"
343 --with-initrddir=/etc/rc.d/init.d \
345 %{?with_dietlibc:--enable-dietlibc} \
346 %{!?with_dietlibc:--disable-dietlibc} \
352 IPTABLES=%{_usrsbin}/iptables \
353 MODPROBE=/sbin/modprobe \
354 NAMEIF=/sbin/nameif \
356 VCONFIG=/sbin/vconfig \
357 WGET=%{_usrbin}/wget \
360 %{?with_doc:%{__make} doc}
363 rm -rf $RPM_BUILD_ROOT
364 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
366 %{__make} install install-distribution \
367 DESTDIR=$RPM_BUILD_ROOT
369 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
371 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
373 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
374 install -d $RPM_BUILD_ROOT/vservers/.pkg
375 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
376 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
378 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
379 s=`basename $i | sed s/v_//`
380 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
381 # IP addresses/interfaces to bound $s service to
387 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
388 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
389 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
390 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
391 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
392 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
393 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
394 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
395 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
396 $RPM_BUILD_ROOT/etc/sysconfig/vservers
398 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
400 ln -sf null $RPM_BUILD_ROOT/dev/initctl
403 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
404 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
408 rm -rf $RPM_BUILD_ROOT
411 %{_sbindir}/setattr --barrier /vservers || :
413 %post lib -p /sbin/ldconfig
414 %postun lib -p /sbin/ldconfig
417 /sbin/chkconfig --add vprocunhide
418 /sbin/chkconfig --add vservers
419 if [ ! -f /var/lock/subsys/vprocunhide ]; then
420 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
422 if [ ! -f /var/lock/subsys/vservers ]; then
423 echo "Type \"/etc/rc.d/init.d/vservers start\" to start vservers" 1>&2
427 if [ "$1" = "0" ]; then
428 if [ -r /var/lock/subsys/vservers ]; then
429 /etc/rc.d/init.d/vservers stop >&2
431 if [ -r /var/lock/subsys/vprocunhide ]; then
432 /etc/rc.d/init.d/vprocunhide stop >&2
434 /sbin/chkconfig --del vservers
435 /sbin/chkconfig --del vprocunhide
439 /sbin/chkconfig --add rebootmgr
440 /sbin/chkconfig --add vservers-legacy
441 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
442 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
444 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
445 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
449 if [ "$1" = "0" ]; then
450 if [ -r /var/lock/subsys/rebootmgr ] ; then
451 /etc/rc.d/init.d/rebootmgr stop >&2
453 if [ -r /var/lock/subsys/vservers-legacy ] ; then
454 /etc/rc.d/init.d/vservers-legacy stop >&2
456 /sbin/chkconfig --del rebootmgr
457 /sbin/chkconfig --del vservers-legacy
461 %defattr(644,root,root,755)
462 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
463 %{?with_doc:%doc doc/*.html}
464 %dir %{_sysconfdir}/vservers
465 %dir %{_sysconfdir}/vservers/.defaults
466 %dir %{_sysconfdir}/vservers/.defaults/apps
467 %dir %{_sysconfdir}/vservers/.defaults/files
468 %{_sysconfdir}/vservers/.defaults/vdirbase
469 %{_sysconfdir}/vservers/.defaults/run.rev
470 %{_sysconfdir}/vservers/vdirbase
471 %{_sysconfdir}/vservers/run.rev
473 %attr(755,root,root) %{_sbindir}/chbind
474 %attr(755,root,root) %{_sbindir}/chcontext
475 %attr(755,root,root) %{_sbindir}/chxid
476 %attr(755,root,root) %{_sbindir}/exec-cd
477 %attr(755,root,root) %{_sbindir}/lsxid
478 %attr(755,root,root) %{_sbindir}/reducecap
479 %attr(755,root,root) %{_sbindir}/setattr
480 %attr(755,root,root) %{_sbindir}/showattr
481 %attr(755,root,root) %{_sbindir}/vattribute
482 %attr(755,root,root) %{_sbindir}/vcontext
483 %attr(755,root,root) %{_sbindir}/vdlimit
484 %attr(755,root,root) %{_sbindir}/vnamespace
485 %attr(755,root,root) %{_sbindir}/vkill
486 %attr(755,root,root) %{_sbindir}/vlimit
487 %attr(755,root,root) %{_sbindir}/vdu
488 %attr(755,root,root) %{_sbindir}/vps
489 %attr(755,root,root) %{_sbindir}/vpstree
490 %attr(755,root,root) %{_sbindir}/vrsetup
491 %attr(755,root,root) %{_sbindir}/vsched
492 %attr(755,root,root) %{_sbindir}/vserver
493 %attr(755,root,root) %{_sbindir}/vserver-info
494 %attr(755,root,root) %{_sbindir}/vserver-stat
495 %attr(755,root,root) %{_sbindir}/vsomething
496 %attr(755,root,root) %{_sbindir}/vtop
497 %attr(755,root,root) %{_sbindir}/vuname
498 %attr(755,root,root) %{_sbindir}/vwait
499 %dir %{_libdir}/%{name}
500 %dir %{_libdir}/%{name}/defaults
501 %{_libdir}/%{name}/FEATURES.txt
502 %{_libdir}/%{name}/util-vserver-vars
503 %{_libdir}/%{name}/defaults/*
504 %attr(755,root,root) %{_libdir}/%{name}/capchroot
505 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
506 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
507 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
508 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
509 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
510 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
511 %attr(755,root,root) %{_libdir}/%{name}/filetime
512 %{_libdir}/%{name}/functions
513 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
514 %attr(755,root,root) %{_libdir}/%{name}/lockfile
515 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
516 %attr(755,root,root) %{_libdir}/%{name}/readlink
517 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
518 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
519 %attr(755,root,root) %{_libdir}/%{name}/sigexec
520 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
521 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
522 %{_libdir}/%{name}/vserver.*
523 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
524 %attr(755,root,root) %{_libdir}/%{name}/vshelper
525 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
526 %{_mandir}/man8/chbind.8*
527 %{_mandir}/man8/chcontext.8*
528 %{_mandir}/man8/reducecap.8*
529 %{_mandir}/man8/vps.8*
530 %{_mandir}/man8/vpstree.8*
531 %{_mandir}/man8/vserver-stat.8*
532 %{_mandir}/man8/vserver.8*
533 %{_mandir}/man8/vtop.8*
534 %attr(000,root,root) %dir /vservers
535 %attr(755,root,root) %dir /vservers/.pkg
536 %dir %{_localstatedir}/run/vservers
537 %dir %{_localstatedir}/run/vservers.rev
538 %dir %{_localstatedir}/run/vshelper
541 %defattr(644,root,root,755)
542 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
543 %attr(755,root,root) %{_libdir}/lib*.so
545 %{_includedir}/vserver*.h
546 %{_pkgconfigdir}/*.pc
549 %defattr(644,root,root,755)
550 %{_libdir}/libvserver.a
553 %defattr(644,root,root,755)
554 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
557 %defattr(644,root,root,755)
558 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
559 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
560 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
561 %attr(754,root,root) /etc/rc.d/init.d/vservers
564 %defattr(644,root,root,755)
565 %doc contrib/yum*.patch package-menagament.txt
566 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
567 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
568 %dir %{_sysconfdir}/vservers/.distributions
569 %dir %{_sysconfdir}/vservers/.distributions/.common
570 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
571 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
572 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
573 %{_sysconfdir}/vservers/.distributions/pld1.99
574 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
575 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
576 %dir %{_libdir}/%{name}/distributions
577 %attr(-, root, root) %{_libdir}/%{name}/distributions/defaults
578 %attr(-, root, root) %{_libdir}/%{name}/distributions/pld*
579 %attr(-, root, root) %{_libdir}/%{name}/distributions/template
580 %attr(-, root, root) %{_libdir}/%{name}/distributions/redhat*
581 %{_libdir}/%{name}/vserver-build.*
582 %{_libdir}/%{name}/vserver-setup.functions
583 %{_libdir}/%{name}/defaults/fstab
584 %{_libdir}/%{name}/defaults/debootstrap.uri
585 %{_libdir}/%{name}/defaults/vunify-exclude
586 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
587 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
588 %attr(755,root,root) %{_libdir}/%{name}/vcopy
589 %attr(755,root,root) %{_libdir}/%{name}/vhashify
590 %attr(755,root,root) %{_libdir}/%{name}/vpkg
591 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
592 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
593 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
594 %attr(755,root,root) %{_libdir}/%{name}/vunify
595 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
596 %attr(755,root,root) %{_sbindir}/vapt-get
597 %attr(755,root,root) %{_sbindir}/vpoldek
598 %attr(755,root,root) %{_sbindir}/vrpm
599 %attr(755,root,root) %{_sbindir}/vyum
601 %files -n vserver-distro-fedora
602 %defattr(644,root,root,755)
603 %dir %{_sysconfdir}/vservers/.distributions/fc*
604 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
605 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
606 %{_libdir}/%{name}/distributions/fc*
608 %files -n vserver-distro-redhat
609 %defattr(644,root,root,755)
610 %dir %{_sysconfdir}/vservers/.distributions/rh*
611 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
612 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
613 %{_libdir}/%{name}/distributions/rh*
615 %files -n vserver-distro-suse
616 %defattr(644,root,root,755)
617 %dir %{_sysconfdir}/vservers/.distributions/suse*
618 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
619 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
620 %{_libdir}/%{name}/distributions/suse*
622 %files -n vserver-distro-centos
623 %defattr(644,root,root,755)
624 %{_libdir}/util-vserver/distributions/centos42
627 %defattr(644,root,root,755)
628 %dir %{_sysconfdir}/vservices
629 %{_sysconfdir}/vservices/*
630 %dir %{_libdir}/%{name}/legacy
631 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
632 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
633 %attr(754,root,root) /etc/rc.d/init.d/v_*
634 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
635 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
636 %attr(755,root,root) %{_sbindir}/vserver-copy
637 %{_mandir}/man8/distrib-info.8*
638 %{_mandir}/man8/rebootmgr.8*
639 %{_mandir}/man8/vserver-copy.8*
641 %files -n vserver-dev
642 %defattr(644,root,root,755)
644 %dev(c,1,7) %attr(666,root,root) /dev/full
645 %dev(c,1,3) %attr(666,root,root) /dev/null
646 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
647 %dev(c,1,8) %attr(644,root,root) /dev/random
648 %dev(c,5,0) %attr(666,root,root) /dev/tty
649 %dev(c,1,9) %attr(644,root,root) /dev/urandom
650 %dev(c,1,5) %attr(666,root,root) /dev/zero