%define dte 20200922 %define basever 0.3.0dev Name: chirp Version: %{dte}py3 Release: %mkrel 2 Summary: A tool for programming radio equipment Group: Communications/Radio License: GPLv3+ URL: http://%{name}.danplanet.com/ Source0: %{name}-%{dte}.tar.gz # Source0: https://trac.chirp.danplanet.com/chirp_daily/LATEST/chirp-%%{basever}.tar.gz # VCS https://chirp.danplanet.com/projects/chirp/wiki/DevelopersProcess Source1: mk-tar-and-patch Patch0: chirp-0.2.2-install.patch Patch1: chirp-20190201-mga-dont_nag_so_much_about_updates.patch Patch2: chirp-%{dte}-mga-2to3.patch Patch3: chirp-20191016-mga-rem-osx.patch BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: libxml2-python3 BuildRequires: python3-serial BuildRequires: python3-six BuildRequires: python3-future Requires: libxml2-python3 Requires: python3-future Requires: python3-serial Requires: python3-suds %description CHIRP is an open-source tool for programming radio tranceivers. It supports a large number of manufacturers and models, as well as providing a way to interface with multiple data sources and formats. This version is built from the chirp Python 3 branch which may not be as up to date as the daily builds which use obsolete Python 2, no longer supported in Mageia. %prep %autosetup -p1 -n %{name}-%{dte} %build %py3_build %install %py3_install rm -f %{buildroot}%{_datadir}/applications/%{name}.desktop cat>%{buildroot}%{_datadir}/applications/%{name}.desktop<