]> git.pld-linux.org Git - packages/bootparamd.git/blame_incremental - bootparamd.spec
- rewrited to PLD init script template form.
[packages/bootparamd.git] / bootparamd.spec
... / ...
CommitLineData
1Summary: A server process which provides boot information to diskless clients.
2Name: bootparamd
3Version: 0.16
4Release: 3
5License: BSD
6Group: Networking/Daemons
7Group(pl): Sieciowe/Serwery
8Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/daemons/netkit-%{name}-%{version}.tar.gz
9Source1: bootparamd.init
10Prereq: /sbin/chkconfig
11Requires: portmap
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
23clients and servers which need that boot server code.
24
25You should install bootparamd if you need to provide boot information
26to diskless clients on your network.
27
28%prep
29%setup -q -n netkit-bootparamd-0.16
30
31%build
32./configure
33%{__make} CFLAGS="$RPM_OPT_FLAGS"
34
35%install
36rm -rf $RPM_BUILD_ROOT
37install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8}
38install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
39
40%{__make} install \
41 INSTALLROOT=$RPM_BUILD_ROOT \
42 MANDIR=%{_mandir}
43
44install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootparamd
45
46gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%post
52/sbin/chkconfig --add bootparamd
53
54%postun
55if [ $1 = 0 ]; then
56 /sbin/chkconfig --del bootparamd
57fi
58
59%files
60%defattr(644,root,root,755)
61%attr(754,root,root) /etc/rc.d/init.d/bootparamd
62%attr(755,root,root) %{_sbindir}/rpc.bootparamd
63%attr(755,root,root) %{_bindir}/callbootd
64%{_mandir}/man8/*
This page took 0.032904 seconds and 4 git commands to generate.