# Created by pyp2rpm-3.3.7
%global pypi_name phrase-hunter
%global pypi_version 0.1.1

Name:           python-%{pypi_name}
Version:        %{pypi_version}
Release:        1%{?dist}
Summary:        A simple game where you guess the letters of a phrase, similar to hangman

License:        None
URL:            https://github.com/reneebrinkman/phrase-hunter
Source0:        %{pypi_source}
BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)

%description
 Phrase HunterThis is a simple game for guessing the letters of a phrase,
similar to hangman.Install it with$ pip install phrase-hunterRun it with$
phrase-hunter Source codeMajority of the code can be found in the classes in
the included phrasehunter package. This is my Unit 3 submission for my
Treehouse Python Development TechDegree so any and all feedback is welcome!

%package -n     python3-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

Requires:       python3dist(setuptools)
%description -n python3-%{pypi_name}
 Phrase HunterThis is a simple game for guessing the letters of a phrase,
similar to hangman.Install it with$ pip install phrase-hunterRun it with$
phrase-hunter Source codeMajority of the code can be found in the classes in
the included phrasehunter package. This is my Unit 3 submission for my
Treehouse Python Development TechDegree so any and all feedback is welcome!


%prep
%autosetup -n %{pypi_name}-%{pypi_version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

%build
%py3_build

%install
%py3_install

%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{_bindir}/phrase-hunter
%{python3_sitelib}/phrasehunter
%{python3_sitelib}/phrase_hunter-%{pypi_version}-py%{python3_version}.egg-info

%changelog
* Sat Feb 19 2022 mockbuilder - 0.1.1-1
- Initial package.