Include appstream data for client, monolithic client.
This commit is contained in:
parent
2d21d03f39
commit
0affed0582
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2016 Ben Rosser <rosser.bjr@gmail.com> -->
|
||||
<component type="desktop">
|
||||
<id>quassel.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0</project_license>
|
||||
<name>Quassel</name>
|
||||
<summary>Modern IRC client</summary>
|
||||
<description>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
And the best of all: It's free - as in beer and as in speech.
|
||||
</p>
|
||||
<p>
|
||||
This application is the "monolithic" build of Quassel; it can be used on its own
|
||||
without setting up a core.
|
||||
</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>http://quassel-irc.org/files/images/20080914-011743-quasselkde4.preview.png</image>
|
||||
<caption>Quassel, with a dark theme enabled</caption>
|
||||
</screenshot>
|
||||
<screenshot type="default">
|
||||
<image>http://quassel-irc.org/files/images/quassel_win7.preview.png</image>
|
||||
<caption>
|
||||
The default quassel white theme. Quassel runs on all major desktop platforms,
|
||||
and many smartphones as well.
|
||||
</caption>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
</component>
|
||||
|
19
quassel.spec
19
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 <rosser.bjr@gmail.com> 0.12.4-2
|
||||
- Include appstream metadata for client and monolithic client.
|
||||
|
||||
* Mon Apr 25 2016 Ben Rosser <rosser.bjr@gmail.com> 0.12.4-1
|
||||
- Update to latest upstream quassel release
|
||||
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2016 Ben Rosser <rosser.bjr@gmail.com> -->
|
||||
<component type="desktop">
|
||||
<id>quasselclient.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0</project_license>
|
||||
<name>Quassel Client</name>
|
||||
<summary>Modern distributed IRC client</summary>
|
||||
<description>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
And the best of all: It's free - as in beer and as in speech.
|
||||
</p>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>http://quassel-irc.org/files/images/20080914-011743-quasselkde4.preview.png</image>
|
||||
<caption>Quassel, with a dark theme enabled</caption>
|
||||
</screenshot>
|
||||
<screenshot type="default">
|
||||
<image>http://quassel-irc.org/files/images/quassel_win7.preview.png</image>
|
||||
<caption>
|
||||
The default quassel white theme. Quassel runs on all major desktop platforms,
|
||||
and many smartphones as well.
|
||||
</caption>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
</component>
|
||||
|
Loading…
Reference in New Issue