Name: zapzap Version: 6.2.1 Release: 1%{?dist} Summary: Zapzap - WhatsApp Messenger for Linux License: GPLv3+ URL: https://github.com/rafatosta/zapzap Source0: https://github.com/rafatosta/zapzap/archive/refs/tags/%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-build BuildRequires: python3-installer BuildRequires: python3-pyproject-macros BuildRequires: desktop-file-utils Requires: python3-pyqt6 Requires: python3-pyqt6-webengine Requires: python3-dbus %description Zapzap é um cliente não oficial do WhatsApp para Linux, desenvolvido em Python com PyQt6. %prep %autosetup -n %{name}-%{version} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{name} # Instala ícone e desktop entry manualmente mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps install -m 644 com.rtosta.zapzap.desktop %{buildroot}%{_datadir}/applications/ install -m 644 com.rtosta.zapzap.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ %check # Opcional: executar testes se existirem # pytest || true %files -f %{pyproject_files} %license LICENSE %doc README.md %{_datadir}/applications/com.rtosta.zapzap.desktop %{_datadir}/icons/hicolor/scalable/apps/com.rtosta.zapzap.svg %changelog * Sat Nov 01 2025 Rafael Tosta - 6.2.1-1 - Versão inicial do pacote Zapzap