# Generated by RPM Workshop.  v0.1

# Macro definitions
%define ver    __UMLVER__
%define rel    1

Name:      uml_utilities
Version:   %{ver}
Release:   %{rel}
Copyright: GPL
Packager:  Someone
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}/mkrootfs
%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
%attr(755,root,root)			%{_bindir}/uml_switch
%attr(755,root,root)		%dir	%{_libdir}/uml
%attr(755,root,root)			%{_bindir}/uml_mkcow
%attr(755,root,root)			%{_bindir}/uml_watchdog
#%attr(755,root,root)			%{_libdir}/uml/functions
%attr(755,root,root)			%{_libdir}/uml/port-helper

%clean
