Summary: Utility to control Networking behavior in 2.2.X kernels Summary(pl): Narzędzie do kontrolowania Sieci w kernelach 2.2 Name: iproute2 Version: 2.2.4 Release: 6 Vendor: Alexey Kuznetsov License: GPL Group: Networking/Admin Group(pl): Sieciowe/Administracja Source0: ftp://ftp.inr.ac.ru/ip-routing/%{name}-%{version}-now-ss000225.tar.gz Patch0: iproute2-make.patch BuildRequires: tetex-dvips BuildRequires: psutils Obsoletes: iproute BuildRoot: /tmp/%{name}-%{version}-root %define _sbindir /sbin %define _sysconfdir /etc/iproute2 %description This package contains the ip, tc and the rtmon tool that allow control of routing and other aspects of networking. %description -l pl Ten pakiet zawiera programy pozwalające na kontrolę routingu i innych aspektów dotyczących sieci. %prep %setup -q -n %{name} %patch -p1 %build make OPT="$RPM_OPT_FLAGS" make -C doc %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}} install -s ip/ip ip/rtmon ip/rtacct tc/tc $RPM_BUILD_ROOT%{_sbindir} install ip/routel $RPM_BUILD_ROOT%{_sbindir} install etc/iproute2/rt_protos \ etc/iproute2/rt_realms \ etc/iproute2/rt_scopes \ etc/iproute2/rt_tables \ $RPM_BUILD_ROOT%{_sysconfdir} gzip -9nf READ* RELNOTES doc/*.ps %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc {README,README.iproute2+tc,RELNOTES}.gz %doc doc/*.ps.gz %attr(755,root,root) %{_sbindir}/* %{_sysconfdir}