%global pypi_name pyunigps Name: python-%{pypi_name} Version: 0.1.3 Release: %autorelease Summary: Python library for Unicore UNI GNSS binary protocol messages License: BSD-3-Clause URL: https://github.com/semuconsulting/%{pypi_name} Source0: %url/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-setuptools %global _description %{expand: pyunigps is an original Python 3 parser for the UNI © protocol. UNI is our term for the proprietary binary data output protocol implemented on Unicore™ GNSS receiver modules. pyunigps can also parse NMEA 0183 © and RTCM3© protocols via the underlying pynmeagps and pyrtcm packages from the same author - hence it covers all the protocols that Unicore UNI GNSS receivers are capable of outputting. } %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %prep %autosetup -p1 -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md %changelog %autochangelog