Compare commits

...

2 Commits
rawhide ... f24

Author SHA1 Message Date
Ben Rosser 357f27523e Remove firewalld service file, as firewalld upstream now provides it. 2017-02-14 14:22:20 -05:00
Ben Rosser 13753e2f85 Include appstream data for client, monolithic client. 2016-09-09 16:10:49 -04:00
4 changed files with 102 additions and 20 deletions

41
quassel.appdata.xml Normal file
View File

@ -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>

View File

@ -4,7 +4,7 @@
Name: quassel
Summary: A modern distributed IRC system
Version: 0.12.4
Release: 1%{?dist}
Release: 3%{?dist}
License: GPLv2 or GPLv3
URL: http://quassel-irc.org/
@ -32,7 +32,8 @@ BuildRequires: qt5-qtscript-devel
BuildRequires: qt5-qtwebkit-devel
BuildRequires: systemd
BuildRequires: firewalld-filesystem
BuildRequires: libappstream-glib
Requires: oxygen-icon-theme
@ -44,8 +45,9 @@ Requires: %{name}-common = %{version}-%{release}
Source1: quasselcore.service
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,
@ -72,9 +74,6 @@ Summary: Quassel core component
# Required for the quassel user.
Requires(pre): shadow-utils
# Required for firewalld service.
Requires: firewalld-filesystem
Requires(post): firewalld-filesystem
%description core
The Quassel IRC Core maintains a connection with the
@ -113,13 +112,15 @@ install -m 0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/
install -d -m 0755 %{buildroot}/%{_unitdir}
install -p -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/
# Install firewalld service definition
install -d -m 0755 %{buildroot}/%{_prefix}/lib/firewalld/services/
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 || :
@ -144,8 +145,6 @@ exit 0
%post core
# Install quassel service.
%systemd_post quasselcore.service
# Reload firewalld configuration.
%firewalld_reload
%preun core
%systemd_preun quasselcore.service
@ -156,6 +155,7 @@ exit 0
%files
%{_kf5_bindir}/quassel
%{_kf5_datadir}/applications/quassel.desktop
%{_datadir}/appdata/quassel.appdata.xml
%files common
%doc README
@ -171,14 +171,20 @@ exit 0
%dir %attr(-,quassel,quassel) %{quassel_data_dir}
%{_unitdir}/quasselcore.service
%config(noreplace) %{_sysconfdir}/quassel.conf
%{_prefix}/lib/firewalld/services/quassel.xml
%files client
%{_kf5_bindir}/quasselclient
%{_kf5_datadir}/applications/quasselclient.desktop
%{_datadir}/appdata/quasselclient.appdata.xml
%changelog
* Tue Feb 14 2017 Ben Rosser <rosser.bjr@gmail.com> 0.12.4-3
- Remove firewalld service file, as firewalld upstream now provides it.
* 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

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>quassel</short>
<description>Quassel is a distributed IRC client. The core keeps your IRC connections open, and then users can connect their graphical clients to the core over the quassel protocol.</description>
<port protocol="tcp" port="4242"/>
</service>

41
quasselclient.appdata.xml Normal file
View File

@ -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>