add: py-spinners (#6610) (#6641)

(cherry picked from commit 36cd518a69)

Signed-off-by: Owen <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2025-10-01 20:49:39 -07:00
committed by GitHub
parent 178182d7d4
commit 78582daca4
3 changed files with 57 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "py-spinners.spec"
}
}
@@ -0,0 +1,50 @@
%global pypi_name spinners
%global _desc More than 60 spinners for terminal, python wrapper for amazing node library cli-spinners.
Name: python-%{pypi_name}
Version: 0.0.24
Release: 1%?dist
Summary: More than 60 spinners for terminal, python wrapper for amazing node library cli-spinners
License: MIT
URL: https://pypi.org/project/spinners/
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: py-spinners
Provides: %{pypi_name}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc
%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc
%python3_sitelib/spinners-%{version}.dist-info/*
%changelog
* Tue Sep 30 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("spinners"));