diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..41f9977 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/rich-6.0.0.tar.gz diff --git a/python-rich.spec b/python-rich.spec new file mode 100644 index 0000000..542a26e --- /dev/null +++ b/python-rich.spec @@ -0,0 +1,50 @@ +# Created by pyp2rpm-3.3.4 +%global pypi_name rich + +Name: python-%{pypi_name} +Version: 6.0.0 +Release: 1%{?dist} +Summary: Render rich text and beautiful formatting in the terminal + +License: MIT +URL: https://github.com/willmcgugan/rich +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +Rich is a Python library for rich text and beautiful formatting in the terminal. +The Rich API makes it easy to add color and style to terminal output. Rich can +also render pretty tables, progress bars, markdown, syntax highlighted source +code, tracebacks, and more — out of the box. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Rich is a Python library for rich text and beautiful formatting in the terminal. +The Rich API makes it easy to add color and style to terminal output. Rich can +also render pretty tables, progress bars, markdown, syntax highlighted source +code, tracebacks, and more — out of the box. + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ + +%changelog +* Wed Aug 26 2020 Parag Nemade - 6.0.0-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..dbcce04 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rich-6.0.0.tar.gz) = 12b90f649314bc4f033d16b66cc1573734afc89a5a074ddccc95ea90d693e368cdd11aa2fe412abaab28374e0693f431214e2ebd0b30e494fd332f77f6a6ffb0