Name:           python-cheat-zh
Version:        0.0.1
Release:        1%{?dist}
Summary:        cheat-zh基于cheat v2.2.3制作,添加中文支持.支持交互式地创建和查看命令行作弊条,它被设计用于帮助那些频繁使用命令行,却还没频繁到记住它们的×nix系统管理员。

# Check if the automatically generated License and its spelling is correct for Fedora
# https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/
License:        GPL3
URL:            https://github.com/taceywong/cheat
Source:         %{pypi_source cheat-zh}

BuildArch:      noarch
BuildRequires:  python3-devel


# Fill in the actual package description to submit package to Fedora
%global _description %{expand:
This is package 'cheat-zh' generated automatically by pyp2spec.}


%description %_description

%package -n     python3-cheat-zh
Summary:        %{summary}

%description -n python3-cheat-zh %_description


%prep
%autosetup -p1 -n cheat-zh-%{version}


%generate_buildrequires
%pyproject_buildrequires


%build
%pyproject_wheel


%install
%pyproject_install
# For official Fedora packages, including files with '*' +auto is not allowed
# Replace it with a list of relevant Python modules/globs and list extra files in %%files
%pyproject_save_files '*' +auto


%check
%pyproject_check_import -t


%files -n python3-cheat-zh -f %{pyproject_files}


%changelog
* Tue Apr 26 2022 mockbuilder - 0.0.1-1
- Package generated with pyp2spec