]> git.pld-linux.org Git - packages/iproute2.git/blob - iproute2.spec
- typo in header.
[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:        2
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-ss990630.tar.gz
11 Patch:          iproute2-make.patch
12 BuildRequires:  tetex-dvips
13 BuildRoot:      /tmp/%{name}-%{version}-root
14
15 %description
16 This package contains the ip, tc and the rtmon tool that allow control of
17 routing and other aspects of networking.
18   
19 %description -l pl
20 Ten pakiet zawiera programy pozwalaj±ce na kontrolê routingu i innych 
21 aspektów dotycz±cych sieci.
22   
23 %prep
24 %setup -q -n %{name}
25 %patch -p1
26
27 %build
28 make OPT="$RPM_OPT_FLAGS"
29 make -C doc
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 install -d $RPM_BUILD_ROOT%{_sbindir}
35 install -d $RPM_BUILD_ROOT/etc/iproute2
36
37 install -s ip/ip ip/rtmon ip/rtacct tc/tc $RPM_BUILD_ROOT%{_sbindir}
38 install    ip/routel $RPM_BUILD_ROOT%{_sbindir}
39
40 install etc/iproute2/rt_protos \
41         etc/iproute2/rt_realms \
42         etc/iproute2/rt_scopes \
43         etc/iproute2/rt_tables \
44         $RPM_BUILD_ROOT/etc/iproute2
45
46
47 gzip -9nf READ* RELNOTES doc/*.ps
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc {README,README.iproute2+tc,RELNOTES}.gz
55 %doc doc/*.ps.gz
56
57 %attr(755,root,root) %{_sbindir}/*
58 /etc/iproute2
This page took 0.100098 seconds and 4 git commands to generate.