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