]> git.pld-linux.org Git - SPECS.git/blob - nttcp.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / nttcp.spec
1 Summary:        Network bandwidth measurement tool
2 Summary(pl.UTF-8):      Narzędzie do monitorowania przepustowości sieci
3 Name:           nttcp
4 Version:        1.47
5 Release:        1
6 License:        GPL
7 Group:          Networking
8 Source0:        http://freeware.sgi.com/source/nttcp/%{name}-%{version}.tar.gz
9 # Source0-md5:  50f0c405b3fa488f6b00db32bf994a7d
10 URL:            http://www.leo.org/~elmar/nttcp/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 NTTCP is a benchmarking tool for determining TCP and UDP performance
15 between 2 systems.
16
17 %description -l pl.UTF-8
18 NTTCP jest narzędziem sprawdzającym wydajność połączeń TCP i UDP
19 pomiędzy dwoma systemami.
20
21 %prep
22 %setup -q
23
24 %build
25 %{__make} \
26         ARCH="" \
27         CC="%{__cc}" \
28         OPT="%{rpmcflags}" \
29         LFLAGS="%{rpmldflags}"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
34
35 install nttcp $RPM_BUILD_ROOT%{_bindir}
36 install nttcp.1 $RPM_BUILD_ROOT%{_mandir}/man1
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README
44 %attr(755,root,root) %{_bindir}/*
45 %{_mandir}/man1/*
This page took 0.827009 seconds and 3 git commands to generate.