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