Name: python-omemo-backend-signal Version: 0.2.6~beta Release: 2%{?dist} Summary: A backend for python-omemo offering compatibility with libsignal License: GPLv3 URL: https://github.com/Syndace/%{name} Source0: https://github.com/Syndace/%{name}/archive/v%{version_no_tilde}.tar.gz # For files and directories %global srcname omemo_backend_signal %global version_main %(c=%version; echo $c|cut -d~ -f1) BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-x3dh BuildRequires: python3-doubleratchet BuildRequires: python3-omemo BuildRequires: python3-cryptography BuildRequires: python3-protobuf # For tests BuildRequires: python3-pynacl %description This library implements a backend for python-omemo offering compatibility with libsignal (C, Java, JavaScript). OMEMO is Multi-End Message and Object Encryption protocol and it is an extension of XMPP protocol. %package -n python3-omemo-backend-signal Summary: A backend for python-omemo offering compatibility with libsignal %description -n python3-omemo-backend-signal This library implements a backend for python-omemo offering compatibility with libsignal (C, Java, JavaScript). OMEMO is Multi-End Message and Object Encryption protocol and it is an extension of XMPP protocol. %prep %autosetup -n %{name}-%{version_no_tilde} %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-omemo-backend-signal %license LICENSE %doc README.md # For noarch packages: sitelib %{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}-%{version_main}-py%{python3_version}.egg-info/ %changelog * Sun Feb 14 2021 Matthieu Saulnier - 0.2.6~beta-2 - Package Review RHBZ#1927580: - Use %%{python3_version} in %%files section * Wed Feb 10 2021 Matthieu Saulnier - 0.2.6~beta-1 - Initial package