2012-01-19 17:23:57 +00:00
|
|
|
Summary: Convenience library for kernel netlink sockets
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: LGPLv2
|
|
|
|
Name: libnl3
|
2012-09-17 21:39:57 +00:00
|
|
|
Version: 3.2.13
|
|
|
|
Release: 1%{?dist}
|
2012-01-19 17:23:57 +00:00
|
|
|
URL: http://www.infradead.org/~tgr/libnl/
|
|
|
|
Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRequires: doxygen
|
2012-09-17 21:39:57 +00:00
|
|
|
BuildRequires: python-pygments
|
|
|
|
BuildRequires: mscgen
|
2012-01-19 17:23:57 +00:00
|
|
|
BuildRequires: flex bison
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: asciidoc
|
|
|
|
BuildRequires: source-highlight
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a convenience library to simplify
|
|
|
|
using the Linux kernel's netlink sockets interface for
|
|
|
|
network manipulation
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries and headers for using libnl3
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-cli = %{version}-%{release}
|
|
|
|
Requires: kernel-headers
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains various headers for using libnl3
|
|
|
|
|
|
|
|
%package cli
|
|
|
|
Summary: Command line interface utils for libnl3
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description cli
|
|
|
|
This package contains various libnl3 utils and additional
|
|
|
|
libraries on which they depend
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: API documentation for libnl3
|
|
|
|
Group: Documentation
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains libnl3 API documentation
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n libnl-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
pushd doc
|
|
|
|
# docs aren't parallel-make safe
|
|
|
|
make gendoc
|
|
|
|
popd
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name \*.la -delete
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post cli -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun cli -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
%exclude %{_libdir}/libnl-cli*.so.*
|
|
|
|
%{_libdir}/libnl-*.so.*
|
|
|
|
%config(noreplace) %{_sysconfdir}/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
%{_includedir}/libnl3/netlink/
|
|
|
|
%dir %{_includedir}/libnl3/
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%files cli
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libnl-cli*.so.*
|
|
|
|
%{_libdir}/libnl/
|
|
|
|
%{_sbindir}/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
%doc doc/*.html
|
|
|
|
%doc doc/*.css
|
|
|
|
%doc doc/stylesheets/*
|
|
|
|
%doc doc/images/*
|
|
|
|
%doc doc/images/icons/*
|
|
|
|
%doc doc/images/icons/callouts/*
|
|
|
|
%doc doc/api/*
|
|
|
|
|
|
|
|
%changelog
|
2012-09-17 21:39:57 +00:00
|
|
|
* Mon Sep 17 2012 Dan Williams <dcbw@redhat.com> - 3.2.13-1
|
|
|
|
- Update to 3.2.13
|
2012-07-19 20:39:03 +00:00
|
|
|
|
2012-02-11 01:10:36 +00:00
|
|
|
* Fri Feb 10 2012 Dan Williams <dcbw@redhat.com> - 3.2.7-1
|
|
|
|
- Update to 3.2.7
|
|
|
|
|
2012-01-19 17:23:57 +00:00
|
|
|
* Tue Jan 17 2012 Jiri Pirko <jpirko@redhat.com> - 3.2.6-1
|
|
|
|
- Initial build
|