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