X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Futil-vserver.spec.in;h=7fadae3ac016a5a7bb5f80559aa8ce313d6fa8ce;hb=151510ee9bef12d9db4467868535822d1f55f2d2;hp=5084fbd6806151920d3303ba32f59d264d9e222f;hpb=71a0c986e81ae0b0731f3da37bd85c90416a38dc;p=util-vserver.git diff --git a/util-vserver/util-vserver.spec.in b/util-vserver/util-vserver.spec.in index 5084fbd..7fadae3 100644 --- a/util-vserver/util-vserver.spec.in +++ b/util-vserver/util-vserver.spec.in @@ -1,6 +1,7 @@ # $Id$ -%define confdir %_sysconfdir/vservers +%define confdir %_sysconfdir/vservers +%define pkglibdir %_libdir/%name Summary: Linux virtual server utilities Name: @PACKAGE@ @@ -12,8 +13,15 @@ Group: System Environment/Base URL: http://savannah.nongnu.org/projects/util-vserver/ Source0: http://savannah.nongnu.org/download/util-vserver/stable.pkg/%version/%name-%version.tar.bz2 BuildRoot: %_tmppath/%name-%version-%release-root +#Requires: util-vserver-core = %epoch:%version-%release Provides: vserver = %epoch:%version-%release Conflicts: vserver < %epoch:%version +BuildRequires: mount vconfig gawk iproute +BuildRequires: dietlibc gcc-c++ + +%package core +Summary: The core-utilities for util-vserver +Group: Applications/System %package sysv Summary: SysV-initscripts for vserver @@ -24,7 +32,7 @@ Requires: initscripts %package devel Summary: Header-files and libraries which are needed to develop vserver based applications Group: Development/Libraries - +Requires: pkgconfig %description This package provides the components and a framework to setup virtual @@ -36,6 +44,7 @@ can't interact with services in the main server. This requires a special kernel supporting the new new_s_context and set_ipv4root system call. +%description core %description sysv %description devel @@ -89,7 +98,7 @@ test "$1" = 0 || %{_initrddir}/rebootmgr condrestart >/dev/null || : %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README THANKS %doc doc/FAQ.txt -%_libdir/%name +%pkglibdir %_sbindir/* %_mandir/man8/* %dir %confdir @@ -97,6 +106,18 @@ test "$1" = 0 || %{_initrddir}/rebootmgr condrestart >/dev/null || : %dir %confdir/.distributions/rh* %dir %confdir/.distributions/*/apt %config(noreplace) %confdir/.distributions/*/apt/sources.list +%dir /var/run/vservers + +%if 0 +%files core +%defattr(-,root,root,-) +%dir %pkglibdir +%pkglibdir/filetime +%pkglibdir/ +filetime ifspec listdevip mask2prefix readlink save_ctxinfo save_s_context secure-mount showattr showperm util-vserver-vars + +chbind chcontext new-namespace reducecap setctxlimit util-vserver-vars +%endif %files sysv %defattr(-,root,root,-) @@ -107,6 +128,7 @@ test "$1" = 0 || %{_initrddir}/rebootmgr condrestart >/dev/null || : %defattr(-,root,root,-) %_includedir/*.h %_libdir/*.a +%_libdir/pkgconfig/* %changelog * Wed Oct 1 2003 Enrico Scholz - 0:0.23.5-0