File udhcp.spec of Package udhcp
#
# spec file for package udhcp (Version 0.9.8)
#
# 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/
#
Summary: Micro DHCP client / server
Name: udhcp
Version: 0.9.8
Release: 2
Group: System/Emulators/PC
License: GPL v2 only
Url: http://udhcp.busybox.net
Source0: udhcp-%{version}.tar.gz
Patch0: oracle-rpmbuild-makefile-changes.patch
Patch1: udhcp_usermac.patch
Patch2: udhcp-outputpy.patch
Patch3: udhcp-update-scripts.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires:
#Requires:
#ExclusiveArch: i386 i686 x86_64
%description
Udhcp is a small dhcp client / server mainly used to support Xen
para-virtualized PXE booting.
Authors:
--------
Russ Dill <Russ.Dill@asu.edu>
Matthew Ramsay <matthewr@moreton.com.au>
Chris Trew <christ@moreton.com.au>
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%{__make}
%install
%{__make} DESTDIR=%{buildroot} install
pushd %{buildroot}/%{_mandir}
find . -type f -exec chmod -x {} \;
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/sbin/*
/usr/bin/*
/usr/sbin/*
%doc %{_mandir}/man?/*
/usr/share/udhcpc
%changelog
* Mon Nov 10 2008 xwhu@suse.de
- update scripts from upstream [bnc#441487]
* Fri Sep 05 2008 carnold@novell.com
- Initial checkin of udhcp to support PV PXE Booting.