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