File kaidan.spec of Package kaidan-0.8.0.121-1.22
# spec file for kaidan
#
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Name: kaidan
Version: 0.8.0.121
Release: 1.22
License: GPL-3.0-or-later AND SUSE-GPL-3.0+-with-openssl-exception AND MIT AND CC-BY-SA-3.0 AND CC-BY-SA-4.0
Summary: Simple and user-friendly Jabber/XMPP client for every device and platform
Url: https://www.kaidan.im/
Source0: kaidan-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: AppStream
BuildRequires: extra-cmake-modules
BuildRequires: hicolor-icon-theme
BuildRequires: update-desktop-files
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Qml)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Sql)
BuildRequires: cmake(Qt5QuickControls2)
BuildRequires: cmake(Qt5Xml)
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(Qt5Positioning)
BuildRequires: cmake(Qt5Location)
BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5QuickCompiler)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: cmake(KF5Kirigami2)
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5QQC2DeskopStyle)
BuildRequires: cmake(ZXing)
BuildRequires: cmake(QXmpp)
Requires: kirigami2
Requires: libQt5Location5
Requires: libQt5PositioningQuick5
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Kaidan is a simple, user-friendly and modern chat client. It
uses the open communication protocol XMPP (Jabber). The user
interface makes use of Kirigami and QtQuick, while the back-end
of Kaidan is entirely written in C++ using Qt and the Qt-based
XMPP library QXmpp.
%prep
%setup -q -n kaidan-%{version}
%build
%cmake_kf5 -d build -- -DUSE_KNOTIFICATIONS=ON -DI18N=ON -DQUICK_COMPILER=ON
%cmake_build
%install
%kf5_makeinstall -C build
%kf5_post_install
%fdupes %{buildroot}%{_prefix}
%files
%defattr(-,root,root,-)
%doc README.md NEWS CONTRIBUTING.md
%license doc/licenses/* LICENSE
%{_kf5_bindir}/%{name}
%{_kf5_applicationsdir}/*.desktop
%{_kf5_appstreamdir}/*.appdata.xml
%{_kf5_iconsdir}/*/*/*/*.{png,svg}
%{_kf5_sharedir}/kaidan/
%{_kf5_notifydir}/kaidan.notifyrc
%changelog