|
|
4a47c81 |
Summary: Convenience library for kernel netlink sockets
|
|
|
4a47c81 |
Group: Development/Libraries
|
|
|
4a47c81 |
License: LGPLv2
|
|
|
4a47c81 |
Name: libnl3
|
|
|
efc5b23 |
Version: 3.2.7
|
|
|
4e9ad84 |
Release: 2%{?dist}
|
|
|
4a47c81 |
URL: http://www.infradead.org/~tgr/libnl/
|
|
|
4a47c81 |
Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz
|
|
|
4a47c81 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
4a47c81 |
BuildRequires: doxygen
|
|
|
4a47c81 |
BuildRequires: xmlstarlet
|
|
|
4a47c81 |
BuildRequires: flex bison
|
|
|
4a47c81 |
BuildRequires: texlive-latex texlive-dvips
|
|
|
4a47c81 |
BuildRequires: graphviz
|
|
|
4a47c81 |
BuildRequires: python
|
|
|
4a47c81 |
BuildRequires: asciidoc
|
|
|
4a47c81 |
BuildRequires: source-highlight
|
|
|
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}
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%build
|
|
|
4a47c81 |
%configure --disable-static
|
|
|
4a47c81 |
make %{?_smp_mflags}
|
|
|
4a47c81 |
pushd doc
|
|
|
4a47c81 |
# docs aren't parallel-make safe
|
|
|
4a47c81 |
make gendoc
|
|
|
4a47c81 |
popd
|
|
|
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
|
|
|
4a47c81 |
%doc doc/*.html
|
|
|
4a47c81 |
%doc doc/*.css
|
|
|
4a47c81 |
%doc doc/stylesheets/*
|
|
|
4a47c81 |
%doc doc/images/*
|
|
|
4a47c81 |
%doc doc/images/icons/*
|
|
|
4a47c81 |
%doc doc/images/icons/callouts/*
|
|
|
4a47c81 |
%doc doc/api/*
|
|
|
4a47c81 |
|
|
|
4a47c81 |
%changelog
|
|
|
4e9ad84 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.7-2
|
|
|
4e9ad84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
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
|