SPECS: dhcp.spec - install libdhcp4client headers

arekm arekm at pld-linux.org
Sun Feb 3 20:20:52 CET 2008


Author: arekm                        Date: Sun Feb  3 19:20:52 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install libdhcp4client headers

---- Files affected:
SPECS:
   dhcp.spec (1.156 -> 1.157) 

---- Diffs:

================================================================
Index: SPECS/dhcp.spec
diff -u SPECS/dhcp.spec:1.156 SPECS/dhcp.spec:1.157
--- SPECS/dhcp.spec:1.156	Sun Feb  3 20:12:54 2008
+++ SPECS/dhcp.spec	Sun Feb  3 20:20:47 2008
@@ -249,6 +249,15 @@
 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
@@ -376,6 +385,7 @@
 %files -n libdhcp4client-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libdhcp4client.so
+%{_includedir}/dhcp4client
 %{_pkgconfigdir}/libdhcp4client.pc
 %{_libdir}/libdhcp4client.la
 
@@ -389,6 +399,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.157  2008-02-03 19:20:47  arekm
+- install libdhcp4client headers
+
 Revision 1.156  2008-02-03 19:12:54  arekm
  - fix patch0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dhcp.spec?r1=1.156&r2=1.157&f=u



More information about the pld-cvs-commit mailing list