# Generated by RPM Workshop.  v0.1

# Macro definitions
%define ver    20030529
%define rel    1

Name:      uml_utilities
Version:   %{ver}
Release:   %{rel}
Copyright: GPL
Packager:  William Stearns <wstearns@pobox.com>
URL:       http://user-mode-linux.sourceforge.net/index.html
Source:    http://prdownloads.sourceforge.net/user-mode-linux/uml_utilities_%{ver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{ver}-root
Group:     System
Summary:   Utilities for user-mode linux kernel

%description 
This package contains the utilities for user-mode linux for networking, 
COW, etc.


%prep
%setup -n tools

%build
make DESTDIR=$RPM_BUILD_ROOT

%install
make install DESTDIR=$RPM_BUILD_ROOT

%files
%attr(755,root,root)			%{_bindir}/jailtest
%attr(755,root,root)			%{_bindir}/tunctl
%attr(755,root,root)			%{_bindir}/uml_mconsole
%attr(755,root,root)			%{_bindir}/uml_moo
#%attr(4755,root,root)			%{_bindir}/uml_net	#Setuid is probably not a good idea.
%attr(755,root,root)			%{_bindir}/uml_net
%attr(755,root,root)			%{_bindir}/uml_switch
%attr(755,root,root)		%dir	%{_libdir}/uml
%attr(755,root,root)			%{_libdir}/uml/port-helper

#No longer part of this package
#%attr(755,root,root)			%{_bindir}/mkrootfs
#%attr(755,root,root)			%{_libdir}/uml/functions

%clean