2024-12-15 09:06:39 +00:00
|
|
|
#
|
|
|
|
# spec file for package kaidan
|
|
|
|
#
|
2025-02-18 08:34:28 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2024-12-15 09:06:39 +00: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
|
2025-02-18 08:34:28 +00:00
|
|
|
Version: 0.11.0
|
2024-12-15 09:06:39 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A XMPP client based on KDE Framework
|
|
|
|
License: AML AND GPL-3.0-or-later AND SUSE-GPL-3.0+-with-openssl-exception AND MIT AND CC-BY-SA-4.0
|
|
|
|
URL: https://www.kaidan.im
|
|
|
|
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
|
2025-02-18 08:34:28 +00:00
|
|
|
# PATCH-FIX-UPSTREAM: https://invent.kde.org/network/kaidan/-/merge_requests/1328
|
|
|
|
Patch0: drop_quick_compiler_option.patch
|
|
|
|
BuildRequires: cmake >= 3.16
|
|
|
|
BuildRequires: kf6-extra-cmake-modules >= 6.6.0
|
2024-12-15 09:06:39 +00:00
|
|
|
# Both Qt 5 and Qt 6 flavors use the same cmake config name, use the -devel package name
|
|
|
|
# BuildRequires: cmake(KQuickImageEditor)
|
2025-02-18 08:34:28 +00:00
|
|
|
BuildRequires: kquickimageeditor6-devel
|
|
|
|
BuildRequires: fdupes
|
2024-12-15 09:06:39 +00:00
|
|
|
BuildRequires: pkgconfig
|
2025-02-18 08:34:28 +00:00
|
|
|
BuildRequires: qt6-declarative-tools >= 6.6.0
|
|
|
|
BuildRequires: cmake(KF6CoreAddons) >= 6.6.0
|
|
|
|
BuildRequires: cmake(KF6Crash)
|
|
|
|
BuildRequires: cmake(KF6KIO) >= 6.6.0
|
|
|
|
BuildRequires: cmake(KF6Kirigami2) >= 6.6.0
|
|
|
|
BuildRequires: cmake(KF6KirigamiAddons) >= 1.4.0
|
|
|
|
BuildRequires: cmake(KF6Notifications)
|
|
|
|
BuildRequires: cmake(KF6Prison)
|
|
|
|
BuildRequires: cmake(KF6QQC2DesktopStyle)
|
|
|
|
BuildRequires: cmake(QXmppQt6) >= 1.9.0
|
|
|
|
BuildRequires: cmake(Qt6Concurrent)
|
|
|
|
BuildRequires: cmake(Qt6Core) >= 6.6.0
|
|
|
|
BuildRequires: cmake(Qt6LinguistTools)
|
|
|
|
BuildRequires: cmake(Qt6Location)
|
|
|
|
BuildRequires: cmake(Qt6Multimedia)
|
|
|
|
BuildRequires: cmake(Qt6Positioning)
|
|
|
|
BuildRequires: cmake(Qt6Qml)
|
|
|
|
BuildRequires: cmake(Qt6Quick)
|
|
|
|
BuildRequires: cmake(Qt6QuickControls2)
|
|
|
|
BuildRequires: cmake(Qt6Sql)
|
|
|
|
BuildRequires: cmake(Qt6Svg)
|
|
|
|
BuildRequires: cmake(Qt6Widgets)
|
|
|
|
BuildRequires: cmake(Qt6Xml)
|
2024-12-15 09:06:39 +00:00
|
|
|
BuildRequires: cmake(ZXing) >= 1.0.8
|
|
|
|
BuildRequires: pkgconfig(icu-uc)
|
2025-02-18 08:34:28 +00:00
|
|
|
Requires: kf6-kirigami-imports >= 6.6.0
|
|
|
|
Requires: kf6-prison-imports
|
|
|
|
Requires: kirigami-addons6 >= 1.4.0
|
|
|
|
Requires: kquickimageeditor6-imports
|
|
|
|
Requires: qt6-declarative-imports
|
|
|
|
Requires: qt6-location
|
|
|
|
Requires: qt6-multimedia-imports
|
|
|
|
Requires: qt6-positioning-imports
|
2024-12-15 09:06:39 +00: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++
|
2025-02-18 08:34:28 +00:00
|
|
|
using the qxmpp XMPP client library and Qt 6.
|
2024-12-15 09:06:39 +00:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
2025-02-18 08:34:28 +00:00
|
|
|
%cmake_kf6 '-DI18N:BOOL=ON'
|
|
|
|
%kf6_build
|
2024-12-15 09:06:39 +00:00
|
|
|
|
|
|
|
%install
|
2025-02-18 08:34:28 +00:00
|
|
|
%kf6_install
|
2024-12-15 09:06:39 +00:00
|
|
|
|
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
2025-02-18 08:34:28 +00:00
|
|
|
%fdupes %{buildroot}
|
|
|
|
|
2024-12-15 09:06:39 +00:00
|
|
|
%files
|
|
|
|
%license LICENSES/*
|
2025-02-18 08:34:28 +00:00
|
|
|
%doc README.md NEWS.md
|
|
|
|
%dir %{_kf6_sharedir}/kaidan
|
|
|
|
%{_kf6_applicationsdir}/im.kaidan.kaidan.desktop
|
|
|
|
%{_kf6_appstreamdir}/im.kaidan.kaidan.appdata.xml
|
|
|
|
%{_kf6_bindir}/kaidan
|
|
|
|
%{_kf6_debugdir}/kaidan.categories
|
|
|
|
%{_kf6_iconsdir}/hicolor/*/apps/kaidan.*
|
|
|
|
%{_kf6_notificationsdir}/kaidan.notifyrc
|
|
|
|
%{_kf6_sharedir}/kaidan/images
|
|
|
|
%{_kf6_sharedir}/kaidan/providers*
|
2024-12-15 09:06:39 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|