|
|
4a47c81 |
Summary: Convenience library for kernel netlink sockets
|
|
|
4a47c81 |
Group: Development/Libraries
|
|
|
4a47c81 |
License: LGPLv2
|
|
|
4a47c81 |
Name: libnl3
|
|
Jiri Pirko |
20eb927 |
Version: 3.2.20
|
|
Jiri Pirko |
20eb927 |
Release: 1%{?dist}
|
|
|
4a47c81 |
URL: http://www.infradead.org/~tgr/libnl/
|
|
|
4a47c81 |
Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz
|
|
|
e00b60b |
Source1: http://www.infradead.org/~tgr/libnl/files/libnl-doc-%{version}.tar.gz
|
|
|
4a47c81 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
4a47c81 |
BuildRequires: flex bison
|
|
|
4a47c81 |
BuildRequires: python
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%description
|
|
|
4a47c81 |
This package contains a convenience library to simplify
|
|
|
4a47c81 |
using the Linux kernel's netlink sockets interface for
|
|
|
4a47c81 |
network manipulation
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%package devel
|
|
|
4a47c81 |
Summary: Libraries and headers for using libnl3
|
|
|
4a47c81 |
Group: Development/Libraries
|
|
|
4a47c81 |
Requires: %{name} = %{version}-%{release}
|
|
|
4a47c81 |
Requires: %{name}-cli = %{version}-%{release}
|
|
|
4a47c81 |
Requires: kernel-headers
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%description devel
|
|
|
4a47c81 |
This package contains various headers for using libnl3
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%package cli
|
|
|
4a47c81 |
Summary: Command line interface utils for libnl3
|
|
|
4a47c81 |
Group: Development/Libraries
|
|
|
4a47c81 |
Requires: %{name} = %{version}-%{release}
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%description cli
|
|
|
4a47c81 |
This package contains various libnl3 utils and additional
|
|
|
4a47c81 |
libraries on which they depend
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%package doc
|
|
|
4a47c81 |
Summary: API documentation for libnl3
|
|
|
4a47c81 |
Group: Documentation
|
|
|
4a47c81 |
Requires: %{name} = %{version}-%{release}
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%description doc
|
|
|
4a47c81 |
This package contains libnl3 API documentation
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%prep
|
|
|
4a47c81 |
%setup -q -n libnl-%{version}
|
|
Jiri Pirko |
2bc02cf |
|
|
|
e00b60b |
tar -xzf %SOURCE1
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%build
|
|
|
4a47c81 |
%configure --disable-static
|
|
|
4a47c81 |
make %{?_smp_mflags}
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%install
|
|
|
4a47c81 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
4a47c81 |
|
|
|
4a47c81 |
find $RPM_BUILD_ROOT -name \*.la -delete
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%post -p /sbin/ldconfig
|
|
|
4a47c81 |
%post cli -p /sbin/ldconfig
|
|
|
4a47c81 |
%postun -p /sbin/ldconfig
|
|
|
4a47c81 |
%postun cli -p /sbin/ldconfig
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%files
|
|
|
4a47c81 |
%defattr(-,root,root,-)
|
|
|
4a47c81 |
%doc COPYING
|
|
|
4a47c81 |
%exclude %{_libdir}/libnl-cli*.so.*
|
|
|
4a47c81 |
%{_libdir}/libnl-*.so.*
|
|
|
4a47c81 |
%config(noreplace) %{_sysconfdir}/*
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%files devel
|
|
|
4a47c81 |
%defattr(-,root,root,-)
|
|
|
4a47c81 |
%doc COPYING
|
|
|
4a47c81 |
%{_includedir}/libnl3/netlink/
|
|
|
4a47c81 |
%dir %{_includedir}/libnl3/
|
|
|
4a47c81 |
%{_libdir}/*.so
|
|
|
4a47c81 |
%{_libdir}/pkgconfig/*.pc
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%files cli
|
|
|
4a47c81 |
%defattr(-,root,root,-)
|
|
|
4a47c81 |
%doc COPYING
|
|
|
4a47c81 |
%{_libdir}/libnl-cli*.so.*
|
|
|
4a47c81 |
%{_libdir}/libnl/
|
|
|
4a47c81 |
%{_sbindir}/*
|
|
|
4a47c81 |
%{_mandir}/man8/*
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%files doc
|
|
|
4a47c81 |
%defattr(-,root,root,-)
|
|
|
4a47c81 |
%doc COPYING
|
|
|
e00b60b |
%doc libnl-doc-%{version}/*.html
|
|
|
e00b60b |
%doc libnl-doc-%{version}/*.css
|
|
|
e00b60b |
%doc libnl-doc-%{version}/stylesheets/*
|
|
|
e00b60b |
%doc libnl-doc-%{version}/images/*
|
|
|
e00b60b |
%doc libnl-doc-%{version}/images/icons/*
|
|
|
e00b60b |
%doc libnl-doc-%{version}/images/icons/callouts/*
|
|
|
e00b60b |
%doc libnl-doc-%{version}/api/*
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%changelog
|
|
Jiri Pirko |
20eb927 |
* Wed Jan 23 2013 Jiri Pirko <jpirko@redhat.com> - 3.2.20-1
|
|
Jiri Pirko |
20eb927 |
- Update to 3.2.20
|
|
Jiri Pirko |
20eb927 |
|
|
Jiri Pirko |
2bc02cf |
* Sun Jan 20 2013 Jiri Pirko <jpirko@redhat.com> - 3.2.19-2
|
|
Jiri Pirko |
2bc02cf |
- Age fix
|
|
Jiri Pirko |
2bc02cf |
|
|
Jiri Pirko |
e777186 |
* Thu Jan 17 2013 Jiri Pirko <jpirko@redhat.com> - 3.2.19-1
|
|
Jiri Pirko |
e777186 |
- Update to 3.2.19
|
|
Jiri Pirko |
e777186 |
|
|
|
e00b60b |
* Tue Oct 30 2012 Dan Williams <dcbw@redhat.com> - 3.2.14-1
|
|
|
e00b60b |
- Update to 3.2.14
|
|
|
e00b60b |
|
|
|
1008378 |
* Mon Sep 17 2012 Dan Williams <dcbw@redhat.com> - 3.2.13-1
|
|
|
1008378 |
- Update to 3.2.13
|
|
|
4e9ad84 |
|
|
|
efc5b23 |
* Fri Feb 10 2012 Dan Williams <dcbw@redhat.com> - 3.2.7-1
|
|
|
efc5b23 |
- Update to 3.2.7
|
|
|
efc5b23 |
|
|
|
4a47c81 |
* Tue Jan 17 2012 Jiri Pirko <jpirko@redhat.com> - 3.2.6-1
|
|
|
4a47c81 |
- Initial build
|