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