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