]> git.pld-linux.org Git - packages/dhcpcd.git/blob - dhcpcd.spec
1.3.20pl0; stb
[packages/dhcpcd.git] / dhcpcd.spec
1 %define ver     1.3.20-pl0
2 Summary:        DHCP Client Daemon
3 Summary(de):    DHCPC-Dämon
4 Summary(fr):    Démon DHCPC
5 Summary(pl):    Klient (daemon) DHCP
6 Summary(tr):    DHCPC sunucu süreçi (daemon)
7 Name:           dhcpcd
8 Version:        %(echo %{ver} | sed -e "s#-##")
9 Release:        1
10 License:        GPL
11 Vendor:         Sergei Viznyuk <sv@phystech.com>
12 Group:          Networking/Daemons
13 Group(pl):      Sieciowe/Serwery
14 Source0:        http://www.phystech.com/ftp/%{name}-%{ver}.tar.gz
15 Patch0:         dhcpcd-configure.patch
16 BuildRequires:  automake
17 BuildRequires:  autoconf
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _sbindir        /sbin
21
22 %description
23 dhcpcd is an implementation of the DHCP client specified in
24 draft-ietf-dhc-dhcp-09 (when -r option is not speci- fied) and RFC1541
25 (when -r option is specified).
26
27 It gets the host information (IP address, netmask, broad- cast
28 address, etc.) from a DHCP server and configures the network interface
29 of the machine on which it is running. It also tries to renew the
30 lease time according to RFC1541 or draft-ietf-dhc-dhcp-09.
31
32 %description -l de
33 dhcpcd ist eine Implementierung des DHCP-Client, spezifiziert in
34 draft-ietf-dhc-dhcp-09 (wenn -r option nicht angegeben) und RFC1541
35 (wenn -r option angegeben).
36
37 Es bezieht die Host-Infos (IP-Adresse, Netmask, Broadcast-Adresse,
38 usw.) von einem DHCP-Server und konfiguriert die Netzschnittstelle des
39 Computers, auf dem es läuft Es versucht, die Verleihzeit gemäß RFC1541
40 bzw. draft-ietf-dhc-dhcp-09 zu verlängern.
41
42 %description -l fr
43 dhcpcd est une implantation du client DHCP spécifié dans les
44 draft-ietf-dhc-dhcp-09 (sans l'option -r) et RFC1541 (avec l'option
45 -r).
46
47 Il obtient l'information sur l'hôte (adresse IP, masque réseau,
48 adresse de diffusion, etc.) à partir d'un serveur DHCP et configure
49 l'interface réseau de la machine sur laquelle il tourne. Il essaie
50 aussi de renouveler le « lease time » selon les RFC1541 ou
51 draft-ietf-dhc-dhcp-09.
52
53 %description -l pl
54 dhcpd jest implementacja klienta DHCP, opisan± w
55 draft-ietf-dhc-dhcp-09 (kiedy nie podaje siê opcji -r) oraz RFC1544
56 (kiedy podaje siê opcjê -r).
57
58 Pobiera on informacjê o komputerze (adres IP, maska sieci, adres
59 rozg³oszeniowy itd.) i konfiguruje interfejs sieciowy maszyny, na
60 której jest uruchomiony. Próbuje równie¿ od¶wiezyæ czas przestoju
61 zgodnie z RFC1541 oraz draft-ietf-dhc-dhcp-09.
62
63 %description -l tr
64 Makina bilgilerini (IP adresi, að maskesi, yayýn adresi, vb.) bir DHCP
65 sunucusundan alýr ve üzerinde çalýþtýðý makinanýn að arayüzünü
66 ayarlar. Ayrýca RFC1541 veya draft-ietf-dhc-dhcp-09'a uygun olarak,
67 kira zamanýný (lease time) yenilemeye çalýþýr.
68
69 %prep
70 %setup -q -n %{name}-%{ver}
71 %patch -p1
72
73 %build
74 rm -f config.cache
75 aclocal
76 autoconf
77 automake -a -c
78 %configure
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT%{_sysconfdir}/dhcpc
84
85 %{__make} install DESTDIR=$RPM_BUILD_ROOT
86
87 gzip -9nf README AUTHORS ChangeLog NEWS
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %doc *.gz
95 %dir %{_sysconfdir}/dhcpc
96 %attr(755,root,root) %{_sbindir}/dhcpcd
97 %{_mandir}/man8/dhcpcd.8*
This page took 0.041217 seconds and 4 git commands to generate.