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 Source10: %{name}-initpost.sh
30 Patch0: %{name}-vsysvwrapper.patch
31 Patch1: %{name}-pld.patch
32 Patch2: %{name}-build-poldek.patch
33 Patch3: %{name}-include.patch
34 Patch4: %{name}-m4-diet.patch
35 Patch5: %{name}-cpuset.patch
36 Patch6: %{name}-build-umask.patch
37 Patch7: %{name}-utmpx.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 # To be removed when tetex-format-pdflatex, tetex-pdftex...
55 # ...and graphviz packages get fixed
56 BuildRequires: tetex-fonts-jknappen
57 BuildRequires: tetex-metafont
58 BuildRequires: ghostscript
59 BuildRequires: ghostscript-fonts-std
60 %{?with_xalan:BuildRequires: xalan-j}
64 Requires(post,preun): /sbin/chkconfig
65 Requires: %{name}-lib = %{version}-%{release}
66 Obsoletes: util-vserver-core
67 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70 %define _usrbin /usr/bin
71 %define _usrsbin /usr/sbin
72 %define _usrlib /usr/lib
75 This package provides the components and a framework to setup virtual
76 servers. A virtual server runs inside a Linux server. It is
77 nevertheless highly independent. As such, you can run various services
78 with normal configuration. The various vservers can't interact with
79 each other and can't interact with services in the main server.
81 This requires a special kernel supporting the new new_s_context and
82 set_ipv4root system call.
84 This package contains utilities which are required to communicate with
85 the Linux-Vserver enabled kernel.
88 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
89 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
90 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
91 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
92 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
94 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
95 new_s_context i set_ipv4root.
97 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
98 w³±czonym mechanizmem Linux-Vserver.
101 Summary: Development files for Linux vserver libraries
102 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
103 Group: Development/Libraries
104 Requires: %{name}-lib = %{version}-%{release}
107 This package contains the development files necessary for developing
108 programs which use vserver library.
110 %description devel -l pl
111 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
112 programów u¿ywaj±cych biblioteki vserver.
115 Summary: Static vserver library
116 Summary(pl): Biblioteka statyczna vservera
117 Group: Development/Libraries
118 Requires: %{name}-devel = %{version}-%{release}
121 This package contains the static version of vserver library.
123 %description static -l pl
124 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
127 Summary: Dynamic libraries for util-vserver
128 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
132 util-vserver provides the components and a framework to setup virtual
133 servers. A virtual server runs inside a linux server. It is
134 nevertheless highly independent. As such, you can run various services
135 with normal configuration. The various vservers can't interact with
136 each other and can't interact with services in the main server.
138 This package contains the shared libraries needed by all other
139 'util-vserver' subpackages.
141 %description lib -l pl
142 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
143 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
144 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
145 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
146 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
148 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
149 podpakiety util-vserver.
152 Summary: Tools which can be used to build vservers
153 Summary(pl): Narzêdzia do budowania vserverów
154 Group: Applications/System
155 Conflicts: poldek < 0.18.8-10
156 Requires: %{name} = %{version}-%{release}
159 util-vserver provides the components and a framework to setup virtual
160 servers. A virtual server runs inside a linux server. It is
161 nevertheless highly independent. As such, you can run various services
162 with normal configuration. The various vservers can't interact with
163 each other and can't interact with services in the main server.
165 This package contains utilities which assist in building Vservers.
167 %description build -l pl
168 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
169 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
170 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
171 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
172 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
174 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
176 %package -n vserver-distro-fedora
177 Summary: VServer build templates for Fedora Core
178 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
179 Group: Applications/System
180 Requires: %{name} = %{version}-%{release}
187 %description -n vserver-distro-fedora
188 VServer build templates for Fedora Core 1,2,3,4.
190 %description -n vserver-distro-fedora -l pl
191 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
193 %package -n vserver-distro-redhat
194 Summary: VServer build template for Red Hat Linux 9
195 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
196 Group: Applications/System
197 Requires: %{name} = %{version}-%{release}
204 %description -n vserver-distro-redhat
205 VServer build template for RedHat Linux 9.
207 %description -n vserver-distro-redhat -l pl
208 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
210 %package -n vserver-distro-suse
211 Summary: VServer build template for SuSE 9.1
212 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
213 Group: Applications/System
214 Requires: %{name} = %{version}-%{release}
221 %description -n vserver-distro-suse
222 VServer build template for SuSE Linux 9.1.
224 %description -n vserver-distro-suse -l pl
225 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
227 %package -n vserver-distro-centos
228 Summary: VServer build template for CentOS 4.2
229 Summary(pl): Szablon budowania VServera dla CentOS 4.2
230 Group: Applications/System
231 Requires: util-vserver-build
234 %description -n vserver-distro-centos
235 VServer build template for CentOS 4.2.
237 %description -n vserver-distro-centos -l pl
238 Szablon budowania VServera dla CentOS 4.2.
241 Summary: initscripts for vserver
242 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
243 Group: Applications/System
244 Requires(post,preun): /sbin/chkconfig
245 Requires: %{name} = %{version}-%{release}
251 util-vserver provides the components and a framework to setup virtual
252 servers. A virtual server runs inside a linux server. It is
253 nevertheless highly independent. As such, you can run various services
254 with normal configuration. The various vservers can't interact with
255 each other and can't interact with services in the main server.
257 This package contains the SysV initscripts which start and stop
258 Vservers and related tools.
260 %description init -l pl
261 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
262 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
263 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
264 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
265 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
267 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
268 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
271 Summary: Legacy utilities for util-vserver
272 Summary(pl): Stare narzêdzia dla util-vserver
273 Group: Applications/System
274 Requires(post,preun): /sbin/chkconfig
275 Requires: %{name} = %{version}-%{release}
279 util-vserver provides the components and a framework to setup virtual
280 servers. A virtual server runs inside a linux server. It is
281 nevertheless highly independent. As such, you can run various services
282 with normal configuration. The various vservers can't interact with
283 each other and can't interact with services in the main server.
285 This package contains the tools which are needed to work with Vservers
286 having an old-style configuration.
288 %description legacy -l pl
289 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
290 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
291 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
292 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
293 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
295 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
296 konfiguracjê w starym stylu.
298 %package -n vserver-dev
299 Summary: /dev entries for systems in Vservers
300 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
302 Requires: setup >= 2.4.1-2
303 Provides: dev = 2.9.0-19
307 %description -n vserver-dev
308 Unix and unix like systems (including Linux) use file system entries
309 to represent devices attached to the machine. All of these entries are
310 in the /dev tree (though they don't have to be), and this package
311 contains only entries needed for a system running inside Vserver.
313 DO NOT install this package for a normal system!
315 %description -n vserver-dev -l pl
316 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
317 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
318 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
319 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
321 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
334 install %{SOURCE9} package-managament.txt
336 cp -a compat.h vserver-compat.h
340 CFLAGS="%{rpmcflags} -D__GLIBC__"
346 --with-initrddir=/etc/rc.d/init.d \
348 %{?with_dietlibc:--enable-dietlibc} \
349 %{!?with_dietlibc:--disable-dietlibc} \
355 IPTABLES=%{_usrsbin}/iptables \
356 MODPROBE=/sbin/modprobe \
357 NAMEIF=/sbin/nameif \
359 VCONFIG=/sbin/vconfig \
360 WGET=%{_usrbin}/wget \
363 %{?with_doc:%{__make} doc}
366 rm -rf $RPM_BUILD_ROOT
367 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
369 %{__make} install install-distribution \
370 DESTDIR=$RPM_BUILD_ROOT
372 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
374 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
376 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
377 install -d $RPM_BUILD_ROOT/vservers/.pkg
378 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
379 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
381 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
382 s=`basename $i | sed s/v_//`
383 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
384 # IP addresses/interfaces to bound $s service to
390 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
391 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
392 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
393 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
394 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
395 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
396 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
397 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
398 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
399 $RPM_BUILD_ROOT/etc/sysconfig/vservers
401 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
403 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
404 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
405 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/initpost
407 ln -sf null $RPM_BUILD_ROOT/dev/initctl
410 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
411 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
415 rm -rf $RPM_BUILD_ROOT
418 %{_sbindir}/setattr --barrier /vservers || :
420 %post lib -p /sbin/ldconfig
421 %postun lib -p /sbin/ldconfig
424 /sbin/chkconfig --add vrootdevices
425 /sbin/chkconfig --add vprocunhide
426 /sbin/chkconfig --add vservers
427 if [ ! -f /var/lock/subsys/vrootdevices ]; then
428 echo "Type \"/etc/rc.d/init.d/vrootdevices start\" to assign virtual root devices" 1>&2
430 if [ ! -f /var/lock/subsys/vprocunhide ]; then
431 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
433 if [ ! -f /var/lock/subsys/vservers ]; then
434 echo "Type \"/etc/rc.d/init.d/vservers start\" to start vservers" 1>&2
438 if [ "$1" = "0" ]; then
439 if [ -r /var/lock/subsys/vservers ]; then
440 /etc/rc.d/init.d/vservers stop >&2
442 if [ -r /var/lock/subsys/vprocunhide ]; then
443 /etc/rc.d/init.d/vprocunhide stop >&2
445 if [ -r /var/lock/subsys/vrootdevices ]; then
446 /etc/rc.d/init.d/vrootdevices stop >&2
448 /sbin/chkconfig --del vservers
449 /sbin/chkconfig --del vprocunhide
450 /sbin/chkconfig --del vrootdevices
454 /sbin/chkconfig --add rebootmgr
455 /sbin/chkconfig --add vservers-legacy
456 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
457 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
459 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
460 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
464 if [ "$1" = "0" ]; then
465 if [ -r /var/lock/subsys/rebootmgr ] ; then
466 /etc/rc.d/init.d/rebootmgr stop >&2
468 if [ -r /var/lock/subsys/vservers-legacy ] ; then
469 /etc/rc.d/init.d/vservers-legacy stop >&2
471 /sbin/chkconfig --del rebootmgr
472 /sbin/chkconfig --del vservers-legacy
476 %defattr(644,root,root,755)
477 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
478 %{?with_doc:%doc doc/*.html}
479 %dir %{_sysconfdir}/vservers
480 %dir %{_sysconfdir}/vservers/.defaults
481 %dir %{_sysconfdir}/vservers/.defaults/apps
482 %dir %{_sysconfdir}/vservers/.defaults/files
483 %{_sysconfdir}/vservers/.defaults/vdirbase
484 %{_sysconfdir}/vservers/.defaults/run.rev
485 %{_sysconfdir}/vservers/vdirbase
486 %{_sysconfdir}/vservers/run.rev
488 %attr(755,root,root) %{_sbindir}/chbind
489 %attr(755,root,root) %{_sbindir}/chcontext
490 %attr(755,root,root) %{_sbindir}/chxid
491 %attr(755,root,root) %{_sbindir}/exec-cd
492 %attr(755,root,root) %{_sbindir}/lsxid
493 %attr(755,root,root) %{_sbindir}/reducecap
494 %attr(755,root,root) %{_sbindir}/setattr
495 %attr(755,root,root) %{_sbindir}/showattr
496 %attr(755,root,root) %{_sbindir}/vattribute
497 %attr(755,root,root) %{_sbindir}/vcontext
498 %attr(755,root,root) %{_sbindir}/vdlimit
499 %attr(755,root,root) %{_sbindir}/vnamespace
500 %attr(755,root,root) %{_sbindir}/vkill
501 %attr(755,root,root) %{_sbindir}/vlimit
502 %attr(755,root,root) %{_sbindir}/vdu
503 %attr(755,root,root) %{_sbindir}/vps
504 %attr(755,root,root) %{_sbindir}/vpstree
505 %attr(755,root,root) %{_sbindir}/vrsetup
506 %attr(755,root,root) %{_sbindir}/vsched
507 %attr(755,root,root) %{_sbindir}/vserver
508 %attr(755,root,root) %{_sbindir}/vserver-info
509 %attr(755,root,root) %{_sbindir}/vserver-stat
510 %attr(755,root,root) %{_sbindir}/vsomething
511 %attr(755,root,root) %{_sbindir}/vtop
512 %attr(755,root,root) %{_sbindir}/vuname
513 %attr(755,root,root) %{_sbindir}/vwait
514 %dir %{_libdir}/%{name}
515 %dir %{_libdir}/%{name}/defaults
516 %{_libdir}/%{name}/FEATURES.txt
517 %{_libdir}/%{name}/util-vserver-vars
518 %{_libdir}/%{name}/defaults/*
519 %attr(755,root,root) %{_libdir}/%{name}/capchroot
520 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
521 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
522 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
523 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
524 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
525 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
526 %attr(755,root,root) %{_libdir}/%{name}/filetime
527 %{_libdir}/%{name}/functions
528 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
529 %attr(755,root,root) %{_libdir}/%{name}/lockfile
530 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
531 %attr(755,root,root) %{_libdir}/%{name}/readlink
532 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
533 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
534 %attr(755,root,root) %{_libdir}/%{name}/sigexec
535 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
536 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
537 %{_libdir}/%{name}/vserver.*
538 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
539 %attr(755,root,root) %{_libdir}/%{name}/vshelper
540 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
541 %{_mandir}/man8/chbind.8*
542 %{_mandir}/man8/chcontext.8*
543 %{_mandir}/man8/reducecap.8*
544 %{_mandir}/man8/vps.8*
545 %{_mandir}/man8/vpstree.8*
546 %{_mandir}/man8/vserver-stat.8*
547 %{_mandir}/man8/vserver.8*
548 %{_mandir}/man8/vtop.8*
549 %attr(000,root,root) %dir /vservers
550 %attr(755,root,root) %dir /vservers/.pkg
551 %dir %{_localstatedir}/run/vservers
552 %dir %{_localstatedir}/run/vservers.rev
553 %dir %{_localstatedir}/run/vshelper
556 %defattr(644,root,root,755)
557 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
558 %attr(755,root,root) %{_libdir}/lib*.so
560 %{_includedir}/vserver*.h
561 %{_pkgconfigdir}/*.pc
564 %defattr(644,root,root,755)
565 %{_libdir}/libvserver.a
568 %defattr(644,root,root,755)
569 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
572 %defattr(644,root,root,755)
573 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
574 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
575 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
576 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
577 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
578 %attr(754,root,root) /etc/rc.d/init.d/vservers
581 %defattr(644,root,root,755)
582 %doc contrib/yum*.patch package-managament.txt
583 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
584 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
585 %dir %{_sysconfdir}/vservers/.distributions
586 %dir %{_sysconfdir}/vservers/.distributions/.common
587 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
588 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
589 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
590 %{_sysconfdir}/vservers/.distributions/pld1.99
591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
592 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
593 %dir %{_libdir}/%{name}/distributions
594 %attr(-, root, root) %{_libdir}/%{name}/distributions/defaults
595 %attr(-, root, root) %{_libdir}/%{name}/distributions/pld*
596 %attr(-, root, root) %{_libdir}/%{name}/distributions/template
597 %attr(-, root, root) %{_libdir}/%{name}/distributions/redhat*
598 %{_libdir}/%{name}/vserver-build.*
599 %{_libdir}/%{name}/vserver-setup.functions
600 %{_libdir}/%{name}/defaults/fstab
601 %{_libdir}/%{name}/defaults/debootstrap.uri
602 %{_libdir}/%{name}/defaults/vunify-exclude
603 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
604 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
605 %attr(755,root,root) %{_libdir}/%{name}/vcopy
606 %attr(755,root,root) %{_libdir}/%{name}/vhashify
607 %attr(755,root,root) %{_libdir}/%{name}/vpkg
608 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
609 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
610 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
611 %attr(755,root,root) %{_libdir}/%{name}/vunify
612 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
613 %attr(755,root,root) %{_sbindir}/vapt-get
614 %attr(755,root,root) %{_sbindir}/vpoldek
615 %attr(755,root,root) %{_sbindir}/vrpm
616 %attr(755,root,root) %{_sbindir}/vyum
618 %files -n vserver-distro-fedora
619 %defattr(644,root,root,755)
620 %dir %{_sysconfdir}/vservers/.distributions/fc*
621 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
622 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
623 %{_libdir}/%{name}/distributions/fc*
625 %files -n vserver-distro-redhat
626 %defattr(644,root,root,755)
627 %dir %{_sysconfdir}/vservers/.distributions/rh*
628 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
629 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
630 %{_libdir}/%{name}/distributions/rh*
632 %files -n vserver-distro-suse
633 %defattr(644,root,root,755)
634 %dir %{_sysconfdir}/vservers/.distributions/suse*
635 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
636 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
637 %{_libdir}/%{name}/distributions/suse*
639 %files -n vserver-distro-centos
640 %defattr(644,root,root,755)
641 %{_libdir}/util-vserver/distributions/centos42
644 %defattr(644,root,root,755)
645 %dir %{_sysconfdir}/vservices
646 %{_sysconfdir}/vservices/*
647 %dir %{_libdir}/%{name}/legacy
648 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
649 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
650 %attr(754,root,root) /etc/rc.d/init.d/v_*
651 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
652 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
653 %attr(755,root,root) %{_sbindir}/vserver-copy
654 %{_mandir}/man8/distrib-info.8*
655 %{_mandir}/man8/rebootmgr.8*
656 %{_mandir}/man8/vserver-copy.8*
658 %files -n vserver-dev
659 %defattr(644,root,root,755)
661 %dev(c,1,7) %attr(666,root,root) /dev/full
662 %dev(c,1,3) %attr(666,root,root) /dev/null
663 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
664 %dev(c,1,8) %attr(644,root,root) /dev/random
665 %dev(c,5,0) %attr(666,root,root) /dev/tty
666 %dev(c,1,9) %attr(644,root,root) /dev/urandom
667 %dev(c,1,5) %attr(666,root,root) /dev/zero