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

Revision 9000, 2.4 KB checked in by inagaki, 10 years ago (diff)

2014-10-06 Ryoichi INAGAKI <ryo1@…>

  • libdbi, libnl, libnl3, libtevent, libunicode: update
Line 
1Name: libnl3
2Summary: Convenience library for kernel netlink sockets
3Summary(ja): Netlink ソケットの利用に便利なライブラリ
4Version: 3.2.14
5Release: 2%{?_dist_release}
6
7Group: System Environment/Libraries
8License: LGPLv2
9URL: http://www.infradead.org/~tgr/libnl/
10
11Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz
12BuildRoot: %{_tmppath}/%{name}-%{version}--root
13BuildRequires:  flex
14BuildRequires:  bison
15
16%description
17This package contains a convenience library to simplify
18using the Linux kernel's netlink sockets interface for
19network manipulation
20
21%package devel
22Summary: Libraries and headers for using libnl3
23Summary(ja): Libnl3 の開発用ファイル
24Group: Development/Libraries
25Requires: %{name} = %{version}-%{release}
26Requires: %{name}-cli = %{version}-%{release}
27Requires: kernel-headers
28
29%description devel
30This package contains various headers for using libnl3
31
32%package cli
33Summary: Command line interface utils for libnl3
34Summary(ja): Libnl3 のコマンドラインインターフェース
35Group: Development/Tools
36Requires: %{name} = %{version}-%{release}
37
38%description cli
39This package contains various libnl3 utils and additional
40libraries on which they depend
41
42%prep
43%setup -q -n libnl-%{version}
44
45%build
46%configure --disable-static
47make %{?_smp_mflags}
48
49%install
50make install DESTDIR=$RPM_BUILD_ROOT
51
52find $RPM_BUILD_ROOT -name \*.la -delete
53
54%post -p /sbin/ldconfig
55%post cli -p /sbin/ldconfig
56
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
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
88* Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.14-1
89- new upstream release
90
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
Note: See TracBrowser for help on using the repository browser.