diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f2dc2a2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,50 @@ +/chirp-0.1.12.tar.gz +/chirp-0.2.0.tar.gz +/chirp-0.2.2.tar.gz +/chirp-0.3.0.tar.gz +/chirp-0.3.1.tar.gz +/chirp-0.4.0.tar.gz +/chirp-0.4.1.tar.gz +/chirp-daily-20151130.tar.gz +/chirp-daily-20160215.tar.gz +/chirp-daily-20160224.tar.gz +/chirp-daily-20160229.tar.gz +/chirp-daily-20160402.tar.gz +/chirp-daily-20160504.tar.gz +/chirp-daily-20160517.tar.gz +/chirp-daily-20160706.tar.gz +/chirp-daily-20160819.tar.gz +/chirp-daily-20161018.tar.gz +/chirp-daily-20170115.tar.gz +/chirp-daily-20170222.tar.gz +/chirp-daily-20170711.tar.gz +/chirp-daily-20171204.tar.gz +/chirp-daily-20180210.tar.gz +/chirp-daily-20180313.tar.gz +/chirp-daily-20180606.tar.gz +/chirp-daily-20180614.tar.gz +/chirp-daily-20180906.tar.gz +/chirp-daily-20181128.tar.gz +/chirp-daily-20181205.tar.gz +/chirp-daily-20181214.tar.gz +/chirp-daily-20190102.tar.gz +/chirp-daily-20190104.tar.gz +/chirp-daily-20190112.tar.gz +/chirp-daily-20190120.tar.gz +/chirp-daily-20190209.tar.gz +/chirp-daily-20190215.tar.gz +/chirp-daily-20190217.tar.gz +/chirp-daily-20190218.tar.gz +/chirp-daily-20190219.tar.gz +/chirp-daily-20190220.tar.gz +/chirp-daily-20190222.tar.gz +/chirp-daily-20190227.tar.gz +/chirp-daily-20190303.tar.gz +/chirp-daily-20190304.tar.gz +/chirp-daily-20190319.tar.gz +/chirp-daily-20190410.tar.gz +/chirp-daily-20190524.tar.gz +/chirp-daily-20190703.tar.gz +/chirp-daily-20190713.tar.gz +/chirp-daily-20190718.tar.gz +/chirp-daily-20190812.tar.gz diff --git a/chirp-0.2.2-install.patch b/chirp-0.2.2-install.patch new file mode 100644 index 0000000..088903f --- /dev/null +++ b/chirp-0.2.2-install.patch @@ -0,0 +1,10 @@ +--- chirp-0.2.2/setup.py.inst 2012-03-24 02:01:12.000000000 -0500 ++++ chirp-0.2.2/setup.py 2012-06-04 10:39:43.681590064 -0500 +@@ -110,7 +110,6 @@ + data_files=[('share/applications', desktop_files), + ('share/chirp/images', image_files), + ('share/chirp', xsd_files), +- ('share/doc/chirp', ['COPYING']), + ('share/pixmaps', ['share/chirp.png']), + ('share/man/man1', ["share/chirpw.1"]), + ('share/chirp/stock_configs', stock_configs), diff --git a/chirp.appdata.xml b/chirp.appdata.xml new file mode 100644 index 0000000..e6aa42f --- /dev/null +++ b/chirp.appdata.xml @@ -0,0 +1,25 @@ + + + chirp.desktop + Chirp + CHIRP Radio Programming Tool + Dan Smith + +

+Chirp is a tool for programming two-way radio equipment It provides a generic +user interface to the programming data and process that can drive many radio +models under the hood. +

+
+ CC0-1.0 + GPL-3.0+ + https://chirp.danplanet.com/projects/chirp/issues + https://chirp.danplanet.com/projects/chirp/wiki/Home + none + + + https://chirp.danplanet.com/download/site/screenshot1.png + + + hobbes1069@fedoraproject.org +
diff --git a/chirp.desktop b/chirp.desktop new file mode 100644 index 0000000..b85e132 --- /dev/null +++ b/chirp.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Chirp +GenericName=chirp +Exec=chirpw +Icon=chirp +Terminal=false +Type=Application +Categories=Network;HamRadio; +Version=1.0 +Comment=CHIRP Radio Programming Tool diff --git a/chirp.spec b/chirp.spec new file mode 100644 index 0000000..871bc4b --- /dev/null +++ b/chirp.spec @@ -0,0 +1,293 @@ +%global src_name chirp-daily +%global debug_package %{nil} + +Name: chirp +Version: 20190812 +Release: 1%{?dist} +Summary: A tool for programming two-way radio equipment + +License: GPLv3+ +URL: http://chirp.danplanet.com/ +Source0: http://trac.chirp.danplanet.com/chirp_daily/daily-%{version}/%{src_name}-%{version}.tar.gz +Source1: %{name}.desktop + +Patch0: chirp-0.2.2-install.patch + +BuildArch: noarch + +# Python 3 currently not supported, see: +# https://chirp.danplanet.com/issues/5461 +BuildRequires: python2-devel +BuildRequires: desktop-file-utils +%if 0%{?fedora} +BuildRequires: python2-libxml2 +BuildRequires: python2-pyserial +%else +BuildRequires: libxml2-python +BuildRequires: pyserial +%endif + +Requires: pygtk2 +%if 0%{?fedora} +Requires: %{py2_dist future pyserial suds-jurko} +Requires: python2-libxml2 +%else +Requires: libxml2-python +Requires: python2-future +Requires: pyserial +Requires: python-suds +%endif + +%description +Chirp is a tool for programming two-way radio equipment It provides a generic +user interface to the programming data and process that can drive many radio +models under the hood. + + +%prep +%autosetup -p1 -n %{src_name}-%{version} + + +%build +%{py2_build} + + +%install +%{py2_install} + +# Wrong .desktop config lets install the correct .desktop +desktop-file-install \ + --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1} + +%find_lang CHIRP + + +%files -f CHIRP.lang +%license COPYING +%{_bindir}/chirpw +%{_bindir}/rpttool +%{_datadir}/%{name}/ +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png +%{_mandir}/man1/chirpw.1.gz +%{python2_sitelib}/%{src_name}_%{version}-py2.7.egg-info +%{python2_sitelib}/%{name}/ +%exclude %{_datadir}/%{name}/locale + + +%changelog +* Mon Aug 12 2019 Richard Shaw - 20190812-1 +- Update to 20190812. + +* Wed Jul 24 2019 Fedora Release Engineering - 20190718-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jul 22 2019 Richard Shaw - 20190718-1 +- Update to 20190718. + +* Sat Jul 13 2019 Richard Shaw - 20190713-1 +- Update to 20190713. + +* Fri Jul 05 2019 Richard Shaw - 20190703-1 +- Update to 20190703. + +* Thu May 30 2019 Richard Shaw - 20190524-1 +- Update to 20190524. + +* Wed Apr 10 2019 Richard Shaw - 20190410-1 +- Update to 20190410. + +* Tue Mar 19 2019 Richard Shaw - 20190319-1 +- Update to 20190319. + +* Mon Mar 04 2019 Richard Shaw - 20190304-1 +- Update to 20190304. + +* Sun Mar 03 2019 Richard Shaw - 20190303-1 +- Update to 20190303. + +* Thu Feb 28 2019 Richard Shaw - 20190227-1 +- Update to 20190227. + +* Sun Feb 24 2019 Richard Shaw - 20190222-1 +- Update to 20190222. + +* Wed Feb 20 2019 Richard Shaw - 20190220-1 +- Update to 20190220. + +* Tue Feb 19 2019 Richard Shaw - 20190219-1 +- Update to 20190219. + +* Mon Feb 18 2019 Richard Shaw - 20190218-1 +- Update to 20190218. + +* Sun Feb 17 2019 Richard Shaw - 20190217-1 +- Update to 20190217. + +* Fri Feb 15 2019 Richard Shaw - 20190215-1 +- Update to 20190215. + +* Sat Feb 09 2019 Richard Shaw - 20190209-1 +- Update to 20190209. + +* Thu Jan 31 2019 Fedora Release Engineering - 20190120-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jan 23 2019 Richard Shaw - 20190120-1 +- Update to 20190120. + +* Sat Jan 19 2019 Richard Shaw - 20190112-1 +- Update to 20190112. + +* Fri Jan 04 2019 Richard Shaw - 20190104-1 +- Update to 20190104. + +* Wed Jan 02 2019 Richard Shaw - 20190102-1 +- Update to 20190102. + +* Mon Dec 17 2018 Richard Shaw - 20181214-1 +- Update to 20181214. + +* Thu Dec 06 2018 Richard Shaw - 20181205-1 +- Update to 20181205. + +* Fri Nov 30 2018 Richard Shaw - 20181128-1 +- Update to 20181128. + +* Mon Sep 10 2018 Richard Shaw - 20180906-2 +- Fix install requirements. + +* Sat Sep 08 2018 Richard Shaw - 20180906-1 +- Update to 20180906. +- Initial build for epel7. + +* Thu Jul 12 2018 Fedora Release Engineering - 20180614-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 14 2018 Richard Shaw - 20180614-1 +- Update to 20180614. +- Add appdata file. + +* Wed Jun 06 2018 Richard Shaw - 20180606-1 +- Update to 20180606. + +* Tue Mar 13 2018 Richard Shaw - 20180313-1 +- Update to 20180313 + +* Sat Feb 10 2018 Richard Shaw - 20180210-1 +- Update to 20180210. + +* Wed Feb 07 2018 Fedora Release Engineering - 20171204-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Dec 15 2017 Iryna Shcherbina - 20171204-2 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Wed Dec 06 2017 Richard Shaw - 20171204-1 +- Update to latest upstream release. +- Fix ambiguous Python 2 dependency declarations + https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Wed Jul 26 2017 Fedora Release Engineering - 20170711-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jul 11 2017 Richard Shaw - 20170711-1 +- Update to latest upstream release. + +* Sat Mar 4 2017 Richard Shaw - 20170222-1 +- Update to latest upstream release. +- Add pygtk2 as a runtime requirement, fixes RHBZ#1428979. + +* Fri Feb 10 2017 Fedora Release Engineering - 20170115-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Jan 15 2017 Richard Shaw - 20170115-1 +- Update to latest upstream release. + +* Tue Oct 18 2016 Richard Shaw - 20161018-1 +- Update to latest upstream release. + +* Tue Aug 23 2016 Richard Shaw - 20160819-1 +- Update to latest upstream release. + +* Tue Jul 19 2016 Fedora Release Engineering - 20160706-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Jul 7 2016 Richard Shaw - 20160706-1 +- Update to latest upstream release. + +* Mon May 23 2016 Richard Shaw - 20160517-1 +- Update to latest upstream release. + +* Wed May 4 2016 Richard Shaw - 20160504-1 +- Update to latest upstream release. + +* Wed Apr 6 2016 Richard Shaw - 20160402-1 +- Update to latest upstream release. + +* Wed Mar 9 2016 Richard Shaw - 20160309-1 +- Update to latest upstream release. + +* Mon Feb 29 2016 Richard Shaw - 20160229-1 +- Update to latest upstream release. + +* Thu Feb 18 2016 Richard Shaw - 20160215-1 +- Update to latest upstream release. + +* Wed Feb 03 2016 Fedora Release Engineering - 20151130-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Nov 30 2015 Richard Shaw - 20151130-1 +- Update to new rolling release. + +* Wed Jun 17 2015 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Oct 9 2014 Richard Shaw - 0.4.1-1 +- Update to latest bugfix release. + +* Sat Jun 07 2014 Fedora Release Engineering +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Mar 26 2014 Richard Shaw - 0.4.0-1 +- Update to latest upstream release. + +* Sat Aug 03 2013 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon May 06 2013 Richard Shaw - 0.3.1-1 +- Update to latest upstream release. + +* Sat Feb 16 2013 Richard Shaw - 0.3.0-1 +- Update to latest upstream release. + +* Wed Feb 13 2013 Fedora Release Engineering - 0.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 0.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 04 2012 Richard Shaw - 0.2.2-1 +- Update to latest upstream release. + +* Sun Mar 18 2012 Richard Shaw - 0.2.0-1 +- Update to latest upstream release. + +* Sun Nov 20 2011 Randall "Randy" Berry, N3LRX - 0.1.12-5 +- Add source for .desktop, per review + +* Sun Nov 20 2011 Randall "Randy" Berry, N3LRX - 0.1.12-4 +- Add source for patches, per review + +* Sun Nov 20 2011 Randall "Randy" Berry, N3LRX - 0.1.12-3 +- Submit for review + +* Sat Nov 19 2011 Randall "Randy" Berry, N3LRX - 0.1.12-2 +- Own unowned directories +- Add correct .desktop file +- Apply patch to move COPYING file to proper directory +- Add shebang patch removes shebang from unnecessary files + +* Sat Nov 19 2011 Randall "Randy" Berry, N3LRX - 0.1.12-1 +- Initial Build and testing diff --git a/dead.package b/dead.package deleted file mode 100644 index 9c071e6..0000000 --- a/dead.package +++ /dev/null @@ -1,3 +0,0 @@ -Retired, fails to install due to missing Python 2 dependencies - -https://bugzilla.redhat.com/show_bug.cgi?id=1737641 diff --git a/sources b/sources new file mode 100644 index 0000000..ebd4151 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (chirp-daily-20190812.tar.gz) = ae4e94b29a0951e48870edb230974951020200305141019d536d612d163141f09630a3b330fbf6082018735ed033bc3030bd157c0b4ade70a6a37b3c4d14d4e8