Name: chirp Version: 0.4.0 Release: %mkrel 4 Summary: A tool for programming radio equipment Group: Communications/Radio License: GPLv3+ URL: http://chirp.danplanet.com/ Source0: http://chirp.danplanet.com/download/%{version}/%{name}-%{version}.tar.gz Patch0: chirp-0.2.2-install.patch BuildArch: noarch BuildRequires: python-devel BuildRequires: desktop-file-utils BuildRequires: libxml2-python BuildRequires: python-serial Requires: libxml2-python Requires: python-serial Requires: python-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. %prep %setup -q %apply_patches %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" cat>%{buildroot}%{_datadir}/applications/%{name}.desktop<