d9f011
%global src_name chirp-daily
f30b3c
%global debug_package %{nil}
d9f011
03d228
Name:           chirp
a80c5d
Version:        20190209
a80c5d
Release:        1%{?dist}
03d228
Summary:        A tool for programming two-way radio equipment
03d228
03d228
License:        GPLv3+
03d228
URL:            http://chirp.danplanet.com/
d9f011
Source0:        http://trac.chirp.danplanet.com/chirp_daily/daily-%{version}/%{src_name}-%{version}.tar.gz
03d228
Source1:        %{name}.desktop
03d228
fea9bb
Patch0:         chirp-0.2.2-install.patch
03d228
03d228
BuildArch:      noarch
c2f23d
7b00af
# Python 3 currently not supported, see:
7b00af
# https://chirp.danplanet.com/issues/5461
c2f23d
BuildRequires:  python2-devel
4d4890
BuildRequires:  desktop-file-utils
4d4890
%if 0%{?fedora}
4d4890
BuildRequires:  python2-libxml2
4d4890
BuildRequires:  python2-pyserial
4d4890
%else
51e01d
BuildRequires:  libxml2-python
52a0ce
BuildRequires:  pyserial
4d4890
%endif
c2f23d
544a1e
Requires:       pygtk2
4d4890
%if 0%{?fedora}
4d4890
Requires:       python2-libxml2
4d4890
Requires:       python2-pyserial
4d4890
Requires:       python2-suds
4d4890
%else
477c34
Requires:       libxml2-python
477c34
Requires:       pyserial
477c34
Requires:       python-suds
4d4890
%endif
c2f23d
03d228
%description
2b8ba6
Chirp is a tool for programming two-way radio equipment It provides a generic
2b8ba6
user interface to the programming data and process that can drive many radio
2b8ba6
models under the hood.
03d228
75cd01
03d228
%prep
d9f011
%setup -q -n %{src_name}-%{version}
75cd01
%patch0 -p1 -b .inst
75cd01
03d228
03d228
%build
28daed
%{__python2} setup.py build
03d228
75cd01
03d228
%install
28daed
%{__python2} 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
339749
%find_lang CHIRP
03d228
339749
339749
%files -f CHIRP.lang
ab1f2d
%license COPYING
03d228
%{_bindir}/chirpw
f30b3c
%{_bindir}/rpttool
75cd01
%{_datadir}/%{name}/
2b8ba6
%{_datadir}/applications/%{name}.desktop
03d228
%{_datadir}/pixmaps/%{name}.png
2b8ba6
%{_mandir}/man1/chirpw.1.gz
2b8ba6
%{python2_sitelib}/%{src_name}_%{version}-py2.7.egg-info
2b8ba6
%{python2_sitelib}/%{name}/
f30b3c
%exclude %{_datadir}/%{name}/locale
03d228
75cd01
03d228
%changelog
a80c5d
* Sat Feb 09 2019 Richard Shaw <hobbes1069@gmail.com> - 20190209-1
a80c5d
- Update to 20190209.
a80c5d
094302
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190120-2
094302
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
094302
1abeec
* Wed Jan 23 2019 Richard Shaw <hobbes1069@gmail.com> - 20190120-1
1abeec
- Update to 20190120.
1abeec
7d13b1
* Sat Jan 19 2019 Richard Shaw <hobbes1069@gmail.com> - 20190112-1
7d13b1
- Update to 20190112.
7d13b1
7b00af
* Fri Jan 04 2019 Richard Shaw <hobbes1069@gmail.com> - 20190104-1
7b00af
- Update to 20190104.
7b00af
a38523
* Wed Jan 02 2019 Richard Shaw <hobbes1069@gmail.com> - 20190102-1
a38523
- Update to 20190102.
a38523
7a263a
* Mon Dec 17 2018 Richard Shaw <hobbes1069@gmail.com> - 20181214-1
7a263a
- Update to 20181214.
7a263a
2f14c4
* Thu Dec 06 2018 Richard Shaw <hobbes1069@gmail.com> - 20181205-1
2f14c4
- Update to 20181205.
2f14c4
a38d5b
* Fri Nov 30 2018 Richard Shaw <hobbes1069@gmail.com> - 20181128-1
a38d5b
- Update to 20181128.
a38d5b
477c34
* Mon Sep 10 2018 Richard Shaw <hobbes1069@gmail.com> - 20180906-2
477c34
- Fix install requirements.
477c34
a6f7a1
* Sat Sep 08 2018 Richard Shaw <hobbes1069@gmail.com> - 20180906-1
a6f7a1
- Update to 20180906.
52a0ce
- Initial build for epel7.
a6f7a1
0fc7bd
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180614-2
0fc7bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0fc7bd
2b8ba6
* Thu Jun 14 2018 Richard Shaw <hobbes1069@gmail.com> - 20180614-1
2b8ba6
- Update to 20180614.
2b8ba6
- Add appdata file.
2b8ba6
a0670a
* Wed Jun 06 2018 Richard Shaw <hobbes1069@gmail.com> - 20180606-1
a0670a
- Update to 20180606.
a0670a
b41be0
* Tue Mar 13 2018 Richard Shaw <hobbes1069@gmail.com> - 20180313-1
b41be0
- Update to 20180313
b41be0
137fac
* Sat Feb 10 2018 Richard Shaw <hobbes1069@gmail.com> - 20180210-1
137fac
- Update to 20180210.
137fac
6e11ac
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171204-3
6e11ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6e11ac
fc3642
* Fri Dec 15 2017 Iryna Shcherbina <ishcherb@redhat.com> - 20171204-2
fc3642
- Update Python 2 dependency declarations to new packaging standards
fc3642
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
fc3642
6c3dca
* Wed Dec 06 2017 Richard Shaw <hobbes1069@gmail.com> - 20171204-1
6c3dca
- Update to latest upstream release.
6c3dca
- Fix ambiguous Python 2 dependency declarations
6c3dca
  https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
