]> git.pld-linux.org Git - packages/dhcpcd.git/blob - dhcpcd.spec
updated deps
[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:        9.4.1
10 Release:        1
11 License:        BSD
12 Group:          Networking/Daemons
13 Source0:        http://roy.marples.name/downloads/dhcpcd/%{name}-%{version}.tar.xz
14 # Source0-md5:  2b2f46648bc96979f96127f0e0e07d9b
15 URL:            http://roy.marples.name/projects/dhcpcd
16 BuildRequires:  linux-libc-headers
17 BuildRequires:  pkgconfig
18 BuildRequires:  tar >= 1:1.22
19 BuildRequires:  udev-devel
20 BuildRequires:  xz
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _sbindir        /sbin
24 %define         _libexecdir     %{_libdir}/%{name}
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.UTF-8
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.UTF-8
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.UTF-8
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
59 - -r).
60
61 Il obtient l'information sur l'hôte (adresse IP, masque réseau,
62 adresse de diffusion, etc.) à partir d'un serveur DHCP et configure
63 l'interface réseau de la machine sur laquelle il tourne. Il essaie
64 aussi de renouveler le « lease time » selon les RFC1541 ou
65 draft-ietf-dhc-dhcp-09.
66
67 %description -l pl.UTF-8
68 dhcpd jest implementacją klienta DHCP, opisaną w
69 draft-ietf-dhc-dhcp-09 (kiedy nie podaje się opcji -r) oraz RFC1544
70 (kiedy podaje się opcję -r).
71
72 Pobiera on informacje o komputerze (adres IP, maska sieci, adres
73 rozgłoszeniowy itd.) i konfiguruje interfejs sieciowy maszyny, na
74 której jest uruchomiony. Próbuje również odświeżyć czas przestoju
75 zgodnie z RFC1541 oraz draft-ietf-dhc-dhcp-09.
76
77 %description -l pt_BR.UTF-8
78 dhcpcd é uma implementação do cliente DHCP especificado em
79 draft-ietf-dhc-dhcp-09 (quando a opção -r não é especificada) e
80 RFC1541 (quando a opção -r é especificada). Ele captura a informação
81 do host (endereço IP, máscara de rede, endereço de broadcast, etc.) de
82 um servidor DHCP e configura a interface de rede da máquina em que
83 está rodando. Ele também tenta renovar o tempo de aluguel dos
84 endereços de acordo com RFC1541 ou draft-ietf-dhc-dhcp-09.
85
86 %description -l tr.UTF-8
87 Makina bilgilerini (IP adresi, ağ maskesi, yayın adresi, vb.) bir DHCP
88 sunucusundan alır ve üzerinde çalıştığı makinanın ağ arayüzünü
89 ayarlar. Ayrıca RFC1541 veya draft-ietf-dhc-dhcp-09'a uygun olarak,
90 kira zamanını (lease time) yenilemeye çalışır.
91
92 %prep
93 %setup -q
94
95 %build
96 %configure \
97         --dbdir=%{_sharedstatedir}/dhcpcd
98
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sharedstatedir}/dhcpcd}
104
105 %{__make} install \
106         DESTDIR=$RPM_BUILD_ROOT
107
108 touch $RPM_BUILD_ROOT%{_sysconfdir}/dhcpcd.{enter-hook,exit-hook}
109
110 # our rc-scripts do wpa_supplicant job, so skip it
111 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/hooks/10-wpa_supplicant
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %files
117 %defattr(644,root,root,755)
118 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
119 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*-hook
120 %attr(755,root,root) %{_sbindir}/dhcpcd
121 %dir %{_libdir}/%{name}
122 %dir %{_libdir}/%{name}/dev
123 %attr(755,root,root) %{_libdir}/%{name}/dev/udev.so
124 %dir %{_libdir}/%{name}/dhcpcd-hooks
125 %attr(755,root,root) %{_libdir}/%{name}/dhcpcd-hooks/*
126 %attr(755,root,root) %{_libdir}/%{name}/dhcpcd-run-hooks
127 %dir %{_datadir}/%{name}
128 %dir %{_datadir}/%{name}/hooks
129 %{_datadir}/%{name}/hooks/15-timezone
130 %{_datadir}/%{name}/hooks/29-lookup-hostname
131 %{_datadir}/%{name}/hooks/50-yp.conf
132 %dir %{_sharedstatedir}/dhcpcd
133 %{_mandir}/man?/dhcpcd*.*
This page took 0.197909 seconds and 4 git commands to generate.