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: 1e8fff7cb6246d21ed029f082123019b
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-management.txt
337 cp -a compat.h vserver-compat.h
341 CFLAGS="%{rpmcflags} -D__GLIBC__"
347 --with-initrddir=/etc/rc.d/init.d \
349 --enable-apis=NOLEGACY \
350 %{?with_dietlibc:--enable-dietlibc} \
351 %{!?with_dietlibc:--disable-dietlibc} \
357 IPTABLES=%{_usrsbin}/iptables \
358 MODPROBE=/sbin/modprobe \
359 NAMEIF=/sbin/nameif \
361 VCONFIG=/sbin/vconfig \
362 WGET=%{_usrbin}/wget \
365 %{?with_doc:%{__make} doc}
368 rm -rf $RPM_BUILD_ROOT
369 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
371 %{__make} install install-distribution \
372 DESTDIR=$RPM_BUILD_ROOT
374 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
376 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
378 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vservices
379 install -d $RPM_BUILD_ROOT/vservers/.pkg
380 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
381 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
383 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
384 s=`basename $i | sed s/v_//`
385 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
386 # IP addresses/interfaces to bound $s service to
392 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
393 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
394 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
395 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
396 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
397 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
398 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
399 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
400 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
401 $RPM_BUILD_ROOT/etc/sysconfig/vservers
403 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
405 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
406 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
407 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/initpost
409 ln -sf null $RPM_BUILD_ROOT/dev/initctl
412 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/pkgs/01
413 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/rpmlist.d/00.lst
417 rm -rf $RPM_BUILD_ROOT
420 %{_sbindir}/setattr --barrier /vservers || :
422 %post lib -p /sbin/ldconfig
423 %postun lib -p /sbin/ldconfig
426 /sbin/chkconfig --add vrootdevices
427 /sbin/chkconfig --add vprocunhide
428 /sbin/chkconfig --add vservers
429 if [ ! -f /var/lock/subsys/vrootdevices ]; then
430 echo "Type \"/etc/rc.d/init.d/vrootdevices start\" to assign virtual root devices" 1>&2
432 if [ ! -f /var/lock/subsys/vprocunhide ]; then
433 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
435 if [ ! -f /var/lock/subsys/vservers ]; then
436 echo "Type \"/etc/rc.d/init.d/vservers start\" to start vservers" 1>&2
440 if [ "$1" = "0" ]; then
441 if [ -r /var/lock/subsys/vservers ]; then
442 /etc/rc.d/init.d/vservers stop >&2
444 if [ -r /var/lock/subsys/vprocunhide ]; then
445 /etc/rc.d/init.d/vprocunhide stop >&2
447 if [ -r /var/lock/subsys/vrootdevices ]; then
448 /etc/rc.d/init.d/vrootdevices stop >&2
450 /sbin/chkconfig --del vservers
451 /sbin/chkconfig --del vprocunhide
452 /sbin/chkconfig --del vrootdevices
456 /sbin/chkconfig --add rebootmgr
457 /sbin/chkconfig --add vservers-legacy
458 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
459 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
461 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
462 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
466 if [ "$1" = "0" ]; then
467 if [ -r /var/lock/subsys/rebootmgr ] ; then
468 /etc/rc.d/init.d/rebootmgr stop >&2
470 if [ -r /var/lock/subsys/vservers-legacy ] ; then
471 /etc/rc.d/init.d/vservers-legacy stop >&2
473 /sbin/chkconfig --del rebootmgr
474 /sbin/chkconfig --del vservers-legacy
477 %triggerpostun build -- %{name}-build < 0.30.209-2.1
478 if [ -f /etc/vservers/.distributions/pld2.0/poldek/poldek.conf.rpmsave ]; then
479 mv -f /etc/vservers/.distributions/{pld2.0,pld-ac}/poldek/poldek.conf.rpmsave
483 %defattr(644,root,root,755)
484 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
485 %{?with_doc:%doc doc/*.html}
486 %dir %{_sysconfdir}/vservers
487 %dir %{_sysconfdir}/vservers/.defaults
488 %dir %{_sysconfdir}/vservers/.defaults/apps
489 %dir %{_sysconfdir}/vservers/.defaults/files
490 %{_sysconfdir}/vservers/.defaults/vdirbase
491 %{_sysconfdir}/vservers/.defaults/run.rev
492 %{_sysconfdir}/vservers/vdirbase
493 %{_sysconfdir}/vservers/run.rev
495 %attr(755,root,root) %{_sbindir}/chbind
496 %attr(755,root,root) %{_sbindir}/chcontext
497 %attr(755,root,root) %{_sbindir}/chxid
498 %attr(755,root,root) %{_sbindir}/exec-cd
499 %attr(755,root,root) %{_sbindir}/lsxid
500 %attr(755,root,root) %{_sbindir}/reducecap
501 %attr(755,root,root) %{_sbindir}/setattr
502 %attr(755,root,root) %{_sbindir}/showattr
503 %attr(755,root,root) %{_sbindir}/vattribute
504 %attr(755,root,root) %{_sbindir}/vcontext
505 %attr(755,root,root) %{_sbindir}/vdlimit
506 %attr(755,root,root) %{_sbindir}/vnamespace
507 %attr(755,root,root) %{_sbindir}/vkill
508 %attr(755,root,root) %{_sbindir}/vlimit
509 %attr(755,root,root) %{_sbindir}/vdu
510 %attr(755,root,root) %{_sbindir}/vps
511 %attr(755,root,root) %{_sbindir}/vpstree
512 %attr(755,root,root) %{_sbindir}/vrsetup
513 %attr(755,root,root) %{_sbindir}/vsched
514 %attr(755,root,root) %{_sbindir}/vserver
515 %attr(755,root,root) %{_sbindir}/vserver-info
516 %attr(755,root,root) %{_sbindir}/vserver-stat
517 %attr(755,root,root) %{_sbindir}/vsomething
518 %attr(755,root,root) %{_sbindir}/vtop
519 %attr(755,root,root) %{_sbindir}/vuname
520 %attr(755,root,root) %{_sbindir}/vwait
521 %dir %{_libdir}/%{name}
522 %dir %{_libdir}/%{name}/defaults
523 %{_libdir}/%{name}/FEATURES.txt
524 %{_libdir}/%{name}/util-vserver-vars
525 %{_libdir}/%{name}/defaults/*
526 %attr(755,root,root) %{_libdir}/%{name}/capchroot
527 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
528 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
529 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
530 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
531 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
532 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
533 %attr(755,root,root) %{_libdir}/%{name}/filetime
534 %{_libdir}/%{name}/functions
535 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
536 %attr(755,root,root) %{_libdir}/%{name}/lockfile
537 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
538 %attr(755,root,root) %{_libdir}/%{name}/readlink
539 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
540 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
541 %attr(755,root,root) %{_libdir}/%{name}/sigexec
542 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
543 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
544 %{_libdir}/%{name}/vserver.*
545 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
546 %attr(755,root,root) %{_libdir}/%{name}/vshelper
547 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
548 %{_mandir}/man8/chbind.8*
549 %{_mandir}/man8/chcontext.8*
550 %{_mandir}/man8/reducecap.8*
551 %{_mandir}/man8/vps.8*
552 %{_mandir}/man8/vpstree.8*
553 %{_mandir}/man8/vserver-stat.8*
554 %{_mandir}/man8/vserver.8*
555 %{_mandir}/man8/vtop.8*
556 %attr(000,root,root) %dir /vservers
557 %attr(755,root,root) %dir /vservers/.pkg
558 %dir %{_localstatedir}/run/vservers
559 %dir %{_localstatedir}/run/vservers.rev
560 %dir %{_localstatedir}/run/vshelper
563 %defattr(644,root,root,755)
564 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
565 %attr(755,root,root) %{_libdir}/lib*.so
567 %{_includedir}/vserver*.h
568 %{_pkgconfigdir}/*.pc
571 %defattr(644,root,root,755)
572 %{_libdir}/libvserver.a
575 %defattr(644,root,root,755)
576 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
579 %defattr(644,root,root,755)
580 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
581 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
582 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
583 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
584 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
585 %attr(754,root,root) /etc/rc.d/init.d/vservers
588 %defattr(644,root,root,755)
589 %doc contrib/yum*.patch package-management.txt
590 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
591 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
592 %dir %{_sysconfdir}/vservers/.distributions
593 %dir %{_sysconfdir}/vservers/.distributions/.common
594 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
595 %dir %{_sysconfdir}/vservers/.distributions/pld-ac
596 %dir %{_sysconfdir}/vservers/.distributions/pld-ac/poldek
597 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-ac/poldek/*.conf
598 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
599 %dir %{_libdir}/%{name}/distributions
600 %attr(-, root, root) %{_libdir}/%{name}/distributions/defaults
601 %attr(-, root, root) %{_libdir}/%{name}/distributions/pld*
602 %attr(-, root, root) %{_libdir}/%{name}/distributions/template
603 %attr(-, root, root) %{_libdir}/%{name}/distributions/redhat*
604 %{_libdir}/%{name}/vserver-build.*
605 %{_libdir}/%{name}/vserver-setup.functions
606 %{_libdir}/%{name}/defaults/fstab
607 %{_libdir}/%{name}/defaults/debootstrap.uri
608 %{_libdir}/%{name}/defaults/vunify-exclude
609 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
610 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
611 %attr(755,root,root) %{_libdir}/%{name}/vcopy
612 %attr(755,root,root) %{_libdir}/%{name}/vhashify
613 %attr(755,root,root) %{_libdir}/%{name}/vpkg
614 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
615 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
616 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
617 %attr(755,root,root) %{_libdir}/%{name}/vunify
618 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
619 %attr(755,root,root) %{_sbindir}/vapt-get
620 %attr(755,root,root) %{_sbindir}/vpoldek
621 %attr(755,root,root) %{_sbindir}/vrpm
622 %attr(755,root,root) %{_sbindir}/vyum
624 %files -n vserver-distro-fedora
625 %defattr(644,root,root,755)
626 %dir %{_sysconfdir}/vservers/.distributions/fc*
627 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
629 %{_libdir}/%{name}/distributions/fc*
631 %files -n vserver-distro-redhat
632 %defattr(644,root,root,755)
633 %dir %{_sysconfdir}/vservers/.distributions/rh*
634 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
635 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
636 %{_libdir}/%{name}/distributions/rh*
638 %files -n vserver-distro-suse
639 %defattr(644,root,root,755)
640 %dir %{_sysconfdir}/vservers/.distributions/suse*
641 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
643 %{_libdir}/%{name}/distributions/suse*
645 %files -n vserver-distro-centos
646 %defattr(644,root,root,755)
647 %{_libdir}/util-vserver/distributions/centos42
650 %defattr(644,root,root,755)
651 %dir %{_sysconfdir}/vservices
652 %{_sysconfdir}/vservices/*
653 %dir %{_libdir}/%{name}/legacy
654 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
655 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
656 %attr(754,root,root) /etc/rc.d/init.d/v_*
657 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
658 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
659 %attr(755,root,root) %{_sbindir}/vserver-copy
660 %{_mandir}/man8/distrib-info.8*
661 %{_mandir}/man8/rebootmgr.8*
662 %{_mandir}/man8/vserver-copy.8*
664 %files -n vserver-dev
665 %defattr(644,root,root,755)
667 %dev(c,1,7) %attr(666,root,root) /dev/full
668 %dev(c,1,3) %attr(666,root,root) /dev/null
669 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
670 %dev(c,1,8) %attr(644,root,root) /dev/random
671 %dev(c,5,0) %attr(666,root,root) /dev/tty
672 %dev(c,1,9) %attr(644,root,root) /dev/urandom
673 %dev(c,1,5) %attr(666,root,root) /dev/zero