]>
Commit | Line | Data |
---|---|---|
1 | Summary: Clink estimates the latency and bandwidth of network links | |
2 | Summary(pl.UTF-8): Clink określa przybliżone opóźnienie i pasmo połączenia sieciowego | |
3 | Name: clink | |
4 | Version: 1.0 | |
5 | Release: 5 | |
6 | License: GPL | |
7 | Group: Applications/Networking | |
8 | Source0: http://allendowney.com/research/clink/%{name}.%{version}.tar.gz | |
9 | # Source0-md5: 9bfb957d7733e434a5e902dccad89c56 | |
10 | # formerly ftp://ftp.6bone.pl/pub/ipv6/set-glibc-2.1.new/clink.1.0a.diff | |
11 | Patch0: clink.1.0a.diff | |
12 | URL: http://allendowney.com/research/clink/ | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | clink (Characterize Links) is a utility that estimates the latency and | |
17 | bandwidth of network links by sending UDP packets from a single source | |
18 | and measuring round-trip times. The basic mechanism is similar to ping | |
19 | and traceroute, except that clink generally has to send many more | |
20 | packets. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | clink (Characterize Links) jest narzędziem, które określa opóźnienie i | |
24 | pasmo (przepustowość) łącz w sieci przy użyciu pakietów UDP wysyłanych | |
25 | z pojedynczego źródła. | |
26 | ||
27 | %prep | |
28 | %setup -q -n %{name}.%{version} | |
29 | %patch0 -p1 | |
30 | ||
31 | %build | |
32 | %{__make} \ | |
33 | CFLAGS="%{rpmcflags} -D_GNU_SOURCE" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{_bindir} | |
38 | ||
39 | install clink $RPM_BUILD_ROOT%{_bindir}/clink | |
40 | ||
41 | mv -f clink.doc clink.txt | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc clink.txt | |
49 | %attr(755,root,root) %{_bindir}/clink |