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