File qperf.spec of Package qperf
#
# spec file for package qperf (Version 0.4.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: qperf
Summary: Measure socket and RDMA performance
Version: 0.4.1
Release: 3
License: BSD 3-Clause; GPL v2 or later
Group: Productivity/Networking/Diagnostic
Source: qperf-0.4.1.tar.bz2
Url: http://www.openfabrics.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libibverbs-devel librdmacm-devel
ExcludeArch: s390 s390x
%description
Measure socket and RDMA performance.
Authors:
--------
Johann George
Dotan Barak
Ralph Campbell
Yevgeny Kliteynik
%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
* Tue Oct 28 2008 jjolly@suse.de
- Updated to version from OFED 1.4 rc3
- Added ExcludeArch: s390 s390x
* Thu Sep 25 2008 jjolly@suse.de
- Added librdmacm-devel to the BuildRequires
* Fri Sep 12 2008 jjolly@suse.de
- Initial package created with v0.4.1