File python-python-axolotl.spec of Package python-python-axolotl
#
# spec file for package python-python-axolotl
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _name python-axolotl
Name: python-python-axolotl
Version: 0.1.39
Release: 0
Summary: Python port of libsignal-protocol-java
License: GPL-3.0+
Group: Development/Languages/Python
Url: https://github.com/tgalal/python-axolotl
Source: https://github.com/tgalal/%{_name}/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-protobuf >= 2.6
BuildRequires: python-python-axolotl-curve25519
BuildRequires: python-setuptools
Requires: python-protobuf >= 2.6
Requires: python-pycrypto
Requires: python-python-axolotl-curve25519
Obsoletes: python-python_axolotl < %{version}
Provides: python-python_axolotl = %{version}
BuildArch: noarch
%description
It is defined as a ratcheting forward secrecy protocol that works
in synchronous and asynchronous messaging environments.
%prep
%setup -q -n %{_name}-%{version}
%build
python2 setup.py build
%install
python2 setup.py install \
--root=%{buildroot} --prefix=%{_prefix}
%files
%defattr(-,root,root)
%doc LICENSE README.md
%{python_sitelib}/axolotl/
%{python_sitelib}/python_axolotl-*
%changelog