================================ libnl:source=1.1-1 cvc rdiff libnl -1 /weasel.rpath.org@wgl:3-devel/1.1-1 ================================ 1.1-1 Filip Brcic (brcha@xxxxxxx) Sat Jan 23 08:33:24 2010 Automatic promote by rBuild. libnl-1.pc: new --- /dev/null +++ libnl-1.pc @@ -0,0 +10 @@ +prefix=/usr +exec_prefix=/usr +libdir=/usr/lib +includedir=/usr/include + +Name: libnl +Description: Convenience library for netlink sockets +Version: 1.0-pre3 +Libs: -L${libdir} -lnl +Cflags: libnl-1.0-pre8-use-vasprintf-retval.patch: new libnl-1.1-include-limits-h.patch: new libnl-1.0-pre8-more-build-output.patch: new libnl-1.1-doc-inlinesrc.patch: new libnl-1.1-5.fc10.src.rpm: new libnl-1.0-pre5-static.patch: new libnl.recipe: new --- /dev/null +++ libnl.recipe @@ -0,0 +45 @@ +# +# Copyright (c) 2006 rPath, Inc. +# This file is distributed under the terms of the MIT License. +# A copy is available at http://www.rpath.com/permanent/mit-license.html +# + +loadSuperClass('rpmpackage') +class Libnl(RPMPackageRecipe, AutoPackageRecipe): + name = 'libnl' + version = '1.1' + + buildRequires = [] + + rpmRelease = '5.fc10' + + rpmPatches = [ + 'libnl-1.0-pre5-static.patch', + 'libnl-1.0-pre5-debuginfo.patch', + 'libnl-1.0-pre8-use-vasprintf-retval.patch', + 'libnl-1.0-pre8-more-build-output.patch', + 'libnl-1.1-include-limits-h.patch', + 'libnl-1.1-doc-inlinesrc.patch' + ] + + packageSummary = 'Convenience library for kernel netlink sockets' + packageDescription = """ +This package contains a convenience library to simplify +using the Linux kernel's netlink sockets interface for +network manipulation +""" + + def unpack(r): + RPMPackageRecipe.unpack(r) + + if Arch.x86_64: + # First build 32bit version + macros32 = r.macros.copy() + macros32.cc = '"gcc -m32"' + macros32.cxx = '"g++ -m32"' + macros32.libdir = '%(prefix)s/lib' + r.Run('cp -a %(builddir)s %(builddir)s/../32bit') + r.Configure(dir='../32bit', overrideMacros=macros32) + r.Make(dir='../32bit', overrideMacros=macros32) + r.MakeInstall(dir='../32bit', overrideMacros=macros32) + r.NormalizePkgConfig(exceptions='.*') libnl-1.0-pre5-debuginfo.patch: new Committed by: brcha