]> git.pld-linux.org Git - packages/dhcpcd.git/blobdiff - dhcpcd.spec
- ??? License is (2-clause) BSD
[packages/dhcpcd.git] / dhcpcd.spec
index 86e4716367e831e3a33db0202f1fbffa1f7f17e8..deb1a9412e104abbb54c7a548fd47a3e45cbf729 100644 (file)
@@ -6,15 +6,15 @@ 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:       3.1.5
+Version:       4.0.5
 Release:       1
-License:       GPL v2
+License:       BSD
 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: 2a0070088d07371d99a9929355af855f
-Patch0:                %{name}-ntp-path.patch
-URL:           http://developer.berlios.de/projects/dhcpcd/
+Source0:       http://roy.marples.name/downloads/dhcpcd/%{name}-%{version}.tar.bz2
+# Source0-md5: 4897c11180e0c4880810673a3acb85d6
+Patch0:                %{name}-daemon_facility.patch
+URL:           http://roy.marples.name/dhcpcd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sbindir        /sbin
@@ -87,7 +87,7 @@ kira zamanını (lease time) yenilemeye çalışır.
 
 %prep
 %setup -q
-%patch0 -p1
+%patch0 -p0
 
 %build
 %{__make} \
@@ -95,23 +95,34 @@ kira zamanını (lease time) yenilemeye çalışır.
        CFLAGS="%{rpmcflags}" \
        LDFLAGS="%{rpmcflags} %{rpmldflags}" \
        mandir=%{_mandir} \
-       sbindir=%{_sbindir}
+       sbindir=%{_sbindir} \
+       LIBEXECDIR=%{_libdir}/%{name} \
+       DBDIR=/var/lib/dhcpcd
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/var/lib/dhcpc
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},/var/lib/dhcpcd}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        mandir=%{_mandir} \
-       sbindir=%{_sbindir}
+       sbindir=%{_sbindir} \
+       LIBEXECDIR=%{_libdir}/%{name} \
+       DBDIR=/var/lib/dhcpcd
+
+touch $RPM_BUILD_ROOT%{_sysconfdir}/dhcpcd.{enter-hook,exit-hook}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
+%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*-hook
 %attr(755,root,root) %{_sbindir}/dhcpcd
-%dir %{_var}/lib/dhcpc
-%{_mandir}/man8/dhcpcd.8*
+%dir %{_libdir}/%{name}
+%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]*
This page took 0.053777 seconds and 4 git commands to generate.