]> git.pld-linux.org Git - packages/iproute2.git/blob - iproute2.spec
- new snapshot
[packages/iproute2.git] / iproute2.spec
1 Summary:        Utility to control Networking behavior in 2.2.X kernels
2 Summary(pl):    Narzêdzie do kontrolowania Sieci w kernelach 2.2
3 Name:           iproute2
4 Version:        2.2.4
5 Release:        6
6 Vendor:         Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
7 Copyright:      GPL
8 Group:          Networking/Admin
9 Group(pl):      Sieciowe/Administracja
10 Source:         ftp://ftp.inr.ac.ru/ip-routing/%{name}-%{version}-now-ss000225.tar.gz
11 Patch:          iproute2-make.patch
12 BuildRequires:  tetex-dvips
13 BuildRequires:  psutils
14 Obsoletes:      iproute
15 BuildRoot:      /tmp/%{name}-%{version}-root
16
17 %define         _sbindir        /sbin
18
19 %description
20 This package contains the ip, tc and the rtmon tool that allow control of
21 routing and other aspects of networking.
22   
23 %description -l pl
24 Ten pakiet zawiera programy pozwalaj±ce na kontrolê routingu i innych 
25 aspektów dotycz±cych sieci.
26   
27 %prep
28 %setup -q -n %{name}
29 %patch -p1
30
31 %build
32 make OPT="$RPM_OPT_FLAGS"
33 make -C doc
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 install -d $RPM_BUILD_ROOT%{_sbindir}
39 install -d $RPM_BUILD_ROOT/etc/iproute2
40
41 install -s ip/ip ip/rtmon ip/rtacct tc/tc $RPM_BUILD_ROOT%{_sbindir}
42 install    ip/routel $RPM_BUILD_ROOT%{_sbindir}
43
44 install etc/iproute2/rt_protos \
45         etc/iproute2/rt_realms \
46         etc/iproute2/rt_scopes \
47         etc/iproute2/rt_tables \
48         $RPM_BUILD_ROOT/etc/iproute2
49
50 gzip -9nf READ* RELNOTES doc/*.ps
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc {README,README.iproute2+tc,RELNOTES}.gz
58 %doc doc/*.ps.gz
59
60 %attr(755,root,root) %{_sbindir}/*
61 /etc/iproute2
This page took 0.041323 seconds and 4 git commands to generate.