%global _empty_manifest_terminate_build 0 Name: python-webcolors Version: 1.13 Release: 1 Summary: A library for working with color names and color values formats defined by HTML and CSS. License: BSD 3-Clause URL: https://github.com/ubernostrum/webcolors Source0: https://files.pythonhosted.org/packages/a1/fb/f95560c6a5d4469d9c49e24cf1b5d4d21ffab5608251c6020a965fb7791c/webcolors-1.13.tar.gz BuildRequires: python3-pip python3-wheel BuildArch: noarch %description ``webcolors`` is a module for working with HTML/CSS color definitions. %package -n python3-webcolors Summary: A library for working with color names and color values formats defined by HTML and CSS. Provides: python-webcolors BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-webcolors ``webcolors`` is a module for working with HTML/CSS color definitions. %package help Summary: Development documents and examples for webcolors Provides: python3-webcolors-doc %description help ``webcolors`` is a module for working with HTML/CSS color definitions. %prep %autosetup -n webcolors-%{version} %build %pyproject_build %install %pyproject_install webcolors==%{version} install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %files -n python3-webcolors %{python3_sitelib}/* %files help %{_docdir}/* %changelog * Fri Apr 28 2023 wulei - 1.13-1 - Update to 1.13 * Wed Sep 14 2022 Qiao Jijun - 1.12-1 - Update to 1.12 * Mon Nov 23 2020 Python_Bot - Package Spec generated