revived linuxconf-files, but moved them into an own directory
[util-vserver.git] / util-vserver / vserver.spec.in
index fca1022..19b5f10 100644 (file)
@@ -12,6 +12,11 @@ BuildRoot:   %_tmppath/%name-%version-%release-root
 Provides:      vserver = %epoch:%version-%release
 Conflicts:     vserver < %epoch:%version
 
+%package linuxconf
+Summary:       Linuxconf administration modules for vservers
+Group:         Applications/System
+Requires:      %name = %epoch:%version-%release
+
 
 %description
 This package provides the components and a framework to setup virtual
@@ -24,6 +29,11 @@ This requires a special kernel supporting the new new_s_context and
 set_ipv4root system call.
 
 
+%description linuxconf
+This package provides the components to setup virtual servers with
+linuxconf.
+
+
 %prep
 %setup -q
 
@@ -81,9 +91,18 @@ test "$1" = 0  || %{_initrddir}/rebootmgr condrestart >/dev/null || :
 %_libdir/libvserver.a
 %_mandir/man8/*
 %config %_initrddir/*
-%config(noreplace) /etc/vservers/newvserver.defaults
 %config(noreplace) /etc/vservers.conf
 
+%exclude %_sbindir/newvserver
+%exclude %_mandir/man8/newvserver*
+
+
+%files linuxconf
+%defattr(-,root,root)
+%config(noreplace) /etc/vservers/newvserver.defaults
+%_sbindir/newvserver
+%_mandir/man8/newvserver*
+
 
 %changelog