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