From c588390cd8af94b941d6a475b4539dadb8d08d81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sun, 3 Feb 2008 19:20:47 +0000 Subject: [PATCH] - install libdhcp4client headers Changed files: dhcp.spec -> 1.157 --- dhcp.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dhcp.spec b/dhcp.spec index f8b6428..76c9355 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -248,6 +248,15 @@ install server/dhcpd.conf $RPM_BUILD_ROOT%{_sysconfdir} install %{SOURCE10} $RPM_BUILD_ROOT%{schemadir} %endif +# Install headers for libdhcp4client-devel +install -d $RPM_BUILD_ROOT%{_includedir}/dhcp4client/minires +install -p -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_includedir}/dhcp4client +for hdr in cdefs.h ctrace.h dhcp.h dhcp6.h dhcpd.h dhctoken.h failover.h \ + heap.h inet.h minires/minires.h minires/res_update.h \ + minires/resolv.h osdep.h site.h statement.h tree.h ; do + install -p -m 0644 includes/${hdr} $RPM_BUILD_ROOT%{_includedir}/dhcp4client/${hdr} +done + touch $RPM_BUILD_ROOT%{_sysconfdir}/dhclient.conf touch $RPM_BUILD_ROOT/var/lib/%{name}/dhcpd.leases @@ -375,6 +384,7 @@ fi %files -n libdhcp4client-devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libdhcp4client.so +%{_includedir}/dhcp4client %{_pkgconfigdir}/libdhcp4client.pc %{_libdir}/libdhcp4client.la -- 2.44.0