]> git.pld-linux.org Git - packages/bootparamd.git/blame - bootparamd.spec
- changed all BuildRoot definitons
[packages/bootparamd.git] / bootparamd.spec
CommitLineData
9060e098
JR
1Summary: A server process which provides boot information to diskless clients.
2Name: bootparamd
3Version: 0.10
4Release: 22
5Copyright: BSD
6Group: System Environment/Daemons
7Source: ftp://sunsite.unc.edu/pub/Linux/system/network/daemons/netkit-bootparamd-0.10.tar.gz
8Source1: bootparamd.init
9Patch: netkit-bootparamd-0.10-misc.patch
10Prereq: /sbin/chkconfig
11Requires: portmap
234250db 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9060e098
JR
13
14%description
15The bootparamd process provides bootparamd, a server process which
16provides the information needed by diskless clients in order for them
17to successfully boot. Bootparamd looks first in /etc/bootparams for an
18entry for that particular client; if a local bootparams file doesn't
19exist, it looks at the appropriate Network Information Service (NIS)
20map. Some network boot loaders (notably Sun's) rely on special boot
21server code on the server, in addition to the rarp and tftp servers.
22This bootparamd server process is compatible with SunOS bootparam clients
23and servers which need that boot server code.
24
25You should install bootparamd if you need to provide boot information to
26diskless clients on your network.
27
28%prep
29%setup -q -n netkit-bootparamd-0.10
30%patch -p1
31
32%build
33make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
34
35%install
36rm -rf $RPM_BUILD_ROOT
37mkdir -p $RPM_BUILD_ROOT/usr/bin
38mkdir -p $RPM_BUILD_ROOT/usr/sbin
39mkdir -p $RPM_BUILD_ROOT/usr/man/man1
40mkdir -p $RPM_BUILD_ROOT/usr/man/man8
41mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
42make INSTALLROOT=$RPM_BUILD_ROOT install
43install -m 755 $RPM_SOURCE_DIR/bootparamd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/bootparamd
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%post
49/sbin/chkconfig --add bootparamd
50
51%postun
52if [ $1 = 0 ]; then
53 /sbin/chkconfig --del bootparamd
54fi
55
56%files
57/usr/sbin/rpc.bootparamd
58/usr/bin/callbootd
59/usr/man/man8/rpc.bootparamd.8
60/usr/man/man8/bootparamd.8
12d93f0d 61%attr(754,root,root) /etc/rc.d/init.d/bootparamd
This page took 0.07831 seconds and 4 git commands to generate.