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