Blame python-xeddsa.spec

68622f0
Name:           python-xeddsa
68622f0
Version:        0.6.0~beta
ac781db
Release:        7%{?dist}
68622f0
Summary:        Python implementation of the XEdDSA signature scheme
68622f0
68622f0
License:        MIT
68622f0
URL:            https://github.com/Syndace/%{name}
68622f0
Source0:        https://github.com/Syndace/%{name}/archive/v%{version_no_tilde}.tar.gz
68622f0
# For files and directories
68622f0
%global version_main %(c=%version; echo $c|cut -d~ -f1)
68622f0
68622f0
BuildRequires:  python3-devel
68622f0
BuildRequires:  python3-cffi
68622f0
BuildRequires:  python3-pynacl
68622f0
# Required by setup.py
68622f0
BuildRequires:  make
68622f0
BuildRequires:  cmake
68622f0
BuildRequires:  gcc
68622f0
BuildRequires:  gcc-c++
68622f0
# For tests
68622f0
BuildRequires:  python3-libnacl
68622f0
BuildRequires:  python3-pytest
68622f0
68622f0
%description
68622f0
This python library offers an open implementation of the XEdDSA
68622f0
signature scheme.
68622f0
68622f0
It allows to create and verify EdDSA-compatible signatures using
68622f0
public key and private key formats initially defined for the X25519
68622f0
and X448 elliptic curve Diffie-Hellman functions.
68622f0
68622f0
68622f0
68622f0
%package     -n python3-xeddsa
68622f0
Summary:        Python implementation of the XEdDSA signature scheme
68622f0
68622f0
%description -n python3-xeddsa
68622f0
This python library offers an open implementation of the XEdDSA
68622f0
signature scheme.
68622f0
68622f0
It allows to create and verify EdDSA-compatible signatures using
68622f0
public key and private key formats initially defined for the X25519
68622f0
and X448 elliptic curve Diffie-Hellman functions.
68622f0
68622f0
68622f0
68622f0
%prep
68622f0
%autosetup -n %{name}-%{version_no_tilde}
68622f0
68622f0
68622f0
%build
68622f0
%py3_build
68622f0
68622f0
68622f0
%install
68622f0
%py3_install
68622f0
68622f0
68622f0
%check
68622f0
%pytest
68622f0
68622f0
68622f0
68622f0
%files -n python3-xeddsa
68622f0
%license LICENSE
68622f0
%doc README.md
68622f0
# For arch-specific packages: sitearch
68622f0
%{python3_sitearch}/xeddsa/
68622f0
%{python3_sitearch}/_crypto_sign.abi3.so
68622f0
%{python3_sitearch}/XEdDSA-%{version_main}-py%{python3_version}.egg-info/
68622f0
68622f0
68622f0
68622f0
%changelog
ac781db
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.6.0~beta-7
ac781db
- Rebuilt for Python 3.11
ac781db
dfdf06e
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0~beta-6
dfdf06e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
dfdf06e
80eeeec
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0~beta-5
80eeeec
- Second attempt - Rebuilt for
80eeeec
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
80eeeec
fe34dec
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.6.0~beta-4
fe34dec
- Rebuilt for Python 3.10
fe34dec
68622f0
* Mon Apr 19 2021 Matthieu Saulnier <fantom@fedoraproject.org> - 0.6.0~beta-3
68622f0
- Package Review RHBZ#1906287:
68622f0
  - Use %%pytest to run tests suite
68622f0
68622f0
* Sun Feb 14 2021 Matthieu Saulnier <fantom@fedoraproject.org> - 0.6.0~beta-2
68622f0
- Package Review RHBZ#1906287:
68622f0
  - Add more explicit description
68622f0
  - Remove %%{srcname} variable truely used once
68622f0
  - Fix the Version tag to match upstream version
68622f0
  - Use %%{python3_version} in %%files section
68622f0
68622f0
* Wed Dec 09 2020 Matthieu Saulnier <fantom@fedoraproject.org> - 0.6.0-1
68622f0
- Initial package