Blame kaidan.spec

d8d425
#
d8d425
# spec file for package kaidan
d8d425
#
d8d425
# Copyright (c) 2021 SUSE LLC
d8d425
#
d8d425
# All modifications and additions to the file contributed by third parties
d8d425
# remain the property of their copyright owners, unless otherwise agreed
d8d425
# upon. The license for this file, and modifications and additions to the
d8d425
# file, is the same license as for the pristine package itself (unless the
d8d425
# license for the pristine package is not an Open Source License, in which
d8d425
# case the license is the MIT License). An "Open Source License" is a
d8d425
# license that conforms to the Open Source Definition (Version 1.9)
d8d425
# published by the Open Source Initiative.
d8d425
d8d425
# Please submit bugfixes or comments via https://bugs.opensuse.org/
d8d425
#
d8d425
d8d425
d8d425
Name:           kaidan
d8d425
Version:        0.8.0
d8d425
Release:        0
d8d425
Summary:        A XMPP client based on KDE Framework
d8d425
License:        GPL-3.0-or-later AND SUSE-GPL-3.0+-with-openssl-exception AND MIT AND AML AND CC-BY-SA-4.0
d8d425
Group:          Productivity/Networking/Instant Messenger
d8d425
URL:            https://www.kaidan.im
d8d425
Source0:        https://download.kde.org/unstable/%{name}/%{version}/%{name}-%{version}.tar.xz
d8d425
Source1:        https://download.kde.org/unstable/%{name}/%{version}/%{name}-%{version}.tar.xz.sig
d8d425
Source2:        kaidan.keyring
d8d425
BuildRequires:  cmake >= 3.3
d8d425
BuildRequires:  extra-cmake-modules >= 5.40.0
d8d425
BuildRequires:  update-desktop-files
d8d425
BuildRequires:  cmake(KF5Kirigami2) >= 5.67.0
d8d425
BuildRequires:  cmake(KF5Notifications)
d8d425
BuildRequires:  cmake(KF5QQC2DeskopStyle)
d8d425
BuildRequires:  cmake(QXmpp) >= 1.3.0
d8d425
BuildRequires:  cmake(Qt5Concurrent)
d8d425
BuildRequires:  cmake(Qt5Core) >= 5.14.0
d8d425
BuildRequires:  cmake(Qt5LinguistTools)
d8d425
BuildRequires:  cmake(Qt5Location)
d8d425
BuildRequires:  cmake(Qt5Multimedia)
d8d425
BuildRequires:  cmake(Qt5Positioning)
d8d425
BuildRequires:  cmake(Qt5Qml)
d8d425
BuildRequires:  cmake(Qt5Quick)
d8d425
BuildRequires:  cmake(Qt5QuickCompiler)
d8d425
BuildRequires:  cmake(Qt5QuickControls2)
d8d425
BuildRequires:  cmake(Qt5Sql)
d8d425
BuildRequires:  cmake(Qt5Svg)
d8d425
BuildRequires:  cmake(Qt5Widgets)
d8d425
BuildRequires:  cmake(Qt5Xml)
d8d425
BuildRequires:  cmake(ZXing) >= 1.0.8
d8d425
Requires:       kirigami2 >= 5.67.0
d8d425
Requires:       libqt5-qtquickcontrols2
d8d425
d8d425
%description
d8d425
Kaidan is a simple Jabber/XMPP client providing a user-interface using
d8d425
Kirigami and QtQuick. The back-end of Kaidan is entirely written in C++
d8d425
using the qxmpp XMPP client library and Qt 5.
d8d425
d8d425
%prep
d8d425
%autosetup -p1
d8d425
d8d425
%build
d8d425
%cmake_kf5 -d build '-DI18N:BOOL=ON' '-DQUICK_COMPILER:BOOL=ON'
d8d425
%cmake_build
d8d425
d8d425
%install
d8d425
%kf5_makeinstall -C build
d8d425
%suse_update_desktop_file im.kaidan.kaidan
d8d425
d8d425
%files
d8d425
%license LICENSE
d8d425
%doc README.md NEWS
d8d425
%dir %{_kf5_sharedir}/%{name}
d8d425
%{_kf5_applicationsdir}/im.kaidan.kaidan.desktop
d8d425
%{_kf5_appstreamdir}/im.kaidan.kaidan.appdata.xml
d8d425
%{_kf5_bindir}/%{name}
d8d425
%{_kf5_iconsdir}/hicolor/*/apps/%{name}.*
d8d425
%{_kf5_notifydir}/kaidan.notifyrc
d8d425
%{_kf5_sharedir}/%{name}/images
d8d425
%{_kf5_sharedir}/%{name}/servers.json
d8d425
d8d425
%changelog