]> git.pld-linux.org Git - packages/bootp.git/blob - bootp.spec
- many small fixes, inspired by kloczek
[packages/bootp.git] / bootp.spec
1 Summary:        bootp/DHCP server and test programs
2 Summary(de):    bootp/DHCP-Server und Testprogramme
3 Summary(fr):    Serveur bootp/DHCP et programmes test
4 Summary(pl):    Serwer BOOTP/DHCP wraz z programami pomocniczymi
5 Summary(tr):    bootp/DHCP sunucusu ve test programlarý
6 Name:           bootp
7 Version:        2.4.3
8 Release:        10
9 License:        BSD
10 Group:          Networking/Daemons
11 Source0:        ftp://ftp.mc.com/pub/%{name}-%{version}.tar.gz
12 # Source0-md5:  2a12d862f11908acf84652387be4e03b
13 Source1:        %{name}.inetd
14 Patch0:         %{name}-2.4.3-linux.patch
15 Patch1:         http://www.sghms.ac.uk/~mpreston/tools.htm/dhcp.patch
16 Patch2:         %{name}-2.4.3-glibc.patch
17 Patch3:         %{name}-2.4.3-pathfix.patch
18 Patch4:         %{name}-tmprace.patch
19 Requires:       inetdaemon
20 Requires:       rc-inetd
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This is a server for the bootp protocol; which allows network
25 administrators to setup networking information for clients via an
26 /etc/bootptab on a server so that the clients can automatically get
27 their networking information. While this server includes rudimentary
28 DHCP support as well, we suggest using the dhcpd package if you need
29 DHCP support, as it is much more complete.
30
31 %description -l de
32 Dies ist ein Server für das bootp-Protokoll, der
33 Netzwerkadministratoren das Einrichten von Netzinfos für Clients über
34 ein /etc/bootptab auf einem Server gestattet, so daß die Clients ihre
35 Infos automatisch bekommen. Obwohl dieser Server rudimentären
36 DHCP-Support beinhaltet, empfehlen wir den Einsatz des dhcpd-Pakets,
37 wenn Sie DHCP-Unterstützung wünschen, weil sie damit umfassenderen
38 Support erhalten.
39
40 %description -l fr
41 C'est un serveur pour le protocole bootp, qui permet aux
42 administrateurs réseau de configurer les informations pour les clients
43 réseau via le fichier /etc/bootptab sur un serveur de telle manière
44 que les clients puissent automatiquement obtenir les informations.
45 Bien que le serveur comprenne aussi un support rudimentaire pour dhcp,
46 nous recommandons d'utiliser le package dhcp si vous désirez un
47 support dhcp, car il est beaucoup plus complet.
48
49 %description -l pl
50 Pakiet ten zawiera serwer protoko³u bootp, który umo¿liwia zarz±dzanie
51 informacjami o konfiguracji sieciowej komputerów w pliku
52 /etc/bootptab, a nastêpnie dostarczenie na ¿±danie w/w informacji
53 komputerom (klientom). Pomimo, ¿e program oferuje czê¶ciow± obs³ugê
54 DHCP, do serwowania informacji przenoszonych za pomoc± tego protoko³u
55 lepiej u¿yæ dedykowanego serwera z pakietu dhcp.
56
57 %description -l tr
58 bootp sunucusu, istemcilerin að bilgilerini sunucu üzerindeki bir
59 dosyadan almalarýna olanak verir. Bu sunucu temel DHCP desteðini
60 içermekle birlikte, DHCP desteðine gerek duyulan durumlarda dhcpd
61 paketinin kullanýmý önerilir
62
63 %prep
64 %setup -q
65 %patch -p1
66 %patch1 -p1
67 %patch2 -p1
68 %patch3 -p1
69 #%patch4 -p1
70
71 %build
72 %{__make} linux SYSDEFS="%{rpmcflags}"
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT/{etc/sysconfig/rc-inetd,%{_sbindir},%{_mandir}/man{5,8}}
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80 %{__make} install.man \
81         DESTDIR=$RPM_BUILD_ROOT \
82         MANDIR=%{_mandir}
83
84 touch $RPM_BUILD_ROOT%{_sysconfdir}/bootptab
85 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bootp
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %attr(640,root,root) %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/bootptab
93 %attr(640,root,root) /etc/sysconfig/rc-inetd/bootp
94 %attr(755,root,root) %{_sbindir}/*
95 %{_mandir}/man[58]/*
This page took 0.061915 seconds and 3 git commands to generate.