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