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 management
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}-vrpm.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}
65 Requires(post,preun): /sbin/chkconfig
66 Requires: %{name}-lib = %{version}-%{release}
67 Obsoletes: util-vserver-core
68 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
71 %define _usrbin /usr/bin
72 %define _usrsbin /usr/sbin
73 %define _usrlib /usr/lib
76 This package provides the components and a framework to setup virtual
77 servers. A virtual server runs inside a Linux server. It is
78 nevertheless highly independent. As such, you can run various services
79 with normal configuration. The various vservers can't interact with
80 each other and can't interact with services in the main server.
82 This requires a special kernel supporting the new new_s_context and
83 set_ipv4root system call.
85 This package contains utilities which are required to communicate with
86 the Linux-Vserver enabled kernel.
89 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
90 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
91 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
92 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
93 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
95 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
96 new_s_context i set_ipv4root.
98 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
99 w³±czonym mechanizmem Linux-Vserver.
102 Summary: Development files for Linux vserver libraries
103 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
104 Group: Development/Libraries
105 Requires: %{name}-lib = %{version}-%{release}
108 This package contains the development files necessary for developing
109 programs which use vserver library.
111 %description devel -l pl
112 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
113 programów u¿ywaj±cych biblioteki vserver.
116 Summary: Static vserver library
117 Summary(pl): Biblioteka statyczna vservera
118 Group: Development/Libraries
119 Requires: %{name}-devel = %{version}-%{release}
122 This package contains the static version of vserver library.
124 %description static -l pl
125 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
128 Summary: Dynamic libraries for util-vserver
129 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
133 util-vserver provides the components and a framework to setup virtual
134 servers. A virtual server runs inside a linux server. It is
135 nevertheless highly independent. As such, you can run various services
136 with normal configuration. The various vservers can't interact with
137 each other and can't interact with services in the main server.
139 This package contains the shared libraries needed by all other
140 'util-vserver' subpackages.
142 %description lib -l pl
143 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
144 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
145 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
146 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
147 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
149 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
150 podpakiety util-vserver.
153 Summary: Tools which can be used to build vservers
154 Summary(pl): Narzêdzia do budowania vserverów
155 Group: Applications/System
156 Conflicts: poldek < 0.18.8-10
157 Requires: %{name} = %{version}-%{release}
160 util-vserver provides the components and a framework to setup virtual
161 servers. A virtual server runs inside a linux server. It is
162 nevertheless highly independent. As such, you can run various services
163 with normal configuration. The various vservers can't interact with
164 each other and can't interact with services in the main server.
166 This package contains utilities which assist in building Vservers.
168 %description build -l pl
169 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
170 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
171 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
172 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
173 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
175 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
177 %package -n vserver-distro-fedora
178 Summary: VServer build templates for Fedora Core
179 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
180 Group: Applications/System
181 Requires: %{name} = %{version}-%{release}
188 %description -n vserver-distro-fedora
189 VServer build templates for Fedora Core 1,2,3,4.
191 %description -n vserver-distro-fedora -l pl
192 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
194 %package -n vserver-distro-redhat
195 Summary: VServer build template for Red Hat Linux 9
196 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
197 Group: Applications/System
198 Requires: %{name} = %{version}-%{release}
205 %description -n vserver-distro-redhat
206 VServer build template for RedHat Linux 9.
208 %description -n vserver-distro-redhat -l pl
209 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
211 %package -n vserver-distro-suse
212 Summary: VServer build template for SuSE 9.1
213 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
214 Group: Applications/System
215 Requires: %{name} = %{version}-%{release}
222 %description -n vserver-distro-suse
223 VServer build template for SuSE Linux 9.1.
225 %description -n vserver-distro-suse -l pl
226 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
228 %package -n vserver-distro-centos
229 Summary: VServer build template for CentOS 4.2
230 Summary(pl): Szablon budowania VServera dla CentOS 4.2
231 Group: Applications/System
232 Requires: util-vserver-build
235 %description -n vserver-distro-centos
236 VServer build template for CentOS 4.2.
238 %description -n vserver-distro-centos -l pl
239 Szablon budowania VServera dla CentOS 4.2.
242 Summary: initscripts for vserver
243 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
244 Group: Applications/System
245 Requires(post,preun): /sbin/chkconfig
246 Requires: %{name} = %{version}-%{release}
252 util-vserver provides the components and a framework to setup virtual
253 servers. A virtual server runs inside a linux server. It is
254 nevertheless highly independent. As such, you can run various services
255 with normal configuration. The various vservers can't interact with
256 each other and can't interact with services in the main server.
258 This package contains the SysV initscripts which start and stop
259 Vservers and related tools.
261 %description init -l pl
262 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
263 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
264 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
265 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
266 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
268 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
269 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
272 Summary: Legacy utilities for util-vserver
273 Summary(pl): Stare narzêdzia dla util-vserver
274 Group: Applications/System
275 Requires(post,preun): /sbin/chkconfig
276 Requires: %{name} = %{version}-%{release}
280 util-vserver provides the components and a framework to setup virtual
281 servers. A virtual server runs inside a linux server. It is
282 nevertheless highly independent. As such, you can run various services
283 with normal configuration. The various vservers can't interact with
284 each other and can't interact with services in the main server.
286 This package contains the tools which are needed to work with Vservers
287 having an old-style configuration.
289 %description legacy -l pl
290 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
291 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
292 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
293 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
294 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
296 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
297 konfiguracjê w starym stylu.
299 %package -n vserver-dev
300 Summary: /dev entries for systems in Vservers
301 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
303 Requires: setup >= 2.4.1-2
304 Provides: dev = 2.9.0-19
308 %description -n vserver-dev
309 Unix and unix like systems (including Linux) use file system entries
310 to represent devices attached to the machine. All of these entries are
311 in the /dev tree (though they don't have to be), and this package
312 contains only entries needed for a system running inside Vserver.
314 DO NOT install this package for a normal system!
316 %description -n vserver-dev -l pl
317 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
318 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
319 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
320 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
322 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
335 install %{SOURCE9} package-managament.txt
337 cp -a compat.h vserver-compat.h
341 CFLAGS="%{rpmcflags} -D__GLIBC__"
347 --with-initrddir=/etc/rc.d/init.d \
349 %{?with_dietlibc:--enable-dietlibc} \
350 %{!?with_dietlibc:--disable-dietlibc} \
356 IPTABLES=%{_usrsbin}/iptables \
357 MODPROBE=/sbin/modprobe \
358 NAMEIF=/sbin/nameif \
360 VCONFIG=/sbin/vconfig \
361 WGET=%{_usrbin}/wget \
364 %{?with_doc:%{__make} doc}
367 rm -rf $RPM_BUILD_ROOT
368 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
370 %{__make} install install-distribution \
371 DESTDIR=$RPM_BUILD_ROOT
373 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
375 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
377 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
378 install -d $RPM_BUILD_ROOT/vservers/.pkg
379 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
380 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
382 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
383 s=`basename $i | sed s/v_//`
384 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
385 # IP addresses/interfaces to bound $s service to
391 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
392 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
393 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
394 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
395 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
396 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
397 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
398 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
399 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
400 $RPM_BUILD_ROOT/etc/sysconfig/vservers
402 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
404 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
405 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
406 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/initpost
408 ln -sf null $RPM_BUILD_ROOT/dev/initctl
411 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/pkgs/01
412 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/rpmlist.d/00.lst
416 rm -rf $RPM_BUILD_ROOT
419 %{_sbindir}/setattr --barrier /vservers || :
421 %post lib -p /sbin/ldconfig
422 %postun lib -p /sbin/ldconfig
425 /sbin/chkconfig --add vrootdevices
426 /sbin/chkconfig --add vprocunhide
427 /sbin/chkconfig --add vservers
428 if [ ! -f /var/lock/subsys/vrootdevices ]; then
429 echo "Type \"/etc/rc.d/init.d/vrootdevices start\" to assign virtual root devices" 1>&2
431 if [ ! -f /var/lock/subsys/vprocunhide ]; then
432 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
434 if [ ! -f /var/lock/subsys/vservers ]; then
435 echo "Type \"/etc/rc.d/init.d/vservers start\" to start vservers" 1>&2
439 if [ "$1" = "0" ]; then
440 if [ -r /var/lock/subsys/vservers ]; then
441 /etc/rc.d/init.d/vservers stop >&2
443 if [ -r /var/lock/subsys/vprocunhide ]; then
444 /etc/rc.d/init.d/vprocunhide stop >&2
446 if [ -r /var/lock/subsys/vrootdevices ]; then
447 /etc/rc.d/init.d/vrootdevices stop >&2
449 /sbin/chkconfig --del vservers
450 /sbin/chkconfig --del vprocunhide
451 /sbin/chkconfig --del vrootdevices
455 /sbin/chkconfig --add rebootmgr
456 /sbin/chkconfig --add vservers-legacy
457 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
458 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
460 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
461 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
465 if [ "$1" = "0" ]; then
466 if [ -r /var/lock/subsys/rebootmgr ] ; then
467 /etc/rc.d/init.d/rebootmgr stop >&2
469 if [ -r /var/lock/subsys/vservers-legacy ] ; then
470 /etc/rc.d/init.d/vservers-legacy stop >&2
472 /sbin/chkconfig --del rebootmgr
473 /sbin/chkconfig --del vservers-legacy
476 %triggerpostun build -- %{name}-build < 0.30.209-2.1
477 if [ -f /etc/vservers/.distributions/pld2.0/poldek/poldek.conf.rpmsave ]; then
478 mv -f /etc/vservers/.distributions/{pld2.0,pld-ac}/poldek/poldek.conf.rpmsave
482 %defattr(644,root,root,755)
483 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
484 %{?with_doc:%doc doc/*.html}
485 %dir %{_sysconfdir}/vservers
486 %dir %{_sysconfdir}/vservers/.defaults
487 %dir %{_sysconfdir}/vservers/.defaults/apps
488 %dir %{_sysconfdir}/vservers/.defaults/files
489 %{_sysconfdir}/vservers/.defaults/vdirbase
490 %{_sysconfdir}/vservers/.defaults/run.rev
491 %{_sysconfdir}/vservers/vdirbase
492 %{_sysconfdir}/vservers/run.rev
494 %attr(755,root,root) %{_sbindir}/chbind
495 %attr(755,root,root) %{_sbindir}/chcontext
496 %attr(755,root,root) %{_sbindir}/chxid
497 %attr(755,root,root) %{_sbindir}/exec-cd
498 %attr(755,root,root) %{_sbindir}/lsxid
499 %attr(755,root,root) %{_sbindir}/reducecap
500 %attr(755,root,root) %{_sbindir}/setattr
501 %attr(755,root,root) %{_sbindir}/showattr
502 %attr(755,root,root) %{_sbindir}/vattribute
503 %attr(755,root,root) %{_sbindir}/vcontext
504 %attr(755,root,root) %{_sbindir}/vdlimit
505 %attr(755,root,root) %{_sbindir}/vnamespace
506 %attr(755,root,root) %{_sbindir}/vkill
507 %attr(755,root,root) %{_sbindir}/vlimit
508 %attr(755,root,root) %{_sbindir}/vdu
509 %attr(755,root,root) %{_sbindir}/vps
510 %attr(755,root,root) %{_sbindir}/vpstree
511 %attr(755,root,root) %{_sbindir}/vrsetup
512 %attr(755,root,root) %{_sbindir}/vsched
513 %attr(755,root,root) %{_sbindir}/vserver
514 %attr(755,root,root) %{_sbindir}/vserver-info
515 %attr(755,root,root) %{_sbindir}/vserver-stat
516 %attr(755,root,root) %{_sbindir}/vsomething
517 %attr(755,root,root) %{_sbindir}/vtop
518 %attr(755,root,root) %{_sbindir}/vuname
519 %attr(755,root,root) %{_sbindir}/vwait
520 %dir %{_libdir}/%{name}
521 %dir %{_libdir}/%{name}/defaults
522 %{_libdir}/%{name}/FEATURES.txt
523 %{_libdir}/%{name}/util-vserver-vars
524 %{_libdir}/%{name}/defaults/*
525 %attr(755,root,root) %{_libdir}/%{name}/capchroot
526 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
527 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
528 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
529 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
530 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
531 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
532 %attr(755,root,root) %{_libdir}/%{name}/filetime
533 %{_libdir}/%{name}/functions
534 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
535 %attr(755,root,root) %{_libdir}/%{name}/lockfile
536 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
537 %attr(755,root,root) %{_libdir}/%{name}/readlink
538 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
539 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
540 %attr(755,root,root) %{_libdir}/%{name}/sigexec
541 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
542 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
543 %{_libdir}/%{name}/vserver.*
544 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
545 %attr(755,root,root) %{_libdir}/%{name}/vshelper
546 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
547 %{_mandir}/man8/chbind.8*
548 %{_mandir}/man8/chcontext.8*
549 %{_mandir}/man8/reducecap.8*
550 %{_mandir}/man8/vps.8*
551 %{_mandir}/man8/vpstree.8*
552 %{_mandir}/man8/vserver-stat.8*
553 %{_mandir}/man8/vserver.8*
554 %{_mandir}/man8/vtop.8*
555 %attr(000,root,root) %dir /vservers
556 %attr(755,root,root) %dir /vservers/.pkg
557 %dir %{_localstatedir}/run/vservers
558 %dir %{_localstatedir}/run/vservers.rev
559 %dir %{_localstatedir}/run/vshelper
562 %defattr(644,root,root,755)
563 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
564 %attr(755,root,root) %{_libdir}/lib*.so
566 %{_includedir}/vserver*.h
567 %{_pkgconfigdir}/*.pc
570 %defattr(644,root,root,755)
571 %{_libdir}/libvserver.a
574 %defattr(644,root,root,755)
575 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
578 %defattr(644,root,root,755)
579 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
580 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
581 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
582 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
583 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
584 %attr(754,root,root) /etc/rc.d/init.d/vservers
587 %defattr(644,root,root,755)
588 %doc contrib/yum*.patch package-managament.txt
589 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
590 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
591 %dir %{_sysconfdir}/vservers/.distributions
592 %dir %{_sysconfdir}/vservers/.distributions/.common
593 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
594 %dir %{_sysconfdir}/vservers/.distributions/pld-ac
595 %dir %{_sysconfdir}/vservers/.distributions/pld-ac/poldek
596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-ac/poldek/*.conf
597 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
598 %dir %{_libdir}/%{name}/distributions
599 %attr(-, root, root) %{_libdir}/%{name}/distributions/defaults
600 %attr(-, root, root) %{_libdir}/%{name}/distributions/pld*
601 %attr(-, root, root) %{_libdir}/%{name}/distributions/template
602 %attr(-, root, root) %{_libdir}/%{name}/distributions/redhat*
603 %{_libdir}/%{name}/vserver-build.*
604 %{_libdir}/%{name}/vserver-setup.functions
605 %{_libdir}/%{name}/defaults/fstab
606 %{_libdir}/%{name}/defaults/debootstrap.uri
607 %{_libdir}/%{name}/defaults/vunify-exclude
608 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
609 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
610 %attr(755,root,root) %{_libdir}/%{name}/vcopy
611 %attr(755,root,root) %{_libdir}/%{name}/vhashify
612 %attr(755,root,root) %{_libdir}/%{name}/vpkg
613 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
614 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
615 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
616 %attr(755,root,root) %{_libdir}/%{name}/vunify
617 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
618 %attr(755,root,root) %{_sbindir}/vapt-get
619 %attr(755,root,root) %{_sbindir}/vpoldek
620 %attr(755,root,root) %{_sbindir}/vrpm
621 %attr(755,root,root) %{_sbindir}/vyum
623 %files -n vserver-distro-fedora
624 %defattr(644,root,root,755)
625 %dir %{_sysconfdir}/vservers/.distributions/fc*
626 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
628 %{_libdir}/%{name}/distributions/fc*
630 %files -n vserver-distro-redhat
631 %defattr(644,root,root,755)
632 %dir %{_sysconfdir}/vservers/.distributions/rh*
633 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
634 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
635 %{_libdir}/%{name}/distributions/rh*
637 %files -n vserver-distro-suse
638 %defattr(644,root,root,755)
639 %dir %{_sysconfdir}/vservers/.distributions/suse*
640 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
641 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
642 %{_libdir}/%{name}/distributions/suse*
644 %files -n vserver-distro-centos
645 %defattr(644,root,root,755)
646 %{_libdir}/util-vserver/distributions/centos42
649 %defattr(644,root,root,755)
650 %dir %{_sysconfdir}/vservices
651 %{_sysconfdir}/vservices/*
652 %dir %{_libdir}/%{name}/legacy
653 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
654 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
655 %attr(754,root,root) /etc/rc.d/init.d/v_*
656 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
657 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
658 %attr(755,root,root) %{_sbindir}/vserver-copy
659 %{_mandir}/man8/distrib-info.8*
660 %{_mandir}/man8/rebootmgr.8*
661 %{_mandir}/man8/vserver-copy.8*
663 %files -n vserver-dev
664 %defattr(644,root,root,755)
666 %dev(c,1,7) %attr(666,root,root) /dev/full
667 %dev(c,1,3) %attr(666,root,root) /dev/null
668 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
669 %dev(c,1,8) %attr(644,root,root) /dev/random
670 %dev(c,5,0) %attr(666,root,root) /dev/tty
671 %dev(c,1,9) %attr(644,root,root) /dev/urandom
672 %dev(c,1,5) %attr(666,root,root) /dev/zero