]>
Commit | Line | Data |
---|---|---|
7d0962cd | 1 | Summary: A simple TCP benchmarking utility |
2 | Name: gensink | |
3 | Version: 4.1 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Applications/Networking | |
7 | Source0: http://jes.home.cern.ch/jes/gensink/%{name}-%{version}.tar.gz | |
8 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
0e13ef29 | 9 | |
10 | %description | |
7d0962cd | 11 | gensink consists of a pair of utilities that measure the performance |
12 | of a TCP connection between two hosts. | |
0e13ef29 | 13 | |
14 | %prep | |
7d0962cd | 15 | %setup -q |
16 | ||
0e13ef29 | 17 | %build |
7d0962cd | 18 | %{__make} \ |
19 | CC="%{__cc}" \ | |
20 | CFLAGS="%{rpmcflags}" \ | |
21 | LDFLAGS="%{rpmldflags}" | |
0e13ef29 | 22 | |
23 | %install | |
24 | ||
7d0962cd | 25 | rm -rf $RPM_BUILD_ROOT |
26 | install -d $RPM_BUILD_ROOT%{_sbindir} | |
27 | ||
28 | install gen4 sink4 tub4 $RPM_BUILD_ROOT%{_sbindir} | |
0e13ef29 | 29 | |
30 | %clean | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
33 | %files | |
7d0962cd | 34 | %defattr(644,root,root,755) |
35 | %attr(755,root,root) %{_sbindir}/* |