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_without no_dynamic_context # disable enforcement of disabled dynamic context
11 %bcond_with xalan # use the xalan xslt processor
13 %define _vproc_version 0.01
14 # fails with ccache in %{__cc}
17 Summary: Linux virtual server utilities
18 Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych
23 Group: Applications/System
24 Source0: http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
25 # Source0-md5: 1e8fff7cb6246d21ed029f082123019b
26 Source1: vprocunhide.init
27 Source2: vservers.init
28 Source3: vservers-legacy.init
29 Source4: rebootmgr.init
30 Source5: vservers.sysconfig
31 Source6: vservers-legacy.sysconfig
32 Source7: vrootdevices.init
33 Source8: vrootdevices.sysconfig
34 # A bit of documentation explaining package management
35 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
36 Source9: %{name}-pkgmgmt.txt
37 Source10: %{name}-initpost.sh
38 Source11: http://www.13thfloor.at/vserver/s_release/v1.2.10/vproc-%{_vproc_version}.tar.bz2
39 # Source11-md5: 1d030717bdbc958ea4b35fd2410dad85
40 Patch0: %{name}-vsysvwrapper.patch
41 Patch1: %{name}-pld.patch
42 Patch2: %{name}-vrpm.patch
43 Patch3: %{name}-include.patch
44 Patch4: %{name}-m4-diet.patch
45 Patch5: %{name}-cpuset.patch
46 Patch6: %{name}-build-umask.patch
47 Patch7: %{name}-utmpx.patch
48 Patch8: %{name}-vprocunhide.patch
49 Patch9: %{name}-dev.patch
50 Patch10: %{name}-no-dynamic-ctx.patch
51 Patch11: %{name}-more-ip.patch
52 URL: http://savannah.nongnu.org/projects/util-vserver/
53 BuildRequires: autoconf
54 BuildRequires: automake >= 1.9
55 BuildRequires: beecrypt-devel
56 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
57 BuildRequires: libstdc++-devel
58 BuildRequires: libtool >= 1.5.14
60 BuildRequires: sed >= 4.0
62 BuildRequires: rpmbuild(macros) >= 1.268
64 BuildRequires: doxygen
65 BuildRequires: graphviz
66 BuildRequires: libxslt-progs
67 BuildRequires: tetex-format-pdflatex
68 BuildRequires: tetex-makeindex
69 # To be removed when tetex-format-pdflatex, tetex-pdftex...
70 # ...and graphviz packages get fixed
71 BuildRequires: ghostscript
72 BuildRequires: ghostscript-fonts-std
73 BuildRequires: tetex-fonts-jknappen
74 BuildRequires: tetex-metafont
75 %{?with_xalan:BuildRequires: xalan-j}
77 Requires(post,preun): /sbin/chkconfig
78 Requires: %{name}-lib = %{version}-%{release}
82 Obsoletes: util-vserver-core
83 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 %define _usrbin /usr/bin
87 %define _usrsbin /usr/sbin
88 %define _usrlib /usr/lib
91 This package provides the components and a framework to setup virtual
92 servers. A virtual server runs inside a Linux server. It is
93 nevertheless highly independent. As such, you can run various services
94 with normal configuration. The various vservers can't interact with
95 each other and can't interact with services in the main server.
97 This requires a special kernel supporting the new new_s_context and
98 set_ipv4root system call.
100 This package contains utilities which are required to communicate with
101 the Linux-Vserver enabled kernel.
104 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
105 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
106 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
107 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
108 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
110 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
111 new_s_context i set_ipv4root.
113 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
114 w³±czonym mechanizmem Linux-Vserver.
117 Summary: Development files for Linux vserver libraries
118 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
119 Group: Development/Libraries
120 Requires: %{name}-lib = %{version}-%{release}
123 This package contains the development files necessary for developing
124 programs which use vserver library.
126 %description devel -l pl
127 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
128 programów u¿ywaj±cych biblioteki vserver.
131 Summary: Static vserver library
132 Summary(pl): Biblioteka statyczna vservera
133 Group: Development/Libraries
134 Requires: %{name}-devel = %{version}-%{release}
137 This package contains the static version of vserver library.
139 %description static -l pl
140 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
143 Summary: Dynamic libraries for util-vserver
144 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
148 util-vserver provides the components and a framework to setup virtual
149 servers. A virtual server runs inside a linux server. It is
150 nevertheless highly independent. As such, you can run various services
151 pith normal configuration. The various vservers can't interact with
152 each other and can't interact with services in the main server.
154 This package contains the shared libraries needed by all other
155 'util-vserver' subpackages.
157 %description lib -l pl
158 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
159 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
160 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
161 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
162 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
164 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
165 podpakiety util-vserver.
168 Summary: Tools which can be used to build vservers
169 Summary(pl): Narzêdzia do budowania vserverów
170 Group: Applications/System
171 Requires: %{name} = %{version}-%{release}
173 Requires: /etc/pld-release
174 Conflicts: poldek < 0.18.8-10
177 util-vserver provides the components and a framework to setup virtual
178 servers. A virtual server runs inside a linux server. It is
179 nevertheless highly independent. As such, you can run various services
180 with normal configuration. The various vservers can't interact with
181 each other and can't interact with services in the main server.
183 This package contains utilities which assist in building Vservers.
185 %description build -l pl
186 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
187 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
188 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
189 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
190 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
192 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
194 %package -n vserver-distro-fedora
195 Summary: VServer build templates for Fedora Core
196 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
197 Group: Applications/System
198 Requires: %{name} = %{version}-%{release}
205 %description -n vserver-distro-fedora
206 VServer build templates for Fedora Core 1,2,3,4.
208 %description -n vserver-distro-fedora -l pl
209 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
211 %package -n vserver-distro-redhat
212 Summary: VServer build template for Red Hat Linux 9
213 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
214 Group: Applications/System
215 Requires: %{name} = %{version}-%{release}
222 %description -n vserver-distro-redhat
223 VServer build template for RedHat Linux 9.
225 %description -n vserver-distro-redhat -l pl
226 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
228 %package -n vserver-distro-suse
229 Summary: VServer build template for SuSE 9.1
230 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
231 Group: Applications/System
232 Requires: %{name} = %{version}-%{release}
239 %description -n vserver-distro-suse
240 VServer build template for SuSE Linux 9.1.
242 %description -n vserver-distro-suse -l pl
243 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
245 %package -n vserver-distro-centos
246 Summary: VServer build template for CentOS 4.2
247 Summary(pl): Szablon budowania VServera dla CentOS 4.2
248 Group: Applications/System
249 Requires: util-vserver-build
252 %description -n vserver-distro-centos
253 VServer build template for CentOS 4.2.
255 %description -n vserver-distro-centos -l pl
256 Szablon budowania VServera dla CentOS 4.2.
259 Summary: initscripts for vserver
260 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
261 Group: Applications/System
262 Requires(post,preun): /sbin/chkconfig
263 Requires: %{name} = %{version}-%{release}
269 util-vserver provides the components and a framework to setup virtual
270 servers. A virtual server runs inside a linux server. It is
271 nevertheless highly independent. As such, you can run various services
272 with normal configuration. The various vservers can't interact with
273 each other and can't interact with services in the main server.
275 This package contains the SysV initscripts which start and stop
276 Vservers and related tools.
278 %description init -l pl
279 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
280 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
281 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
282 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
283 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
285 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
286 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
289 Summary: Legacy utilities for util-vserver
290 Summary(pl): Stare narzêdzia dla util-vserver
291 Group: Applications/System
292 Requires(post,preun): /sbin/chkconfig
293 Requires: %{name} = %{version}-%{release}
297 util-vserver provides the components and a framework to setup virtual
298 servers. A virtual server runs inside a linux server. It is
299 nevertheless highly independent. As such, you can run various services
300 with normal configuration. The various vservers can't interact with
301 each other and can't interact with services in the main server.
303 This package contains the tools which are needed to work with Vservers
304 having an old-style configuration.
306 %description legacy -l pl
307 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
308 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
309 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
310 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
311 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
313 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
314 konfiguracjê w starym stylu.
328 %{?with_no_dynamic_context:%patch10 -p1}
331 install %{SOURCE9} package-management.txt
333 cp -a compat.h vserver-compat.h
337 CFLAGS="%{rpmcflags} -D__GLIBC__"
343 --with-initrddir=/etc/rc.d/init.d \
345 --enable-apis=NOLEGACY \
346 %{?with_dietlibc:--enable-dietlibc} \
347 %{!?with_dietlibc:--disable-dietlibc} \
353 IPTABLES=%{_usrsbin}/iptables \
354 MODPROBE=/sbin/modprobe \
355 NAMEIF=/sbin/nameif \
357 VCONFIG=/sbin/vconfig \
358 WGET=%{_usrbin}/wget \
361 %{?with_doc:%{__make} doc}
363 %{__make} -C vproc-%{_vproc_version} \
365 CFLAGS="%{rpmcflags}"
368 rm -rf $RPM_BUILD_ROOT
369 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts} \
370 $RPM_BUILD_ROOT{%{_sysconfdir}/vservices,/vservers/.pkg}
372 %{__make} install install-distribution \
373 DESTDIR=$RPM_BUILD_ROOT
375 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
377 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
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
407 install vproc-%{_vproc_version}/vproc $RPM_BUILD_ROOT%{_sbindir}
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
416 # baggins check this: needed but seems unused
417 install -d $RPM_BUILD_ROOT/var/cache/vservers
420 rm -rf $RPM_BUILD_ROOT
423 %{_sbindir}/setattr --barrier /vservers || :
425 %post lib -p /sbin/ldconfig
426 %postun lib -p /sbin/ldconfig
429 /sbin/chkconfig --add vrootdevices
430 /sbin/chkconfig --add vprocunhide
431 /sbin/chkconfig --add vservers
432 if [ ! -f /var/lock/subsys/vrootdevices ]; then
433 echo "Type \"/sbin/service vrootdevices start\" to assign virtual root devices" 1>&2
435 if [ ! -f /var/lock/subsys/vprocunhide ]; then
436 echo "Type \"/sbin/service vprocunhide start\" to set /proc visibility for vservers" 1>&2
438 if [ ! -f /var/lock/subsys/vservers ]; then
439 echo "Type \"/sbin/service vservers start\" to start vservers" 1>&2
443 if [ "$1" = "0" ]; then
444 %service vservers stop
445 %service vprocunhide stop
446 %service vrootdevices stop
447 /sbin/chkconfig --del vservers
448 /sbin/chkconfig --del vprocunhide
449 /sbin/chkconfig --del vrootdevices
453 /sbin/chkconfig --add rebootmgr
454 /sbin/chkconfig --add vservers-legacy
455 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
456 echo "Type \"/sbin/service rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
458 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
459 echo "Type \"/sbin/service vservers-legacy start\" to start legacy vservers" 1>&2
463 if [ "$1" = "0" ]; then
464 %service rebootmgr stop
465 %service vservers-legacy stop
466 /sbin/chkconfig --del rebootmgr
467 /sbin/chkconfig --del vservers-legacy
470 %triggerpostun build -- %{name}-build < 0.30.210-5.2
471 if [ -f /etc/vservers/.distributions/pld2.0/poldek/poldek.conf.rpmsave ]; then
472 mv -f /etc/vservers/.distributions/{pld2.0,pld-ac}/poldek/poldek.conf.rpmsave
475 # kill old vserver specific package ignores which are no longer needed
476 l=`egrep '^ignore.*(basesystem|SysVinit|rc-scripts)' /etc/vservers/*/apps/pkgmgmt/base/poldek/etc/poldek.conf -l 2>/dev/null`
478 %{__sed} -i -e '/^ignore/s, \(basesystem\|SysVinit\|rc-scripts\),,g' $l
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}/vproc
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
561 %dir /var/cache/vservers
564 %defattr(644,root,root,755)
565 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
566 %attr(755,root,root) %{_libdir}/lib*.so
568 %{_includedir}/vserver*.h
569 %{_pkgconfigdir}/*.pc
572 %defattr(644,root,root,755)
573 %{_libdir}/libvserver.a
576 %defattr(644,root,root,755)
577 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
580 %defattr(644,root,root,755)
581 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
582 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
583 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
584 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
585 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
586 %attr(754,root,root) /etc/rc.d/init.d/vservers
589 %defattr(644,root,root,755)
590 %doc contrib/yum*.patch package-management.txt
591 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
592 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
593 %dir %{_sysconfdir}/vservers/.distributions
594 %dir %{_sysconfdir}/vservers/.distributions/.common
595 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
596 %dir %{_sysconfdir}/vservers/.distributions/pld-ac
597 %dir %{_sysconfdir}/vservers/.distributions/pld-ac/poldek
598 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-ac/poldek/*.conf
599 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
600 %dir %{_libdir}/%{name}/distributions
601 %attr(-,root,root) %{_libdir}/%{name}/distributions/defaults
602 %attr(-,root,root) %{_libdir}/%{name}/distributions/pld*
603 %dir %{_libdir}/%{name}/distributions/template
604 %attr(755,root,root) %{_libdir}/%{name}/distributions/template/init*
605 %attr(-,root,root) %{_libdir}/%{name}/distributions/redhat
606 %{_libdir}/%{name}/vserver-build.*
607 %{_libdir}/%{name}/vserver-setup.functions
608 %{_libdir}/%{name}/defaults/fstab
609 %{_libdir}/%{name}/defaults/debootstrap.uri
610 %{_libdir}/%{name}/defaults/vunify-exclude
611 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
612 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
613 %attr(755,root,root) %{_libdir}/%{name}/vcopy
614 %attr(755,root,root) %{_libdir}/%{name}/vhashify
615 %attr(755,root,root) %{_libdir}/%{name}/vpkg
616 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
617 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
618 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
619 %attr(755,root,root) %{_libdir}/%{name}/vunify
620 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
621 %attr(755,root,root) %{_sbindir}/vapt-get
622 %attr(755,root,root) %{_sbindir}/vpoldek
623 %attr(755,root,root) %{_sbindir}/vrpm
624 %attr(755,root,root) %{_sbindir}/vyum
626 %files -n vserver-distro-fedora
627 %defattr(644,root,root,755)
628 %dir %{_sysconfdir}/vservers/.distributions/fc*
629 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
630 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
631 %{_libdir}/%{name}/distributions/fc*
633 %files -n vserver-distro-redhat
634 %defattr(644,root,root,755)
635 %dir %{_sysconfdir}/vservers/.distributions/rh*
636 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
637 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
638 %{_libdir}/%{name}/distributions/rh*
640 %files -n vserver-distro-suse
641 %defattr(644,root,root,755)
642 %dir %{_sysconfdir}/vservers/.distributions/suse*
643 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
644 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
645 %{_libdir}/%{name}/distributions/suse*
647 %files -n vserver-distro-centos
648 %defattr(644,root,root,755)
649 %{_libdir}/util-vserver/distributions/centos42
652 %defattr(644,root,root,755)
653 %dir %{_sysconfdir}/vservices
654 %{_sysconfdir}/vservices/*
655 %dir %{_libdir}/%{name}/legacy
656 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
657 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
658 %attr(754,root,root) /etc/rc.d/init.d/v_*
659 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
660 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
661 %attr(755,root,root) %{_sbindir}/vserver-copy
662 %{_mandir}/man8/distrib-info.8*
663 %{_mandir}/man8/rebootmgr.8*
664 %{_mandir}/man8/vserver-copy.8*