9 %define preversion pre6
11 %define release %{taglevel}.%{preversion}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
13 Summary: Convenience library for kernel netlink sockets
14 Group: Development/Libraries
19 Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}-%{preversion}.tar.gz
20 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
23 Packager: PlanetLab Central <support@planet-lab.org>
24 Distribution: PlanetLab %{plrelease}
25 URL: %(echo %{url} | cut -d ' ' -f 2)
26 #URL: http://people.suug.ch/~tgr/libnl/
28 BuildRequires: doxygen
29 #Patch3: libnl-1.0-pre6-static.patch
30 #Patch4: libnl-1.0-pre5-__u64_x86_64.patch
31 #Patch5: libnl-1.0-pre6-debuginfo.patch
34 This package contains a convenience library to simplify
35 using the Linux kernel's netlink sockets interface for
39 Summary: Libraries and headers for using libnl
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
44 This package contains various headers for using libnl
48 %setup -q -n libnl-%{version}-%{preversion}
58 %{__rm} -rf $RPM_BUILD_ROOT
59 make install DESTDIR=$RPM_BUILD_ROOT
61 %{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
64 exec_prefix=%{_prefix}
66 includedir=%{_includedir}
69 Description: Convenience library for netlink sockets
70 Version: %{version}-%{release}
71 Libs: -L%{_libdir} -lnl
75 %{__install} -m 644 libnl-1.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
78 %{__rm} -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
85 %{_libdir}/%{name}.so.*
89 %defattr(-,root,root,0755)
90 %{_includedir}/netlink/
94 %{_libdir}/pkgconfig/%{name}-1.pc
97 * Thu Jul 26 2007 Daniel Hokka Zakrisson <daniel@hozac.com> - 1.0-0.11.pre6
100 * Mon Aug 14 2006 Peter Jones <pjones@redhat.com> - 1.0-0.10.pre5.4
101 - Fix nl_recv() for ppc64
103 * Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.10.pre5.3
104 - unbreak the pkgconfig file
106 * Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 1.0-0.10.pre5.2
107 - Fix the pkgconfig file on 64-bit systems (#197176)
109 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.10.pre5.1
112 * Thu Jun 15 2006 Peter Jones <pjones@redhat.com> 1.0-0.10.pre5
113 - Fix debuginfo generation.
115 * Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> 1.0-0.9.pre5
116 - Allow build to succeed with new gcc / glibc-kernheaders
117 (compile failed on __u64 redefinition on x86_64).
118 - Add a static %{_libdir}/libnl.a library to libnl-devel for
119 programs that might need to do a static link to libnl.
120 Added after consultation with Christopher Aillon.
122 * Tue Feb 12 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.8.pre5
125 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0-0.7.pre5.1
126 - rebuilt for new gcc4.1 snapshot and glibc changes
128 * Mon Jan 16 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.7.pre5
129 - Add patch to not chown files to root.root during make install; it
132 * Mon Jan 9 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.6.pre5
133 - Correctly install the pkgconfig file
135 * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
138 * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.5.pre5
139 - Fix 64bit LIBDIR issue; use $LIBDIR instead of $PREFIX/lib
141 * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.4.pre5
144 * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.3.pre4
147 * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.2.pre3
148 - Minor specfile cleanup
150 * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.1.pre3
151 - Split into main and devel packages
153 * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.0.pre3