File pypxeboot.spec of Package pypxeboot
#
# spec file for package pypxeboot (Version 0.0.2)
#
# 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
Name: pypxeboot
Summary: A bootloader to fake PXE booting for Xen DomUs.
Version: 0.0.2
Release: 1
License: GPL-2.0-only
Group: System Environment/Daemons
Url: http://www.cs.tcd.ie/Stephen.Childs/pypxeboot
Source0: %{name}-%{version}.tar.bz2
BuildArch: noarch
Requires: udhcp
%description
pypxeboot is a bootloader for Xen guests that simulates a PXE client.
pypxeboot runs on the Domain 0 as part of the creation of a new domain,
and requests an IP address and configuration information on behalf of
the as-yet uncreated guest (DomU).
pypxeboot uses a modified version of udhcp that allows a MAC address
to be specified on the command line.
Authors: Stephen Childs <childss@cs.tcd.ie>
%prep
%setup -q
%build
# nothing to build
%install
%{__install} -D -m 0755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
# already in udhcp via patch
#%{__install} -D -m 0755 outputpy.udhcp.sh $RPM_BUILD_ROOT%{_datadir}/udhcpc/outputpy.udhcp.sh
%files
%license COPYING
%doc AUTHORS COPYING README
%{_bindir}/*
#%{_datadir}/udhcpc/outputpy.udhcp.sh
%changelog