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

Revision 7027, 2.2 KB checked in by Takemikaduchi, 12 years ago (diff)

python-bsddb3: new package
task-gnome: add package
others: new upstream release

Line 
1Summary: Convenience library for kernel netlink sockets
2Group: Development/Libraries
3License: LGPLv2
4Name: libnl3
5Version: 3.2.14
6Release: 1%{?_dist_release}
7URL: http://www.infradead.org/~tgr/libnl/
8Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz
9BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10BuildRequires:  flex
11BuildRequires:  bison
12
13%description
14This package contains a convenience library to simplify
15using the Linux kernel's netlink sockets interface for
16network manipulation
17
18%package devel
19Summary: Libraries and headers for using libnl3
20Summary(ja): Libraries and headers for using libnl3
21Group: Development/Libraries
22Requires: %{name} = %{version}-%{release}
23Requires: %{name}-cli = %{version}-%{release}
24Requires: kernel-headers
25
26%description devel
27This package contains various headers for using libnl3
28
29%package cli
30Summary: Command line interface utils for libnl3
31Summary(ja): Command line interface utils for libnl3
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description cli
36This package contains various libnl3 utils and additional
37libraries on which they depend
38%prep
39%setup -q -n libnl-%{version}
40
41%build
42%configure --disable-static
43make %{?_smp_mflags}
44
45%install
46make install DESTDIR=$RPM_BUILD_ROOT
47
48find $RPM_BUILD_ROOT -name \*.la -delete
49
50%post -p /sbin/ldconfig
51%post cli -p /sbin/ldconfig
52%postun -p /sbin/ldconfig
53%postun cli -p /sbin/ldconfig
54
55%files
56%defattr(-,root,root,-)
57%doc COPYING
58%exclude %{_libdir}/libnl-cli*.so.*
59%{_libdir}/libnl-*.so.*
60%config(noreplace) %{_sysconfdir}/*
61
62%files devel
63%defattr(-,root,root,-)
64%doc COPYING
65%{_includedir}/libnl3/netlink/
66%dir %{_includedir}/libnl3/
67%{_libdir}/*.so
68%{_libdir}/pkgconfig/*.pc
69
70%files cli
71%defattr(-,root,root,-)
72%doc COPYING
73%{_libdir}/libnl-cli*.so.*
74%{_libdir}/libnl/
75%{_sbindir}/*
76%{_mandir}/man8/*
77
78%changelog
79* Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.14-1
80- new upstream release
81
82* Tue Jun 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-1
83- initial build for Vine Linux
84
85* Fri Feb 10 2012 Dan Williams <dcbw@redhat.com> - 3.2.7-1
86- Update to 3.2.7
87
88* Tue Jan 17 2012 Jiri Pirko <jpirko@redhat.com> - 3.2.6-1
89- Initial build
Note: See TracBrowser for help on using the repository browser.