6c3dca
04b7ec
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170711-2
04b7ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
04b7ec
644880
* Tue Jul 11 2017 Richard Shaw <hobbes1069@gmail.com> - 20170711-1
644880
- Update to latest upstream release.
644880
544a1e
* Sat Mar  4 2017 Richard Shaw <hobbes1069@gmail.com> - 20170222-1
544a1e
- Update to latest upstream release.
544a1e
- Add pygtk2 as a runtime requirement, fixes RHBZ#1428979.
544a1e
f9f9d1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170115-2
f9f9d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f9f9d1
68637a
* Sun Jan 15 2017 Richard Shaw <hobbes1069@gmail.com> - 20170115-1
68637a
- Update to latest upstream release.
68637a
63a949
* Tue Oct 18 2016 Richard Shaw <hobbes1069@gmail.com> - 20161018-1
63a949
- Update to latest upstream release.
63a949
567dc6
* Tue Aug 23 2016 Richard Shaw <hobbes1069@gmail.com> - 20160819-1
567dc6
- Update to latest upstream release.
567dc6
18b023
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20160706-2
18b023
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
18b023
a0a4e6
* Thu Jul  7 2016 Richard Shaw <hobbes1069@gmail.com> - 20160706-1
a0a4e6
- Update to latest upstream release.
a0a4e6
a4ba52
* Mon May 23 2016 Richard Shaw <hobbes1069@gmail.com> - 20160517-1
a4ba52
- Update to latest upstream release.
a4ba52
d1148d
* Wed May  4 2016 Richard Shaw <hobbes1069@gmail.com> - 20160504-1
d1148d
- Update to latest upstream release.
d1148d
339749
* Wed Apr  6 2016 Richard Shaw <hobbes1069@gmail.com> - 20160402-1
339749
- Update to latest upstream release.
339749
339749
* Wed Mar  9 2016 Richard Shaw <hobbes1069@gmail.com> - 20160309-1
339749
- Update to latest upstream release.
339749
d61850
* Mon Feb 29 2016 Richard Shaw <hobbes1069@gmail.com> - 20160229-1
e976c5
- Update to latest upstream release.
e976c5
e5fedf
* Thu Feb 18 2016 Richard Shaw <hobbes1069@gmail.com> - 20160215-1
e5fedf
- Update to latest upstream release.
e5fedf
460d76
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20151130-2
460d76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
460d76
d9f011
* Mon Nov 30 2015 Richard Shaw <hobbes1069@gmail.com> - 20151130-1
d9f011
- Update to new rolling release.
d9f011
bd9867
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
bd9867
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bd9867
58df29
* Thu Oct  9 2014 Richard Shaw <hobbes1069@gmail.com> - 0.4.1-1
58df29
- Update to latest bugfix release.
58df29
58df29
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
852c29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
852c29
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