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