File fabtests.spec of Package fabtests

#
# spec file for package fabtests
#
# Copyright (c) 2016 SUSE LINUX 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/
#


Name:           fabtests
Version:        1.4.1
Release:        0
Summary:        Test suite for libfabric API
License:        BSD-2-Clause or GPL-2.0
Group:          System Environment/Libraries
Url:            http://www.github.com/ofiwg/fabtests
Source:         https://github.com/ofiwg/fabtests/releases/download/v%{version}/%{name}-%{version}.tar.bz2
BuildRequires:  libfabric-devel
BuildRequires:  libpsm2-compat
BuildRequires:  libpsm_infinipath1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
#Currently *only* builds on x86_64 as it is dependent on libpsm2
ExclusiveArch:  x86_64
%description
Fabtests provides a set of examples that uses libfabric - a high-performance fabric software library.

%prep
%setup -q

%build
%configure %{?_with_libfabric}
make %{?_smp_mflags}

%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install

%files
%defattr(-,root,root)
%dir %{_datadir}/fabtests/

%{_bindir}/*
%{_mandir}/man7/*
%{_datadir}/fabtests/*

%doc AUTHORS COPYING README

%changelog
openSUSE Build Service is sponsored by