Name: chirp Version: 0.3.1 Release: 1%{?dist} Summary: A tool for programming two-way radio equipment Group: Applications/Communications License: GPLv3+ URL: http://chirp.danplanet.com/ Source0: http://chirp.danplanet.com/download/%{version}/%{name}-%{version}.tar.gz # Installing correct .desktop file # Source:http://dp67.fedorapeople.org/pkgs/DESKTOP/chirp.desktop Source1: %{name}.desktop Patch0: chirp-0.2.2-install.patch BuildArch: noarch BuildRequires: python-devel BuildRequires: desktop-file-utils BuildRequires: libxml2-python BuildRequires: pyserial Requires: libxml2-python Requires: pyserial Requires: python-suds %description Chirp is a tool for programming two-way radio equipment It provides a generic user interface to the programming data and process that can drive many radio models under the hood. %prep %setup -q %patch0 -p1 -b .inst %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" # Wrong .desktop config lets install the correct .desktop desktop-file-install \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1} %files %doc COPYING %{_bindir}/chirpw %{python_sitelib}/%{name}-%{version}-py2.7.egg-info %{python_sitelib}/%{name}/ %{python_sitelib}/chirpui/ %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/ %{_mandir}/man1/chirpw.1.gz %{_datadir}/pixmaps/%{name}.png %changelog * Mon May 06 2013 Richard Shaw <hobbes1069@gmail.com> - 0.3.1-1 - Update to latest upstream release. * Sat Feb 16 2013 Richard Shaw <hobbes1069@gmail.com> - 0.3.0-1 - Update to latest upstream release. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 04 2012 Richard Shaw <hobbes1069@gmail.com> - 0.2.2-1 - Update to latest upstream release. * Sun Mar 18 2012 Richard Shaw <hobbes1069@gmail.com> - 0.2.0-1 - Update to latest upstream release. * Sun Nov 20 2011 Randall "Randy" Berry, N3LRX <dp67@fedoraproject.org> - 0.1.12-5 - Add source for .desktop, per review * Sun Nov 20 2011 Randall "Randy" Berry, N3LRX <dp67@fedoraproject.org> - 0.1.12-4 - Add source for patches, per review * Sun Nov 20 2011 Randall "Randy" Berry, N3LRX <dp67@fedoraproject.org> - 0.1.12-3 - Submit for review * Sat Nov 19 2011 Randall "Randy" Berry, N3LRX <dp67@fedoraproject.org> - 0.1.12-2 - Own unowned directories - Add correct .desktop file - Apply patch to move COPYING file to proper directory - Add shebang patch removes shebang from unnecessary files * Sat Nov 19 2011 Randall "Randy" Berry, N3LRX <dp67@fedoraproject.org> - 0.1.12-1 - Initial Build and testing