]> git.pld-linux.org Git - packages/dhcpcd.git/blob - dhcpcd.spec
- spec adapterized
[packages/dhcpcd.git] / dhcpcd.spec
1 Summary:        DHCP Client Daemon
2 Name:           dhcpcd
3 Version:        1.3.18pl7
4 Release:        1
5 License:        GPL
6 Group:          System Environment/Daemons
7 Source:         ftp://sunsite.unc.edu/pub/Linux/system/network/daemons/%{name}-1.3.18-pl7.tar.gz
8 Patch:          dhcpcd-configure.patch
9 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10
11 %define         _sbindir        /sbin
12
13 %description
14 dhcpcd is an implementation of the DHCP client specified in
15 draft-ietf-dhc-dhcp-09 (when -r option is not speci- fied) and RFC1541
16 (when -r option is specified).
17
18 It gets the host information (IP address, netmask, broad- cast address,
19 etc.) from a DHCP server and configures the network interface of the
20 machine on which it is running. It also tries to renew the lease time
21 according to RFC1541 or draft-ietf-dhc-dhcp-09.
22
23 %description -l pl
24 dhcpd jest implementacja klienta DHCP, opisan± w draft-ietf-dhc-dhcp-09
25 (kiedy nie podaje siê opcji -r) oraz RFC1544 (kiedy podaje siê opcjê -r).
26
27 Pobiera on informacjê o komputerze (adres IP, maska sieci, adres
28 rozg³oszeniowy itd.) i konfiguruje interfejs sieciowy maszyny, na której
29 jest uruchomiony. Próbuje równie¿ od¶wiezyæ czas przestoju zgodnie z
30 RFC1541 oraz draft-ietf-dhc-dhcp-09.
31
32 %prep
33 %setup -q -n dhcpcd-1.3.18-pl7
34 %patch -p1
35
36 %build
37 autoconf
38 %configure
39 make
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 make install DESTDIR=$RPM_BUILD_ROOT
45
46 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \
47         README
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README.gz
55 %attr(755,root,root) /sbin/dhcpcd
56 %{_mandir}/man8/dhcpcd.8.gz
This page took 0.053735 seconds and 3 git commands to generate.