File tud-oslo.spec of Package tud-oslo

# norootforbuild

# Package name: oslo or tud-oslo?

Name:		tud-oslo
Version:	0.4.5
Release:	0
Summary:	OSLO - Open Secure LOader
License:	GPLv2
Group:		System/Boot
URL:		http://os.inf.tu-dresden.de/~kauer/oslo/
# svn checkout
#Source:		oslo-trunk.tar.bz2
# released version
Source:		http://os.inf.tu-dresden.de/~kauer/oslo/oslo-0.4.5.tar.gz
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
OSLO, the Open Secure Loader, is a boot loader which uses the _skinit_
instruction for authenticated booting.

With around 1000 lines of code and a binary which is in the order
of 4k auditing, bugfixing and in the end trusting OSLO should be
possible.

%prep
%setup -n oslo-%{version}

%build
make

%install
# I couldn't find any documentation on how to setup oslo; most likely the
# install directory is wrong

rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m 755 oslo     $RPM_BUILD_ROOT%{_bindir}
install -m 755 beirut   $RPM_BUILD_ROOT%{_bindir}
install -m 755 munich   $RPM_BUILD_ROOT%{_bindir}
install -m 755 pamplona $RPM_BUILD_ROOT%{_bindir}

%post
# any setup goes here...

%files
%defattr(0755,root,root,0755)
%{_bindir}/*
%defattr(0644,root,root,0755)
%doc CHANGELOG COPYING README

%changelog -n tud-oslo
* Thu Aug 02 2007 - skh@suse.de
- initial package

openSUSE Build Service is sponsored by