2 Summary: Library for netlink sockets
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: libnl2.manifest
13 This is a library for applications dealing with netlink sockets.
14 The library provides an interface for raw netlink messaging and various
15 netlink family specific interfaces.
18 Summary: Development library and headers for libnl2
19 Group: Development/Libraries
20 Requires: %{name} = %{version}-%{release}
23 This is a library for applications dealing with netlink sockets.
24 The library provides an interface for raw netlink messaging and various
25 netlink family specific interfaces.
26 This package contains all files that are needed to build applications using
43 mkdir -p %{buildroot}/usr/share/license
44 cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
45 rm -f %{buildroot}/etc/libnl/pktloc
48 %post -p /sbin/ldconfig
50 %postun -p /sbin/ldconfig
53 %manifest %{name}.manifest
54 %defattr(-,root,root,-)
55 %{_libdir}/libnl*.so.*
56 /usr/share/license/%{name}
59 %manifest %{name}.manifest
60 %defattr(-,root,root,-)
62 %{_libdir}/pkgconfig/*