d9f011c
%global src_name chirp-daily
d9f011c
03d228b
Name:           chirp
6c3dca4
Version:        20171204
6c3dca4
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/
d9f011c
Source0:        http://trac.chirp.danplanet.com/chirp_daily/daily-%{version}/%{src_name}-%{version}.tar.gz
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
6c3dca4
BuildRequires:  python-libxml2
e2aa7ff
BuildRequires:  pyserial
c2f23db
544a1ec
Requires:       pygtk2
f4a3bda
Requires:       libxml2-python
03d228b
Requires:       pyserial
6c3dca4
Requires:       python2-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
d9f011c
%setup -q -n %{src_name}-%{version}
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
3397492
%find_lang CHIRP
03d228b
3397492
3397492
%files -f CHIRP.lang
ab1f2dd
%license COPYING
03d228b
%{_bindir}/chirpw
6c3dca4
%{python2_sitelib}/%{src_name}_%{version}-py2.7.egg-info
6c3dca4
%{python2_sitelib}/%{name}/
03d228b
%{_datadir}/applications/%{name}.desktop
3397492
%exclude %{_datadir}/%{name}/locale
75cd011
%{_datadir}/%{name}/
03d228b
%{_mandir}/man1/chirpw.1.gz
03d228b
%{_datadir}/pixmaps/%{name}.png
03d228b
75cd011
03d228b
%changelog
6c3dca4
* Wed Dec 06 2017 Richard Shaw <hobbes1069@gmail.com> - 20171204-1
6c3dca4
- Update to latest upstream release.
6c3dca4
- Fix ambiguous Python 2 dependency declarations
6c3dca4
  https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
6c3dca4
04b7ec3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170711-2
04b7ec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
04b7ec3
6448806
* Tue Jul 11 2017 Richard Shaw <hobbes1069@gmail.com> - 20170711-1
6448806
- Update to latest upstream release.
6448806
544a1ec
* Sat Mar  4 2017 Richard Shaw <hobbes1069@gmail.com> - 20170222-1
544a1ec
- Update to latest upstream release.
544a1ec
- Add pygtk2 as a runtime requirement, fixes RHBZ#1428979.
544a1ec
f9f9d1e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170115-2
f9f9d1e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f9f9d1e
68637a5
* Sun Jan 15 2017 Richard Shaw <hobbes1069@gmail.com> - 20170115-1
68637a5
- Update to latest upstream release.
68637a5
63a949d
* Tue Oct 18 2016 Richard Shaw <hobbes1069@gmail.com> - 20161018-1
63a949d
- Update to latest upstream release.
63a949d
567dc6e
* Tue Aug 23 2016 Richard Shaw <hobbes1069@gmail.com> - 20160819-1
567dc6e
- Update to latest upstream release.
567dc6e
18b0235
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20160706-2
18b0235
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
18b0235
a0a4e69
* Thu Jul  7 2016 Richard Shaw <hobbes1069@gmail.com> - 20160706-1
a0a4e69
- Update to latest upstream release.
a0a4e69
a4ba520
* Mon May 23 2016 Richard Shaw <hobbes1069@gmail.com> - 20160517-1
a4ba520
- Update to latest upstream release.
a4ba520
d1148d4
* Wed May  4 2016 Richard Shaw <hobbes1069@gmail.com> - 20160504-1
d1148d4
- Update to latest upstream release.
d1148d4
3397492
* Wed Apr  6 2016 Richard Shaw <hobbes1069@gmail.com> - 20160402-1
3397492
- Update to latest upstream release.
3397492
3397492
* Wed Mar  9 2016 Richard Shaw <hobbes1069@gmail.com> - 20160309-1
3397492
- Update to latest upstream release.
3397492
d618501
* Mon Feb 29 2016 Richard Shaw <hobbes1069@gmail.com> - 20160229-1
e976c5c
- Update to latest upstream release.
e976c5c
e5fedff
* Thu Feb 18 2016 Richard Shaw <hobbes1069@gmail.com> - 20160215-1
e5fedff
- Update to latest upstream release.
e5fedff
460d767
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20151130-2
460d767
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
460d767
d9f011c
* Mon Nov 30 2015 Richard Shaw <hobbes1069@gmail.com> - 20151130-1
d9f011c
- Update to new rolling release.
d9f011c
bd9867b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
bd9867b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bd9867b
58df295
* Thu Oct  9 2014 Richard Shaw <hobbes1069@gmail.com> - 0.4.1-1
58df295
- Update to latest bugfix release.
58df295
58df295
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
852c29e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
852c29e
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