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