Name: zap-rs Version: 0.1.0 Release: 1%{?dist} Summary: WhatsApp Web desktop client in Rust License: GPL-3.0-or-later URL: https://github.com/lacamar/%{name} Source0: %{name}-%{version}.tar.gz Source1: %{name}-%{version}-vendor.tar.xz BuildRequires: cargo-rpm-macros BuildRequires: gcc-c++ BuildRequires: pkgconfig(dbus-1) BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtdeclarative-devel BuildRequires: qt6-qtwebengine-devel BuildRequires: qt6-qtwebchannel-devel BuildRequires: desktop-file-utils Requires: qt6-qtwebengine Requires: qt6-qtdeclarative Requires: qt6-qtwebchannel Requires: xdg-utils Recommends: ffmpeg-free %description WhatsApp Web desktop client with multiple accounts, tray, notifications and continuous chat export, rewritten from ZapZap in Rust on QtWebEngine. %prep %autosetup -a1 %cargo_prep -v vendor %build %cargo_build %install install -Dm755 target/rpm/%{name} %{buildroot}%{_bindir}/%{name} install -Dm644 assets/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg desktop-file-install --dir=%{buildroot}%{_datadir}/applications packaging/%{name}.desktop %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %cargo_test %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog * Sun Nov 22 2026 Lachlan Marie - 0.1.0-1 - Initial package