# Created by pyp2rpm-3.3.7 %global pypi_name sense-hat %global pypi_version 2.2.0 Name: python-%{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission License: BSD URL: https://github.com/RPi-Distro/python-sense-hat Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description Sense HAT Python module to control the Raspberry Pi_ Sense HAT used in the Astro Pi_ mission - an education outreach programme for UK schools sending code experiments to the International Space Station.Hardware The Sense HAT features an 8x8 RGB LED matrix, a mini joystick and the following sensors:* Gyroscope * Accelerometer * Magnetometer * Temperature * Humidity * Barometric pressureBuy Buy... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(numpy) Requires: python3dist(pillow) %description -n python3-%{pypi_name} Sense HAT Python module to control the Raspberry Pi_ Sense HAT used in the Astro Pi_ mission - an education outreach programme for UK schools sending code experiments to the International Space Station.Hardware The Sense HAT features an 8x8 RGB LED matrix, a mini joystick and the following sensors:* Gyroscope * Accelerometer * Magnetometer * Temperature * Humidity * Barometric pressureBuy Buy... %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} %doc README.rst %{python3_sitelib}/sense_hat %{python3_sitelib}/sense_hat-%{pypi_version}-py%{python3_version}.egg-info %changelog * Tue Feb 01 2022 mockbuilder - 2.2.0-1 - Initial package.