[9000] | 1 | Name: libnl3 |
---|
[6372] | 2 | Summary: Convenience library for kernel netlink sockets |
---|
[9000] | 3 | Summary(ja): Netlink ソケットの利用に便利なライブラリ |
---|
| 4 | Version: 3.2.14 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
[6372] | 8 | License: LGPLv2 |
---|
| 9 | URL: http://www.infradead.org/~tgr/libnl/ |
---|
[9000] | 10 | |
---|
[6372] | 11 | Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz |
---|
[9000] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}--root |
---|
[7027] | 13 | BuildRequires: flex |
---|
| 14 | BuildRequires: bison |
---|
[6372] | 15 | |
---|
| 16 | %description |
---|
| 17 | This package contains a convenience library to simplify |
---|
| 18 | using the Linux kernel's netlink sockets interface for |
---|
| 19 | network manipulation |
---|
| 20 | |
---|
| 21 | %package devel |
---|
| 22 | Summary: Libraries and headers for using libnl3 |
---|
[9000] | 23 | Summary(ja): Libnl3 の開発用ファイル |
---|
[6372] | 24 | Group: Development/Libraries |
---|
| 25 | Requires: %{name} = %{version}-%{release} |
---|
| 26 | Requires: %{name}-cli = %{version}-%{release} |
---|
| 27 | Requires: kernel-headers |
---|
| 28 | |
---|
| 29 | %description devel |
---|
| 30 | This package contains various headers for using libnl3 |
---|
| 31 | |
---|
| 32 | %package cli |
---|
| 33 | Summary: Command line interface utils for libnl3 |
---|
[9000] | 34 | Summary(ja): Libnl3 のコマンドラインインターフェース |
---|
| 35 | Group: Development/Tools |
---|
[6372] | 36 | Requires: %{name} = %{version}-%{release} |
---|
| 37 | |
---|
| 38 | %description cli |
---|
| 39 | This package contains various libnl3 utils and additional |
---|
| 40 | libraries on which they depend |
---|
[9000] | 41 | |
---|
[6372] | 42 | %prep |
---|
| 43 | %setup -q -n libnl-%{version} |
---|
| 44 | |
---|
| 45 | %build |
---|
| 46 | %configure --disable-static |
---|
| 47 | make %{?_smp_mflags} |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | find $RPM_BUILD_ROOT -name \*.la -delete |
---|
| 53 | |
---|
| 54 | %post -p /sbin/ldconfig |
---|
| 55 | %post cli -p /sbin/ldconfig |
---|
[9000] | 56 | |
---|
[6372] | 57 | %postun -p /sbin/ldconfig |
---|
| 58 | %postun cli -p /sbin/ldconfig |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr(-,root,root,-) |
---|
| 62 | %doc COPYING |
---|
| 63 | %exclude %{_libdir}/libnl-cli*.so.* |
---|
| 64 | %{_libdir}/libnl-*.so.* |
---|
| 65 | %config(noreplace) %{_sysconfdir}/* |
---|
| 66 | |
---|
| 67 | %files devel |
---|
| 68 | %defattr(-,root,root,-) |
---|
| 69 | %doc COPYING |
---|
| 70 | %{_includedir}/libnl3/netlink/ |
---|
| 71 | %dir %{_includedir}/libnl3/ |
---|
| 72 | %{_libdir}/*.so |
---|
| 73 | %{_libdir}/pkgconfig/*.pc |
---|
| 74 | |
---|
| 75 | %files cli |
---|
| 76 | %defattr(-,root,root,-) |
---|
| 77 | %doc COPYING |
---|
| 78 | %{_libdir}/libnl-cli*.so.* |
---|
| 79 | %{_libdir}/libnl/ |
---|
| 80 | %{_sbindir}/* |
---|
| 81 | %{_mandir}/man8/* |
---|
| 82 | |
---|
| 83 | %changelog |
---|
[9000] | 84 | * Sat Oct 4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.14-2 |
---|
| 85 | - moved libnl3 to System Environment/Libraries Group |
---|
| 86 | - updated Japanese summary |
---|
| 87 | |
---|
[7027] | 88 | * Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.14-1 |
---|
| 89 | - new upstream release |
---|
| 90 | |
---|
[6372] | 91 | * Tue Jun 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-1 |
---|
| 92 | - initial build for Vine Linux |
---|
| 93 | |
---|
| 94 | * Fri Feb 10 2012 Dan Williams <dcbw@redhat.com> - 3.2.7-1 |
---|
| 95 | - Update to 3.2.7 |
---|
| 96 | |
---|
| 97 | * Tue Jan 17 2012 Jiri Pirko <jpirko@redhat.com> - 3.2.6-1 |
---|
| 98 | - Initial build |
---|