]> git.pld-linux.org Git - packages/util-vserver.git/blob - util-vserver.spec
- on x8664 glibc is called glibc64
[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.5
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 %ifarch %{x8664}
320 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
321 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
322 %endif
323
324 %clean
325 rm -rf $RPM_BUILD_ROOT
326
327 %post
328 %{_sbindir}/setattr --barrier /vservers || :
329
330 %post   lib -p /sbin/ldconfig
331 %postun lib -p /sbin/ldconfig
332
333 %post init
334 /sbin/chkconfig --add vservers-default
335 /sbin/chkconfig --add vprocunhide
336 #if [ -r /var/lock/subsys/vprocunhide ]; then
337 #       /etc/rc.d/init.d/vprocunhide restart >&2
338 #fi
339 #if [ -r /var/lock/subsys/vservers-default ]; then
340 #       /etc/rc.d/init.d/vservers-default restart >&2
341 #fi
342
343 %preun init
344 if [ "$1" = "0" ]; then
345         if [ -r /var/lock/subsys/vprocunhide ]; then
346                 /etc/rc.d/init.d/vprocunhide stop >&2
347         fi
348         if [ -r /var/lock/subsys/vservers-default ]; then
349                 /etc/rc.d/init.d/vservers-default stop >&2
350         fi
351         /sbin/chkconfig --del vprocunhide
352         /sbin/chkconfig --del vservers-default
353 fi
354
355 %post legacy
356 /sbin/chkconfig --add rebootmgr
357 /sbin/chkconfig --add vservers-legacy
358 #if [ -r /var/lock/subsys/rebootmgr ] ; then
359 #       /etc/rc.d/init.d/rebootmgr restart >&2
360 #fi
361 #if [ -r /var/lock/subsys/vservers-legacy ] ; then
362 #       /etc/rc.d/init.d/vservers-legacy restart >&2
363 #fi
364
365 %preun legacy
366 if [ "$1" = "0" ]; then
367         if [ -r /var/lock/subsys/rebootmgr ] ; then
368                 /etc/rc.d/init.d/rebootmgr stop >&2
369         fi
370         if [ -r /var/lock/subsys/vservers-legacy ] ; then
371                 /etc/rc.d/init.d/vservers-legacy stop >&2
372         fi
373         /sbin/chkconfig --del rebootmgr
374         /sbin/chkconfig --del vservers-legacy
375 fi
376
377 %files
378 %defattr(644,root,root,755)
379 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
380 %{?with_doc:%doc doc/*.html}
381 %dir %{_sysconfdir}/vservers
382 %dir %{_sysconfdir}/vservers/.defaults
383 %dir %{_sysconfdir}/vservers/.defaults/apps
384 %dir %{_sysconfdir}/vservers/.defaults/files
385 %{_sysconfdir}/vservers/.defaults/vdirbase
386 %{_sysconfdir}/vservers/.defaults/run.rev
387 %{_sysconfdir}/vservers/vdirbase
388 %{_sysconfdir}/vservers/run.rev
389 /sbin/vshelper
390 %attr(755,root,root) %{_sbindir}/chbind
391 %attr(755,root,root) %{_sbindir}/chcontext
392 %attr(755,root,root) %{_sbindir}/chxid
393 %attr(755,root,root) %{_sbindir}/exec-cd
394 %attr(755,root,root) %{_sbindir}/lsxid
395 %attr(755,root,root) %{_sbindir}/reducecap
396 %attr(755,root,root) %{_sbindir}/setattr
397 %attr(755,root,root) %{_sbindir}/showattr
398 %attr(755,root,root) %{_sbindir}/vattribute
399 %attr(755,root,root) %{_sbindir}/vcontext
400 %attr(755,root,root) %{_sbindir}/vdlimit
401 %attr(755,root,root) %{_sbindir}/vnamespace
402 %attr(755,root,root) %{_sbindir}/vkill
403 %attr(755,root,root) %{_sbindir}/vlimit
404 %attr(755,root,root) %{_sbindir}/vdu
405 %attr(755,root,root) %{_sbindir}/vps
406 %attr(755,root,root) %{_sbindir}/vpstree
407 %attr(755,root,root) %{_sbindir}/vrsetup
408 %attr(755,root,root) %{_sbindir}/vsched
409 %attr(755,root,root) %{_sbindir}/vserver
410 %attr(755,root,root) %{_sbindir}/vserver-info
411 %attr(755,root,root) %{_sbindir}/vserver-stat
412 %attr(755,root,root) %{_sbindir}/vsomething
413 %attr(755,root,root) %{_sbindir}/vtop
414 %attr(755,root,root) %{_sbindir}/vuname
415 %dir %{_libdir}/%{name}
416 %dir %{_libdir}/%{name}/defaults
417 %{_libdir}/%{name}/FEATURES.txt
418 %{_libdir}/%{name}/util-vserver-vars
419 %{_libdir}/%{name}/defaults/*
420 %attr(755,root,root) %{_libdir}/%{name}/capchroot
421 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
422 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
423 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
424 %attr(755,root,root) %{_libdir}/%{name}/chroot-*
425 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
426 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
427 %attr(755,root,root) %{_libdir}/%{name}/filetime
428 %{_libdir}/%{name}/functions
429 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
430 %attr(755,root,root) %{_libdir}/%{name}/lockfile
431 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
432 %attr(755,root,root) %{_libdir}/%{name}/readlink
433 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
434 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
435 %attr(755,root,root) %{_libdir}/%{name}/sigexec
436 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
437 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
438 %{_libdir}/%{name}/vserver.*
439 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
440 %attr(755,root,root) %{_libdir}/%{name}/vshelper
441 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
442 %{_mandir}/man8/chbind.8*
443 %{_mandir}/man8/chcontext.8*
444 %{_mandir}/man8/reducecap.8*
445 %{_mandir}/man8/vps.8*
446 %{_mandir}/man8/vpstree.8*
447 %{_mandir}/man8/vserver-stat.8*
448 %{_mandir}/man8/vserver.8*
449 %{_mandir}/man8/vtop.8*
450 %attr(0,root,root) %dir /vservers
451 %attr(755,root,root) %dir /vservers/.pkg
452 %dir %{_localstatedir}/run/vservers
453 %dir %{_localstatedir}/run/vservers.rev
454 %dir %{_localstatedir}/run/vshelper
455
456 %files devel
457 %defattr(644,root,root,755)
458 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
459 %attr(755,root,root) %{_libdir}/lib*.so
460 %{_libdir}/lib*.la
461 %{_includedir}/vserver*.h
462 %{_pkgconfigdir}/*.pc
463
464 %files static
465 %defattr(644,root,root,755)
466 %{_libdir}/libvserver.a
467
468 %files lib
469 %defattr(644,root,root,755)
470 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
471
472 %files init
473 %defattr(644,root,root,755)
474 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
475 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-default
476 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
477 %attr(754,root,root) /etc/rc.d/init.d/vservers-default
478
479 %files build
480 %defattr(644,root,root,755)
481 %doc contrib/yum*.patch package-menagament.txt
482 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
483 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
484 %dir %{_sysconfdir}/vservers/.distributions
485 %dir %{_sysconfdir}/vservers/.distributions/.common
486 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
487 %dir %{_sysconfdir}/vservers/.distributions/[frs]*
488 %dir %{_sysconfdir}/vservers/.distributions/[frs]*/apt
489 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
490 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
491 %{_sysconfdir}/vservers/.distributions/pld1.99
492 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/[frs]*/apt/sources.list
493 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
494 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
495 %dir %{_libdir}/%{name}/distributions
496 %attr(-, root, root) %{_libdir}/%{name}/distributions/*
497 %{_libdir}/%{name}/vserver-build.*
498 %{_libdir}/%{name}/vserver-setup.functions
499 %{_libdir}/%{name}/defaults/fstab
500 %{_libdir}/%{name}/defaults/debootstrap.uri
501 %{_libdir}/%{name}/defaults/vunify-exclude
502 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
503 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
504 %attr(755,root,root) %{_libdir}/%{name}/vbuild
505 %attr(755,root,root) %{_libdir}/%{name}/vcheck
506 %attr(755,root,root) %{_libdir}/%{name}/vcopy
507 %attr(755,root,root) %{_libdir}/%{name}/vhashify
508 %attr(755,root,root) %{_libdir}/%{name}/vpkg
509 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
510 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
511 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
512 %attr(755,root,root) %{_libdir}/%{name}/vunify
513 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
514 %attr(755,root,root) %{_sbindir}/vapt-get
515 %attr(755,root,root) %{_sbindir}/vfiles
516 %attr(755,root,root) %{_sbindir}/vpoldek
517 %attr(755,root,root) %{_sbindir}/vrpm
518 %attr(755,root,root) %{_sbindir}/vyum
519
520 %files legacy
521 %defattr(644,root,root,755)
522 %dir /etc/vservices
523 /etc/vservices/*
524 %dir %{_libdir}/%{name}/legacy
525 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
526 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
527 %attr(754,root,root) /etc/rc.d/init.d/v_*
528 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
529 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
530 %attr(755,root,root) %{_sbindir}/vserver-copy
531 %{_mandir}/man8/distrib-info.8*
532 %{_mandir}/man8/rebootmgr.8*
533 %{_mandir}/man8/vserver-copy.8*
534
535 %files -n vserver-dev
536 %defattr(644,root,root,755)
537 %dir /dev/pts
538 %dev(c,1,7) %attr(666,root,root) /dev/full
539 %dev(c,1,3) %attr(666,root,root) /dev/null
540 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
541 %dev(c,1,8) %attr(644,root,root) /dev/random
542 %dev(c,5,0) %attr(666,root,root) /dev/tty
543 %dev(c,1,9) %attr(644,root,root) /dev/urandom
544 %dev(c,1,5) %attr(666,root,root) /dev/zero
545 /dev/initctl
This page took 0.093423 seconds and 4 git commands to generate.