## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # https://invent.kde.org/network/kaidan/-/issues/479 %bcond check 0 Name: kaidan Version: 0.10.1 Release: %autorelease Summary: A XMPP client based on KDE Framework License: GPL-3.0-or-later AND MIT AND Apache-2.0 AND CC-BY-SA-4.0 AND LGPL-2.0-or-later URL: https://invent.kde.org/network/kaidan Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz %if 0%{?fedora} || 0%{?epel} > 7 # handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches # Package doesn't build on arches that qtwebengine is not built on. ExclusiveArch: %{qt5_qtwebengine_arches} %endif # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: extra-cmake-modules BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Concurrent) 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(Qt5LinguistTools) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5Kirigami2) BuildRequires: cmake(KF5KirigamiAddons) BuildRequires: cmake(KF5Notifications) BuildRequires: kf5-rpm-macros BuildRequires: cmake(ZXing) BuildRequires: cmake(QXmpp) BuildRequires: libicu-devel BuildRequires: cmake(KF5QQC2DesktopStyle) BuildRequires: desktop-file-utils BuildRequires: libappstream-glib # src/hsluv-c directory # https://github.com/hsluv/hsluv-c Provides: bundled(hsluv-c) # src/singleapp directory # https://github.com/itay-grudev/SingleApplication Provides: bundled(SingleApplication) # QML module dependencies Requires: kf5-kirigami2%{?_isa} Requires: kf5-kirigami2-addons%{?_isa} Requires: kf5-kquickcharts%{?_isa} Requires: qt5-qtgraphicaleffects%{?_isa} Requires: qt5-qtquickcontrols2%{?_isa} Requires: qt5-qtwebchannel%{?_isa} Requires: qt5-qtwebengine%{?_isa} Requires: kquickimageeditor-qt5%{?_isa} Requires: hicolor-icon-theme %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 %autosetup -p1 -n %{name}-v%{version} %build %cmake_kf5 \ -GNinja \ -DUSE_KNOTIFICATIONS=ON \ %if %{with check} -DBUILD_TESTING=ON \ %endif -DBUILD_TESTS=ON \ %cmake_build %install %cmake_install %find_lang %{name} --with-qt %check %if %{with check} %ctest -E 'PublicGroupChatTest' %endif desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml %files -f %{name}.lang %license LICENSES/* %doc README.md %{_bindir}/%{name} %{_datadir}/applications/im.kaidan.kaidan.desktop %{_metainfodir}/im.kaidan.kaidan.appdata.xml %{_datadir}/icons/hicolor/128x128/apps/kaidan.png %{_datadir}/icons/hicolor/scalable/apps/kaidan.svg %{_datadir}/knotifications5/kaidan.notifyrc %{_datadir}/%{name}/ %changelog ## START: Generated by rpmautospec * Mon Dec 16 2024 topazus - 0.10.1-1 - 0.10.1 * Fri Jul 26 2024 topazus - 0.9.2-1 - 0.9.2 * Thu Jul 18 2024 Fedora Release Engineering - 0.9.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun May 26 2024 topazus - 0.9.1-9 - rebuild with qxmpp * Wed Jan 24 2024 Fedora Release Engineering - 0.9.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.9.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 11 2023 topazus - 0.9.1-6 - fix runtime dependency name of kquickimageeditor; fix rhbz#2253555 * Wed Dec 06 2023 Yaakov Selkowitz - 0.9.1-5 - Avoid build dependency on kquickimageeditor-devel * Thu Jul 20 2023 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 14 2023 topazus - 0.9.1-3 - add runtime dependency kquickimageeditor * Wed Jul 12 2023 topazus - 0.9.1-2 - fix license; mark bundled libraries * Mon Jul 10 2023 topazus - 0.9.1-1 - initial import; RHBZ#2216600 ## END: Generated by rpmautospec