File kuli.spec of Package kuli

#
# spec file for package kuli (Version 1.0.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Url:            http://www.ibm.com/developerworks/linux/linux390/kuli.html

Name:           kuli
License:        GPL v2 or later
Group:          System/Emulators/Other
BuildRequires:  kernel-source
AutoReqProv:    on
Version:        1.0.0
Release:        2
Summary:        KVM userspace for S/390
ExclusiveArch:  s390x
Source:         %{name}-%{version}.tar.gz
Source2:        tunctl.c
Patch1:         %{name}-suse-build
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains the proof of concept userspace for KVM on s390.
It can be used to run Linux on System z virtual machines on top of a
Linux on System z host.



Authors:
--------
    Carsten Otte <cotte@de.ibm.com>
    Christian Borntraeger <borntraeger@de.ibm.com>

%prep
%setup -n %{name}
%patch1 -p1
cp %{S:2} .

%build
export KERNELDIR=/usr/src/linux
make

%install
make install DESTDIR=$RPM_BUILD_ROOT

%files
%defattr(-,root,root)
# smp_utils
%doc README
%{_bindir}/kuli
%{_bindir}/tunctl

%changelog
* Tue Sep 02 2008 hare@suse.de
- Create initial package
openSUSE Build Service is sponsored by