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
18 Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}-%{preversion}.tar.gz
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
22 Packager: PlanetLab Central <support@planet-lab.org>
23 Distribution: PlanetLab %{plrelease}
24 URL: %(echo %{url} | cut -d ' ' -f 2)
25 #URL: http://people.suug.ch/~tgr/libnl/
27 BuildRequires: doxygen
28 #Patch3: libnl-1.0-pre6-static.patch
29 #Patch4: libnl-1.0-pre5-__u64_x86_64.patch
30 #Patch5: libnl-1.0-pre6-debuginfo.patch
33 This package contains a convenience library to simplify
34 using the Linux kernel's netlink sockets interface for
38 Summary: Libraries and headers for using libnl
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
43 This package contains various headers for using libnl
47 %setup -q -n libnl-%{version}-%{preversion}
57 %{__rm} -rf $RPM_BUILD_ROOT
58 make install DESTDIR=$RPM_BUILD_ROOT
60 %{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
63 exec_prefix=%{_prefix}
65 includedir=%{_includedir}
68 Description: Convenience library for netlink sockets
69 Version: %{version}-%{release}
70 Libs: -L%{_libdir} -lnl
74 %{__install} -m 644 libnl-1.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
77 %{__rm} -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
84 %{_libdir}/%{name}.so.*
88 %defattr(-,root,root,0755)
89 %{_includedir}/netlink/
93 %{_libdir}/pkgconfig/%{name}-1.pc
96 * Thu Jul 26 2007 Daniel Hokka Zakrisson <daniel@hozac.com> - 1.0-0.11.pre6
99 * Mon Aug 14 2006 Peter Jones <pjones@redhat.com> - 1.0-0.10.pre5.4
100 - Fix nl_recv() for ppc64
102 * Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.10.pre5.3
103 - unbreak the pkgconfig file
105 * Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 1.0-0.10.pre5.2
106 - Fix the pkgconfig file on 64-bit systems (#197176)
108 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.10.pre5.1
111 * Thu Jun 15 2006 Peter Jones <pjones@redhat.com> 1.0-0.10.pre5
112 - Fix debuginfo generation.
114 * Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> 1.0-0.9.pre5
115 - Allow build to succeed with new gcc / glibc-kernheaders
116 (compile failed on __u64 redefinition on x86_64).
117 - Add a static %{_libdir}/libnl.a library to libnl-devel for
118 programs that might need to do a static link to libnl.
119 Added after consultation with Christopher Aillon.
121 * Tue Feb 12 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.8.pre5
124 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0-0.7.pre5.1
125 - rebuilt for new gcc4.1 snapshot and glibc changes
127 * Mon Jan 16 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.7.pre5
128 - Add patch to not chown files to root.root during make install; it
131 * Mon Jan 9 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.6.pre5
132 - Correctly install the pkgconfig file
134 * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
137 * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.5.pre5
138 - Fix 64bit LIBDIR issue; use $LIBDIR instead of $PREFIX/lib
140 * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.4.pre5
143 * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.3.pre4
146 * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.2.pre3
147 - Minor specfile cleanup
149 * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.1.pre3
150 - Split into main and devel packages
152 * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.0.pre3