X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dhcpcd.spec;h=a3c3f91162029b9b7a80fa433622e2c8f45cebeb;hb=30664d54c5c5972364d936499f6a13a3dbb5123a;hp=0ef3a2867827a09b9bca9a6565b8e514fc9d6965;hpb=7686b111795a46ffb1275af2610ae9292df8ae51;p=packages%2Fdhcpcd.git diff --git a/dhcpcd.spec b/dhcpcd.spec index 0ef3a28..a3c3f91 100644 --- a/dhcpcd.spec +++ b/dhcpcd.spec @@ -6,16 +6,17 @@ Summary(pl.UTF-8): Klient (daemon) DHCP Summary(pt_BR.UTF-8): Servidor DHCPC Summary(tr.UTF-8): DHCPC sunucu süreçi (daemon) Name: dhcpcd -Version: 5.0.6 +Version: 5.1.1 Release: 1 License: BSD Group: Networking/Daemons Source0: http://roy.marples.name/downloads/dhcpcd/%{name}-%{version}.tar.bz2 -# Source0-md5: 600716ddbfa2525a7ef7ae0968a8158a +# Source0-md5: 7bb70885ffb1789634a20431ae4d5bbd URL: http://roy.marples.name/dhcpcd BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sbindir /sbin +%define _libexecdir %{_libdir}/%{name} %description dhcpcd is an implementation of the DHCP client specified in @@ -87,25 +88,17 @@ kira zamanını (lease time) yenilemeye çalışır. %setup -q %build -%{__make} \ - CC="%{__cc}" \ - CFLAGS="%{rpmcflags}" \ - LDFLAGS="%{rpmcflags} %{rpmldflags}" \ - mandir=%{_mandir} \ - sbindir=%{_sbindir} \ - LIBEXECDIR=%{_libdir}/%{name} \ - DBDIR=/var/lib/dhcpcd +%configure \ + --dbdir=%{_sharedstatedir}/dhcpcd + +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_sysconfdir},/var/lib/dhcpcd} +install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sharedstatedir}/dhcpcd} %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT \ - mandir=%{_mandir} \ - sbindir=%{_sbindir} \ - LIBEXECDIR=%{_libdir}/%{name} \ - DBDIR=/var/lib/dhcpcd + DESTDIR=$RPM_BUILD_ROOT touch $RPM_BUILD_ROOT%{_sysconfdir}/dhcpcd.{enter-hook,exit-hook} @@ -121,5 +114,5 @@ rm -rf $RPM_BUILD_ROOT %dir %{_libdir}/%{name}/dhcpcd-hooks %attr(755,root,root) %{_libdir}/%{name}/dhcpcd-hooks/* %attr(755,root,root) %{_libdir}/%{name}/dhcpcd-run-hooks -%dir %{_var}/lib/dhcpcd -%{_mandir}/man[58]/dhcpcd*.[58]* +%dir %{_sharedstatedir}/dhcpcd +%{_mandir}/man?/dhcpcd*.*