X-Git-Url: http://git.onelab.eu/?p=libnl.git;a=blobdiff_plain;f=libnl.spec;h=07562264d62c6c0c06817ae834ee5f34865e1c62;hp=c4632c205fc119fdb2f3d74f3f32b52005778353;hb=19c017659b7c3562c294611f6ac571bfbcb85a30;hpb=4cee2ecb3b8afa0637e6f5fe4c57985a4bc740ff diff --git a/libnl.spec b/libnl.spec index c4632c2..0756226 100644 --- a/libnl.spec +++ b/libnl.spec @@ -1,18 +1,24 @@ -%define preversion pre6 +%define url $URL$ + +%define name libnl +%define version 1.1 +%define taglevel 2 Summary: Convenience library for kernel netlink sockets Group: Development/Libraries License: LGPL -Name: libnl -Version: 1.0 -Release: 0.11.%{preversion} +Name: %{name} +Version: %{version} +Release: %{taglevel}%{?dist} URL: http://people.suug.ch/~tgr/libnl/ -Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}-%{preversion}.tar.gz +Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: doxygen -#Patch3: libnl-1.0-pre6-static.patch -#Patch4: libnl-1.0-pre5-__u64_x86_64.patch -#Patch5: libnl-1.0-pre6-debuginfo.patch +Patch1: libnl-1.0-pre5-static.patch +Patch2: libnl-1.0-pre5-debuginfo.patch +Patch3: libnl-1.0-pre8-use-vasprintf-retval.patch +Patch4: libnl-1.0-pre8-more-build-output.patch +Patch5: libnl-1.0-missing-declaration.patch %description This package contains a convenience library to simplify @@ -23,16 +29,19 @@ network manipulation Summary: Libraries and headers for using libnl Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Requires: kernel-headers %description devel This package contains various headers for using libnl %prep -%setup -q -n libnl-%{version}-%{preversion} -#%patch3 -p1 -#%patch4 -p1 -#%patch5 -p1 +%setup -q -n %{name}-%{version} +%patch1 -p1 -b .build-static +%patch2 -p1 -b .debuginfo +%patch3 -p1 -b .use-vasprintf-retval +%patch4 -p1 -b .more-build-output +%patch5 -p1 -b .missing-declaration %build %configure @@ -42,22 +51,6 @@ make %{__rm} -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ -cat >libnl-1.pc < - 1.0-0.11.pre6 -- Upgrade to pre6 +* Thu Jan 29 2009 Thierry Parmentelat - libnl-1.1-2 +- pull source tarball from planet-lab.org rather than onelab.eu + +* Mon Feb 11 2008 Dan Williams - 1.1-1 +- Update to version 1.1 + +* Tue Dec 18 2007 Dan Williams - 1.0-0.15.pre8.git20071218 +- Handle removal of include/linux/ip_mp_alg.h in 2.6.24 + +* Tue Dec 18 2007 Dan Williams - 1.0-0.14.pre8.git20071217 +- devel package should require kernel-headers + +* Mon Dec 17 2007 Dan Williams - 1.0-0.13.pre8.git20071217 +- Add dist tag to revision + +* Mon Dec 17 2007 Dan Williams - 1.0-0.12.pre8.git20071217 +- Update to -pre8 + fixes (rh #401761) * Mon Aug 14 2006 Peter Jones - 1.0-0.10.pre5.4 - Fix nl_recv() for ppc64