2 # - somewhy empty /var/cache/vservers is needed when building pld vserver
3 # - make build create /dev/std{in,out,err} links
5 # m68k and mips are the only not supported archs
8 %bcond_without dietlibc # don't use dietlibc (ask for troubles)
9 %bcond_without doc # don't build documentation which needed LaTeX
10 %bcond_with xalan # use the xalan xslt processor
12 %define _vproc_version 0.01
13 # fails with ccache in %{__cc}
16 Summary: Linux virtual server utilities
17 Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych
22 Group: Applications/System
23 Source0: http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
24 # Source0-md5: 1e8fff7cb6246d21ed029f082123019b
25 Source1: vprocunhide.init
26 Source2: vservers.init
27 Source3: vservers-legacy.init
28 Source4: rebootmgr.init
29 Source5: vservers.sysconfig
30 Source6: vservers-legacy.sysconfig
31 Source7: vrootdevices.init
32 Source8: vrootdevices.sysconfig
33 # A bit of documentation explaining package management
34 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
35 Source9: %{name}-pkgmgmt.txt
36 Source10: %{name}-initpost.sh
37 Source11: http://www.13thfloor.at/vserver/s_release/v1.2.10/vproc-%{_vproc_version}.tar.bz2
38 # Source11-md5: 1d030717bdbc958ea4b35fd2410dad85
39 Patch0: %{name}-vsysvwrapper.patch
40 Patch1: %{name}-pld.patch
41 Patch2: %{name}-vrpm.patch
42 Patch3: %{name}-include.patch
43 Patch4: %{name}-m4-diet.patch
44 Patch5: %{name}-cpuset.patch
45 Patch6: %{name}-build-umask.patch
46 Patch7: %{name}-utmpx.patch
47 Patch8: %{name}-vprocunhide.patch
48 Patch9: %{name}-dev.patch
49 URL: http://savannah.nongnu.org/projects/util-vserver/
50 BuildRequires: autoconf
51 BuildRequires: automake >= 1.9
52 BuildRequires: beecrypt-devel
53 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
54 BuildRequires: libstdc++-devel
55 BuildRequires: libtool >= 1.5.14
57 BuildRequires: sed >= 4.0
59 BuildRequires: rpmbuild(macros) >= 1.268
61 BuildRequires: doxygen
62 BuildRequires: graphviz
63 BuildRequires: libxslt-progs
64 BuildRequires: tetex-format-pdflatex
65 BuildRequires: tetex-makeindex
66 # To be removed when tetex-format-pdflatex, tetex-pdftex...
67 # ...and graphviz packages get fixed
68 BuildRequires: ghostscript
69 BuildRequires: ghostscript-fonts-std
70 BuildRequires: tetex-fonts-jknappen
71 BuildRequires: tetex-metafont
72 %{?with_xalan:BuildRequires: xalan-j}
74 Requires(post,preun): /sbin/chkconfig
75 Requires: %{name}-lib = %{version}-%{release}
79 Obsoletes: util-vserver-core
80 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
83 %define _usrbin /usr/bin
84 %define _usrsbin /usr/sbin
85 %define _usrlib /usr/lib
88 This package provides the components and a framework to setup virtual
89 servers. A virtual server runs inside a Linux server. It is
90 nevertheless highly independent. As such, you can run various services
91 with normal configuration. The various vservers can't interact with
92 each other and can't interact with services in the main server.
94 This requires a special kernel supporting the new new_s_context and
95 set_ipv4root system call.
97 This package contains utilities which are required to communicate with
98 the Linux-Vserver enabled kernel.
101 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
102 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
103 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
104 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
105 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
107 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
108 new_s_context i set_ipv4root.
110 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
111 w³±czonym mechanizmem Linux-Vserver.
114 Summary: Development files for Linux vserver libraries
115 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
116 Group: Development/Libraries
117 Requires: %{name}-lib = %{version}-%{release}
120 This package contains the development files necessary for developing
121 programs which use vserver library.
123 %description devel -l pl
124 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
125 programów u¿ywaj±cych biblioteki vserver.
128 Summary: Static vserver library
129 Summary(pl): Biblioteka statyczna vservera
130 Group: Development/Libraries
131 Requires: %{name}-devel = %{version}-%{release}
134 This package contains the static version of vserver library.
136 %description static -l pl
137 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
140 Summary: Dynamic libraries for util-vserver
141 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
145 util-vserver provides the components and a framework to setup virtual
146 servers. A virtual server runs inside a linux server. It is
147 nevertheless highly independent. As such, you can run various services
148 pith normal configuration. The various vservers can't interact with
149 each other and can't interact with services in the main server.
151 This package contains the shared libraries needed by all other
152 'util-vserver' subpackages.
154 %description lib -l pl
155 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
156 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
157 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
158 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
159 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
161 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
162 podpakiety util-vserver.
165 Summary: Tools which can be used to build vservers
166 Summary(pl): Narzêdzia do budowania vserverów
167 Group: Applications/System
168 Requires: %{name} = %{version}-%{release}
170 Conflicts: poldek < 0.18.8-10
173 util-vserver provides the components and a framework to setup virtual
174 servers. A virtual server runs inside a linux server. It is
175 nevertheless highly independent. As such, you can run various services
176 with normal configuration. The various vservers can't interact with
177 each other and can't interact with services in the main server.
179 This package contains utilities which assist in building Vservers.
181 %description build -l pl
182 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
183 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
184 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
185 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
186 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
188 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
190 %package -n vserver-distro-fedora
191 Summary: VServer build templates for Fedora Core
192 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
193 Group: Applications/System
194 Requires: %{name} = %{version}-%{release}
201 %description -n vserver-distro-fedora
202 VServer build templates for Fedora Core 1,2,3,4.
204 %description -n vserver-distro-fedora -l pl
205 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
207 %package -n vserver-distro-redhat
208 Summary: VServer build template for Red Hat Linux 9
209 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
210 Group: Applications/System
211 Requires: %{name} = %{version}-%{release}
218 %description -n vserver-distro-redhat
219 VServer build template for RedHat Linux 9.
221 %description -n vserver-distro-redhat -l pl
222 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
224 %package -n vserver-distro-suse
225 Summary: VServer build template for SuSE 9.1
226 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
227 Group: Applications/System
228 Requires: %{name} = %{version}-%{release}
235 %description -n vserver-distro-suse
236 VServer build template for SuSE Linux 9.1.
238 %description -n vserver-distro-suse -l pl
239 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
241 %package -n vserver-distro-centos
242 Summary: VServer build template for CentOS 4.2
243 Summary(pl): Szablon budowania VServera dla CentOS 4.2
244 Group: Applications/System
245 Requires: util-vserver-build
248 %description -n vserver-distro-centos
249 VServer build template for CentOS 4.2.
251 %description -n vserver-distro-centos -l pl
252 Szablon budowania VServera dla CentOS 4.2.
255 Summary: initscripts for vserver
256 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
257 Group: Applications/System
258 Requires(post,preun): /sbin/chkconfig
259 Requires: %{name} = %{version}-%{release}
265 util-vserver provides the components and a framework to setup virtual
266 servers. A virtual server runs inside a linux server. It is
267 nevertheless highly independent. As such, you can run various services
268 with normal configuration. The various vservers can't interact with
269 each other and can't interact with services in the main server.
271 This package contains the SysV initscripts which start and stop
272 Vservers and related tools.
274 %description init -l pl
275 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
276 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
277 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
278 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
279 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
281 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
282 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
285 Summary: Legacy utilities for util-vserver
286 Summary(pl): Stare narzêdzia dla util-vserver
287 Group: Applications/System
288 Requires(post,preun): /sbin/chkconfig
289 Requires: %{name} = %{version}-%{release}
293 util-vserver provides the components and a framework to setup virtual
294 servers. A virtual server runs inside a linux server. It is
295 nevertheless highly independent. As such, you can run various services
296 with normal configuration. The various vservers can't interact with
297 each other and can't interact with services in the main server.
299 This package contains the tools which are needed to work with Vservers
300 having an old-style configuration.
302 %description legacy -l pl
303 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
304 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
305 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
306 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
307 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
309 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
310 konfiguracjê w starym stylu.
325 install %{SOURCE9} package-management.txt
327 cp -a compat.h vserver-compat.h
331 CFLAGS="%{rpmcflags} -D__GLIBC__"
337 --with-initrddir=/etc/rc.d/init.d \
339 --enable-apis=NOLEGACY \
340 %{?with_dietlibc:--enable-dietlibc} \
341 %{!?with_dietlibc:--disable-dietlibc} \
347 IPTABLES=%{_usrsbin}/iptables \
348 MODPROBE=/sbin/modprobe \
349 NAMEIF=/sbin/nameif \
351 VCONFIG=/sbin/vconfig \
352 WGET=%{_usrbin}/wget \
355 %{?with_doc:%{__make} doc}
357 %{__make} -C vproc-%{_vproc_version} \
359 CFLAGS="%{rpmcflags}"
362 rm -rf $RPM_BUILD_ROOT
363 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts} \
364 $RPM_BUILD_ROOT{%{_sysconfdir}/vservices,/vservers/.pkg}
366 %{__make} install install-distribution \
367 DESTDIR=$RPM_BUILD_ROOT
369 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
371 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
373 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
374 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
376 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
377 s=`basename $i | sed s/v_//`
378 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
379 # IP addresses/interfaces to bound $s service to
385 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
386 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
387 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
388 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
389 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
390 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
391 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
392 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
393 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
394 $RPM_BUILD_ROOT/etc/sysconfig/vservers
396 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
398 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
399 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
400 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/initpost
401 install vproc-%{_vproc_version}/vproc $RPM_BUILD_ROOT%{_sbindir}
403 ln -sf null $RPM_BUILD_ROOT/dev/initctl
406 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/pkgs/01
407 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/rpmlist.d/00.lst
410 # baggins check this: needed but seems unused
411 install -d $RPM_BUILD_ROOT/var/cache/vservers
414 rm -rf $RPM_BUILD_ROOT
417 %{_sbindir}/setattr --barrier /vservers || :
419 %post lib -p /sbin/ldconfig
420 %postun lib -p /sbin/ldconfig
423 /sbin/chkconfig --add vrootdevices
424 /sbin/chkconfig --add vprocunhide
425 /sbin/chkconfig --add vservers
426 if [ ! -f /var/lock/subsys/vrootdevices ]; then
427 echo "Type \"/sbin/service vrootdevices start\" to assign virtual root devices" 1>&2
429 if [ ! -f /var/lock/subsys/vprocunhide ]; then
430 echo "Type \"/sbin/service vprocunhide start\" to set /proc visibility for vservers" 1>&2
432 if [ ! -f /var/lock/subsys/vservers ]; then
433 echo "Type \"/sbin/service vservers start\" to start vservers" 1>&2
437 if [ "$1" = "0" ]; then
438 %service vservers stop
439 %service vprocunhide stop
440 %service vrootdevices stop
441 /sbin/chkconfig --del vservers
442 /sbin/chkconfig --del vprocunhide
443 /sbin/chkconfig --del vrootdevices
447 /sbin/chkconfig --add rebootmgr
448 /sbin/chkconfig --add vservers-legacy
449 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
450 echo "Type \"/sbin/service rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
452 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
453 echo "Type \"/sbin/service vservers-legacy start\" to start legacy vservers" 1>&2
457 if [ "$1" = "0" ]; then
458 %service rebootmgr stop
459 %service vservers-legacy stop
460 /sbin/chkconfig --del rebootmgr
461 /sbin/chkconfig --del vservers-legacy
464 %triggerpostun build -- %{name}-build < 0.30.210-5.2
465 if [ -f /etc/vservers/.distributions/pld2.0/poldek/poldek.conf.rpmsave ]; then
466 mv -f /etc/vservers/.distributions/{pld2.0,pld-ac}/poldek/poldek.conf.rpmsave
469 # kill old vserver specific package ignores which are no longer needed
470 l=`egrep '^ignore.*(basesystem|SysVinit|rc-scripts)' /etc/vservers/*/apps/pkgmgmt/base/poldek/etc/poldek.conf -l 2>/dev/null`
472 %{__sed} -i -e '/^ignore/s, \(basesystem\|SysVinit\|rc-scripts\),,g' $l
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}/vproc
504 %attr(755,root,root) %{_sbindir}/vps
505 %attr(755,root,root) %{_sbindir}/vpstree
506 %attr(755,root,root) %{_sbindir}/vrsetup
507 %attr(755,root,root) %{_sbindir}/vsched
508 %attr(755,root,root) %{_sbindir}/vserver
509 %attr(755,root,root) %{_sbindir}/vserver-info
510 %attr(755,root,root) %{_sbindir}/vserver-stat
511 %attr(755,root,root) %{_sbindir}/vsomething
512 %attr(755,root,root) %{_sbindir}/vtop
513 %attr(755,root,root) %{_sbindir}/vuname
514 %attr(755,root,root) %{_sbindir}/vwait
515 %dir %{_libdir}/%{name}
516 %dir %{_libdir}/%{name}/defaults
517 %{_libdir}/%{name}/FEATURES.txt
518 %{_libdir}/%{name}/util-vserver-vars
519 %{_libdir}/%{name}/defaults/*
520 %attr(755,root,root) %{_libdir}/%{name}/capchroot
521 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
522 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
523 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
524 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
525 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
526 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
527 %attr(755,root,root) %{_libdir}/%{name}/filetime
528 %{_libdir}/%{name}/functions
529 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
530 %attr(755,root,root) %{_libdir}/%{name}/lockfile
531 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
532 %attr(755,root,root) %{_libdir}/%{name}/readlink
533 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
534 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
535 %attr(755,root,root) %{_libdir}/%{name}/sigexec
536 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
537 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
538 %{_libdir}/%{name}/vserver.*
539 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
540 %attr(755,root,root) %{_libdir}/%{name}/vshelper
541 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
542 %{_mandir}/man8/chbind.8*
543 %{_mandir}/man8/chcontext.8*
544 %{_mandir}/man8/reducecap.8*
545 %{_mandir}/man8/vps.8*
546 %{_mandir}/man8/vpstree.8*
547 %{_mandir}/man8/vserver-stat.8*
548 %{_mandir}/man8/vserver.8*
549 %{_mandir}/man8/vtop.8*
550 %attr(000,root,root) %dir /vservers
551 %attr(755,root,root) %dir /vservers/.pkg
552 %dir %{_localstatedir}/run/vservers
553 %dir %{_localstatedir}/run/vservers.rev
554 %dir %{_localstatedir}/run/vshelper
555 %dir /var/cache/vservers
558 %defattr(644,root,root,755)
559 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
560 %attr(755,root,root) %{_libdir}/lib*.so
562 %{_includedir}/vserver*.h
563 %{_pkgconfigdir}/*.pc
566 %defattr(644,root,root,755)
567 %{_libdir}/libvserver.a
570 %defattr(644,root,root,755)
571 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
574 %defattr(644,root,root,755)
575 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
576 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
577 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
578 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
579 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
580 %attr(754,root,root) /etc/rc.d/init.d/vservers
583 %defattr(644,root,root,755)
584 %doc contrib/yum*.patch package-management.txt
585 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
586 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
587 %dir %{_sysconfdir}/vservers/.distributions
588 %dir %{_sysconfdir}/vservers/.distributions/.common
589 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
590 %dir %{_sysconfdir}/vservers/.distributions/pld-ac
591 %dir %{_sysconfdir}/vservers/.distributions/pld-ac/poldek
592 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-ac/poldek/*.conf
593 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
594 %dir %{_libdir}/%{name}/distributions
595 %attr(-,root,root) %{_libdir}/%{name}/distributions/defaults
596 %attr(-,root,root) %{_libdir}/%{name}/distributions/pld*
597 %dir %{_libdir}/%{name}/distributions/template
598 %attr(755,root,root) %{_libdir}/%{name}/distributions/template/init*
599 %attr(-,root,root) %{_libdir}/%{name}/distributions/redhat
600 %{_libdir}/%{name}/vserver-build.*
601 %{_libdir}/%{name}/vserver-setup.functions
602 %{_libdir}/%{name}/defaults/fstab
603 %{_libdir}/%{name}/defaults/debootstrap.uri
604 %{_libdir}/%{name}/defaults/vunify-exclude
605 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
606 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
607 %attr(755,root,root) %{_libdir}/%{name}/vcopy
608 %attr(755,root,root) %{_libdir}/%{name}/vhashify
609 %attr(755,root,root) %{_libdir}/%{name}/vpkg
610 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
611 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
612 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
613 %attr(755,root,root) %{_libdir}/%{name}/vunify
614 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
615 %attr(755,root,root) %{_sbindir}/vapt-get
616 %attr(755,root,root) %{_sbindir}/vpoldek
617 %attr(755,root,root) %{_sbindir}/vrpm
618 %attr(755,root,root) %{_sbindir}/vyum
620 %files -n vserver-distro-fedora
621 %defattr(644,root,root,755)
622 %dir %{_sysconfdir}/vservers/.distributions/fc*
623 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
624 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
625 %{_libdir}/%{name}/distributions/fc*
627 %files -n vserver-distro-redhat
628 %defattr(644,root,root,755)
629 %dir %{_sysconfdir}/vservers/.distributions/rh*
630 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
631 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
632 %{_libdir}/%{name}/distributions/rh*
634 %files -n vserver-distro-suse
635 %defattr(644,root,root,755)
636 %dir %{_sysconfdir}/vservers/.distributions/suse*
637 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
638 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
639 %{_libdir}/%{name}/distributions/suse*
641 %files -n vserver-distro-centos
642 %defattr(644,root,root,755)
643 %{_libdir}/util-vserver/distributions/centos42
646 %defattr(644,root,root,755)
647 %dir %{_sysconfdir}/vservices
648 %{_sysconfdir}/vservices/*
649 %dir %{_libdir}/%{name}/legacy
650 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
651 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
652 %attr(754,root,root) /etc/rc.d/init.d/v_*
653 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
654 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
655 %attr(755,root,root) %{_sbindir}/vserver-copy
656 %{_mandir}/man8/distrib-info.8*
657 %{_mandir}/man8/rebootmgr.8*
658 %{_mandir}/man8/vserver-copy.8*