source: projects/specs/trunk/lib/libn/libnl3/libnl3-vl.spec @ 12542

Revision 12542, 2.8 KB checked in by tomop, 3 years ago (diff)

updated 2 packages

libedit-3.1-5.20210216

libnl3-3.5.0-2

Line 
1Name: libnl3
2Summary: Convenience library for kernel netlink sockets
3Summary(ja): Netlink ソケットの利用に便利なライブラリ
4Version: 3.5.0
5Release: 2%{?_dist_release}
6Group: system
7Vendor: Project Vine
8Distribution: Vine Linux
9
10License: LGPLv2
11URL: http://www.infradead.org/~tgr/libnl/
12Source: https://github.com/thom311/libnl/releases/download/libnl3_5_0/libnl-%{version}.tar.gz
13BuildRoot: %{_tmppath}/%{name}-%{version}--root
14BuildRequires:  flex
15BuildRequires:  bison
16
17%description
18This package contains a convenience library to simplify
19using the Linux kernel's netlink sockets interface for
20network manipulation
21
22
23%package devel
24Summary: Libraries and headers for using libnl3
25Summary(ja): Libnl3 の開発用ファイル
26Group: programming
27Requires: %{name} = %{version}-%{release}
28Requires: %{name}-cli = %{version}-%{release}
29Requires: kernel-headers
30
31%description devel
32This package contains various headers for using libnl3
33
34
35%package cli
36Summary: Command line interface utils for libnl3
37Summary(ja): Libnl3 のコマンドラインインターフェース
38Group: network,admin-tools
39Requires: %{name} = %{version}-%{release}
40
41%description cli
42This package contains various libnl3 utils and additional
43libraries 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
55make %{?_smp_mflags}
56
57
58%install
59make install DESTDIR=%{buildroot}
60
61rm -f %{buildroot}%{_bindir}/*
62find %{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
Note: See TracBrowser for help on using the repository browser.