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