-
Notifications
You must be signed in to change notification settings - Fork 37
/
qperf.spec
39 lines (32 loc) · 890 Bytes
/
qperf.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Name: qperf
Summary: Measure socket and RDMA performance
Version: 0.4.10
Release: 1
License: BSD 3-Clause, GPL v2
Group: Networking/Diagnostic
Source: http://www.openfabrics.org/downloads/qperf/%{name}-%{version}.tar.gz
Url: http://www.openfabrics.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libibverbs-devel
BuildRequires: librdmacm-devel
%description
Measure socket and RDMA performance.
%prep
%setup -q
%build
%configure
export CFLAGS="$RPM_OPT_FLAGS"
%{__make}
%install
install -D -m 0755 src/qperf $RPM_BUILD_ROOT%{_bindir}/qperf
install -D -m 0644 src/qperf.1 $RPM_BUILD_ROOT%{_mandir}/man1/qperf.1
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
%doc COPYING
%_bindir/qperf
%_mandir/man1/qperf.1*
%changelog
* Sat Oct 20 2007 - [email protected]
- Initial package