|
|
76ffd54 |
%global srcname blindspin
|
|
|
76ffd54 |
|
|
|
76ffd54 |
%global _description\
|
|
|
76ffd54 |
Spinner class to show a simple spinner where a progress bar is not a\
|
|
|
76ffd54 |
feasible option.
|
|
|
76ffd54 |
|
|
|
76ffd54 |
Name: python-%{srcname}
|
|
|
76ffd54 |
Version: 2.0.1
|
|
|
e33e499 |
Release: 7%{?dist}
|
|
|
76ffd54 |
Summary: Braille Spinner for Click
|
|
|
76ffd54 |
|
|
|
76ffd54 |
License: MIT
|
|
|
76ffd54 |
URL: https://github.com/kennethreitz/blindspin
|
|
|
c8916b0 |
Source0: https://github.com/kennethreitz/blindspin/archive/v%{version}/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
c8916b0 |
#Source0: https://files.pythonhosted.org/packages/source/b/%%{srcname}/%%{srcname}-%%{version}.tar.gz
|
|
|
76ffd54 |
BuildArch: noarch
|
|
|
76ffd54 |
|
|
|
76ffd54 |
BuildRequires: python3-devel
|
|
|
76ffd54 |
BuildRequires: python3dist(setuptools)
|
|
|
c8916b0 |
# tests deps, click spinner not available yet:
|
|
|
c8916b0 |
#BuildRequires: python3dist(click)
|
|
|
c8916b0 |
#BuildRequires: python3dist(click-spinner)
|
|
|
c8916b0 |
#BuildRequires: python3dist(pytest)
|
|
|
c8916b0 |
#BuildRequires: python3dist(six)
|
|
|
76ffd54 |
|
|
|
76ffd54 |
%description %_description
|
|
|
76ffd54 |
|
|
|
76ffd54 |
%package -n python3-%{srcname}
|
|
|
76ffd54 |
Summary: %{summary}
|
|
|
76ffd54 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
76ffd54 |
|
|
|
76ffd54 |
%description -n python3-%{srcname} %_description
|
|
|
76ffd54 |
|
|
|
76ffd54 |
%prep
|
|
|
76ffd54 |
%autosetup -n %{srcname}-%{version}
|
|
|
76ffd54 |
# Remove bundled egg-info
|
|
|
76ffd54 |
rm -rf %{srcname}.egg-info
|
|
|
76ffd54 |
|
|
|
6e77e1d |
# Fix bad version in GitHub Tarball
|
|
|
6e77e1d |
sed -i "s/version='0.1.0'/version='%{version}'/" setup.py
|
|
|
6e77e1d |
|
|
|
76ffd54 |
%build
|
|
|
76ffd54 |
%py3_build
|
|
|
76ffd54 |
|
|
|
76ffd54 |
%install
|
|
|
76ffd54 |
%py3_install
|
|
|
76ffd54 |
|
|
|
c8916b0 |
#check
|
|
|
c8916b0 |
#__python3 -m pytest -v
|
|
|
c8916b0 |
|
|
|
76ffd54 |
%files -n python3-%{srcname}
|
|
|
76ffd54 |
%doc README.rst
|
|
|
76ffd54 |
%{python3_sitelib}/%{srcname}
|
|
|
76ffd54 |
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
|
|
|
76ffd54 |
|
|
|
76ffd54 |
%changelog
|
|
|
e33e499 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-7
|
|
|
e33e499 |
- Rebuilt for Python 3.8
|
|
|
e33e499 |
|
|
|
5af952d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-6
|
|
|
5af952d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
5af952d |
|
|
|
ff0b3fe |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-5
|
|
|
ff0b3fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
ff0b3fe |
|
|
|
28b7e3c |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
|
|
|
28b7e3c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
28b7e3c |
|
|
|
2dd4b57 |
* Sun Jun 24 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-3
|
|
|
2dd4b57 |
- Rebuilt for Python 3.7
|
|
|
2dd4b57 |
|
|
|
c8916b0 |
* Sat Jun 23 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-2
|
|
|
c8916b0 |
- Prepare for tests
|
|
|
c8916b0 |
- Remove unneeded runtime requirements
|
|
|
c8916b0 |
|
|
|
76ffd54 |
* Fri Jun 08 2018 Dhanesh B. Sabane <dhanesh95@fedoraproject.org> - 2.0.1-1
|
|
|
76ffd54 |
- Initial package.
|