File bootp-DD2.spec of Package bootp-DD2

#
# spec file for package bootp-DD2 (Version 4.3)
#
# Copyright (c) 2010 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:           bootp-DD2
#!BuildIgnore: nkitb
License:        BSD3c
Group:          Productivity/Networking/Boot/Servers
Requires:       net-tools netcfg
AutoReqProv:    on
Version:        4.3
Release:        636
Summary:        Enhanced Version of the CMU BOOTP Server
Source:         %{name}.%{version}.tar.bz2
Source1:        COPYRIGHT
Source2:        %{name}.xinetd
Patch:          %{name}.%{version}.dif
Patch1:         %{name}.%{version}-ia64.dif
Patch2:         %{name}-%{version}-strict-aliasing-fix.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       inet-daemon

%description
This is an enhanced version of the CMU BOOTP server, which was derived
from the original BOOTP server created by Bill Croft at Stanford. This
version merges all the enhancements and bug fixes from the NetBSD,
Columbia, and other versions.



Authors:
--------
    Gordon W. Ross <gwr@mc.com>
    Walter L. Wimer <ww0n@andrew.cmu.edu>
    Drew D. Perkins <ddp@andrew.cmu.edu>

%prep
%setup -n %{name}.%{version}
%patch
%patch1
%patch2

%build
make linux

%install
make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} install
cp %{S:1} .
install -d -m 755 $RPM_BUILD_ROOT/etc/xinetd.d
install -m 644 %{S:2} $RPM_BUILD_ROOT/etc/xinetd.d/bootp-DD2 

%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf  %{buildroot} 

%files
%defattr(-,root,root)
%config(noreplace) /etc/xinetd.d/*
%doc COPYRIGHT Announce* Changes* Problems README* ToDo* Installation bootptab.{cmu,mcs} 
%doc %{_mandir}/man5/*
%doc %{_mandir}/man8/*
/usr/sbin/*

%changelog
openSUSE Build Service is sponsored by