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