1 |
Name: quassel |
2 |
Version: 0.9.2 |
3 |
%define subrel 1 |
4 |
Release: %mkrel 1 |
5 |
Summary: A modern cross-platform distributed (monolithic) IRC client |
6 |
Source0: http://quassel-irc.org/pub/quassel-%{version}.tar.bz2 |
7 |
Source1: networks.ini |
8 |
Patch0: quassel-0.11.0-CVE-2014-8483.patch |
9 |
Group: Networking/IRC |
10 |
License: GPLv3 |
11 |
URL: http://quassel-irc.org/ |
12 |
# Needed to build translations |
13 |
BuildRequires: qt4-linguist >= 4:4.6.0 |
14 |
BuildRequires: kdelibs4-devel |
15 |
Requires: quassel-common = %{version} |
16 |
Provides: kde4-irc-client |
17 |
|
18 |
%description |
19 |
Quassel IRC is a modern, cross-platform, distributed IRC client, |
20 |
meaning that one (or multiple) client(s) can attach to and detach |
21 |
from a central core -- much like the popular combination of screen |
22 |
and a text-based IRC client such as WeeChat, but graphical. In |
23 |
addition to this uniqe feature, we aim to bring a pleasurable, |
24 |
comfortable chatting experience to all major platforms (including |
25 |
Linux®, Windows®, and MacOS X® as well as Qtopia-based cell phones |
26 |
and PDAs), making communication with your peers not only convenient, |
27 |
but also ubiquitous available. |
28 |
|
29 |
%files |
30 |
%{_bindir}/quassel |
31 |
%{_kde_applicationsdir}/quassel.desktop |
32 |
|
33 |
#----------------------------------------------------------------------- |
34 |
|
35 |
%package common |
36 |
Group: Networking/IRC |
37 |
Summary: A modern cross-platform distributed IRC client - Common files |
38 |
BuildArch: noarch |
39 |
Requires: qt4-database-plugin-sqlite |
40 |
Conflicts: quassel < 0.3.1.20090128-4 |
41 |
|
42 |
%description common |
43 |
A modern, cross-platform, distributed IRC client |
44 |
- This is client only, depends on a core server. |
45 |
|
46 |
%files common |
47 |
%{_datadir}/icons/hicolor/*/*/* |
48 |
%{_datadir}/pixmaps/%{name}.png |
49 |
%{_kde_appsdir}/quassel |
50 |
%doc AUTHORS ChangeLog README |
51 |
|
52 |
#----------------------------------------------------------------------- |
53 |
|
54 |
%package client |
55 |
Group: Networking/IRC |
56 |
Summary: A modern cross-platform distributed IRC client - Client only |
57 |
Requires: quassel-common = %{version} |
58 |
%description client |
59 |
A modern cross-platform distributed IRC client - Client only |
60 |
|
61 |
%files client |
62 |
%{_bindir}/quasselclient |
63 |
%{_kde_applicationsdir}/quasselclient.desktop |
64 |
|
65 |
#----------------------------------------------------------------------- |
66 |
|
67 |
%package core |
68 |
Group: Networking/IRC |
69 |
Summary: A modern cross-platform distributed IRC client - Core server |
70 |
Requires: quassel-common = %{version} |
71 |
|
72 |
%description core |
73 |
A modern, cross-platform, distributed IRC client - This is quassel |
74 |
core server for clients. |
75 |
|
76 |
%files core |
77 |
%{_bindir}/quasselcore |
78 |
|
79 |
#----------------------------------------------------------------------- |
80 |
|
81 |
%prep |
82 |
%setup -q |
83 |
%patch0 -p1 -b .CVE-2014-8483 |
84 |
|
85 |
%build |
86 |
%cmake_kde4 \ |
87 |
-DWANT_MONO=ON \ |
88 |
-DWITH_KDE=ON \ |
89 |
-DEMBED_DATA=OFF |
90 |
%make |
91 |
|
92 |
%install |
93 |
rm -rf %{buildroot} |
94 |
%makeinstall_std -C build |
95 |
|
96 |
# Our own defined networks |
97 |
rm -f %{buildroot}/%{_datadir}/apps/quassel/networks.ini |
98 |
install -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/apps/quassel/ |