d9f011c
%global src_name chirp-daily
f30b3c9
%global debug_package %{nil}
d9f011c
03d228b
Name:           chirp
eba7f82
Version:        20190718
422836e
Release:        2%{?dist}
03d228b
Summary:        A tool for programming two-way radio equipment
03d228b
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
7b00afc
# Python 3 currently not supported, see:
7b00afc
# https://chirp.danplanet.com/issues/5461
c2f23db
BuildRequires:  python2-devel
4d4890c
BuildRequires:  desktop-file-utils
4d4890c
%if 0%{?fedora}
4d4890c
BuildRequires:  python2-libxml2
4d4890c
BuildRequires:  python2-pyserial
4d4890c
%else
51e01dd
BuildRequires:  libxml2-python
52a0ce1
BuildRequires:  pyserial
4d4890c
%endif
c2f23db
544a1ec
Requires:       pygtk2
4d4890c
%if 0%{?fedora}
d7562e5
Requires:       %{py2_dist future pyserial suds-jurko}
1336e95
Requires:       python2-libxml2
4d4890c
%else
477c346
Requires:       libxml2-python
d7562e5
Requires:       python2-future
477c346
Requires:       pyserial
477c346
Requires:       python-suds
4d4890c
%endif
c2f23db
03d228b
%description
2b8ba6d
Chirp is a tool for programming two-way radio equipment It provides a generic
2b8ba6d
user interface to the programming data and process that can drive many radio
2b8ba6d
models under the hood.
03d228b
75cd011
03d228b
%prep
210235c
%autosetup -p1 -n %{src_name}-%{version}
75cd011
03d228b
03d228b
%build
210235c
%{py2_build}
03d228b
75cd011
03d228b
%install
210235c
%{py2_install}
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
f30b3c9
%{_bindir}/rpttool
75cd011
%{_datadir}/%{name}/
2b8ba6d
%{_datadir}/applications/%{name}.desktop
03d228b
%{_datadir}/pixmaps/%{name}.png
2b8ba6d
%{_mandir}/man1/chirpw.1.gz
2b8ba6d
%{python2_sitelib}/%{src_name}_%{version}-py2.7.egg-info
2b8ba6d
%{python2_sitelib}/%{name}/
f30b3c9
%exclude %{_datadir}/%{name}/locale
03d228b
75cd011
03d228b
%changelog
422836e
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190718-2
422836e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
422836e
eba7f82
* Mon Jul 22 2019 Richard Shaw <hobbes1069@gmail.com> - 20190718-1
eba7f82
- Update to 20190718.
eba7f82
d7562e5
* Sat Jul 13 2019 Richard Shaw <hobbes1069@gmail.com> - 20190713-1
d7562e5
- Update to 20190713.
d7562e5
781257d
* Fri Jul 05 2019 Richard Shaw <hobbes1069@gmail.com> - 20190703-1
781257d
- Update to 20190703.
781257d
3998e60
* Thu May 30 2019 Richard Shaw <hobbes1069@gmail.com> - 20190524-1
3998e60
- Update to 20190524.
3998e60
0c93263
* Wed Apr 10 2019 Richard Shaw <hobbes1069@gmail.com> - 20190410-1
0c93263
- Update to 20190410.
0c93263
af61ea9
* Tue Mar 19 2019 Richard Shaw <hobbes1069@gmail.com> - 20190319-1
af61ea9
- Update to 20190319.
af61ea9
81b971f
* Mon Mar 04 2019 Richard Shaw <hobbes1069@gmail.com> - 20190304-1
81b971f
- Update to 20190304.
81b971f
a4d711a
* Sun Mar 03 2019 Richard Shaw <hobbes1069@gmail.com> - 20190303-1
a4d711a
- Update to 20190303.
a4d711a
700b1e1
* Thu Feb 28 2019 Richard Shaw <hobbes1069@gmail.com> - 20190227-1
700b1e1
- Update to 20190227.
700b1e1
bdb264b
* Sun Feb 24 2019 Richard Shaw <hobbes1069@gmail.com> - 20190222-1
bdb264b
- Update to 20190222.
bdb264b
1336e95
* Wed Feb 20 2019 Richard Shaw <hobbes1069@gmail.com> - 20190220-1
1336e95
- Update to 20190220.
1336e95
51d4530
* Tue Feb 19 2019 Richard Shaw <hobbes1069@gmail.com> - 20190219-1
51d4530
- Update to 20190219.
51d4530
d18d2fd
* Mon Feb 18 2019 Richard Shaw <hobbes1069@gmail.com> - 20190218-1
d18d2fd
- Update to 20190218.
d18d2fd
b17e0dd
* Sun Feb 17 2019 Richard Shaw <hobbes1069@gmail.com> - 20190217-1
b17e0dd
- Update to 20190217.
b17e0dd
210235c
* Fri Feb 15 2019 Richard Shaw <hobbes1069@gmail.com> - 20190215-1
210235c
- Update to 20190215.
210235c
a80c5d2
* Sat Feb 09 2019 Richard Shaw <hobbes1069@gmail.com> - 20190209-1
a80c5d2
- Update to 20190209.
a80c5d2
094302e
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190120-2
094302e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
094302e
1abeecc
* Wed Jan 23 2019 Richard Shaw <hobbes1069@gmail.com> - 20190120-1
1abeecc
- Update to 20190120.
1abeecc
7d13b1d
* Sat Jan 19 2019 Richard Shaw <hobbes1069@gmail.com> - 20190112-1
7d13b1d
- Update to 20190112.
7d13b1d
7b00afc
* Fri Jan 04 2019 Richard Shaw <hobbes1069@gmail.com> - 20190104-1
7b00afc
- Update to 20190104.
7b00afc
a38523e
* Wed Jan 02 2019 Richard Shaw <hobbes1069@gmail.com> - 20190102-1
a38523e
- Update to 20190102.
a38523e
7a263a1
* Mon Dec 17 2018 Richard Shaw <hobbes1069@gmail.com> - 20181214-1
7a263a1
- Update to 20181214.
7a263a1
2f14c48
* Thu Dec 06 2018 Richard Shaw <hobbes1069@gmail.com> - 20181205-1
2f14c48
- Update to 20181205.
2f14c48
a38d5b0
* Fri Nov 30 2018 Richard Shaw <hobbes1069@gmail.com> - 20181128-1
a38d5b0
- Update to 20181128.
a38d5b0
477c346
* Mon Sep 10 2018 Richard Shaw <hobbes1069@gmail.com> - 20180906-2
477c346
- Fix install requirements.
477c346
a6f7a10
* Sat Sep 08 2018 Richard Shaw <hobbes1069@gmail.com> - 20180906-1
a6f7a10
- Update to 20180906.
52a0ce1
- Initial build for epel7.
a6f7a10
0fc7bdc
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180614-2
0fc7bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0fc7bdc
2b8ba6d
* Thu Jun 14 2018 Richard Shaw <hobbes1069@gmail.com> - 20180614-1
2b8ba6d
- Update to 20180614.
2b8ba6d
- Add appdata file.
2b8ba6d
a0670ac
* Wed Jun 06 2018 Richard Shaw <hobbes1069@gmail.com> - 20180606-1
a0670ac
- Update to 20180606.
a0670ac
b41be02
* Tue Mar 13 2018 Richard Shaw <hobbes1069@gmail.com> - 20180313-1
b41be02
- Update to 20180313
b41be02
137fac6
* Sat Feb 10 2018 Richard Shaw <hobbes1069@gmail.com> - 20180210-1
137fac6
- Update to 20180210.
137fac6
6e11ac8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171204-3
6e11ac8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6e11ac8
fc36426
* Fri Dec 15 2017 Iryna Shcherbina <ishcherb@redhat.com> - 20171204-2
fc36426
- Update Python 2 dependency declarations to new packaging standards
fc36426
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
fc36426
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