Name: python-omemo Version: 0.12.0~beta Release: 1%{?dist} Summary: Python implementation of the OMEMO Encryption protocol License: MIT URL: https://github.com/Syndace/%{name} Source0: https://github.com/Syndace/%{name}/archive/v%{version_no_tilde}.tar.gz # For files and directories %global version_main %(c=%version; echo $c|cut -d~ -f1) BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-cryptography BuildRequires: python3-x3dh #BuildRequires: python3-pytest # For tests #BuildRequires: python3-pynacl %description This python library offers an open implementation of the OMEMO Multi-End Message and Object Encryption protocol. OMEMO is an extension of the XMPP protocol defined as XEP-0384. It provides multi-end to multi-end encryption, allowing messages to be synchronized securely across multiple clients, even if some of them are offline. %package -n python3-omemo Summary: Python implementation of the OMEMO Encryption protocol Requires: python3-doubleratchet %description -n python3-omemo This python library offers an open implementation of the OMEMO Multi-End Message and Object Encryption protocol. OMEMO is an extension of the XMPP protocol defined as XEP-0384. It provides multi-end to multi-end encryption, allowing messages to be synchronized securely across multiple clients, even if some of them are offline. %prep %autosetup -n %{name}-%{version_no_tilde} %build %py3_build %install %py3_install %check # tests requires python-omemo-backend-signal, that introduce cyclic # dependancy: Disabling. %files -n python3-omemo %license LICENSE %doc README.md # For noarch packages: sitelib %{python3_sitelib}/omemo/ %{python3_sitelib}/OMEMO-%{version_main}-py%{python3_version}.egg-info/ %changelog * Mon Mar 29 2021 Matthieu Saulnier - 0.12.0~beta-1 - Package Review RHBZ#1926523: - Update to 0.12.0 - Shorten the Summary - Disable tests with pytest to avoid cyclic dependancy * Sun Feb 14 2021 Matthieu Saulnier - 0.11.0~beta-3 - Package Review RHBZ#1926523: - Fix the Version tag to match upstream version - Use %%{python3_version} in %%files section * Mon Feb 08 2021 Matthieu Saulnier - 0.11.0-2 - Add requirement not added automaticaly in python3 subpackage * Mon Feb 08 2021 Matthieu Saulnier - 0.11.0-1 - Initial package