File shd.spec of Package shd

#
# spec file for package shd
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           shd
Version:        0.0.12
Release:        0
Summary:        Show pretty HDD/SSD list
License:        MIT
URL:            https://github.com/alttch/shd
Source0:        https://files.pythonhosted.org/packages/source/s/shd/shd-%{version}.tar.gz
BuildRequires:  python3-setuptools
# from pysmart?
#Requires:       smartmontools
###
BuildRequires:       python3-neotermcolor
BuildRequires:       python3-pysmart
BuildRequires:       python3-rapidtables
###
Requires:       python3-neotermcolor
Requires:       python3-pysmart
Requires:       python3-rapidtables
BuildArch:      noarch

%description
A pretty interface for smartmontools.

%prep
%autosetup
rm -r *.egg-info

%build
python3 setup.py build

%install
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}

%files
%doc README.md
%{_bindir}/%{name}
%{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info

%changelog
openSUSE Build Service is sponsored by