Blame python-omemo.spec

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