From 0affed05820d6abff9f282f23bedd86572516ea9 Mon Sep 17 00:00:00 2001 From: Ben Rosser Date: Fri, 9 Sep 2016 14:41:03 -0400 Subject: [PATCH] Include appstream data for client, monolithic client. --- quassel.appdata.xml | 41 +++++++++++++++++++++++++++++++++++++++ quassel.spec | 19 +++++++++++++++++- quasselclient.appdata.xml | 41 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 quassel.appdata.xml create mode 100644 quasselclient.appdata.xml diff --git a/quassel.appdata.xml b/quassel.appdata.xml new file mode 100644 index 0000000..3081fa5 --- /dev/null +++ b/quassel.appdata.xml @@ -0,0 +1,41 @@ + + + + quassel.desktop + CC0-1.0 + GPL-3.0 + Quassel + Modern IRC client + +

+Quassel IRC is a modern, cross-platform, distributed IRC client, meaning that +one (or multiple) client(s) can attach to and detach from a central core: much +like the popular combination of screen and a text-based IRC client such as +WeeChat, but graphical. In addition to this unique feature, we aim to bring a +pleasurable, comfortable chatting experience to all major platforms, making +communication with your peers not only convenient, but also available everywhere. +

+

+And the best of all: It's free - as in beer and as in speech. +

+

+This application is the "monolithic" build of Quassel; it can be used on its own +without setting up a core. +

+
+ + + http://quassel-irc.org/files/images/20080914-011743-quasselkde4.preview.png + Quassel, with a dark theme enabled + + + http://quassel-irc.org/files/images/quassel_win7.preview.png + +The default quassel white theme. Quassel runs on all major desktop platforms, +and many smartphones as well. + + + + +
+ diff --git a/quassel.spec b/quassel.spec index aff0dc3..a13fb2d 100755 --- a/quassel.spec +++ b/quassel.spec @@ -4,7 +4,7 @@ Name: quassel Summary: A modern distributed IRC system Version: 0.12.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 or GPLv3 URL: http://quassel-irc.org/ @@ -34,6 +34,8 @@ BuildRequires: qt5-qtwebkit-devel BuildRequires: systemd BuildRequires: firewalld-filesystem +BuildRequires: libappstream-glib + Requires: oxygen-icon-theme Provides: %{name}-gui = %{version}-%{release} @@ -47,6 +49,10 @@ Source2: quassel.conf # Firewalld service definition. Source3: quassel.xml +# Appstream metadata, for GNOME Software. +Source4: quassel.appdata.xml +Source5: quasselclient.appdata.xml + %description Quassel IRC is a modern, distributed IRC client, meaning that one (or multiple) client(s) can attach @@ -120,6 +126,12 @@ install -p -m 0644 %{SOURCE3} %{buildroot}/%{_prefix}/lib/firewalld/services/ # Home directory for quassel user install -d -m 0750 %{buildroot}/%{quassel_data_dir} +# Install the appdata files. +mkdir %{buildroot}%{_datadir}/appdata/ +cp -a %{SOURCE4} %{SOURCE5} %{buildroot}%{_datadir}/appdata/ +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml + + %post common touch --no-create %{_kf5_iconsdir}/hicolor &> /dev/null || : @@ -156,6 +168,7 @@ exit 0 %files %{_kf5_bindir}/quassel %{_kf5_datadir}/applications/quassel.desktop +%{_datadir}/appdata/quassel.appdata.xml %files common %doc README @@ -176,9 +189,13 @@ exit 0 %files client %{_kf5_bindir}/quasselclient %{_kf5_datadir}/applications/quasselclient.desktop +%{_datadir}/appdata/quasselclient.appdata.xml %changelog +* Fri Sep 9 2016 Ben Rosser 0.12.4-2 +- Include appstream metadata for client and monolithic client. + * Mon Apr 25 2016 Ben Rosser 0.12.4-1 - Update to latest upstream quassel release diff --git a/quasselclient.appdata.xml b/quasselclient.appdata.xml new file mode 100644 index 0000000..80ad866 --- /dev/null +++ b/quasselclient.appdata.xml @@ -0,0 +1,41 @@ + + + + quasselclient.desktop + CC0-1.0 + GPL-3.0 + Quassel Client + Modern distributed IRC client + +

+Quassel IRC is a modern, cross-platform, distributed IRC client, meaning that +one (or multiple) client(s) can attach to and detach from a central core: much +like the popular combination of screen and a text-based IRC client such as +WeeChat, but graphical. In addition to this unique feature, we aim to bring a +pleasurable, comfortable chatting experience to all major platforms, making +communication with your peers not only convenient, but also available everywhere. +

+

+And the best of all: It's free - as in beer and as in speech. +

+

+This application is the client-only version of Quassel. You must first set up +(or have been given an account on) the quassel core before using this. +

+
+ + + http://quassel-irc.org/files/images/20080914-011743-quasselkde4.preview.png + Quassel, with a dark theme enabled + + + http://quassel-irc.org/files/images/quassel_win7.preview.png + +The default quassel white theme. Quassel runs on all major desktop platforms, +and many smartphones as well. + + + + +
+