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 # diet compile 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 Source12: %{name}-vhashify.cron
41 Patch0: %{name}-vsysvwrapper.patch
42 Patch1: %{name}-pld.patch
43 Patch2: %{name}-vrpm.patch
44 Patch3: %{name}-include.patch
45 Patch4: %{name}-m4-diet.patch
46 Patch5: %{name}-cpuset.patch
47 Patch6: %{name}-build-umask.patch
48 Patch7: %{name}-utmpx.patch
49 Patch8: %{name}-vprocunhide.patch
50 Patch9: %{name}-dev.patch
51 Patch10: %{name}-no-dynamic-ctx.patch
52 Patch11: %{name}-more-ip.patch
53 Patch12: http://daniel.hozac.com/vserver/util-vserver/%{name}-0.30.210-namespace-cleanup.patch
54 Patch13: http://daniel.hozac.com/vserver/util-vserver/%{name}-0.30.210-delete.patch
55 Patch14: http://daniel.hozac.com/vserver/util-vserver/%{name}-0.30.210-shiny10.patch
56 Patch15: %{name}-rpm-fake-resolver-badperm-errorlogging.patch
57 URL: http://savannah.nongnu.org/projects/util-vserver/
58 BuildRequires: autoconf
59 BuildRequires: automake >= 1.9
60 BuildRequires: beecrypt-devel
61 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
62 BuildRequires: libstdc++-devel
63 BuildRequires: libtool >= 1.5.14
65 BuildRequires: sed >= 4.0
67 BuildRequires: rpmbuild(macros) >= 1.268
69 BuildRequires: doxygen
70 BuildRequires: graphviz
71 BuildRequires: libxslt-progs
72 BuildRequires: tetex-format-pdflatex
73 BuildRequires: tetex-makeindex
74 # To be removed when tetex-format-pdflatex, tetex-pdftex...
75 # ...and graphviz packages get fixed
76 BuildRequires: ghostscript
77 BuildRequires: ghostscript-fonts-std
78 BuildRequires: tetex-fonts-jknappen
79 BuildRequires: tetex-metafont
80 %{?with_xalan:BuildRequires: xalan-j}
82 Requires(post,preun): /sbin/chkconfig
83 Requires: %{name}-lib = %{version}-%{release}
87 Obsoletes: util-vserver-core
88 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91 %define _usrbin /usr/bin
92 %define _usrsbin /usr/sbin
93 %define _usrlib /usr/lib
96 This package provides the components and a framework to setup virtual
97 servers. A virtual server runs inside a Linux server. It is
98 nevertheless highly independent. As such, you can run various services
99 with normal configuration. The various vservers can't interact with
100 each other and can't interact with services in the main server.
102 This requires a special kernel supporting the new new_s_context and
103 set_ipv4root system call.
105 This package contains utilities which are required to communicate with
106 the Linux-Vserver enabled kernel.
109 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
110 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
111 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
112 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
113 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
115 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
116 new_s_context i set_ipv4root.
118 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
119 w³±czonym mechanizmem Linux-Vserver.
122 Summary: Development files for Linux vserver libraries
123 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
124 Group: Development/Libraries
125 Requires: %{name}-lib = %{version}-%{release}
128 This package contains the development files necessary for developing
129 programs which use vserver library.
131 %description devel -l pl
132 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
133 programów u¿ywaj±cych biblioteki vserver.
136 Summary: Static vserver library
137 Summary(pl): Biblioteka statyczna vservera
138 Group: Development/Libraries
139 Requires: %{name}-devel = %{version}-%{release}
142 This package contains the static version of vserver library.
144 %description static -l pl
145 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
148 Summary: Dynamic libraries for util-vserver
149 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
153 util-vserver provides the components and a framework to setup virtual
154 servers. A virtual server runs inside a linux server. It is
155 nevertheless highly independent. As such, you can run various services
156 pith normal configuration. The various vservers can't interact with
157 each other and can't interact with services in the main server.
159 This package contains the shared libraries needed by all other
160 'util-vserver' subpackages.
162 %description lib -l pl
163 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
164 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
165 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
166 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
167 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
169 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
170 podpakiety util-vserver.
173 Summary: Tools which can be used to build vservers
174 Summary(pl): Narzêdzia do budowania vserverów
175 Group: Applications/System
176 Requires: %{name} = %{version}-%{release}
177 Requires: /etc/pld-release
180 Conflicts: poldek < 0.18.8-10
183 util-vserver provides the components and a framework to setup virtual
184 servers. A virtual server runs inside a linux server. It is
185 nevertheless highly independent. As such, you can run various services
186 with normal configuration. The various vservers can't interact with
187 each other and can't interact with services in the main server.
189 This package contains utilities which assist in building Vservers.
191 %description build -l pl
192 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
193 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
194 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
195 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
196 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
198 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
200 %package -n vserver-distro-fedora
201 Summary: VServer build templates for Fedora Core
202 Summary(pl): Szablony do tworzenia VServerów dla dystrybucji Fedora Core
203 Group: Applications/System
204 Requires: %{name} = %{version}-%{release}
211 %description -n vserver-distro-fedora
212 VServer build templates for Fedora Core 1,2,3,4.
214 %description -n vserver-distro-fedora -l pl
215 Szablony do tworzenia VServerów dla dystrybucji Fedora Core 1,2,3,4.
217 %package -n vserver-distro-redhat
218 Summary: VServer build template for Red Hat Linux 9
219 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9
220 Group: Applications/System
221 Requires: %{name} = %{version}-%{release}
228 %description -n vserver-distro-redhat
229 VServer build template for RedHat Linux 9.
231 %description -n vserver-distro-redhat -l pl
232 Szablon do tworzenia VServerów dla dystrybucji Red Hat Linux 9.
234 %package -n vserver-distro-suse
235 Summary: VServer build template for SuSE 9.1
236 Summary(pl): Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1
237 Group: Applications/System
238 Requires: %{name} = %{version}-%{release}
245 %description -n vserver-distro-suse
246 VServer build template for SuSE Linux 9.1.
248 %description -n vserver-distro-suse -l pl
249 Szablon do tworzenia VServerów dla dystrybucji SuSE 9.1.
251 %package -n vserver-distro-centos
252 Summary: VServer build template for CentOS 4.2
253 Summary(pl): Szablon budowania VServera dla CentOS 4.2
254 Group: Applications/System
255 Requires: util-vserver-build
258 %description -n vserver-distro-centos
259 VServer build template for CentOS 4.2.
261 %description -n vserver-distro-centos -l pl
262 Szablon budowania VServera dla CentOS 4.2.
265 Summary: initscripts for vserver
266 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
267 Group: Applications/System
268 Requires(post,preun): /sbin/chkconfig
269 Requires: %{name} = %{version}-%{release}
275 util-vserver provides the components and a framework to setup virtual
276 servers. A virtual server runs inside a linux server. It is
277 nevertheless highly independent. As such, you can run various services
278 with normal configuration. The various vservers can't interact with
279 each other and can't interact with services in the main server.
281 This package contains the SysV initscripts which start and stop
282 Vservers and related tools.
284 %description init -l pl
285 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
286 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
287 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
288 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
289 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
291 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
292 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
295 Summary: Legacy utilities for util-vserver
296 Summary(pl): Stare narzêdzia dla util-vserver
297 Group: Applications/System
298 Requires(post,preun): /sbin/chkconfig
299 Requires: %{name} = %{version}-%{release}
303 util-vserver provides the components and a framework to setup virtual
304 servers. A virtual server runs inside a linux server. It is
305 nevertheless highly independent. As such, you can run various services
306 with normal configuration. The various vservers can't interact with
307 each other and can't interact with services in the main server.
309 This package contains the tools which are needed to work with Vservers
310 having an old-style configuration.
312 %description legacy -l pl
313 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
314 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
315 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
316 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
317 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
319 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
320 konfiguracjê w starym stylu.
334 %{?with_no_dynamic_context:%patch10 -p1}
341 install %{SOURCE9} package-management.txt
343 cp -a compat.h vserver-compat.h
347 CFLAGS="%{rpmcflags} -D__GLIBC__"
353 --with-initrddir=/etc/rc.d/init.d \
355 --enable-apis=NOLEGACY \
356 %{?with_dietlibc:--enable-dietlibc} \
357 %{!?with_dietlibc:--disable-dietlibc} \
363 IPTABLES=%{_usrsbin}/iptables \
364 MODPROBE=/sbin/modprobe \
365 NAMEIF=/sbin/nameif \
367 VCONFIG=/sbin/vconfig \
368 WGET=%{_usrbin}/wget \
371 %{?with_doc:%{__make} doc}
373 %{__make} -C vproc-%{_vproc_version} \
375 CFLAGS="%{rpmcflags}"
378 rm -rf $RPM_BUILD_ROOT
379 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d,cron.d},/dev/pts} \
380 $RPM_BUILD_ROOT{%{_sysconfdir}/vservices,/vservers/.pkg}
382 %{__make} install install-distribution \
383 DESTDIR=$RPM_BUILD_ROOT
385 cp -a vserver-compat.h $RPM_BUILD_ROOT%{_includedir}
387 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
389 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
390 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
392 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
393 s=`basename $i | sed s/v_//`
394 cat >$RPM_BUILD_ROOT%{_sysconfdir}/vservices/$s << EOF
395 # IP addresses/interfaces to bound $s service to
401 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
402 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
403 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
404 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers
405 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
406 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
407 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
408 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
409 sed 's|%{_usrlib}/util-vserver|%{_libdir}/%{name}|g' %{SOURCE5} > \
410 $RPM_BUILD_ROOT/etc/sysconfig/vservers
412 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
414 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/vrootdevices
415 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/vrootdevices
416 install %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/initpost
417 install vproc-%{_vproc_version}/vproc $RPM_BUILD_ROOT%{_sbindir}
418 install %{SOURCE12} $RPM_BUILD_ROOT%{_libdir}/%{name}/vhashify.cron
420 cat > $RPM_BUILD_ROOT/etc/cron.d/vservers << EOF
421 02 2 * * 0 root %{_libdir}/%{name}/vhashify.cron
424 ln -sf null $RPM_BUILD_ROOT/dev/initctl
427 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/pkgs/01
428 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld-ac/rpmlist.d/00.lst
431 # baggins check this: needed but seems unused
432 install -d $RPM_BUILD_ROOT/var/cache/vservers
435 rm -rf $RPM_BUILD_ROOT
438 %{_sbindir}/setattr --barrier /vservers || :
440 %post lib -p /sbin/ldconfig
441 %postun lib -p /sbin/ldconfig
444 /sbin/chkconfig --add vrootdevices
445 /sbin/chkconfig --add vprocunhide
446 /sbin/chkconfig --add vservers
447 if [ ! -f /var/lock/subsys/vrootdevices ]; then
448 echo "Type \"/sbin/service vrootdevices start\" to assign virtual root devices" 1>&2
450 if [ ! -f /var/lock/subsys/vprocunhide ]; then
451 echo "Type \"/sbin/service vprocunhide start\" to set /proc visibility for vservers" 1>&2
453 if [ ! -f /var/lock/subsys/vservers ]; then
454 echo "Type \"/sbin/service vservers start\" to start vservers" 1>&2
458 if [ "$1" = "0" ]; then
459 %service vservers stop
460 %service vprocunhide stop
461 %service vrootdevices stop
462 /sbin/chkconfig --del vservers
463 /sbin/chkconfig --del vprocunhide
464 /sbin/chkconfig --del vrootdevices
468 /sbin/chkconfig --add rebootmgr
469 /sbin/chkconfig --add vservers-legacy
470 if [ ! -f /var/lock/subsys/rebootmgr ] ; then
471 echo "Type \"/sbin/service rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
473 if [ ! -f /var/lock/subsys/vservers-legacy ] ; then
474 echo "Type \"/sbin/service vservers-legacy start\" to start legacy vservers" 1>&2
478 if [ "$1" = "0" ]; then
479 %service rebootmgr stop
480 %service vservers-legacy stop
481 /sbin/chkconfig --del rebootmgr
482 /sbin/chkconfig --del vservers-legacy
485 %triggerpostun build -- %{name}-build < 0.30.210-5.2
486 if [ -f /etc/vservers/.distributions/pld2.0/poldek/poldek.conf.rpmsave ]; then
487 mv -f /etc/vservers/.distributions/{pld2.0,pld-ac}/poldek/poldek.conf.rpmsave
490 # kill old vserver specific package ignores which are no longer needed
491 l=`egrep '^ignore.*(basesystem|SysVinit|rc-scripts)' /etc/vservers/*/apps/pkgmgmt/base/poldek/etc/poldek.conf -l 2>/dev/null`
493 %{__sed} -i -e '/^ignore/s, \(basesystem\|SysVinit\|rc-scripts\),,g' $l
497 %defattr(644,root,root,755)
498 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
499 %{?with_doc:%doc doc/*.html}
500 %dir %{_sysconfdir}/vservers
501 %dir %{_sysconfdir}/vservers/.defaults
502 %dir %{_sysconfdir}/vservers/.defaults/apps
503 %dir %{_sysconfdir}/vservers/.defaults/files
504 %{_sysconfdir}/vservers/.defaults/vdirbase
505 %{_sysconfdir}/vservers/.defaults/run.rev
506 %{_sysconfdir}/vservers/vdirbase
507 %{_sysconfdir}/vservers/run.rev
509 %attr(755,root,root) %{_sbindir}/chbind
510 %attr(755,root,root) %{_sbindir}/chcontext
511 %attr(755,root,root) %{_sbindir}/chxid
512 %attr(755,root,root) %{_sbindir}/exec-cd
513 %attr(755,root,root) %{_sbindir}/lsxid
514 %attr(755,root,root) %{_sbindir}/reducecap
515 %attr(755,root,root) %{_sbindir}/setattr
516 %attr(755,root,root) %{_sbindir}/showattr
517 %attr(755,root,root) %{_sbindir}/vattribute
518 %attr(755,root,root) %{_sbindir}/vcontext
519 %attr(755,root,root) %{_sbindir}/vdlimit
520 %attr(755,root,root) %{_sbindir}/vnamespace
521 %attr(755,root,root) %{_sbindir}/vkill
522 %attr(755,root,root) %{_sbindir}/vlimit
523 %attr(755,root,root) %{_sbindir}/vdu
524 %attr(755,root,root) %{_sbindir}/vproc
525 %attr(755,root,root) %{_sbindir}/vps
526 %attr(755,root,root) %{_sbindir}/vpstree
527 %attr(755,root,root) %{_sbindir}/vrsetup
528 %attr(755,root,root) %{_sbindir}/vsched
529 %attr(755,root,root) %{_sbindir}/vserver
530 %attr(755,root,root) %{_sbindir}/vserver-info
531 %attr(755,root,root) %{_sbindir}/vserver-stat
532 %attr(755,root,root) %{_sbindir}/vsomething
533 %attr(755,root,root) %{_sbindir}/vtop
534 %attr(755,root,root) %{_sbindir}/vuname
535 %attr(755,root,root) %{_sbindir}/vwait
536 %dir %{_libdir}/%{name}
537 %dir %{_libdir}/%{name}/defaults
538 %{_libdir}/%{name}/FEATURES.txt
539 %{_libdir}/%{name}/util-vserver-vars
540 %{_libdir}/%{name}/defaults/*
541 %attr(755,root,root) %{_libdir}/%{name}/capchroot
542 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
543 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
544 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
545 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
546 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
547 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
548 %attr(755,root,root) %{_libdir}/%{name}/filetime
549 %{_libdir}/%{name}/functions
550 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
551 %attr(755,root,root) %{_libdir}/%{name}/lockfile
552 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
553 %attr(755,root,root) %{_libdir}/%{name}/readlink
554 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
555 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
556 %attr(755,root,root) %{_libdir}/%{name}/sigexec
557 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
558 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
559 %{_libdir}/%{name}/vserver.*
560 %{_libdir}/%{name}/vserver-setup.*
561 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
562 %{_libdir}/%{name}/vserver-build.*
563 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
564 %attr(755,root,root) %{_libdir}/%{name}/vhashify
565 %attr(755,root,root) %{_libdir}/%{name}/vhashify.cron
566 %attr(755,root,root) %{_libdir}/%{name}/vshelper
567 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
568 %{_mandir}/man8/chbind.8*
569 %{_mandir}/man8/chcontext.8*
570 %{_mandir}/man8/reducecap.8*
571 %{_mandir}/man8/vps.8*
572 %{_mandir}/man8/vpstree.8*
573 %{_mandir}/man8/vserver-stat.8*
574 %{_mandir}/man8/vserver.8*
575 %{_mandir}/man8/vtop.8*
576 %attr(000,root,root) %dir /vservers
577 %attr(755,root,root) %dir /vservers/.pkg
578 %dir %{_localstatedir}/run/vservers
579 %dir %{_localstatedir}/run/vservers.rev
580 %dir %{_localstatedir}/run/vshelper
581 %dir /var/cache/vservers
584 %defattr(644,root,root,755)
585 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
586 %attr(755,root,root) %{_libdir}/lib*.so
588 %{_includedir}/vserver*.h
589 %{_pkgconfigdir}/*.pc
592 %defattr(644,root,root,755)
593 %{_libdir}/libvserver.a
596 %defattr(644,root,root,755)
597 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
600 %defattr(644,root,root,755)
601 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
602 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
603 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
604 %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/vservers
605 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
606 %attr(754,root,root) /etc/rc.d/init.d/vrootdevices
607 %attr(754,root,root) /etc/rc.d/init.d/vservers
610 %defattr(644,root,root,755)
611 %doc contrib/yum*.patch package-management.txt
612 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
613 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
614 %dir %{_sysconfdir}/vservers/.distributions
615 %dir %{_sysconfdir}/vservers/.distributions/.common
616 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
617 %dir %{_sysconfdir}/vservers/.distributions/pld-ac
618 %dir %{_sysconfdir}/vservers/.distributions/pld-ac/poldek
619 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/pld-ac/poldek/*.conf
620 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
621 %dir %{_libdir}/%{name}/distributions
622 %attr(-,root,root) %{_libdir}/%{name}/distributions/defaults
623 %attr(-,root,root) %{_libdir}/%{name}/distributions/pld*
624 %dir %{_libdir}/%{name}/distributions/template
625 %attr(755,root,root) %{_libdir}/%{name}/distributions/template/init*
626 %attr(-,root,root) %{_libdir}/%{name}/distributions/redhat
627 %{_libdir}/%{name}/vserver-build.*
628 %{_libdir}/%{name}/vserver-setup.functions
629 %{_libdir}/%{name}/defaults/fstab
630 %{_libdir}/%{name}/defaults/debootstrap.uri
631 %{_libdir}/%{name}/defaults/vunify-exclude
632 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
633 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
634 %attr(755,root,root) %{_libdir}/%{name}/vcopy
635 %attr(755,root,root) %{_libdir}/%{name}/vpkg
636 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
637 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
638 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
639 %attr(755,root,root) %{_libdir}/%{name}/vunify
640 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
641 %attr(755,root,root) %{_sbindir}/vapt-get
642 %attr(755,root,root) %{_sbindir}/vpoldek
643 %attr(755,root,root) %{_sbindir}/vrpm
644 %attr(755,root,root) %{_sbindir}/vyum
646 %files -n vserver-distro-fedora
647 %defattr(644,root,root,755)
648 %dir %{_sysconfdir}/vservers/.distributions/fc*
649 %dir %{_sysconfdir}/vservers/.distributions/fc*/apt
650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/fc*/apt/sources.list
651 %{_libdir}/%{name}/distributions/fc*
653 %files -n vserver-distro-redhat
654 %defattr(644,root,root,755)
655 %dir %{_sysconfdir}/vservers/.distributions/rh*
656 %dir %{_sysconfdir}/vservers/.distributions/rh*/apt
657 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/rh*/apt/sources.list
658 %{_libdir}/%{name}/distributions/rh*
660 %files -n vserver-distro-suse
661 %defattr(644,root,root,755)
662 %dir %{_sysconfdir}/vservers/.distributions/suse*
663 %dir %{_sysconfdir}/vservers/.distributions/suse*/apt
664 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vservers/.distributions/suse*/apt/sources.list
665 %{_libdir}/%{name}/distributions/suse*
667 %files -n vserver-distro-centos
668 %defattr(644,root,root,755)
669 %{_libdir}/util-vserver/distributions/centos42
672 %defattr(644,root,root,755)
673 %dir %{_sysconfdir}/vservices
674 %{_sysconfdir}/vservices/*
675 %dir %{_libdir}/%{name}/legacy
676 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
677 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
678 %attr(754,root,root) /etc/rc.d/init.d/v_*
679 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
680 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
681 %attr(755,root,root) %{_sbindir}/vserver-copy
682 %{_mandir}/man8/distrib-info.8*
683 %{_mandir}/man8/rebootmgr.8*
684 %{_mandir}/man8/vserver-copy.8*