SPECS: libdhcp.spec (NEW) - new from fedora

arekm arekm at pld-linux.org
Tue Feb 20 20:41:57 CET 2007


Author: arekm                        Date: Tue Feb 20 19:41:57 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new from fedora

---- Files affected:
SPECS:
   libdhcp.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libdhcp.spec
diff -u /dev/null SPECS/libdhcp.spec:1.1
--- /dev/null	Tue Feb 20 20:41:57 2007
+++ SPECS/libdhcp.spec	Tue Feb 20 20:41:52 2007
@@ -0,0 +1,92 @@
+# $Revision$, $Date$
+Summary:	A library for network interface configuration with DHCP
+Name:		libdhcp
+Version:	1.20
+Release:	1
+License:	GPL
+Group:		Development/Libraries
+Source0:	http://people.redhat.com/dcantrel/libdhcp/%{name}-%{version}.tar.bz2
+# Source0-md5:	02376447afa1130ff2427dfead1a2daf
+URL:		http://people.redhat.com/dcantrel/
+BuildRequires:	dhcp-devel
+BuildRequires:	libdhcp4client-devel >= 12:3.0.4-18
+BuildRequires:	libdhcp6client-devel >= 0.10-38
+BuildRequires:	libnl-devel >= 1.0-0.pre6.1
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libdhcp enables programs to invoke and control the Dynamic Host
+Configuration Protocol (DHCP) clients: the Internet Software
+Consortium (ISC) IPv4 DHCP client library, libdhcp4client, and the
+IPv6 DHCPv6 client library, libdhcp6client, and provides Network
+Interface Configuration (NIC) services for network parameter
+autoconfiguration with DHCP.
+
+%package devel
+Summary:	C header files for development with libdhcp
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libdhcp4client-devel
+Requires:	libdhcp6client-devel
+Requires:	libnl-devel
+
+%description devel
+C header files for development with libdhcp.
+
+%package static
+Summary:	Static libdhcp
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libdhcp.
+
+%prep
+%setup -q
+
+%build
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} \
+	CFLAGS="%{rpmcflags}" \
+	CC="%{__cc}"
+
+%install
+
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	pkgcfgdir=${RPM_BUILD_ROOT}%{_libdir}/pkgconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README COPYING ChangeLog TODO
+%attr(755,root,root) %{_libdir}/libdhcp.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc examples
+%attr(755,root,root) %{_libdir}/libdhcp.so
+%{_includedir}/libdhcp
+%{_pkgconfigdir}/libdhcp.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libdhcp.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/02/20 19:41:52  arekm
+- new from fedora
+
================================================================


More information about the pld-cvs-commit mailing list