2019-05-15 13:04:27 +02:00
|
|
|
#
|
|
|
|
# spec file for package kaidan
|
|
|
|
#
|
2023-02-09 09:10:42 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2019-05-15 13:04:27 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: kaidan
|
2023-05-05 14:16:18 +02:00
|
|
|
Version: 0.9.0
|
2019-05-15 13:04:27 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A XMPP client based on KDE Framework
|
2021-10-08 17:29:27 +02:00
|
|
|
License: GPL-3.0-or-later AND SUSE-GPL-3.0+-with-openssl-exception AND MIT AND AML AND CC-BY-SA-4.0
|
|
|
|
URL: https://www.kaidan.im
|
2021-03-03 23:12:06 +01:00
|
|
|
Source0: https://download.kde.org/unstable/%{name}/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://download.kde.org/unstable/%{name}/%{version}/%{name}-%{version}.tar.xz.sig
|
|
|
|
Source2: kaidan.keyring
|
2023-02-09 09:10:42 +01:00
|
|
|
# PATCH-FIX-UPSTREAM
|
2023-02-09 09:15:28 +01:00
|
|
|
Patch0: 0001-QrCodeDecoder-Replace-deprecated-BarcodeFormat-QR_CO.patch
|
|
|
|
# PATCH-FIX-UPSTREAM
|
2023-02-09 09:22:04 +01:00
|
|
|
Patch1: 0001-QrCodeGenerator-Replace-deprecated-BarcodeFormat-QR_.patch
|
|
|
|
# PATCH-FIX-UPSTREAM
|
|
|
|
Patch2: 0001-Support-ZXing-2.0.patch
|
2019-07-09 16:59:59 +02:00
|
|
|
BuildRequires: cmake >= 3.3
|
2019-05-15 13:04:27 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= 5.40.0
|
2021-10-08 17:29:27 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: cmake(KF5Kirigami2) >= 5.67.0
|
2019-07-09 16:59:59 +02:00
|
|
|
BuildRequires: cmake(KF5Notifications)
|
2021-03-03 23:12:06 +01:00
|
|
|
BuildRequires: cmake(KF5QQC2DeskopStyle)
|
2021-10-08 17:29:27 +02:00
|
|
|
BuildRequires: cmake(QXmpp) >= 1.3.0
|
2020-08-16 20:23:35 +02:00
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
2021-03-03 23:12:06 +01:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.14.0
|
2019-05-15 13:04:27 +02:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
2021-10-08 17:29:27 +02:00
|
|
|
BuildRequires: cmake(Qt5Location)
|
2021-03-03 23:12:06 +01:00
|
|
|
BuildRequires: cmake(Qt5Multimedia)
|
|
|
|
BuildRequires: cmake(Qt5Positioning)
|
2019-07-09 16:59:59 +02:00
|
|
|
BuildRequires: cmake(Qt5Qml)
|
2019-05-15 13:04:27 +02:00
|
|
|
BuildRequires: cmake(Qt5Quick)
|
2021-10-08 17:29:27 +02:00
|
|
|
BuildRequires: cmake(Qt5QuickCompiler)
|
2019-05-15 13:04:27 +02:00
|
|
|
BuildRequires: cmake(Qt5QuickControls2)
|
|
|
|
BuildRequires: cmake(Qt5Sql)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
2019-07-09 16:59:59 +02:00
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
2021-10-08 17:29:27 +02:00
|
|
|
BuildRequires: cmake(ZXing) >= 1.0.8
|
|
|
|
Requires: kirigami2 >= 5.67.0
|
2021-10-08 17:29:48 +02:00
|
|
|
Requires: libqt5-qtquickcontrols2
|
2019-05-15 13:04:27 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Kaidan is a simple Jabber/XMPP client providing a user-interface using
|
|
|
|
Kirigami and QtQuick. The back-end of Kaidan is entirely written in C++
|
|
|
|
using the qxmpp XMPP client library and Qt 5.
|
|
|
|
|
|
|
|
%prep
|
2020-08-16 20:31:50 +02:00
|
|
|
%autosetup -p1
|
2019-05-15 13:04:27 +02:00
|
|
|
|
|
|
|
%build
|
2021-10-08 17:29:27 +02:00
|
|
|
%cmake_kf5 -d build '-DI18N:BOOL=ON' '-DQUICK_COMPILER:BOOL=ON'
|
2019-05-15 13:04:27 +02:00
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2021-10-08 17:29:27 +02:00
|
|
|
%suse_update_desktop_file im.kaidan.kaidan
|
2019-05-15 13:04:27 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
2021-10-08 17:29:27 +02:00
|
|
|
%doc README.md NEWS
|
2020-08-24 09:12:32 +02:00
|
|
|
%dir %{_kf5_sharedir}/%{name}
|
2021-10-08 17:29:27 +02:00
|
|
|
%{_kf5_applicationsdir}/im.kaidan.kaidan.desktop
|
2019-05-15 13:04:27 +02:00
|
|
|
%{_kf5_appstreamdir}/im.kaidan.kaidan.appdata.xml
|
2020-08-24 09:12:32 +02:00
|
|
|
%{_kf5_bindir}/%{name}
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/%{name}.*
|
2019-07-09 16:59:59 +02:00
|
|
|
%{_kf5_notifydir}/kaidan.notifyrc
|
2019-05-15 13:04:27 +02:00
|
|
|
%{_kf5_sharedir}/%{name}/images
|
2020-08-24 09:12:32 +02:00
|
|
|
%{_kf5_sharedir}/%{name}/servers.json
|
2019-05-15 13:04:27 +02:00
|
|
|
|
|
|
|
%changelog
|