qperf/qperf.spec
2019-12-14 21:26:24 +08:00

39 lines
813 B
RPMSpec

Name: qperf
Summary: Measure socket and RDMA performance
Version: 0.4.9
Release: 15
License: GPLv2 or BSD
Url: http://www.openfabrics.org
Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}.tar.gz
BuildRequires: gcc perl-interpreter librdmacm-devel >= 1.0.21 libibverbs-devel >= 1.2.0
ExcludeArch: %{arm}
%description
qperf is a tool used to measure bandwidth and latency about socket and RDMA
%package_help
%prep
%autosetup -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
%make_build
%install
make DESTDIR=${RPM_BUILD_ROOT} install
%files
%{_bindir}/qperf
%license COPYING
%files help
%{_mandir}/man1/qperf.1*
%changelog
* Mon Nov 15 2019 caomeng<caomeng5@huawei.com> - 0.4.9 -15
- Package init