]> git.pld-linux.org Git - packages/bootparamd.git/blame - bootparamd.spec
- R: rc-scripts >= 0.4.1.5
[packages/bootparamd.git] / bootparamd.spec
CommitLineData
20d7a062 1Summary: A server process which provides boot information to diskless clients
335f1ffe 2Summary(pl.UTF-8): Demon zapewniający informacje potrzebne do uruchomienia bezdyskowych klientów
1d3e239d 3Name: bootparamd
ed8d00cd 4Version: 0.17
e6505fa7 5Release: 13
1d3e239d 6License: BSD
7Group: Networking/Daemons
1d492e19 8Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
c29a56d3 9# Source0-md5: 00d211115b11aec2e214b701fe72f397
ad77d1e2 10Source1: %{name}.init
11Patch0: %{name}-install_man_fix.patch
e6505fa7
ER
12BuildRequires: cpp
13BuildRequires: rpmbuild(macros) >= 1.268
d7c960fd 14Requires(post,preun): /sbin/chkconfig
1d3e239d 15Requires: portmap
b4cb4396 16Requires: rc-scripts >= 0.4.1.5
234250db 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9060e098
JR
18
19%description
20The bootparamd process provides bootparamd, a server process which
21provides the information needed by diskless clients in order for them
1d3e239d 22to successfully boot. Bootparamd looks first in /etc/bootparams for an
9060e098
JR
23entry for that particular client; if a local bootparams file doesn't
24exist, it looks at the appropriate Network Information Service (NIS)
1d3e239d 25map. Some network boot loaders (notably Sun's) rely on special boot
9060e098 26server code on the server, in addition to the rarp and tftp servers.
1d3e239d 27This bootparamd server process is compatible with SunOS bootparam
28clients and servers which need that boot server code.
e37dcc16 29
bad6aa0a
JR
30%description -l pl.UTF-8
31Pakiet zawiera program bootparamd - demon, który zapewnia informacje
32potrzebne dla uruchomienia bezdyskowych klientów. bootparamd szuka w
33/etc/bootparams wpisu dla konkretnego klienta; jeżeli plik ten nie
34istnieje, szuka odpowiedniej mapy NIS. Niektóre sieciowe bootloadery
35(np. Suna) polegają na specjalnym kodzie bootującym na serwerze. Ten
e37dcc16 36bootparamd jest kompatybilny z klientami bootparam na SunOS-ie i
bad6aa0a 37serwerami potrzebującymi tego kodu.
9060e098 38
9060e098 39%prep
8d1976e8 40%setup -q -n netkit-%{name}-%{version}
7278517b 41%patch0 -p1
9060e098
JR
42
43%build
056e78ad 44./configure \
20ec1749 45 --with-c-compiler="%{__cc}"
a5c54044 46%{__make} CFLAGS="%{rpmcflags}"
9060e098
JR
47
48%install
49rm -rf $RPM_BUILD_ROOT
20d7a062 50install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8} \
51 $RPM_BUILD_ROOT/etc/rc.d/init.d
fd9b0b4e
JR
52
53%{__make} install \
54 INSTALLROOT=$RPM_BUILD_ROOT \
55 MANDIR=%{_mandir}
56
e6505fa7 57install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpc.bootparamd
fd9b0b4e 58
9060e098
JR
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%post
e6505fa7
ER
63/sbin/chkconfig --add rpc.bootparamd
64%service rpc.bootparamd restart "rpc.bootparamd server"
9060e098 65
cb81d893 66%preun
58a88bb4 67if [ "$1" = "0" ]; then
e6505fa7
ER
68 %service rpc.bootparamd stop
69 /sbin/chkconfig --del rpc.bootparamd
58a88bb4 70fi
9060e098
JR
71
72%files
1d3e239d 73%defattr(644,root,root,755)
fc8beae3 74%doc ChangeLog README
e6505fa7 75%attr(754,root,root) /etc/rc.d/init.d/rpc.bootparamd
1d3e239d 76%attr(755,root,root) %{_sbindir}/rpc.bootparamd
77%attr(755,root,root) %{_bindir}/callbootd
ad77d1e2 78%{_mandir}/man[58]/*
This page took 0.077639 seconds and 4 git commands to generate.