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