Name: py-spidev
Version: 3.4
Release: 1%{?dist}
Summary: A python library for manipulating SPI via spidev
License: MIT
URL: https://github.com/doceme/py-spidev/
Source0: https://github.com/doceme/py-spidev/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
A python module for interfacing with SPI devices from user
space via the spidev linux kernel driver.
%package -n python3-spidev
Summary: A python library for manipulating SPI
%{?python_provide:%python_provide python3-spidev}
%description -n python3-spidev
A python module for interfacing with SPI devices from user
space via the spidev linux kernel driver.
%prep
%autosetup
%build
%py3_build
%install
%py3_install
%files -n python3-spidev
%license LICENSE
%{python3_sitearch}/spidev*
%changelog
* Tue Apr 30 2019 Peter Robinson <pbrobinson@fedoraproject.org> 3.4-1
- Initial package