Blob Blame History Raw
%global srcname blindspin

%global _description\
Spinner class to show a simple spinner where a progress bar is not a\
feasible option.

Name:           python-%{srcname}
Version:        2.0.1
Release:        1%{?dist}
Summary:        Braille Spinner for Click

License:        MIT
URL:            https://github.com/kennethreitz/blindspin
Source0:        https://files.pythonhosted.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)

%description %_description

%package -n     python3-%{srcname}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
 
Requires:       python3dist(click)
Requires:       python3dist(pytest)
Requires:       python3dist(six)

%description -n python3-%{srcname} %_description

%prep
%autosetup -n %{srcname}-%{version}
# Remove bundled egg-info
rm -rf %{srcname}.egg-info

%build
%py3_build

%install
%py3_install

%files -n python3-%{srcname}
%doc README.rst
%{python3_sitelib}/%{srcname}
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info

%changelog
* Fri Jun 08 2018 Dhanesh B. Sabane <dhanesh95@fedoraproject.org> - 2.0.1-1
- Initial package.