%global srcname pynput

Name:           python-%{srcname}
Version:        1.4.2
Release:        0%{?dist}
Summary:        Control and monitor input devices

License:        LGPLv3
URL:            https://github.com/moses-palmer/pynput
Source0:        %{pypi_source}
Source1:        https://www.gnu.org/licenses/lgpl-3.0.txt

BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3-sphinx

%description
This library allows you to control and monitor input devices.
Currently, mouse and keyboard input and monitoring are supported.


%package     -n python3-%{srcname}
Summary:     Control and monitor input devices


%description -n python3-%{srcname}
This library allows you to control and monitor input devices.
Currently, mouse and keyboard input and monitoring are supported.


%prep
%autosetup -n %{srcname}-%{version}


%build
%py3_build


%install
%py3_install


%files -n python3-%{srcname}
%doc README.rst
%{python3_sitelib}/*


%changelog
* Thu Apr 11 2019 Mairi Dulaney <jdulaney@fedoraproject.org>
-