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

Revision 11570, 2.6 KB checked in by tomop, 6 years ago (diff)

libnl3-3.4.0-1

Line 
1Name: libnl3
2Summary: Convenience library for kernel netlink sockets
3Summary(ja): Netlink ソケットの利用に便利なライブラリ
4Version: 3.4.0
5Release: 1%{?_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
16Vendor:                 Project Vine
17Distribution:   Vine Linux
18
19%description
20This package contains a convenience library to simplify
21using the Linux kernel's netlink sockets interface for
22network manipulation
23
24%package devel
25Summary: Libraries and headers for using libnl3
26Summary(ja): Libnl3 の開発用ファイル
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires: %{name}-cli = %{version}-%{release}
30Requires: kernel-headers
31
32%description devel
33This package contains various headers for using libnl3
34
35%package cli
36Summary: Command line interface utils for libnl3
37Summary(ja): Libnl3 のコマンドラインインターフェース
38Group: Development/Tools
39Requires: %{name} = %{version}-%{release}
40
41%description cli
42This package contains various libnl3 utils and additional
43libraries on which they depend
44
45%prep
46%setup -q -n libnl-%{version}
47
48%build
49%configure --bindir=%{_sbindir} --disable-static
50make %{?_smp_mflags}
51
52%install
53make install DESTDIR=%{buildroot}
54
55rm -f %{buildroot}%{_bindir}/*
56find %{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
Note: See TracBrowser for help on using the repository browser.