Blame python-doubleratchet.spec

456aebf
Name:           python-doubleratchet
456aebf
Version:        0.7.0~beta
3b67421
Release:        11%{?dist}
456aebf
Summary:        Python implementation of the Double Ratchet algorithm
456aebf
456aebf
License:        MIT
456aebf
URL:            https://github.com/Syndace/%{name}
456aebf
Source0:        https://github.com/Syndace/%{name}/archive/v%{version_no_tilde}.tar.gz
456aebf
# For files and directories
456aebf
%global version_main %(c=%version; echo $c|cut -d~ -f1)
456aebf
456aebf
BuildArch:      noarch
456aebf
BuildRequires:  python3-devel
2fcde45
BuildRequires:  python3-setuptools
456aebf
BuildRequires:  python3-cryptography
456aebf
456aebf
456aebf
%description
456aebf
This python library offers an implementation of the Double Ratchet
456aebf
algorithm.
456aebf
456aebf
A double ratchet allows message encryption providing perfect forward
456aebf
secrecy. A double ratchet instance synchronizes with a second instance
456aebf
using Diffie-Hellman calculations, that are provided by the DHRatchet
456aebf
class.
456aebf
456aebf
456aebf
456aebf
%package     -n python3-doubleratchet
456aebf
Summary:        Python implementation of the Double Ratchet algorithm
456aebf
456aebf
%description -n python3-doubleratchet
456aebf
This python library offers an implementation of the Double Ratchet
456aebf
algorithm.
456aebf
456aebf
A double ratchet allows message encryption providing perfect forward
456aebf
secrecy. A double ratchet instance synchronizes with a second instance
456aebf
using Diffie-Hellman calculations, that are provided by the DHRatchet
456aebf
class.
456aebf
456aebf
456aebf
456aebf
%prep
456aebf
%autosetup -n %{name}-%{version_no_tilde}
456aebf
456aebf
456aebf
%build
456aebf
%py3_build
456aebf
456aebf
456aebf
%install
456aebf
%py3_install
456aebf
456aebf
456aebf
%check
456aebf
%{__python3} setup.py test
456aebf
456aebf
456aebf
456aebf
%files -n python3-doubleratchet
456aebf
%license LICENSE
456aebf
%doc README.md
456aebf
# For noarch packages: sitelib
456aebf
%{python3_sitelib}/doubleratchet/
456aebf
%{python3_sitelib}/DoubleRatchet-%{version_main}-py%{python3_version}.egg-info/
456aebf
456aebf
456aebf
456aebf
%changelog
3b67421
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0~beta-11
3b67421
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
3b67421
2ae7f20
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.7.0~beta-10
2ae7f20
- Rebuilt for Python 3.12
2ae7f20
b5eb026
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0~beta-9
b5eb026
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
b5eb026
6e3b033
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0~beta-8
6e3b033
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
6e3b033
2b80072
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.7.0~beta-7
2b80072
- Rebuilt for Python 3.11
2b80072
1432ae5
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0~beta-6
1432ae5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
1432ae5
16abbef
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0~beta-5
16abbef
- Second attempt - Rebuilt for
16abbef
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
16abbef
32d5791
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7.0~beta-4
32d5791
- Rebuilt for Python 3.10
32d5791
456aebf
* Sun Feb 14 2021 Matthieu Saulnier <fantom@fedoraproject.org> - 0.7.0~beta-3
456aebf
- Package Review RHBZ#1917089:
456aebf
  - Fix the Version tag to match upstream version
456aebf
  - Use %%{python3_version} in %%files section
456aebf
456aebf
* Mon Feb 08 2021 Matthieu Saulnier <fantom@fedoraproject.org> - 0.7.0-2
456aebf
- Remove upstream name variable used once: %%{srcname}
456aebf
- Add more explicit description
456aebf
456aebf
* Sat Jan 16 2021 Matthieu Saulnier <fantom@fedoraproject.org> - 0.7.0-1
456aebf
- Initial package