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

rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/boot/oslo
install -m 755 oslo     $RPM_BUILD_ROOT/boot/oslo
install -m 755 beirut   $RPM_BUILD_ROOT/boot/oslo
install -m 755 munich   $RPM_BUILD_ROOT/boot/oslo
install -m 755 pamplona $RPM_BUILD_ROOT/boot/oslo

%post
# any setup goes here...

%files
%defattr(0755,root,root,0755)
%dir /boot/oslo
/boot/oslo/*
%defattr(0644,root,root,0755)
%doc CHANGELOG COPYING README

%changelog -n tud-oslo
* Wed Dec 05 2007 - ramunno@polito.it
- fixed install directory: there is no specific requirement for it but
  having a logically sound folder for GRUB/tGRUB like /boot/oslo 
* Thu Aug 02 2007 - skh@suse.de
- initial package

openSUSE Build Service is sponsored by