1 | Summary: Convenience library for kernel netlink sockets |
---|
2 | Summary(ja): Kernel の netlink ソケットを利用するための便利ライブラリ |
---|
3 | Group: Development/Libraries |
---|
4 | License: LGPLv2 |
---|
5 | Name: libnl |
---|
6 | Version: 1.1 |
---|
7 | Release: 2%{?_dist_release} |
---|
8 | URL: http://people.suug.ch/~tgr/libnl/ |
---|
9 | Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | BuildRequires: doxygen |
---|
12 | Patch1: libnl-1.0-pre5-static.patch |
---|
13 | Patch2: libnl-1.0-pre5-debuginfo.patch |
---|
14 | Patch3: libnl-1.0-pre8-use-vasprintf-retval.patch |
---|
15 | Patch4: libnl-1.0-pre8-more-build-output.patch |
---|
16 | Patch5: libnl-1.1-include-limits-h.patch |
---|
17 | Patch6: libnl-1.1-doc-inlinesrc.patch |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | Packager: daisuke |
---|
22 | |
---|
23 | %description |
---|
24 | This package contains a convenience library to simplify |
---|
25 | using the Linux kernel's netlink sockets interface for |
---|
26 | network manipulation |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: Libraries and headers for using libnl |
---|
30 | Summary(ja): Libraries and headers for using libnl |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | Requires: kernel-headers |
---|
34 | |
---|
35 | %description devel |
---|
36 | This package contains various headers for using libnl |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q -n %{name}-%{version} |
---|
40 | %patch1 -p1 -b .build-static |
---|
41 | %patch2 -p1 -b .debuginfo |
---|
42 | %patch3 -p1 -b .use-vasprintf-retval |
---|
43 | %patch4 -p1 -b .more-build-output |
---|
44 | %patch5 -p1 -b .limits |
---|
45 | %patch6 -p1 -b .doc-inlinesrc |
---|
46 | |
---|
47 | # a quick hack to make doxygen stripping builddir from html outputs. |
---|
48 | sed -i.org -e "s,^STRIP_FROM_PATH.*,STRIP_FROM_PATH = `pwd`," doc/Doxyfile.in |
---|
49 | |
---|
50 | %build |
---|
51 | %configure |
---|
52 | make |
---|
53 | make gendoc |
---|
54 | |
---|
55 | %install |
---|
56 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
57 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
58 | |
---|
59 | %clean |
---|
60 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | %post -p /sbin/ldconfig |
---|
63 | %postun -p /sbin/ldconfig |
---|
64 | |
---|
65 | %files |
---|
66 | %defattr(-,root,root) |
---|
67 | %{_libdir}/%{name}.so.* |
---|
68 | %doc COPYING |
---|
69 | |
---|
70 | %files devel |
---|
71 | %defattr(-,root,root,0755) |
---|
72 | %{_includedir}/netlink/ |
---|
73 | %doc doc/html |
---|
74 | %{_libdir}/%{name}.so |
---|
75 | %{_libdir}/%{name}.a |
---|
76 | %{_libdir}/pkgconfig/%{name}-1.pc |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Wed May 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2 |
---|
80 | - rebuild with new toolchain |
---|
81 | |
---|
82 | * Wed Jul 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1 |
---|
83 | - initial build for Vine Linux |
---|
84 | |
---|
85 | * Fri Jun 27 2008 Dan Williams <dcbw@redhat.com> - 1.1-5 |
---|
86 | - Build documentation in -devel package (rh #452646) |
---|
87 | |
---|
88 | * Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1-4 |
---|
89 | - fix license tag |
---|
90 | |
---|
91 | * Fri Feb 22 2008 Dan Williams <dcbw@redhat.com> - 1.1-3 |
---|
92 | - Include limits.h to fix gcc 4.3 rebuild issues (rh #434055) |
---|
93 | |
---|
94 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2 |
---|
95 | - Autorebuild for GCC 4.3 |
---|
96 | |
---|
97 | * Wed Jan 23 2008 Dan Williams <dcbw@redhat.com> - 1.1-1 |
---|
98 | - Update to version 1.1 |
---|
99 | |
---|
100 | * Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.15.pre8.git20071218 |
---|
101 | - Handle removal of include/linux/ip_mp_alg.h in 2.6.24 |
---|
102 | |
---|
103 | * Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.14.pre8.git20071217 |
---|
104 | - devel package should require kernel-headers |
---|
105 | |
---|
106 | * Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.13.pre8.git20071217 |
---|
107 | - Add dist tag to revision |
---|
108 | |
---|
109 | * Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.12.pre8.git20071217 |
---|
110 | - Update to -pre8 + fixes (rh #401761) |
---|
111 | |
---|
112 | * Mon Aug 14 2006 Peter Jones <pjones@redhat.com> - 1.0-0.10.pre5.4 |
---|
113 | - Fix nl_recv() for ppc64 |
---|
114 | |
---|
115 | * Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.10.pre5.3 |
---|
116 | - unbreak the pkgconfig file |
---|
117 | |
---|
118 | * Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 1.0-0.10.pre5.2 |
---|
119 | - Fix the pkgconfig file on 64-bit systems (#197176) |
---|
120 | |
---|
121 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.10.pre5.1 |
---|
122 | - rebuild |
---|
123 | |
---|
124 | * Thu Jun 15 2006 Peter Jones <pjones@redhat.com> 1.0-0.10.pre5 |
---|
125 | - Fix debuginfo generation. |
---|
126 | |
---|
127 | * Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> 1.0-0.9.pre5 |
---|
128 | - Allow build to succeed with new gcc / glibc-kernheaders |
---|
129 | (compile failed on __u64 redefinition on x86_64). |
---|
130 | - Add a static %{_libdir}/libnl.a library to libnl-devel for |
---|
131 | programs that might need to do a static link to libnl. |
---|
132 | Added after consultation with Christopher Aillon. |
---|
133 | |
---|
134 | * Tue Feb 12 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.8.pre5 |
---|
135 | - Rebuild |
---|
136 | |
---|
137 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0-0.7.pre5.1 |
---|
138 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
139 | |
---|
140 | * Mon Jan 16 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.7.pre5 |
---|
141 | - Add patch to not chown files to root.root during make install; it |
---|
142 | happens normally. |
---|
143 | |
---|
144 | * Mon Jan 9 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.6.pre5 |
---|
145 | - Correctly install the pkgconfig file |
---|
146 | |
---|
147 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
148 | - rebuilt |
---|
149 | |
---|
150 | * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.5.pre5 |
---|
151 | - Fix 64bit LIBDIR issue; use $LIBDIR instead of $PREFIX/lib |
---|
152 | |
---|
153 | * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.4.pre5 |
---|
154 | - Update to 1.0-pre5 |
---|
155 | |
---|
156 | * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.3.pre4 |
---|
157 | - Update to 1.0-pre4 |
---|
158 | |
---|
159 | * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.2.pre3 |
---|
160 | - Minor specfile cleanup |
---|
161 | |
---|
162 | * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.1.pre3 |
---|
163 | - Split into main and devel packages |
---|
164 | |
---|
165 | * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.0.pre3 |
---|
166 | - initial build |
---|