%global _basename whatsup %global app_id io.github.soumyadghosh.%{_basename} %global gitdate 20251002 %global gitcommit_full ce9969d72abf06a4181a5e1b001b491c9ff72e63 %global gitcommit %%(c=%%{gitcommit_full}; echo ${c:0:7}) Name: %{_basename}-kde Version: 0^%{gitdate}.%{gitcommit} Release: 1%{?dist} Summary: A WhatsApp wrapper using QtWebEngine, and Kirigami License: GPL-2.0-or-later URL: https://invent.kde.org/soumyadghosh/%{_basename} Source0: %{url}/-/archive/%{gitcommit_full}/%{_basename}-%{gitcommit_full}.tar.bz2 BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: libappstream-glib BuildRequires: ninja-build BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Concurrent) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6QuickControls2) BuildRequires: cmake(Qt6Sql) BuildRequires: cmake(Qt6WebEngineQuick) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6IconThemes) BuildRequires: cmake(KF6Kirigami) BuildRequires: cmake(KF6KirigamiAddons) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6QQC2DesktopStyle) BuildRequires: cmake(uap-qt) # QML module dependencies Requires: kf6-kirigami%{?_isa} Requires: kf6-kirigami-addons%{?_isa} %description "Whatsup" is a desktop client for WhatsApp designed to integrate with the KDE Plasma desktop environment. It acts as a "wrapper" for the web version of WhatsApp, providing a more native-like experience for users on Linux. %files %license LICENSES/* %doc README.md %{_kf6_bindir}/%{_basename} %{_kf6_datadir}/%{_basename} %{_kf6_datadir}/icons/hicolor/scalable/apps/%{app_id}.svg %{_kf6_datadir}/applications/%{app_id}.desktop %prep %autosetup -p1 -n %{_basename}-%{gitcommit_full} %build %cmake_kf6 %cmake_build %install %cmake_install %check desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/%{app_id}.desktop %changelog * Sun Apr 12 2026 Hazel Bunny - 0-1 - Initial package