]>
Commit | Line | Data |
---|---|---|
8ea62e06 | 1 | Summary: Clink estimates the latency and bandwidth of network links |
61781d83 | 2 | Summary(pl.UTF-8): Clink określa przybliżone opóźnienie i pasmo połączenia sieciowego |
98ff3f54 | 3 | Name: clink |
4 | Version: 1.0 | |
bdacc56c | 5 | Release: 5 |
9a396d15 | 6 | License: GPL v2+ |
98ff3f54 | 7 | Group: Applications/Networking |
066e0a60 | 8 | Source0: http://allendowney.com/research/clink/%{name}.%{version}.tar.gz |
dc304dde | 9 | # Source0-md5: 9bfb957d7733e434a5e902dccad89c56 |
7be442dd JB |
10 | # formerly ftp://ftp.6bone.pl/pub/ipv6/set-glibc-2.1.new/clink.1.0a.diff |
11 | Patch0: clink.1.0a.diff | |
066e0a60 | 12 | URL: http://allendowney.com/research/clink/ |
98ff3f54 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
f7893b57 | 15 | %description |
8ea62e06 | 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. | |
98ff3f54 | 21 | |
3fd2b447 JR |
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. | |
98ff3f54 | 26 | |
27 | %prep | |
28 | %setup -q -n %{name}.%{version} | |
7be442dd | 29 | %patch0 -p1 |
9e351f1a | 30 | |
98ff3f54 | 31 | %build |
7be442dd | 32 | %{__make} \ |
9a396d15 | 33 | CC="%{__cc}" \ |
7be442dd | 34 | CFLAGS="%{rpmcflags} -D_GNU_SOURCE" |
98ff3f54 | 35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_bindir} | |
8ea62e06 | 39 | |
98ff3f54 | 40 | install clink $RPM_BUILD_ROOT%{_bindir}/clink |
41 | ||
8ea62e06 | 42 | mv -f clink.doc clink.txt |
43 | ||
98ff3f54 | 44 | %clean |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
9a396d15 | 49 | %doc COPYRIGHT clink.txt |
98ff3f54 | 50 | %attr(755,root,root) %{_bindir}/clink |