]> git.pld-linux.org Git - packages/dhcpcd.git/blobdiff - dhcpcd.spec
- add CC
[packages/dhcpcd.git] / dhcpcd.spec
index 7bd425f5707019c894897c5a02d5dc0762e667ba..5b8b26fcee868a6837d70987a9f03720d5afc5ec 100644 (file)
@@ -6,16 +6,17 @@ Summary(pl):  Klient (daemon) DHCP
 Summary(pt_BR):        Servidor DHCPC
 Summary(tr):   DHCPC sunucu süreçi (daemon)
 Name:          dhcpcd
-Version:       2.0.1
-Release:       2
+Version:       3.0.3
+Release:       1
 License:       GPL v2
 Group:         Networking/Daemons
+#Source0Download: http://developer.berlios.de/project/filelist.php?group_id=4229
 Source0:       http://download.berlios.de/dhcpcd/%{name}-%{version}.tar.bz2
-# Source0-md5: c5766aafd51f581c2b2c8620b26f5e02
-Patch0:                %{name}-ntpdrift-66136.patch
+# Source0-md5: b85b81abf1f7fc9bf4335aa842b0d2cb
+Patch0:                %{name}-ntp-path.patch
 URL:           http://developer.berlios.de/projects/dhcpcd/
-BuildRequires: automake
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sbindir        /sbin
@@ -52,7 +53,8 @@ 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
@@ -90,18 +92,16 @@ kira zaman
 %patch0 -p0
 
 %build
-rm -f missing
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-%configure
-%{__make} all \
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}" \
        mandir=%{_mandir} \
        sbindir=%{_sbindir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_var}/lib/dhcpc
+install -d $RPM_BUILD_ROOT/var/lib/dhcpc
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
@@ -113,7 +113,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README AUTHORS ChangeLog NEWS
+%doc ChangeLog
 %attr(755,root,root) %{_sbindir}/dhcpcd
 %dir %{_var}/lib/dhcpc
 %{_mandir}/man8/dhcpcd.8*
This page took 0.059952 seconds and 4 git commands to generate.