diff --git a/.gitignore b/.gitignore index 26aecf2..2a32e58 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /chirp-daily-20180210.tar.gz /chirp-daily-20180313.tar.gz /chirp-daily-20180606.tar.gz +/chirp-daily-20180614.tar.gz 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.spec b/chirp.spec index a5ab820..b1ae9a5 100644 --- a/chirp.spec +++ b/chirp.spec @@ -2,7 +2,7 @@ %global debug_package %{nil} Name: chirp -Version: 20180606 +Version: 20180614 Release: 1%{?dist} Summary: A tool for programming two-way radio equipment @@ -11,11 +11,13 @@ 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 +Source2: %{name}.appdata.xml Patch0: chirp-0.2.2-install.patch BuildArch: noarch +BuildRequires: libappstream-glib BuildRequires: python2-devel BuildRequires: python2-libxml2 BuildRequires: python2-pyserial @@ -28,10 +30,9 @@ Requires: python2-suds %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. +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 @@ -52,21 +53,30 @@ desktop-file-install \ %find_lang CHIRP +mkdir -p %{buildroot}%{_metainfodir} +install -pm 0644 %{SOURCE2} %{buildroot}%{_metainfodir}/ +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml + %files -f CHIRP.lang %license COPYING %{_bindir}/chirpw %{_bindir}/rpttool -%{python2_sitelib}/%{src_name}_%{version}-py2.7.egg-info -%{python2_sitelib}/%{name}/ -%{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/ -%{_mandir}/man1/chirpw.1.gz +%{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png +%{_mandir}/man1/chirpw.1.gz +%{_metainfodir}/%{name}.appdata.xml +%{python2_sitelib}/%{src_name}_%{version}-py2.7.egg-info +%{python2_sitelib}/%{name}/ %exclude %{_datadir}/%{name}/locale %changelog +* 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. diff --git a/sources b/sources index 5b26e80..9226a26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (chirp-daily-20180606.tar.gz) = 7689f3631c4c0f8567597e3dad1af91cd1a4e98690d501b6b6968c7121ed332ca6336e2c19516bbb08f86ccb5e9b118586a80f45472943b6503320ca59b10a53 +SHA512 (chirp-daily-20180614.tar.gz) = 1767f27b4b648f9acf780ebf6ea6b93c5ed3044bc25f81e7b61b42c6c904a06c617bc34ed5dbc7a9aaf5763ca4933955fc636a6a78dfaafdd5f995579dcd6354