kaidan/kaidan.spec

83 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package kaidan
#
Accepting request 875635 from home:mia:branches:KDE:Extra - Update to 0.7.0 Features: * Display client information (name, version, OS) of contacts * Drag'n'drop for sending files * Allow pasting images from the clipboard (Ctrl+Shift+V) into the chat * Allow inserting newlines using Shift+Enter * Add configuration of custom hostname/port * Favourite emojis are shown by default now * Search emojis by ":<name>" * Display connection errors in the global drawer after login * Improved design of media preview sheets * Restructure message sending bar Bugfixes: * Do not interpret random URLs as files anymore * Fix the style of buttons when using Material style * Fix file dialog and media drawer opening in some cases * Fix opening of the LoginPage when scanning QR code without password Notes: * Kaidan requires Qt 5.14 now - Changes in 0.6.0: Features: * When offline, messages are cached now to be sent later * It's allowed to also correct other messages than the last one now * Also pending (unsent) messages can be corrected now * Chats can be opened from the notifications now * New option to permanently hide your password in Kaidan * New buttons for easily copying your jid and password * Moved account management pages into the settings * The cursor is moved to the end of the text field when correcting a message now * Scanning QR codes without a password works now and results in only the JID being set * The roster is called contact list now * The resource for the displayed presence is picked with fixed rules now (it was random before which resource is displayed) * Handle notifications differently on GNOME to keep them in the notifications area * Switched to the upstream HTTP File Upload implementation * Code refactoring and partial rewrite of the following classes: Kaidan, ClientWorker, RosterManager, PresenceCache, DownloadManager, TransferCache, QrCodeDecoder Bugfixes: * Playback issues in media video preview * Messages sent from other of your devices are displayed as they were sent by the chat partner * Notifications are shown persistently on the screen * Roster names are not updated in the database * Roster items are not updated in the model correctly * All sheets contain two headers: It uses the new built-in header property now * Unreadable buttons with white text on withe background in some styles * Database version isn't saved correctly * Errors when building with newer ZXing versions Notes: * Kaidan requires a C++17-compliant compiler now OBS-URL: https://build.opensuse.org/request/show/875635 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaidan?expand=0&rev=13
2021-03-03 23:12:06 +01:00
# Copyright (c) 2021 SUSE LLC
#
# 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
Version: 0.8.0
Release: 0
Summary: A XMPP client based on KDE Framework
License: GPL-3.0-or-later AND SUSE-GPL-3.0+-with-openssl-exception AND MIT AND AML AND CC-BY-SA-4.0
Group: Productivity/Networking/Instant Messenger
URL: https://www.kaidan.im
Accepting request 875635 from home:mia:branches:KDE:Extra - Update to 0.7.0 Features: * Display client information (name, version, OS) of contacts * Drag'n'drop for sending files * Allow pasting images from the clipboard (Ctrl+Shift+V) into the chat * Allow inserting newlines using Shift+Enter * Add configuration of custom hostname/port * Favourite emojis are shown by default now * Search emojis by ":<name>" * Display connection errors in the global drawer after login * Improved design of media preview sheets * Restructure message sending bar Bugfixes: * Do not interpret random URLs as files anymore * Fix the style of buttons when using Material style * Fix file dialog and media drawer opening in some cases * Fix opening of the LoginPage when scanning QR code without password Notes: * Kaidan requires Qt 5.14 now - Changes in 0.6.0: Features: * When offline, messages are cached now to be sent later * It's allowed to also correct other messages than the last one now * Also pending (unsent) messages can be corrected now * Chats can be opened from the notifications now * New option to permanently hide your password in Kaidan * New buttons for easily copying your jid and password * Moved account management pages into the settings * The cursor is moved to the end of the text field when correcting a message now * Scanning QR codes without a password works now and results in only the JID being set * The roster is called contact list now * The resource for the displayed presence is picked with fixed rules now (it was random before which resource is displayed) * Handle notifications differently on GNOME to keep them in the notifications area * Switched to the upstream HTTP File Upload implementation * Code refactoring and partial rewrite of the following classes: Kaidan, ClientWorker, RosterManager, PresenceCache, DownloadManager, TransferCache, QrCodeDecoder Bugfixes: * Playback issues in media video preview * Messages sent from other of your devices are displayed as they were sent by the chat partner * Notifications are shown persistently on the screen * Roster names are not updated in the database * Roster items are not updated in the model correctly * All sheets contain two headers: It uses the new built-in header property now * Unreadable buttons with white text on withe background in some styles * Database version isn't saved correctly * Errors when building with newer ZXing versions Notes: * Kaidan requires a C++17-compliant compiler now OBS-URL: https://build.opensuse.org/request/show/875635 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaidan?expand=0&rev=13
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
BuildRequires: cmake >= 3.3
BuildRequires: extra-cmake-modules >= 5.40.0
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Kirigami2) >= 5.67.0
BuildRequires: cmake(KF5Notifications)
Accepting request 875635 from home:mia:branches:KDE:Extra - Update to 0.7.0 Features: * Display client information (name, version, OS) of contacts * Drag'n'drop for sending files * Allow pasting images from the clipboard (Ctrl+Shift+V) into the chat * Allow inserting newlines using Shift+Enter * Add configuration of custom hostname/port * Favourite emojis are shown by default now * Search emojis by ":<name>" * Display connection errors in the global drawer after login * Improved design of media preview sheets * Restructure message sending bar Bugfixes: * Do not interpret random URLs as files anymore * Fix the style of buttons when using Material style * Fix file dialog and media drawer opening in some cases * Fix opening of the LoginPage when scanning QR code without password Notes: * Kaidan requires Qt 5.14 now - Changes in 0.6.0: Features: * When offline, messages are cached now to be sent later * It's allowed to also correct other messages than the last one now * Also pending (unsent) messages can be corrected now * Chats can be opened from the notifications now * New option to permanently hide your password in Kaidan * New buttons for easily copying your jid and password * Moved account management pages into the settings * The cursor is moved to the end of the text field when correcting a message now * Scanning QR codes without a password works now and results in only the JID being set * The roster is called contact list now * The resource for the displayed presence is picked with fixed rules now (it was random before which resource is displayed) * Handle notifications differently on GNOME to keep them in the notifications area * Switched to the upstream HTTP File Upload implementation * Code refactoring and partial rewrite of the following classes: Kaidan, ClientWorker, RosterManager, PresenceCache, DownloadManager, TransferCache, QrCodeDecoder Bugfixes: * Playback issues in media video preview * Messages sent from other of your devices are displayed as they were sent by the chat partner * Notifications are shown persistently on the screen * Roster names are not updated in the database * Roster items are not updated in the model correctly * All sheets contain two headers: It uses the new built-in header property now * Unreadable buttons with white text on withe background in some styles * Database version isn't saved correctly * Errors when building with newer ZXing versions Notes: * Kaidan requires a C++17-compliant compiler now OBS-URL: https://build.opensuse.org/request/show/875635 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaidan?expand=0&rev=13
2021-03-03 23:12:06 +01:00
BuildRequires: cmake(KF5QQC2DeskopStyle)
BuildRequires: cmake(QXmpp) >= 1.3.0
BuildRequires: cmake(Qt5Concurrent)
Accepting request 875635 from home:mia:branches:KDE:Extra - Update to 0.7.0 Features: * Display client information (name, version, OS) of contacts * Drag'n'drop for sending files * Allow pasting images from the clipboard (Ctrl+Shift+V) into the chat * Allow inserting newlines using Shift+Enter * Add configuration of custom hostname/port * Favourite emojis are shown by default now * Search emojis by ":<name>" * Display connection errors in the global drawer after login * Improved design of media preview sheets * Restructure message sending bar Bugfixes: * Do not interpret random URLs as files anymore * Fix the style of buttons when using Material style * Fix file dialog and media drawer opening in some cases * Fix opening of the LoginPage when scanning QR code without password Notes: * Kaidan requires Qt 5.14 now - Changes in 0.6.0: Features: * When offline, messages are cached now to be sent later * It's allowed to also correct other messages than the last one now * Also pending (unsent) messages can be corrected now * Chats can be opened from the notifications now * New option to permanently hide your password in Kaidan * New buttons for easily copying your jid and password * Moved account management pages into the settings * The cursor is moved to the end of the text field when correcting a message now * Scanning QR codes without a password works now and results in only the JID being set * The roster is called contact list now * The resource for the displayed presence is picked with fixed rules now (it was random before which resource is displayed) * Handle notifications differently on GNOME to keep them in the notifications area * Switched to the upstream HTTP File Upload implementation * Code refactoring and partial rewrite of the following classes: Kaidan, ClientWorker, RosterManager, PresenceCache, DownloadManager, TransferCache, QrCodeDecoder Bugfixes: * Playback issues in media video preview * Messages sent from other of your devices are displayed as they were sent by the chat partner * Notifications are shown persistently on the screen * Roster names are not updated in the database * Roster items are not updated in the model correctly * All sheets contain two headers: It uses the new built-in header property now * Unreadable buttons with white text on withe background in some styles * Database version isn't saved correctly * Errors when building with newer ZXing versions Notes: * Kaidan requires a C++17-compliant compiler now OBS-URL: https://build.opensuse.org/request/show/875635 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaidan?expand=0&rev=13
2021-03-03 23:12:06 +01:00
BuildRequires: cmake(Qt5Core) >= 5.14.0
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: cmake(Qt5Location)
Accepting request 875635 from home:mia:branches:KDE:Extra - Update to 0.7.0 Features: * Display client information (name, version, OS) of contacts * Drag'n'drop for sending files * Allow pasting images from the clipboard (Ctrl+Shift+V) into the chat * Allow inserting newlines using Shift+Enter * Add configuration of custom hostname/port * Favourite emojis are shown by default now * Search emojis by ":<name>" * Display connection errors in the global drawer after login * Improved design of media preview sheets * Restructure message sending bar Bugfixes: * Do not interpret random URLs as files anymore * Fix the style of buttons when using Material style * Fix file dialog and media drawer opening in some cases * Fix opening of the LoginPage when scanning QR code without password Notes: * Kaidan requires Qt 5.14 now - Changes in 0.6.0: Features: * When offline, messages are cached now to be sent later * It's allowed to also correct other messages than the last one now * Also pending (unsent) messages can be corrected now * Chats can be opened from the notifications now * New option to permanently hide your password in Kaidan * New buttons for easily copying your jid and password * Moved account management pages into the settings * The cursor is moved to the end of the text field when correcting a message now * Scanning QR codes without a password works now and results in only the JID being set * The roster is called contact list now * The resource for the displayed presence is picked with fixed rules now (it was random before which resource is displayed) * Handle notifications differently on GNOME to keep them in the notifications area * Switched to the upstream HTTP File Upload implementation * Code refactoring and partial rewrite of the following classes: Kaidan, ClientWorker, RosterManager, PresenceCache, DownloadManager, TransferCache, QrCodeDecoder Bugfixes: * Playback issues in media video preview * Messages sent from other of your devices are displayed as they were sent by the chat partner * Notifications are shown persistently on the screen * Roster names are not updated in the database * Roster items are not updated in the model correctly * All sheets contain two headers: It uses the new built-in header property now * Unreadable buttons with white text on withe background in some styles * Database version isn't saved correctly * Errors when building with newer ZXing versions Notes: * Kaidan requires a C++17-compliant compiler now OBS-URL: https://build.opensuse.org/request/show/875635 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaidan?expand=0&rev=13
2021-03-03 23:12:06 +01:00
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(Qt5Positioning)
BuildRequires: cmake(Qt5Qml)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5QuickCompiler)
BuildRequires: cmake(Qt5QuickControls2)
BuildRequires: cmake(Qt5Sql)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml)
BuildRequires: cmake(ZXing) >= 1.0.8
Requires: kirigami2 >= 5.67.0
Requires: libqt5-qtquickcontrols2
%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
%autosetup -p1
%build
%cmake_kf5 -d build '-DI18N:BOOL=ON' '-DQUICK_COMPILER:BOOL=ON'
%cmake_build
%install
%kf5_makeinstall -C build
%suse_update_desktop_file im.kaidan.kaidan
%files
%license LICENSE
%doc README.md NEWS
%dir %{_kf5_sharedir}/%{name}
%{_kf5_applicationsdir}/im.kaidan.kaidan.desktop
%{_kf5_appstreamdir}/im.kaidan.kaidan.appdata.xml
%{_kf5_bindir}/%{name}
%{_kf5_iconsdir}/hicolor/*/apps/%{name}.*
%{_kf5_notifydir}/kaidan.notifyrc
%{_kf5_sharedir}/%{name}/images
%{_kf5_sharedir}/%{name}/servers.json
%changelog