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