diff --git a/python-slugify-4.0.1.tar.gz b/python-slugify-4.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e2fb26112f677184b00f9fe7cda76b63c3caf359 Binary files /dev/null and b/python-slugify-4.0.1.tar.gz differ diff --git a/python-slugify.spec b/python-slugify.spec new file mode 100644 index 0000000000000000000000000000000000000000..f0f3dee930b68c6ba432476cf0b222219a4500dd --- /dev/null +++ b/python-slugify.spec @@ -0,0 +1,47 @@ +Name: python-slugify +Version: 4.0.1 +Release: 1 +Summary: Python module to deal with unicode slugs + +License: BSD +URL: https://github.com/un33k/python-slugify +Source0: %{url}/archive/%{version}/python-slugify-%{version}.tar.gz + +BuildArch: noarch + +%description +A Python slugify application that handles Unicode. + +%package -n python3-slugify +Summary: %{sum} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-text-unidecode +%{?python_provide:%python_provide python3-slugify} + +%description -n python3-slugify +A Python slugify application that handles Unicode. + +%prep +%autosetup -n python-slugify-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} test.py + +%files -n python3-slugify +%doc CHANGELOG.md README.md +%license LICENSE +%{_bindir}/slugify +%{python3_sitelib}/slugify/ +%{python3_sitelib}/python_slugify-%{version}-py*.egg-info + +%changelog +* Fri Jul 2 2021 Cai Yuxin - 4.0.1-1 +- Initial package.