qperf/qperf.spec
2023-12-18 11:14:55 +08:00

44 lines
934 B
RPMSpec

Name: qperf
Summary: Measure socket and RDMA performance
Version: 0.4.11
Release: 1
License: GPLv2 or BSD
Url: http://www.openfabrics.org
Source: https://github.com/linux-rdma/%{name}/archive/refs/tags/v0.4.11.tar.gz
BuildRequires: gcc perl-interpreter librdmacm-devel >= 1.0.21 libibverbs-devel >= 1.2.0
BuildRequires: automake
ExcludeArch: %{arm}
%description
qperf is a tool used to measure bandwidth and latency about socket and RDMA
%package_help
%prep
%autosetup -p1
./autogen.sh
%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 Dec 18 2023 Ge Wang <wang__ge@126.com> - 0.4.11-1
- Update to version 0.4.11
* Mon Nov 15 2019 caomeng<caomeng5@huawei.com> - 0.4.9-15
- Package init