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 Source7: vrootdevices.init
25 Source8: vrootdevices.sysconfig
26 # A bit of documentation explaining package menagement
27 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
28 Source9: %{name}-pkgmgmt.txt
29 Patch0: %{name}-vsysvwrapper.patch
30 Patch1: %{name}-pld.patch
31 Patch2: %{name}-build-poldek.patch
32 Patch3: %{name}-include.patch
33 Patch4: %{name}-m4-diet.patch
34 Patch5: %{name}-cpuset.patch
35 Patch6: %{name}-build-umask.patch
36 Patch7: %{name}-utmpx.patch
37 URL: http://savannah.nongnu.org/projects/util-vserver/
38 BuildRequires: autoconf
39 BuildRequires: automake >= 1.9
40 BuildRequires: beecrypt-devel
41 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
42 BuildRequires: libstdc++-devel
43 BuildRequires: libtool >= 1.5.14
45 BuildRequires: sed >= 4.0
48 BuildRequires: doxygen
49 BuildRequires: graphviz
50 BuildRequires: libxslt-progs
51 BuildRequires: tetex-format-pdflatex
52 BuildRequires: tetex-makeindex
53 # To be removed when tetex-format-pdflatex, tetex-pdftex...
54 # ...and graphviz packages get fixed
55 BuildRequires: tetex-fonts-jknappen
56 BuildRequires: tetex-metafont
57 BuildRequires: ghostscript
58 BuildRequires: ghostscript-fonts-std
59 %{?with_xalan:BuildRequires: xalan-j}
63 Requires(post,preun): /sbin/chkconfig
64 Requires: %{name}-lib = %{version}-%{release}
65 Obsoletes: util-vserver-core
66 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69 %define _usrbin /usr/bin
70 %define _usrsbin /usr/sbin
71 %define _usrlib /usr/lib
74 This package provides the components and a framework to setup virtual
75 servers. A virtual server runs inside a Linux server. It is
76 nevertheless highly independent. As such, you can run various services
77 with normal configuration. The various vservers can't interact with
78 each other and can't interact with services in the main server.
80 This requires a special kernel supporting the new new_s_context and
81 set_ipv4root system call.
83 This package contains utilities which are required to communicate with
84 the Linux-Vserver enabled kernel.
87 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
88 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
89 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
90 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
91 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
93 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
94 new_s_context i set_ipv4root.
96 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
97 w³±czonym mechanizmem Linux-Vserver.
100 Summary: Development files for Linux vserver libraries
101 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
102 Group: Development/Libraries
103 Requires: %{name}-lib = %{version}-%{release}
106 This package contains the development files necessary for developing
107 programs which use vserver library.
109 %description devel -l pl
110 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
111 programów u¿ywaj±cych biblioteki vserver.
114 Summary: Static vserver library
115 Summary(pl): Biblioteka statyczna vservera
116 Group: Development/Libraries
117 Requires: %{name}-devel = %{version}-%{release}
120 This package contains the static version of vserver library.
122 %description static -l pl
123 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
126 Summary: Dynamic libraries for util-vserver
127 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
131 util-vserver provides the components and a framework to setup virtual
132 servers. A virtual server runs inside a linux server. It is
133 nevertheless highly independent. As such, you can run various services
134 with normal configuration. The various vservers can't interact with
135 each other and can't interact with services in the main server.
137 This package contains the shared libraries needed by all other
138 'util-vserver' subpackages.
140 %description lib -l pl
141 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
142 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
143 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
144 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
145 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
147 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
148 podpakiety util-vserver.
151 Summary: Tools which can be used to build vservers
152 Summary(pl): Narzêdzia do budowania vserverów
153 Group: Applications/System
154 Conflicts: poldek < 0.18.8-10
155 Requires: %{name} = %{version}-%{release}
158 util-vserver provides the components and a framework to setup virtual
159 servers. A virtual server runs inside a linux server. It is
160 nevertheless highly independent. As such, you can run various services
161 with normal configuration. The various vservers can't interact with
162 each other and can't interact with services in the main server.
164 This package contains utilities which assist in building Vservers.
166 %description build -l pl
167 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
168 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
169 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
170 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
171 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
173 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
175 %package -n vserver-distro-fedora
176 Summary: VServer build templates for Fedora Core
177 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
178 Group: Applications/System
179 Requires: %{name} = %{version}-%{release}
186 %description -n vserver-distro-fedora
187 VServer build templates for Fedora Core 1,2,3,4.
189 %description -n vserver-distro-fedora -l pl
190 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
192 %package -n vserver-distro-redhat
193 Summary: VServer build template for Red Hat Linux 9
194 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
195 Group: Applications/System
196 Requires: %{name} = %{version}-%{release}
203 %description -n vserver-distro-redhat
204 VServer build template for RedHat Linux 9.
206 %description -n vserver-distro-redhat -l pl
207 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
209 %package -n vserver-distro-suse
210 Summary: VServer build template for SuSE 9.1
211 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
212 Group: Applications/System
213 Requires: %{name} = %{version}-%{release}
220 %description -n vserver-distro-suse
221 VServer build template for SuSE Linux 9.1.
223 %description -n vserver-distro-suse -l pl
224 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
226 %package -n vserver-distro-centos
227 Summary: VServer build template for CentOS 4.2
228 Summary(pl): Szablon budowania VServera dla CentOS 4.2
229 Group: Applications/System
230 Requires: util-vserver-build
233 %description -n vserver-distro-centos
234 VServer build template for CentOS 4.2.
236 %description -n vserver-distro-centos -l pl
237 Szablon budowania VServera dla CentOS 4.2.
240 Summary: initscripts for vserver
241 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
242 Group: Applications/System
243 Requires(post,preun): /sbin/chkconfig
244 Requires: %{name} = %{version}-%{release}
250 util-vserver provides the components and a framework to setup virtual
251 servers. A virtual server runs inside a linux server. It is
252 nevertheless highly independent. As such, you can run various services
253 with normal configuration. The various vservers can't interact with
254 each other and can't interact with services in the main server.
256 This package contains the SysV initscripts which start and stop
257 Vservers and related tools.
259 %description init -l pl
260 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
261 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
262 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
263 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
264 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
266 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
267 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
270 Summary: Legacy utilities for util-vserver
271 Summary(pl): Stare narzêdzia dla util-vserver
272 Group: Applications/System
273 Requires(post,preun): /sbin/chkconfig
274 Requires: %{name} = %{version}-%{release}
278 util-vserver provides the components and a framework to setup virtual
279 servers. A virtual server runs inside a linux server. It is
280 nevertheless highly independent. As such, you can run various services
281 with normal configuration. The various vservers can't interact with
282 each other and can't interact with services in the main server.
284 This package contains the tools which are needed to work with Vservers
285 having an old-style configuration.
287 %description legacy -l pl
288 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
289 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
290 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
291 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
292 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
294 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
295 konfiguracjê w starym stylu.
297 %package -n vserver-dev
298 Summary: /dev entries for systems in Vservers
299 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
301 Requires: setup >= 2.4.1-2
302 Provides: dev = 2.9.0-19
306 %description -n vserver-dev
307 Unix and unix like systems (including Linux) use file system entries
308 to represent devices attached to the machine. All of these entries are
309 in the /dev tree (though they don't have to be), and this package
310 contains only entries needed for a system running inside Vserver.
312 DO NOT install this package for a normal system!
314 %description -n vserver-dev -l pl
315 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
316 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
317 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
318 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
320 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
333 install %{SOURCE9} package-menagament.txt
335 cp -a compat.h vserver-compat.h
339 CFLAGS="%{rpmcflags} -D__GLIBC__"
345 --with-initrddir=/etc/rc.d/init.d \
347 %{?with_dietlibc:--enable-dietlibc} \
348 %{!?with_dietlibc:--disable-dietlibc} \
354 IPTABLES=%{_usrsbin}/iptables \
355 MODPROBE=/sbin/modprobe \
356 NAMEIF=/sbin/nameif \
358 VCONFIG=/sbin/vconfig \
359 WGET=%{_usrbin}/wget \
362 %{?with_doc:%{__make} doc}
365 rm -rf $RPM_BUILD_ROOT
366 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
368 %{__make} install install-distribution \
369 DESTDIR=$RPM_BUILD_ROOT
371 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
373 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
375 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
376 install -d $RPM_BUILD_ROOT/vservers/.pkg
377 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
378 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
380 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
381 s=`basename $i | sed s/v_//`
382 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
383 # IP addresses/interfaces to bound $s service to
389 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
390 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
391 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
392 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
393 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
394 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
395 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
396 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
397 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
398 $RPM_BUILD_ROOT/etc/sysconfig/vservers
400 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
402 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
403 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
405 ln -sf null $RPM_BUILD_ROOT/dev/initctl
408 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
409 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
413 rm -rf $RPM_BUILD_ROOT
416 %{_sbindir}/setattr --barrier /vservers || :
418 %post lib -p /sbin/ldconfig
419 %postun lib -p /sbin/ldconfig
422 /sbin/chkconfig --add vrootdevices
423 /sbin/chkconfig --add vprocunhide
424 /sbin/chkconfig --add vservers
425 if [ ! -f /var/lock/subsys/vrootdevices ]; then
426 echo "Type \"/etc/rc.d/init.d/vrootdevices start\" to assign virtual root devices" 1>&2
428 if [ ! -f /var/lock/subsys/vprocunhide ]; then
429 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
431 if [ ! -f /var/lock/subsys/vservers ]; then
432 echo "Type \"/etc/rc.d/init.d/vservers start\" to start vservers" 1>&2
436 if [ "$1" = "0" ]; then
437 if [ -r /var/lock/subsys/vservers ]; then
438 /etc/rc.d/init.d/vservers stop >&2
440 if [ -r /var/lock/subsys/vprocunhide ]; then
441 /etc/rc.d/init.d/vprocunhide stop >&2
443 if [ -r /var/lock/subsys/vrootdevices ]; then
444 /etc/rc.d/init.d/vrootdevices stop >&2
446 /sbin/chkconfig --del vservers
447 /sbin/chkconfig --del vprocunhide
448 /sbin/chkconfig --del vrootdevices
452 /sbin/chkconfig --add rebootmgr
453 /sbin/chkconfig --add vservers-legacy
454 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
455 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
457 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
458 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
462 if [ "$1" = "0" ]; then
463 if [ -r /var/lock/subsys/rebootmgr ] ; then
464 /etc/rc.d/init.d/rebootmgr stop >&2
466 if [ -r /var/lock/subsys/vservers-legacy ] ; then
467 /etc/rc.d/init.d/vservers-legacy stop >&2
469 /sbin/chkconfig --del rebootmgr
470 /sbin/chkconfig --del vservers-legacy
474 %defattr(644,root,root,755)
475 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
476 %{?with_doc:%doc doc/*.html}
477 %dir %{_sysconfdir}/vservers
478 %dir %{_sysconfdir}/vservers/.defaults
479 %dir %{_sysconfdir}/vservers/.defaults/apps
480 %dir %{_sysconfdir}/vservers/.defaults/files
481 %{_sysconfdir}/vservers/.defaults/vdirbase
482 %{_sysconfdir}/vservers/.defaults/run.rev
483 %{_sysconfdir}/vservers/vdirbase
484 %{_sysconfdir}/vservers/run.rev
486 %attr(755,root,root) %{_sbindir}/chbind
487 %attr(755,root,root) %{_sbindir}/chcontext
488 %attr(755,root,root) %{_sbindir}/chxid
489 %attr(755,root,root) %{_sbindir}/exec-cd
490 %attr(755,root,root) %{_sbindir}/lsxid
491 %attr(755,root,root) %{_sbindir}/reducecap
492 %attr(755,root,root) %{_sbindir}/setattr
493 %attr(755,root,root) %{_sbindir}/showattr
494 %attr(755,root,root) %{_sbindir}/vattribute
495 %attr(755,root,root) %{_sbindir}/vcontext
496 %attr(755,root,root) %{_sbindir}/vdlimit
497 %attr(755,root,root) %{_sbindir}/vnamespace
498 %attr(755,root,root) %{_sbindir}/vkill
499 %attr(755,root,root) %{_sbindir}/vlimit
500 %attr(755,root,root) %{_sbindir}/vdu
501 %attr(755,root,root) %{_sbindir}/vps
502 %attr(755,root,root) %{_sbindir}/vpstree
503 %attr(755,root,root) %{_sbindir}/vrsetup
504 %attr(755,root,root) %{_sbindir}/vsched
505 %attr(755,root,root) %{_sbindir}/vserver
506 %attr(755,root,root) %{_sbindir}/vserver-info
507 %attr(755,root,root) %{_sbindir}/vserver-stat
508 %attr(755,root,root) %{_sbindir}/vsomething
509 %attr(755,root,root) %{_sbindir}/vtop
510 %attr(755,root,root) %{_sbindir}/vuname
511 %attr(755,root,root) %{_sbindir}/vwait
512 %dir %{_libdir}/%{name}
513 %dir %{_libdir}/%{name}/defaults
514 %{_libdir}/%{name}/FEATURES.txt
515 %{_libdir}/%{name}/util-vserver-vars
516 %{_libdir}/%{name}/defaults/*
517 %attr(755,root,root) %{_libdir}/%{name}/capchroot
518 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
519 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
520 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
521 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
522 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
523 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
524 %attr(755,root,root) %{_libdir}/%{name}/filetime
525 %{_libdir}/%{name}/functions
526 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
527 %attr(755,root,root) %{_libdir}/%{name}/lockfile
528 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
529 %attr(755,root,root) %{_libdir}/%{name}/readlink
530 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
531 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
532 %attr(755,root,root) %{_libdir}/%{name}/sigexec
533 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
534 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
535 %{_libdir}/%{name}/vserver.*
536 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
537 %attr(755,root,root) %{_libdir}/%{name}/vshelper
538 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
539 %{_mandir}/man8/chbind.8*
540 %{_mandir}/man8/chcontext.8*
541 %{_mandir}/man8/reducecap.8*
542 %{_mandir}/man8/vps.8*
543 %{_mandir}/man8/vpstree.8*
544 %{_mandir}/man8/vserver-stat.8*
545 %{_mandir}/man8/vserver.8*
546 %{_mandir}/man8/vtop.8*
547 %attr(000,root,root) %dir /vservers
548 %attr(755,root,root) %dir /vservers/.pkg
549 %dir %{_localstatedir}/run/vservers
550 %dir %{_localstatedir}/run/vservers.rev
551 %dir %{_localstatedir}/run/vshelper
554 %defattr(644,root,root,755)
555 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
556 %attr(755,root,root) %{_libdir}/lib*.so
558 %{_includedir}/vserver*.h
559 %{_pkgconfigdir}/*.pc
562 %defattr(644,root,root,755)
563 %{_libdir}/libvserver.a
566 %defattr(644,root,root,755)
567 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
570 %defattr(644,root,root,755)
571 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
572 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
573 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
574 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
575 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
576 %attr(754,root,root) /etc/rc.d/init.d/vservers
579 %defattr(644,root,root,755)
580 %doc contrib/yum*.patch package-menagament.txt
581 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
582 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
583 %dir %{_sysconfdir}/vservers/.distributions
584 %dir %{_sysconfdir}/vservers/.distributions/.common
585 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
586 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
587 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
588 %{_sysconfdir}/vservers/.distributions/pld1.99
589 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
590 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
591 %dir %{_libdir}/%{name}/distributions
592 %attr(-, root, root) %{_libdir}/%{name}/distributions/defaults
593 %attr(-, root, root) %{_libdir}/%{name}/distributions/pld*
594 %attr(-, root, root) %{_libdir}/%{name}/distributions/template
595 %attr(-, root, root) %{_libdir}/%{name}/distributions/redhat*
596 %{_libdir}/%{name}/vserver-build.*
597 %{_libdir}/%{name}/vserver-setup.functions
598 %{_libdir}/%{name}/defaults/fstab
599 %{_libdir}/%{name}/defaults/debootstrap.uri
600 %{_libdir}/%{name}/defaults/vunify-exclude
601 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
602 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
603 %attr(755,root,root) %{_libdir}/%{name}/vcopy
604 %attr(755,root,root) %{_libdir}/%{name}/vhashify
605 %attr(755,root,root) %{_libdir}/%{name}/vpkg
606 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
607 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
608 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
609 %attr(755,root,root) %{_libdir}/%{name}/vunify
610 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
611 %attr(755,root,root) %{_sbindir}/vapt-get
612 %attr(755,root,root) %{_sbindir}/vpoldek
613 %attr(755,root,root) %{_sbindir}/vrpm
614 %attr(755,root,root) %{_sbindir}/vyum
616 %files -n vserver-distro-fedora
617 %defattr(644,root,root,755)
618 %dir %{_sysconfdir}/vservers/.distributions/fc*
619 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
620 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
621 %{_libdir}/%{name}/distributions/fc*
623 %files -n vserver-distro-redhat
624 %defattr(644,root,root,755)
625 %dir %{_sysconfdir}/vservers/.distributions/rh*
626 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
628 %{_libdir}/%{name}/distributions/rh*
630 %files -n vserver-distro-suse
631 %defattr(644,root,root,755)
632 %dir %{_sysconfdir}/vservers/.distributions/suse*
633 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
634 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
635 %{_libdir}/%{name}/distributions/suse*
637 %files -n vserver-distro-centos
638 %defattr(644,root,root,755)
639 %{_libdir}/util-vserver/distributions/centos42
642 %defattr(644,root,root,755)
643 %dir %{_sysconfdir}/vservices
644 %{_sysconfdir}/vservices/*
645 %dir %{_libdir}/%{name}/legacy
646 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
647 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
648 %attr(754,root,root) /etc/rc.d/init.d/v_*
649 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
650 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
651 %attr(755,root,root) %{_sbindir}/vserver-copy
652 %{_mandir}/man8/distrib-info.8*
653 %{_mandir}/man8/rebootmgr.8*
654 %{_mandir}/man8/vserver-copy.8*
656 %files -n vserver-dev
657 %defattr(644,root,root,755)
659 %dev(c,1,7) %attr(666,root,root) /dev/full
660 %dev(c,1,3) %attr(666,root,root) /dev/null
661 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
662 %dev(c,1,8) %attr(644,root,root) /dev/random
663 %dev(c,5,0) %attr(666,root,root) /dev/tty
664 %dev(c,1,9) %attr(644,root,root) /dev/urandom
665 %dev(c,1,5) %attr(666,root,root) /dev/zero