fabtests/fabtests.spec
Michal Schmidt c63cc369c0 migrated to SPDX license
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
2024-02-07 12:18:25 +01:00

44 lines
1.1 KiB
RPMSpec

Name: fabtests
Version: 1.18.0
Release: %autorelease
Summary: Test suite for libfabric API
# COPYING says the license is your choice of BSD or GPLv2.
# include/jsmn.h and common/jsmn.c are licensed under MIT.
License: (BSD-2-Clause OR GPL-2.0-only) AND MIT
Url: https://github.com/ofiwg/libfabric
Source: https://github.com/ofiwg/libfabric/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Patch0: 0001-adjust-shebang-lines-in-rft_yaml_to_junit_xml-and-ru.patch
BuildRequires: libfabric-devel >= %{version}
BuildRequires: valgrind-devel
BuildRequires: gcc
BuildRequires: make
Requires: python3-pytest
%description
Fabtests provides a set of examples that uses libfabric - a high-performance
fabric software library.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p2
%build
%configure --with-valgrind
make %{?_smp_mflags} V=1
%install
%make_install
# remove unpackaged files from the buildroot
rm -f %{buildroot}%{_libdir}/*.la
%files
%{_datadir}/%{name}/
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man7/*
%doc AUTHORS README
%license COPYING
%changelog
%autochangelog