]> git.pld-linux.org Git - packages/util-vserver.git/blob - util-vserver.spec
- fix dietlibc version check in m4 macros
[packages/util-vserver.git] / util-vserver.spec
1 #
2 # Conditional build:
3 %bcond_without  dietlibc        # don't use dietlibc (ask for troubles)
4 %bcond_without  doc             # don't build documentation which needed LaTeX
5 %bcond_with     xalan           # use the xalan xslt processor
6
7 Summary:        Linux virtual server utilities
8 Summary(pl):    Narzêdzia dla linuksowych serwerów wirtualnych
9 Name:           util-vserver
10 Version:        0.30.207
11 Release:        5.4
12 License:        GPL
13 Group:          Applications/System
14 Source0:        http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
15 # Source0-md5:  1c8457a687643ae8a7b1f1d34ebbdd68
16 Source1:        vprocunhide.init
17 Source2:        vservers-default.init
18 Source3:        vservers-legacy.init
19 Source4:        rebootmgr.init
20 Source5:        vservers-default.sysconfig
21 Source6:        vservers-legacy.sysconfig
22 # A bit of documentation explaining package menagement
23 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
24 Source7:        util-vserver-pkgmgmt.txt
25 Patch0:         %{name}-no-kernel-includes.patch
26 Patch1:         %{name}-vsysvwrapper.patch
27 Patch2:         %{name}-pld.patch
28 Patch3:         %{name}-build-poldek.patch
29 Patch4:         %{name}-include.patch
30 Patch5:         %{name}-m4-diet.patch
31 URL:            http://savannah.nongnu.org/projects/util-vserver/
32 BuildRequires:  autoconf
33 BuildRequires:  automake >= 1.9
34 BuildRequires:  beecrypt-devel
35 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
36 BuildRequires:  libstdc++-devel
37 BuildRequires:  libtool >= 1.5.14
38 BuildREquires:  sed
39 %if %{with doc}
40 BuildRequires:  doxygen
41 BuildRequires:  graphviz
42 BuildRequires:  libxslt-progs
43 BuildRequires:  tetex-format-pdflatex
44 BuildRequires:  tetex-makeindex
45 %{?with_xalan:BuildRequires:    xalan-j}
46 %endif
47 PreReq:         rc-scripts
48 Requires:       util-linux
49 Requires(post,preun):   /sbin/chkconfig
50 Requires:       %{name}-lib = %{version}-%{release}
51 Obsoletes:      %{name}-core
52 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53
54 %description
55 This package provides the components and a framework to setup virtual
56 servers. A virtual server runs inside a Linux server. It is
57 nevertheless highly independent. As such, you can run various services
58 with normal configuration. The various vservers can't interact with
59 each other and can't interact with services in the main server.
60
61 This requires a special kernel supporting the new new_s_context and
62 set_ipv4root system call.
63
64 This package contains utilities which are required to communicate with
65 the Linux-Vserver enabled kernel.
66
67 %description -l pl
68 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
69 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
70 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
71 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
72 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
73
74 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
75 new_s_context i set_ipv4root.
76
77 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
78 w³±czonym mechanizmem Linux-Vserver.
79
80 %package devel
81 Summary:        Development files for Linux vserver libraries
82 Summary(pl):    Pliki programistyczne dla bibliotek linuksowego vserwera
83 Group:          Development/Libraries
84 Requires:       %{name}-lib = %{version}-%{release}
85
86 %description devel
87 This package contains the development files necessary for developing
88 programs which use vserver library.
89
90 %description devel -l pl
91 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
92 programów u¿ywaj±cych biblioteki vserver.
93
94 %package static
95 Summary:        Static vserver library
96 Summary(pl):    Biblioteka statyczna vservera
97 Group:          Development/Libraries
98 Requires:       %{name}-devel = %{version}-%{release}
99
100 %description static
101 This package contains the static version of vserver library.
102
103 %description static -l pl
104 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
105
106 %package lib
107 Summary:        Dynamic libraries for util-vserver
108 Summary(pl):    Biblioteki dynamiczne dla pakietu util-vserver
109 Group:          Libraries
110
111 %description lib
112 util-vserver provides the components and a framework to setup virtual
113 servers. A virtual server runs inside a linux server. It is
114 nevertheless highly independent. As such, you can run various services
115 with normal configuration. The various vservers can't interact with
116 each other and can't interact with services in the main server.
117
118 This package contains the shared libraries needed by all other
119 'util-vserver' subpackages.
120
121 %description lib -l pl
122 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
123 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
124 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
125 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
126 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
127
128 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
129 podpakiety util-vserver.
130
131 %package build
132 Summary:        Tools which can be used to build vservers
133 Summary(pl):    Narzêdzia do budowania vserverów
134 Group:          Applications/System
135 Requires:       binutils
136 Requires:       e2fsprogs
137 Requires:       rpm
138 Requires:       tar
139 Requires:       wget
140 Conflicts:      poldek < 0.18.8-10
141 Requires:       %{name} = %{version}-%{release}
142
143 %description build
144 util-vserver provides the components and a framework to setup virtual
145 servers. A virtual server runs inside a linux server. It is
146 nevertheless highly independent. As such, you can run various services
147 with normal configuration. The various vservers can't interact with
148 each other and can't interact with services in the main server.
149
150 This package contains utilities which assist in building Vservers.
151
152 %description build -l pl
153 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
154 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
155 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
156 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
157 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
158
159 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
160
161 %package init
162 Summary:        initscripts for vserver
163 Summary(pl):    Skrypty inicjalizuj±ce dla vserwera
164 Group:          Applications/System
165 Requires(post,preun):   /sbin/chkconfig
166 Requires:       %{name} = %{version}-%{release}
167 Requires:       diffutils
168 Requires:       make
169 Requires:       rc-scripts
170
171 %description init
172 util-vserver provides the components and a framework to setup virtual
173 servers. A virtual server runs inside a linux server. It is
174 nevertheless highly independent. As such, you can run various services
175 with normal configuration. The various vservers can't interact with
176 each other and can't interact with services in the main server.
177
178 This package contains the SysV initscripts which start and stop
179 Vservers and related tools.
180
181 %description init -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.
187
188 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
189 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
190
191 %package legacy
192 Summary:        Legacy utilities for util-vserver
193 Summary(pl):    Stare narzêdzia dla util-vserver
194 Group:          Applications/System
195 Requires(post,preun):   /sbin/chkconfig
196 Requires:       %{name} = %{version}-%{release}
197 Requires:       rc-scripts
198
199 %description legacy
200 util-vserver provides the components and a framework to setup virtual
201 servers. A virtual server runs inside a linux server. It is
202 nevertheless highly independent. As such, you can run various services
203 with normal configuration. The various vservers can't interact with
204 each other and can't interact with services in the main server.
205
206 This package contains the tools which are needed to work with Vservers
207 having an old-style configuration.
208
209 %description legacy -l pl
210 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
211 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
212 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
213 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
214 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
215
216 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
217 konfiguracjê w starym stylu.
218
219 %package -n vserver-dev
220 Summary:        /dev entries for systems in Vservers
221 Summary(pl):    Pliki specjalne /dev/* dla systemów w Vserwerach
222 Group:          Base
223 PreReq:         setup >= 2.4.1-2
224 Provides:       dev = 2.9.0-19
225 Provides:       devfs
226 AutoReqProv:    no
227
228 %description -n vserver-dev
229 Unix and unix like systems (including Linux) use file system entries
230 to represent devices attached to the machine. All of these entries are
231 in the /dev tree (though they don't have to be), and this package
232 contains only entries needed for a system running inside Vserver.
233
234 DO NOT install this package for a normal system!
235
236 %description -n vserver-dev -l pl
237 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
238 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
239 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
240 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
241
242 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
243
244 %prep
245 %setup -q
246 %patch0 -p1
247 %patch1 -p1
248 %patch2 -p1
249 %patch3 -p1
250 %patch4 -p1
251 %patch5 -p1
252
253 install %{SOURCE7} package-menagament.txt
254
255 cp -a compat.h vserver-compat.h
256
257 %build
258 %{__aclocal} -I m4
259 %{__automake}
260 %configure \
261         --with-initrddir=/etc/rc.d/init.d \
262         --enable-release \
263         %{?with_dietlibc:--enable-dietlibc} \
264         %{!?with_dietlibc:--disable-dietlibc} \
265         MKTEMP=/bin/mktemp \
266         MOUNT=/bin/mount \
267         PS=/bin/ps \
268         UMOUNT=/bin/umount \
269         IP=/sbin/ip \
270         IPTABLES=/usr/sbin/iptables \
271         MODPROBE=/sbin/modprobe \
272         NAMEIF=/sbin/nameif \
273         RMMOD=/sbin/rmmod \
274         VCONFIG=/sbin/vconfig \
275         WGET=/usr/bin/wget \
276
277 %{__make} all
278 %{?with_doc:%{__make} doc}
279
280 %install
281 rm -rf $RPM_BUILD_ROOT
282 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
283
284 %{__make} install install-distribution \
285         DESTDIR=$RPM_BUILD_ROOT
286
287 install vserver-compat.h $RPM_BUILD_ROOT%{_includedir}/
288
289 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
290
291 install -d $RPM_BUILD_ROOT/etc/vservices
292 install -d $RPM_BUILD_ROOT/vservers/.pkg
293 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
294 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
295
296 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
297         s=`basename $i | sed s/v_//`
298         cat >$RPM_BUILD_ROOT/etc/vservices/$s << EOF
299 # IP addresses/interfaces to bound $s service to
300 #IP=10.0.0.1
301 #IP=eth0
302 EOF
303 done
304
305 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
306         $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
307 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
308         $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-default
309 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
310         $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
311 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
312         $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
313
314 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/vservers-default
315 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
316
317 ln -sf /dev/null $RPM_BUILD_ROOT/dev/initctl
318
319 %clean
320 rm -rf $RPM_BUILD_ROOT
321
322 %post
323 %{_sbindir}/setattr --barrier /vservers || :
324
325 %post   lib -p /sbin/ldconfig
326 %postun lib -p /sbin/ldconfig
327
328 %post init
329 /sbin/chkconfig --add vservers-default
330 /sbin/chkconfig --add vprocunhide
331 #if [ -r /var/lock/subsys/vprocunhide ]; then
332 #       /etc/rc.d/init.d/vprocunhide restart >&2
333 #fi
334 #if [ -r /var/lock/subsys/vservers-default ]; then
335 #       /etc/rc.d/init.d/vservers-default restart >&2
336 #fi
337
338 %preun init
339 if [ "$1" = "0" ]; then
340         if [ -r /var/lock/subsys/vprocunhide ]; then
341                 /etc/rc.d/init.d/vprocunhide stop >&2
342         fi
343         if [ -r /var/lock/subsys/vservers-default ]; then
344                 /etc/rc.d/init.d/vservers-default stop >&2
345         fi
346         /sbin/chkconfig --del vprocunhide
347         /sbin/chkconfig --del vservers-default
348 fi
349
350 %post legacy
351 /sbin/chkconfig --add rebootmgr
352 /sbin/chkconfig --add vservers-legacy
353 #if [ -r /var/lock/subsys/rebootmgr ] ; then
354 #       /etc/rc.d/init.d/rebootmgr restart >&2
355 #fi
356 #if [ -r /var/lock/subsys/vservers-legacy ] ; then
357 #       /etc/rc.d/init.d/vservers-legacy restart >&2
358 #fi
359
360 %preun legacy
361 if [ "$1" = "0" ]; then
362         if [ -r /var/lock/subsys/rebootmgr ] ; then
363                 /etc/rc.d/init.d/rebootmgr stop >&2
364         fi
365         if [ -r /var/lock/subsys/vservers-legacy ] ; then
366                 /etc/rc.d/init.d/vservers-legacy stop >&2
367         fi
368         /sbin/chkconfig --del rebootmgr
369         /sbin/chkconfig --del vservers-legacy
370 fi
371
372 %files
373 %defattr(644,root,root,755)
374 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
375 %{?with_doc:%doc doc/*.html}
376 %dir %{_sysconfdir}/vservers
377 %dir %{_sysconfdir}/vservers/.defaults
378 %dir %{_sysconfdir}/vservers/.defaults/apps
379 %dir %{_sysconfdir}/vservers/.defaults/files
380 %{_sysconfdir}/vservers/.defaults/vdirbase
381 %{_sysconfdir}/vservers/.defaults/run.rev
382 %{_sysconfdir}/vservers/vdirbase
383 %{_sysconfdir}/vservers/run.rev
384 /sbin/vshelper
385 %attr(755,root,root) %{_sbindir}/chbind
386 %attr(755,root,root) %{_sbindir}/chcontext
387 %attr(755,root,root) %{_sbindir}/chxid
388 %attr(755,root,root) %{_sbindir}/exec-cd
389 %attr(755,root,root) %{_sbindir}/lsxid
390 %attr(755,root,root) %{_sbindir}/reducecap
391 %attr(755,root,root) %{_sbindir}/setattr
392 %attr(755,root,root) %{_sbindir}/showattr
393 %attr(755,root,root) %{_sbindir}/vattribute
394 %attr(755,root,root) %{_sbindir}/vcontext
395 %attr(755,root,root) %{_sbindir}/vdlimit
396 %attr(755,root,root) %{_sbindir}/vnamespace
397 %attr(755,root,root) %{_sbindir}/vkill
398 %attr(755,root,root) %{_sbindir}/vlimit
399 %attr(755,root,root) %{_sbindir}/vdu
400 %attr(755,root,root) %{_sbindir}/vps
401 %attr(755,root,root) %{_sbindir}/vpstree
402 %attr(755,root,root) %{_sbindir}/vrsetup
403 %attr(755,root,root) %{_sbindir}/vsched
404 %attr(755,root,root) %{_sbindir}/vserver
405 %attr(755,root,root) %{_sbindir}/vserver-info
406 %attr(755,root,root) %{_sbindir}/vserver-stat
407 %attr(755,root,root) %{_sbindir}/vsomething
408 %attr(755,root,root) %{_sbindir}/vtop
409 %attr(755,root,root) %{_sbindir}/vuname
410 %dir %{_libdir}/%{name}
411 %dir %{_libdir}/%{name}/defaults
412 %{_libdir}/%{name}/FEATURES.txt
413 %{_libdir}/%{name}/util-vserver-vars
414 %{_libdir}/%{name}/defaults/*
415 %attr(755,root,root) %{_libdir}/%{name}/capchroot
416 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
417 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
418 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
419 %attr(755,root,root) %{_libdir}/%{name}/chroot-*
420 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
421 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
422 %attr(755,root,root) %{_libdir}/%{name}/filetime
423 %{_libdir}/%{name}/functions
424 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
425 %attr(755,root,root) %{_libdir}/%{name}/lockfile
426 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
427 %attr(755,root,root) %{_libdir}/%{name}/readlink
428 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
429 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
430 %attr(755,root,root) %{_libdir}/%{name}/sigexec
431 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
432 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
433 %{_libdir}/%{name}/vserver.*
434 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
435 %attr(755,root,root) %{_libdir}/%{name}/vshelper
436 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
437 %{_mandir}/man8/chbind.8*
438 %{_mandir}/man8/chcontext.8*
439 %{_mandir}/man8/reducecap.8*
440 %{_mandir}/man8/vps.8*
441 %{_mandir}/man8/vpstree.8*
442 %{_mandir}/man8/vserver-stat.8*
443 %{_mandir}/man8/vserver.8*
444 %{_mandir}/man8/vtop.8*
445 %attr(0,root,root) %dir /vservers
446 %attr(755,root,root) %dir /vservers/.pkg
447 %dir %{_localstatedir}/run/vservers
448 %dir %{_localstatedir}/run/vservers.rev
449 %dir %{_localstatedir}/run/vshelper
450
451 %files devel
452 %defattr(644,root,root,755)
453 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
454 %attr(755,root,root) %{_libdir}/lib*.so
455 %{_libdir}/lib*.la
456 %{_includedir}/vserver*.h
457 %{_pkgconfigdir}/*.pc
458
459 %files static
460 %defattr(644,root,root,755)
461 %{_libdir}/libvserver.a
462
463 %files lib
464 %defattr(644,root,root,755)
465 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
466
467 %files init
468 %defattr(644,root,root,755)
469 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
470 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-default
471 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
472 %attr(754,root,root) /etc/rc.d/init.d/vservers-default
473
474 %files build
475 %defattr(644,root,root,755)
476 %doc contrib/yum*.patch package-menagament.txt
477 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
478 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
479 %dir %{_sysconfdir}/vservers/.distributions
480 %dir %{_sysconfdir}/vservers/.distributions/.common
481 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
482 %dir %{_sysconfdir}/vservers/.distributions/[frs]*
483 %dir %{_sysconfdir}/vservers/.distributions/[frs]*/apt
484 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
485 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
486 %{_sysconfdir}/vservers/.distributions/pld1.99
487 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/[frs]*/apt/sources.list
488 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
489 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
490 %dir %{_libdir}/%{name}/distributions
491 %attr(-, root, root) %{_libdir}/%{name}/distributions/*
492 %{_libdir}/%{name}/vserver-build.*
493 %{_libdir}/%{name}/vserver-setup.functions
494 %{_libdir}/%{name}/defaults/fstab
495 %{_libdir}/%{name}/defaults/debootstrap.uri
496 %{_libdir}/%{name}/defaults/vunify-exclude
497 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
498 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
499 %attr(755,root,root) %{_libdir}/%{name}/vbuild
500 %attr(755,root,root) %{_libdir}/%{name}/vcheck
501 %attr(755,root,root) %{_libdir}/%{name}/vcopy
502 %attr(755,root,root) %{_libdir}/%{name}/vhashify
503 %attr(755,root,root) %{_libdir}/%{name}/vpkg
504 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
505 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
506 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
507 %attr(755,root,root) %{_libdir}/%{name}/vunify
508 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
509 %attr(755,root,root) %{_sbindir}/vapt-get
510 %attr(755,root,root) %{_sbindir}/vfiles
511 %attr(755,root,root) %{_sbindir}/vpoldek
512 %attr(755,root,root) %{_sbindir}/vrpm
513 %attr(755,root,root) %{_sbindir}/vyum
514
515 %files legacy
516 %defattr(644,root,root,755)
517 %dir /etc/vservices
518 /etc/vservices/*
519 %dir %{_libdir}/%{name}/legacy
520 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
521 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
522 %attr(754,root,root) /etc/rc.d/init.d/v_*
523 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
524 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
525 %attr(755,root,root) %{_sbindir}/vserver-copy
526 %{_mandir}/man8/distrib-info.8*
527 %{_mandir}/man8/rebootmgr.8*
528 %{_mandir}/man8/vserver-copy.8*
529
530 %files -n vserver-dev
531 %defattr(644,root,root,755)
532 %dir /dev/pts
533 %dev(c,1,7) %attr(666,root,root) /dev/full
534 %dev(c,1,3) %attr(666,root,root) /dev/null
535 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
536 %dev(c,1,8) %attr(644,root,root) /dev/random
537 %dev(c,5,0) %attr(666,root,root) /dev/tty
538 %dev(c,1,9) %attr(644,root,root) /dev/urandom
539 %dev(c,1,5) %attr(666,root,root) /dev/zero
540 /dev/initctl
This page took 0.110592 seconds and 4 git commands to generate.