1 Summary: Utility to control Networking behavior in 2.2.X kernels
2 Summary(pl): Narzêdzie do kontrolowania Sieci w kernelach 2.2
6 Vendor: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
8 Group: Networking/Admin
9 Group(pl): Sieciowe/Administracyjne
10 Source0: ftp://ftp.inr.ac.ru/ip-routing/%{name}-%{version}-now-ss000305.tar.gz
11 Patch0: iproute2-make.patch
12 BuildRequires: tetex-dvips
13 BuildRequires: tetex-latex
14 BuildRequires: psutils
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _sbindir /sbin
19 %define _sysconfdir /etc/iproute2
22 This package contains the ip, tc and the rtmon tool that allow control
23 of routing and other aspects of networking.
26 Ten pakiet zawiera programy pozwalaj±ce na kontrolê routingu i innych
27 aspektów dotycz±cych sieci.
34 %{__make} OPT="$RPM_OPT_FLAGS"
38 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}}
42 install -s ip/ip ip/rtmon ip/rtacct tc/tc $RPM_BUILD_ROOT%{_sbindir}
43 install ip/routel $RPM_BUILD_ROOT%{_sbindir}
45 install etc/iproute2/rt_protos \
46 etc/iproute2/rt_realms \
47 etc/iproute2/rt_scopes \
48 etc/iproute2/rt_tables \
49 $RPM_BUILD_ROOT%{_sysconfdir}
51 gzip -9nf READ* RELNOTES doc/*.ps
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc {README,README.iproute2+tc,RELNOTES}.gz
61 %attr(755,root,root) %{_sbindir}/*