]> git.pld-linux.org Git - packages/dhcpcd.git/blob - dhcpcd.spec
- fix ntp.conf path
[packages/dhcpcd.git] / dhcpcd.spec
1 Summary:        DHCP Client Daemon
2 Summary(de):    DHCPC-Dämon
3 Summary(es):    Cliente (daemon) DHCP
4 Summary(fr):    Démon DHCPC
5 Summary(pl):    Klient (daemon) DHCP
6 Summary(pt_BR): Servidor DHCPC
7 Summary(tr):    DHCPC sunucu süreçi (daemon)
8 Name:           dhcpcd
9 Version:        2.0.1
10 Release:        3
11 License:        GPL v2
12 Group:          Networking/Daemons
13 Source0:        http://download.berlios.de/dhcpcd/%{name}-%{version}.tar.bz2
14 # Source0-md5:  c5766aafd51f581c2b2c8620b26f5e02
15 Patch0:         %{name}-ntpdrift-66136.patch
16 Patch1:         %{name}-ntp-path.patch
17 URL:            http://developer.berlios.de/projects/dhcpcd/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _sbindir        /sbin
23
24 %description
25 dhcpcd is an implementation of the DHCP client specified in
26 draft-ietf-dhc-dhcp-09 (when -r option is not specified) and RFC1541
27 (when -r option is specified).
28
29 It gets the host information (IP address, netmask, broadcast address,
30 etc.) from a DHCP server and configures the network interface of the
31 machine on which it is running. It also tries to renew the lease time
32 according to RFC1541 or draft-ietf-dhc-dhcp-09.
33
34 %description -l de
35 dhcpcd ist eine Implementierung des DHCP-Client, spezifiziert in
36 draft-ietf-dhc-dhcp-09 (wenn -r option nicht angegeben) und RFC1541
37 (wenn -r option angegeben).
38
39 Es bezieht die Host-Infos (IP-Adresse, Netmask, Broadcast-Adresse,
40 usw.) von einem DHCP-Server und konfiguriert die Netzschnittstelle des
41 Computers, auf dem es läuft Es versucht, die Verleihzeit gemäß RFC1541
42 bzw. draft-ietf-dhc-dhcp-09 zu verlängern.
43
44 %description -l es
45 dhcpcd es una implementación del cliente DHCP especificado en
46 draft-ietf-dhc-dhcp-09 (cuando la opción -r no está especificada) y
47 RFC1541 (cuando la opción -r está especificada). Captura la
48 información del host (dirección IP, máscara de red, dirección de
49 broadcast, etc.) de un servidor DHCP y configura la interface de red
50 de la máquina donde esté ejecutando. También intenta renovar el tiempo
51 de alquiler de los direcciones de acuerdo con RFC1541 o
52 draft-ietf-dhc-dhcp-09.
53
54 %description -l fr
55 dhcpcd est une implantation du client DHCP spécifié dans les
56 draft-ietf-dhc-dhcp-09 (sans l'option -r) et RFC1541 (avec l'option
57 - -r).
58
59 Il obtient l'information sur l'hôte (adresse IP, masque réseau,
60 adresse de diffusion, etc.) à partir d'un serveur DHCP et configure
61 l'interface réseau de la machine sur laquelle il tourne. Il essaie
62 aussi de renouveler le « lease time » selon les RFC1541 ou
63 draft-ietf-dhc-dhcp-09.
64
65 %description -l pl
66 dhcpd jest implementacja klienta DHCP, opisan± w
67 draft-ietf-dhc-dhcp-09 (kiedy nie podaje siê opcji -r) oraz RFC1544
68 (kiedy podaje siê opcjê -r).
69
70 Pobiera on informacjê o komputerze (adres IP, maska sieci, adres
71 rozg³oszeniowy itd.) i konfiguruje interfejs sieciowy maszyny, na
72 której jest uruchomiony. Próbuje równie¿ od¶wie¿yæ czas przestoju
73 zgodnie z RFC1541 oraz draft-ietf-dhc-dhcp-09.
74
75 %description -l pt_BR
76 dhcpcd é uma implementação do cliente DHCP especificado em
77 draft-ietf-dhc-dhcp-09 (quando a opção -r não é especificada) e
78 RFC1541 (quando a opção -r é especificada). Ele captura a informação
79 do host (endereço IP, máscara de rede, endereço de broadcast, etc.) de
80 um servidor DHCP e configura a interface de rede da máquina em que
81 está rodando. Ele também tenta renovar o tempo de aluguel dos
82 endereços de acordo com RFC1541 ou draft-ietf-dhc-dhcp-09.
83
84 %description -l tr
85 Makina bilgilerini (IP adresi, að maskesi, yayýn adresi, vb.) bir DHCP
86 sunucusundan alýr ve üzerinde çalýþtýðý makinanýn að arayüzünü
87 ayarlar. Ayrýca RFC1541 veya draft-ietf-dhc-dhcp-09'a uygun olarak,
88 kira zamanýný (lease time) yenilemeye çalýþýr.
89
90 %prep
91 %setup -q
92 %patch0 -p0
93 %patch1 -p1
94
95 %build
96 rm -f missing
97 %{__aclocal}
98 %{__autoconf}
99 %{__automake}
100 %configure
101 %{__make} all \
102         mandir=%{_mandir} \
103         sbindir=%{_sbindir}
104
105 %install
106 rm -rf $RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT/var/lib/dhcpc
108
109 %{__make} install \
110         DESTDIR=$RPM_BUILD_ROOT \
111         mandir=%{_mandir} \
112         sbindir=%{_sbindir}
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %files
118 %defattr(644,root,root,755)
119 %doc README AUTHORS ChangeLog NEWS
120 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcpc/dhcpcd.exe
121 %attr(755,root,root) %{_sbindir}/dhcpcd
122 %dir %{_var}/lib/dhcpc
123 %{_mandir}/man8/dhcpcd.8*
This page took 0.177511 seconds and 3 git commands to generate.