Blame python-axolotl.spec

4f29ba8
Name:           python-axolotl
4f29ba8
Version:        0.2.3
7f187b3
Release:        %autorelease
4f29ba8
Summary:        Python port of libaxolotl
4f29ba8
64fdf55
License:        GPL-3.0-only
4f29ba8
URL:            https://github.com/tgalal/python-axolotl
4f29ba8
Source0:        %{url}/archive/%{version}/%{version}.tar.gz
4f29ba8
4f29ba8
# The protobuf dependency is too strict, this patch relaxes the requirement
4f29ba8
# https://github.com/tgalal/python-axolotl/issues/44
4f29ba8
Patch0:         python-axolotl-protobuf.patch
4f29ba8
4f29ba8
BuildArch:      noarch
4f29ba8
BuildRequires:  python3-devel
4f29ba8
4f29ba8
%global _description %{expand:
4f29ba8
This is a ratcheting forward secrecy protocol
4f29ba8
that works in synchronous and asynchronous messaging environments.}
4f29ba8
4f29ba8
%description %_description
4f29ba8
4f29ba8
%package -n python3-axolotl
4f29ba8
Summary:        %{summary}
4f29ba8
4f29ba8
%description -n python3-axolotl %_description
4f29ba8
4f29ba8
4f29ba8
%prep
4f29ba8
%autosetup -p1
4f29ba8
4f29ba8
%generate_buildrequires
4f29ba8
%pyproject_buildrequires -t
4f29ba8
4f29ba8
4f29ba8
%build
4f29ba8
%pyproject_wheel
4f29ba8
4f29ba8
4f29ba8
%install
4f29ba8
%pyproject_install
4f29ba8
%pyproject_save_files axolotl
4f29ba8
4f29ba8
4f29ba8
%check
4f29ba8
%tox
4f29ba8
4f29ba8
4f29ba8
%files -n python3-axolotl -f %{pyproject_files}
4f29ba8
%doc README.md
4f29ba8
%license LICENSE
4f29ba8
4f29ba8
4f29ba8
%changelog
7f187b3
%autochangelog