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