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