diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2fdc5b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fastprogress-0.2.3.tar.gz diff --git a/python-fastprogress.spec b/python-fastprogress.spec new file mode 100644 index 0000000..d5daf91 --- /dev/null +++ b/python-fastprogress.spec @@ -0,0 +1,47 @@ + +%global srcname fastprogress + +Name: python-%{srcname} +Version: 0.2.3 +Release: 1%{?dist} +Summary: Progress bar for Jupyter Notebook and console + +License: ASL 2.0 +URL: https://github.com/fastai/fastprogress +Source0: %{pypi_source} + +BuildArch: noarch + +%global _description %{expand: +A Python-based, fast and simple progress bar +for Jupyter Notebook and console.} + +%description %_description + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-pytest +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} %_description + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{srcname} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ + +%changelog +* Tue May 26 2020 Sergio Pascual - 0.2.3-1 +- Initial spec file + diff --git a/sources b/sources new file mode 100644 index 0000000..6816742 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fastprogress-0.2.3.tar.gz) = cc518bc8670f7a68fb06456a17adff8b244d77af9549cbdec6cc9dd71e595a29b51f8efca23d46ca6429e20a4ef74bdc5cbf27820ab4bbc7f6c90c8c9c959c5e