python-yaspin/python-yaspin.spec

60 lines
1.6 KiB
RPMSpec
Raw Normal View History

2021-12-02 14:58:22 +08:00
%global _empty_manifest_terminate_build 0
2023-06-16 12:20:31 +08:00
%global pypi_name yaspin
Name: python-%{pypi_name}
Version: 2.3.0
Release: 1
2021-12-02 14:58:22 +08:00
Summary: Yet Another Terminal Spinner
License: MIT
URL: https://github.com/pavdmyt/yaspin
2023-06-16 12:20:31 +08:00
Source0: https://files.pythonhosted.org/packages/e7/d3/9dc42eaa5a41d64f83b6fcf68aef0993cc9be94dc3ea14038270680ff4e1/yaspin-2.3.0.tar.gz
2021-12-02 14:58:22 +08:00
BuildArch: noarch
2023-06-16 12:20:31 +08:00
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-editables
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
BuildRequires: python3-poetry-core
BuildRequires: python3-termcolor
2022-04-06 09:54:17 +08:00
BuildRequires: zlib >= 1.2.11
2021-12-02 14:58:22 +08:00
%description
Yaspin provides a full-featured terminal spinner to show the progress during long-hanging operations.
2023-06-16 12:20:31 +08:00
%package -n python3-%{pypi_name}
2021-12-02 14:58:22 +08:00
Summary: Yet Another Terminal Spinner
Provides: python-yaspin
2023-06-16 12:20:31 +08:00
%description -n python3-%{pypi_name}
2021-12-02 14:58:22 +08:00
Yaspin provides a full-featured terminal spinner to show the progress during long-hanging operations.
%prep
2023-06-16 12:20:31 +08:00
%autosetup -n %{pypi_name}-%{version}
2021-12-02 14:58:22 +08:00
%build
2023-06-16 12:20:31 +08:00
%pyproject_build
2021-12-02 14:58:22 +08:00
%install
2023-06-16 12:20:31 +08:00
%pyproject_install
2021-12-02 14:58:22 +08:00
2023-06-16 12:20:31 +08:00
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}*.dist-info/
2021-12-02 14:58:22 +08:00
%changelog
2023-06-16 12:20:31 +08:00
* Fri Jun 16 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.3.0-1
- Upgrade to version 2.3.0
2022-04-06 09:54:17 +08:00
* Wed Apr 06 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.1.0-2
- Add zlib to buildrequires
2021-12-02 14:58:22 +08:00
* Thu Dec 02 2021 Python_Bot <Python_Bot@openeuler.org> - 2.1.0-1
- Package Init