File python-whisper.spec of Package python-whisper
#
# spec file for package python-whisper
#
# Copyright (c) 2022 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/
#
%define pythons python3
Name: python-whisper
Version: 1.1.10
Release: 0
Summary: Fixed size round-robin style database
License: Apache-2.0
Group: Development/Languages/Python
URL: http://graphite-project.github.com/
Source: https://files.pythonhosted.org/packages/source/w/whisper/whisper-%{version}.tar.gz
Patch0: %{name}-path.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: %{python_flavor}-six
BuildArch: noarch
%description
Simple database library for storing time-series data (similar in design to RRD)
%prep
%setup -q -n whisper-%{version}
%patch -P 0 -p1
%build
%python_build
%install
%python_exec setup.py install --root=%{buildroot} --install-lib=%{python_sitelib} --install-scripts=%{_prefix}/lib/graphite
%files
%dir %{_prefix}/lib/graphite
%{_prefix}/lib/graphite/*
%{python_sitelib}/whisper.py*
%{python_sitelib}/whisper-%{version}-py*.egg-info
%pycache_only %{python_sitelib}/__pycache__/whisper.*.pyc
%changelog