]> git.pld-linux.org Git - packages/iproute2.git/blob - iproute2.spec
- added using %%{__make} macro.
[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:        8
6 Vendor:         Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
7 License:        GPL
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
15 Obsoletes:      iproute
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _sbindir        /sbin
19 %define         _sysconfdir     /etc/iproute2
20
21 %description
22 This package contains the ip, tc and the rtmon tool that allow control
23 of routing and other aspects of networking.
24
25 %description -l pl
26 Ten pakiet zawiera programy pozwalaj±ce na kontrolê routingu i innych
27 aspektów dotycz±cych sieci.
28
29 %prep
30 %setup -q -n %{name}
31 %patch -p1
32
33 %build
34 %{__make} OPT="$RPM_OPT_FLAGS"
35 %{__make} -C doc
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}}
41
42 install -s ip/ip ip/rtmon ip/rtacct tc/tc $RPM_BUILD_ROOT%{_sbindir}
43 install    ip/routel $RPM_BUILD_ROOT%{_sbindir}
44
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}
50
51 gzip -9nf READ* RELNOTES doc/*.ps
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc {README,README.iproute2+tc,RELNOTES}.gz
59 %doc doc/*.ps.gz
60
61 %attr(755,root,root) %{_sbindir}/*
62 %{_sysconfdir}
This page took 0.072786 seconds and 4 git commands to generate.