File nvmftests.spec of Package nvmftests

#
# spec file for package nvmftests
#
# Copyright (c) 2018 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:           nvmftests
Version:        0.1
Release:        0
Summary:        NVMe over Fabrics Testsuite
License:        GPL-2.0-only
Group:          System/Benchmark
URL:            https://github.com/ChaitanayaKulkarni/nvmftests
Source:         nvmftests-%{version}.tar.gz
# PATCH-FIX-UPSTREAM 0001-Remove-Press-enter-to-continue-from-tests.patch nvmftests#3
Patch0:         0001-Remove-Press-enter-to-continue-from-tests.patch
# PATCH-FIX-UPSTREAM 0001-add-an-install-target-to-ease-packaging.patch nvmftests#3
Patch1:         0001-add-an-install-target-to-ease-packaging.patch
Requires:       fio
Requires:       nvme-cli
Requires:       python-natsort
Requires:       python-nose
Requires:       python-nose2
Recommends:     python-pep8
Recommends:     python-pylint
Recommends:     python-pytest
Recommends:     python-pytest-flake8
BuildArch:      noarch

%description
This contains NVMe Over Fabrics unit test framework. The purpose of this
framework is to provide a platform to create different scenarios and test
specific functionality for NVMe Over Fabrics Subsystem (NVMeOF).

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build

%install
make PREFIX=%{buildroot}%{_localstatedir}/lib install

%files
%{_localstatedir}/lib/nvmftests

%changelog
openSUSE Build Service is sponsored by