]> git.pld-linux.org Git - packages/clink.git/blob - clink.spec
- pass CC
[packages/clink.git] / clink.spec
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 v2+
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         CC="%{__cc}" \
34         CFLAGS="%{rpmcflags} -D_GNU_SOURCE"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
39
40 install clink $RPM_BUILD_ROOT%{_bindir}/clink
41
42 mv -f clink.doc clink.txt
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc COPYRIGHT clink.txt
50 %attr(755,root,root) %{_bindir}/clink
This page took 0.054869 seconds and 3 git commands to generate.