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