diff --git a/electrum.appdata.xml b/electrum.appdata.xml new file mode 100644 index 0000000..4d70232 --- /dev/null +++ b/electrum.appdata.xml @@ -0,0 +1,64 @@ + + + + electrum.desktop + CC0-1.0 + MIT and BSD + Electrum + A lightweight Bitcoin Client + +

+ Electrum is an easy to use Bitcoin client. It protects you from losing + coins in a backup mistake or computer failure, because your wallet can + be recovered from a secret phrase that you can write on paper or learn + by heart. There is no waiting time when you start the client, because + it does not download the Bitcoin block chain. +

+
+ + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/06-main-empty.png + Main window on after the wizard is done + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/01-install-wizard-connect-to-sever.png + Install wizard connect to server + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/02-install-wizard-wallet-type.png + Install wizard wallet type + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/03-install-wizard-keystore.png + Install wizard keystore + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/04-install-wizard-generation-seed.png + Install wizard generation seed + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/05-install-wizard-password.png + Install wizard password + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/07-receive.png + Receive bitcoin + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/10-send-freedom-fund.png + Send bitcoin + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/11-url-integration.png + URL integration + + + https://jonny.fedorapeople.org/electrum-2.7.12-screenshot-gnome/13-main-many-transactions.png + Main window after several transactions + + + + https://electrum.org/ + jonnyheggheim_at_sigaint.org +
diff --git a/electrum.spec b/electrum.spec index 927fd48..a9c56aa 100644 --- a/electrum.spec +++ b/electrum.spec @@ -1,11 +1,12 @@ Name: electrum Version: 2.7.12 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A lightweight Bitcoin Client License: MIT and BSD URL: https://electrum.org/ Source0: https://download.electrum.org/%{version}/Electrum-%{version}.tar.gz +Source1: electrum.appdata.xml Patch0: zbar-installation-instructions.patch BuildArch: noarch @@ -14,6 +15,8 @@ BuildRequires: PyQt4-devel BuildRequires: desktop-file-utils BuildRequires: gettext +BuildRequires: libappstream-glib + Requires: python2 Requires: python-ecdsa Requires: python-slowaes @@ -48,6 +51,7 @@ pyrcc4 icons.qrc -o gui/qt/icons_rc.py %install %{py2_install} +install -Dpm 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml # Remove shebang lines from .py files that aren't executable, and # remove executability from .py files that don't have a shebang line: @@ -69,6 +73,9 @@ desktop-file-install \ %find_lang %{name} +%check +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml + %post /usr/bin/update-desktop-database &> /dev/null || : @@ -82,11 +89,15 @@ desktop-file-install \ %doc PKG-INFO %license LICENCE %{_bindir}/electrum -%{_datadir}/pixmaps/electrum.png -%{_datadir}/applications/electrum.desktop +%{_datadir}/pixmaps/%{name}.png +%{_datadir}/applications/%{name}.desktop +%{_datadir}/appdata/%{name}.appdata.xml %{python2_sitelib}/* %changelog +* Tue Nov 29 2016 Jonny Heggheim - 2.7.12-5 +- Include appdata.xml file + * Fri Nov 18 2016 Jonny Heggheim - 2.7.12-4 - Updated license to MIT and BSD