]> git.pld-linux.org Git - packages/dhcpcd.git/blobdiff - dhcpcd.spec
- obsolete, its included in version 2.0.0 sources
[packages/dhcpcd.git] / dhcpcd.spec
index fa37ad4c6268c8245c54f3e0357592ac9be462fd..99cd3ee6dc37d1dce42c6193985e1a2a6067b650 100644 (file)
@@ -1,18 +1,22 @@
-%define                ver     1.3.19-pl7
+# TODO:
+# - review Gentoo patches: http://www.gentoo.org/cgi-bin/viewcvs.cgi/net-misc/dhcpcd/files/
 Summary:       DHCP Client Daemon
 Summary(de):   DHCPC-Dämon
+Summary(es):   Cliente (daemon) DHCP
 Summary(fr):   Démon DHCPC
 Summary(pl):   Klient (daemon) DHCP
+Summary(pt_BR):        Servidor DHCPC
 Summary(tr):   DHCPC sunucu süreçi (daemon)
 Name:          dhcpcd
-Version:       1.3.19pl7
-Release:       1
-License:       GPL
+Version:       2.0.0
+Release:       0.1
+License:       GPL v2
 Group:         Networking/Daemons
-Group(pl):     Sieciowe/Serwery
-Source0:       http://www.phystech.com/ftp/%{name}-%{ver}.tar.gz
-Patch0:                dhcpcd-configure.patch
-Vendor:                Sergei Viznyuk <sv@phystech.com>
+Source0:       http://download.berlios.de/dhcpcd/%{name}-%{version}.tar.bz2
+# Source0-md5: b84d34a44b6667ea012e0aad4f9d71bd
+Patch0:                %{name}-ntpdrift-66136.patch
+Patch1:                %{name}-paths_fixes.patch
+URL:           http://developer.berlios.de/projects/dhcpcd/
 BuildRequires: automake
 BuildRequires: autoconf
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,13 +25,13 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 dhcpcd is an implementation of the DHCP client specified in
-draft-ietf-dhc-dhcp-09 (when -r option is not specified) and RFC1541
+draft-ietf-dhc-dhcp-09 (when -r option is not specified) and RFC1541
 (when -r option is specified).
 
-It gets the host information (IP address, netmask, broad- cast
-address, etc.) from a DHCP server and configures the network interface
-of the machine on which it is running. It also tries to renew the
-lease time according to RFC1541 or draft-ietf-dhc-dhcp-09.
+It gets the host information (IP address, netmask, broadcast address,
+etc.) from a DHCP server and configures the network interface of the
+machine on which it is running. It also tries to renew the lease time
+according to RFC1541 or draft-ietf-dhc-dhcp-09.
 
 %description -l de
 dhcpcd ist eine Implementierung des DHCP-Client, spezifiziert in
@@ -39,10 +43,19 @@ usw.) von einem DHCP-Server und konfiguriert die Netzschnittstelle des
 Computers, auf dem es läuft Es versucht, die Verleihzeit gemäß RFC1541
 bzw. draft-ietf-dhc-dhcp-09 zu verlängern.
 
+%description -l es
+dhcpcd es una implementación del cliente DHCP especificado en
+draft-ietf-dhc-dhcp-09 (cuando la opción -r no está especificada) y
+RFC1541 (cuando la opción -r está especificada). Captura la
+información del host (dirección IP, máscara de red, dirección de
+broadcast, etc.) de un servidor DHCP y configura la interface de red
+de la máquina donde esté ejecutando. También intenta renovar el tiempo
+de alquiler de los direcciones de acuerdo con RFC1541 o
+draft-ietf-dhc-dhcp-09.
+
 %description -l fr
 dhcpcd est une implantation du client DHCP spécifié dans les
-draft-ietf-dhc-dhcp-09 (sans l'option -r) et RFC1541 (avec l'option
--r).
+draft-ietf-dhc-dhcp-09 (sans l'option -r) et RFC1541 (avec l'option -r).
 
 Il obtient l'information sur l'hôte (adresse IP, masque réseau,
 adresse de diffusion, etc.) à partir d'un serveur DHCP et configure
@@ -57,9 +70,18 @@ draft-ietf-dhc-dhcp-09 (kiedy nie podaje si
 
 Pobiera on informacjê o komputerze (adres IP, maska sieci, adres
 rozg³oszeniowy itd.) i konfiguruje interfejs sieciowy maszyny, na
-której jest uruchomiony. Próbuje równie¿ od¶wiezyæ czas przestoju
+której jest uruchomiony. Próbuje równie¿ od¶wie¿yæ czas przestoju
 zgodnie z RFC1541 oraz draft-ietf-dhc-dhcp-09.
 
+%description -l pt_BR
+dhcpcd é uma implementação do cliente DHCP especificado em
+draft-ietf-dhc-dhcp-09 (quando a opção -r não é especificada) e
+RFC1541 (quando a opção -r é especificada). Ele captura a informação
+do host (endereço IP, máscara de rede, endereço de broadcast, etc.) de
+um servidor DHCP e configura a interface de rede da máquina em que
+está rodando. Ele também tenta renovar o tempo de aluguel dos
+endereços de acordo com RFC1541 ou draft-ietf-dhc-dhcp-09.
+
 %description -l tr
 Makina bilgilerini (IP adresi, að maskesi, yayýn adresi, vb.) bir DHCP
 sunucusundan alýr ve üzerinde çalýþtýðý makinanýn að arayüzünü
@@ -67,23 +89,28 @@ ayarlar. Ayr
 kira zamanýný (lease time) yenilemeye çalýþýr.
 
 %prep
-%setup -q -n %{name}-%{ver}
-%patch -p1
+%setup -q
+%patch0 -p0
+%patch1 -p0
 
 %build
-rm -f config.cache
-automake -a -c -i
-aclocal
-autoconf
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
-%{__make}
+%{__make} all \
+       mandir=%{_mandir} \
+       sbindir=%{_sbindir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_var}/lib/dhcpc
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/dhcpc
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       mandir=%{_mandir} \
+       sbindir=%{_sbindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -91,6 +118,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README AUTHORS ChangeLog NEWS
-%dir %{_sysconfdir}/dhcpc
 %attr(755,root,root) %{_sbindir}/dhcpcd
+%dir %{_var}/lib/dhcpc
 %{_mandir}/man8/dhcpcd.8*
This page took 0.051932 seconds and 4 git commands to generate.