[521] | 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 |
---|
[1957] | 7 | Release: 3%{?_dist_release} |
---|
[521] | 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 | |
---|
[982] | 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Packager: daisuke |
---|
| 22 | |
---|
[521] | 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 |
---|
[1957] | 79 | * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.1-3 |
---|
| 80 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 81 | |
---|
[982] | 82 | * Wed May 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2 |
---|
| 83 | - rebuild with new toolchain |
---|
| 84 | |
---|
[521] | 85 | * Wed Jul 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1 |
---|
| 86 | - initial build for Vine Linux |
---|
| 87 | |
---|
| 88 | * Fri Jun 27 2008 Dan Williams <dcbw@redhat.com> - 1.1-5 |
---|
| 89 | - Build documentation in -devel package (rh #452646) |
---|
| 90 | |
---|
| 91 | * Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1-4 |
---|
| 92 | - fix license tag |
---|
| 93 | |
---|
| 94 | * Fri Feb 22 2008 Dan Williams <dcbw@redhat.com> - 1.1-3 |
---|
| 95 | - Include limits.h to fix gcc 4.3 rebuild issues (rh #434055) |
---|
| 96 | |
---|
| 97 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2 |
---|
| 98 | - Autorebuild for GCC 4.3 |
---|
| 99 | |
---|
| 100 | * Wed Jan 23 2008 Dan Williams <dcbw@redhat.com> - 1.1-1 |
---|
| 101 | - Update to version 1.1 |
---|
| 102 | |
---|
| 103 | * Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.15.pre8.git20071218 |
---|
| 104 | - Handle removal of include/linux/ip_mp_alg.h in 2.6.24 |
---|
| 105 | |
---|
| 106 | * Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.14.pre8.git20071217 |
---|
| 107 | - devel package should require kernel-headers |
---|
| 108 | |
---|
| 109 | * Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.13.pre8.git20071217 |
---|
| 110 | - Add dist tag to revision |
---|
| 111 | |
---|
| 112 | * Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.12.pre8.git20071217 |
---|
| 113 | - Update to -pre8 + fixes (rh #401761) |
---|
| 114 | |
---|
| 115 | * Mon Aug 14 2006 Peter Jones <pjones@redhat.com> - 1.0-0.10.pre5.4 |
---|
| 116 | - Fix nl_recv() for ppc64 |
---|
| 117 | |
---|
| 118 | * Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.10.pre5.3 |
---|
| 119 | - unbreak the pkgconfig file |
---|
| 120 | |
---|
| 121 | * Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 1.0-0.10.pre5.2 |
---|
| 122 | - Fix the pkgconfig file on 64-bit systems (#197176) |
---|
| 123 | |
---|
| 124 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.10.pre5.1 |
---|
| 125 | - rebuild |
---|
| 126 | |
---|
| 127 | * Thu Jun 15 2006 Peter Jones <pjones@redhat.com> 1.0-0.10.pre5 |
---|
| 128 | - Fix debuginfo generation. |
---|
| 129 | |
---|
| 130 | * Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> 1.0-0.9.pre5 |
---|
| 131 | - Allow build to succeed with new gcc / glibc-kernheaders |
---|
| 132 | (compile failed on __u64 redefinition on x86_64). |
---|
| 133 | - Add a static %{_libdir}/libnl.a library to libnl-devel for |
---|
| 134 | programs that might need to do a static link to libnl. |
---|
| 135 | Added after consultation with Christopher Aillon. |
---|
| 136 | |
---|
| 137 | * Tue Feb 12 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.8.pre5 |
---|
| 138 | - Rebuild |
---|
| 139 | |
---|
| 140 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0-0.7.pre5.1 |
---|
| 141 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 142 | |
---|
| 143 | * Mon Jan 16 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.7.pre5 |
---|
| 144 | - Add patch to not chown files to root.root during make install; it |
---|
| 145 | happens normally. |
---|
| 146 | |
---|
| 147 | * Mon Jan 9 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.6.pre5 |
---|
| 148 | - Correctly install the pkgconfig file |
---|
| 149 | |
---|
| 150 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 151 | - rebuilt |
---|
| 152 | |
---|
| 153 | * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.5.pre5 |
---|
| 154 | - Fix 64bit LIBDIR issue; use $LIBDIR instead of $PREFIX/lib |
---|
| 155 | |
---|
| 156 | * Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.4.pre5 |
---|
| 157 | - Update to 1.0-pre5 |
---|
| 158 | |
---|
| 159 | * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.3.pre4 |
---|
| 160 | - Update to 1.0-pre4 |
---|
| 161 | |
---|
| 162 | * Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.2.pre3 |
---|
| 163 | - Minor specfile cleanup |
---|
| 164 | |
---|
| 165 | * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.1.pre3 |
---|
| 166 | - Split into main and devel packages |
---|
| 167 | |
---|
| 168 | * Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.0.pre3 |
---|
| 169 | - initial build |
---|