|
|
7993689 |
%global pypi_name rsa
|
|
|
7993689 |
|
|
Fabio Alessandro Locati |
d38317f |
Name: python-%{pypi_name}
|
|
|
294300f |
Version: 3.4.2
|
|
|
9d6cc28 |
Release: 13%{?dist}
|
|
Yohan Graterol |
b911edb |
Summary: Pure-Python RSA implementation
|
|
Yohan Graterol |
b911edb |
|
|
Yohan Graterol |
b911edb |
License: ASL 2.0
|
|
Yohan Graterol |
b911edb |
URL: http://stuvel.eu/rsa
|
|
Fabio Alessandro Locati |
d38317f |
Source0: https://pypi.python.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
Yohan Graterol |
b911edb |
BuildArch: noarch
|
|
|
569b43b |
|
|
Fabio Alessandro Locati |
d38317f |
%description
|
|
Fabio Alessandro Locati |
d38317f |
Python-RSA is a pure-Python RSA implementation. It supports encryption
|
|
Fabio Alessandro Locati |
d38317f |
and decryption, signing and verifying signatures, and key generation
|
|
Fabio Alessandro Locati |
d38317f |
according to PKCS#1 version 1.5. It can be used as a Python library as
|
|
Fabio Alessandro Locati |
d38317f |
well as on the command-line.
|
|
Yohan Graterol |
b911edb |
|
|
Fabio Alessandro Locati |
d38317f |
%package -n python3-%{pypi_name}
|
|
Fabio Alessandro Locati |
d38317f |
Summary: Pure-Python RSA implementation
|
|
Fabio Alessandro Locati |
d38317f |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
569b43b |
|
|
|
7993689 |
BuildRequires: python3-devel
|
|
|
7993689 |
BuildRequires: python3-setuptools
|
|
|
7993689 |
BuildRequires: python3-pyasn1 >= 0.1.3
|
|
Fabio Alessandro Locati |
d38317f |
Requires: python3-pyasn1 >= 0.1.3
|
|
Fabio Alessandro Locati |
d38317f |
Requires: python3-setuptools
|
|
|
7993689 |
|
|
Fabio Alessandro Locati |
d38317f |
%description -n python3-%{pypi_name}
|
|
Fabio Alessandro Locati |
d38317f |
Python-RSA is a pure-Python RSA implementation. It supports encryption
|
|
Fabio Alessandro Locati |
d38317f |
and decryption, signing and verifying signatures, and key generation
|
|
Fabio Alessandro Locati |
d38317f |
according to PKCS#1 version 1.5. It can be used as a Python library as
|
|
Fabio Alessandro Locati |
d38317f |
well as on the command-line.
|
|
Yohan Graterol |
b911edb |
|
|
Fabio Alessandro Locati |
d38317f |
%prep
|
|
Fabio Alessandro Locati |
d38317f |
%setup -q -n %{pypi_name}-%{version}
|
|
|
b53ae13 |
|
|
Yohan Graterol |
b911edb |
%build
|
|
Fabio Alessandro Locati |
d38317f |
%py3_build
|
|
Yohan Graterol |
b911edb |
|
|
Yohan Graterol |
b911edb |
%install
|
|
Fabio Alessandro Locati |
d38317f |
%py3_install
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-priv2pub %{buildroot}%{_bindir}/pyrsa-priv2pub-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-keygen %{buildroot}%{_bindir}/pyrsa-keygen-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-encrypt %{buildroot}%{_bindir}/pyrsa-encrypt-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-decrypt %{buildroot}%{_bindir}/pyrsa-decrypt-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-sign %{buildroot}%{_bindir}/pyrsa-sign-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-verify %{buildroot}%{_bindir}/pyrsa-verify-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-encrypt-bigfile %{buildroot}%{_bindir}/pyrsa-encrypt-bigfile-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-decrypt-bigfile %{buildroot}%{_bindir}/pyrsa-decrypt-bigfile-3
|
|
Fabio Alessandro Locati |
d38317f |
|
|
Fabio Alessandro Locati |
d38317f |
%files -n python3-%{pypi_name}
|
|
Fabio Alessandro Locati |
1d38101 |
%doc README.md
|
|
Fabio Alessandro Locati |
92a3df9 |
%license LICENSE
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-priv2pub
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-keygen
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-encrypt
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-decrypt
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-sign
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-verify
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-encrypt-bigfile
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-decrypt-bigfile
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-priv2pub-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-keygen-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-encrypt-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-decrypt-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-sign-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-verify-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-encrypt-bigfile-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-decrypt-bigfile-3
|
|
|
a1db845 |
%{python3_sitelib}/%{pypi_name}/
|
|
|
a1db845 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
Yohan Graterol |
b911edb |
|
|
Yohan Graterol |
b911edb |
%check
|
|
|
b53ae13 |
%{__python3} setup.py test
|
|
Yohan Graterol |
b43c0a0 |
|
|
Yohan Graterol |
b911edb |
%changelog
|
|
|
9d6cc28 |
* Thu Jan 09 2020 Avram Lubkin <aviso@rockhopper.net> - 3.4.2-13
|
|
|
9d6cc28 |
- Remove unittest2 dependency
|
|
|
9d6cc28 |
|
|
|
a1db845 |
* Fri Sep 20 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-12
|
|
|
a1db845 |
- Subpackage python2-rsa has been removed
|
|
|
a1db845 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
a1db845 |
|
|
|
515f86c |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-11
|
|
|
515f86c |
- Rebuilt for Python 3.8
|
|
|
515f86c |
|
|
|
9c71fa3 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-10
|
|
|
9c71fa3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9c71fa3 |
|
|
|
66c8203 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-9
|
|
|
66c8203 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
66c8203 |
|
|
|
f724b86 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-8
|
|
|
f724b86 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f724b86 |
|
|
|
b46ee0f |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-7
|
|
|
b46ee0f |
- Rebuilt for Python 3.7
|
|
|
b46ee0f |
|
|
|
9e8fabb |
* Tue Mar 13 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.4.2-6
|
|
|
9e8fabb |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
9e8fabb |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
9e8fabb |
|
|
|
cc80456 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-5
|
|
|
cc80456 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
cc80456 |
|
|
|
04bfc11 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-4
|
|
|
04bfc11 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
04bfc11 |
|
|
|
761abe9 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-3
|
|
|
761abe9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
761abe9 |
|
|
|
6a71dd3 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-2
|
|
|
6a71dd3 |
- Rebuild for Python 3.6
|
|
|
6a71dd3 |
|
|
|
7993689 |
* Sat Oct 29 2016 Fabio Alessnadro Locati <fale@fedoraproject.org> - 3.4.2-1
|
|
|
294300f |
- Update to 3.4.2
|
|
|
294300f |
|
|
|
9ebff03 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-2
|
|
|
9ebff03 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
9ebff03 |
|
|
|
7993689 |
* Sat Mar 26 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.4.1-1
|
|
Fabio Alessandro Locati |
1d38101 |
- Update to 3.4.1
|
|
Fabio Alessandro Locati |
1d38101 |
|
|
|
7993689 |
* Fri Mar 18 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.4-1
|
|
Fabio Alessandro Locati |
0da6546 |
- Bump to 3.4
|
|
Fabio Alessandro Locati |
f038075 |
- Remove the patch that is no longer needed since it has been merged upstream
|
|
Fabio Alessandro Locati |
0da6546 |
|
|
|
7993689 |
* Tue Feb 09 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.3-5
|
|
Fabio Alessandro Locati |
a015e44 |
- Fix bug #1305644
|
|
Fabio Alessandro Locati |
a015e44 |
|
|
|
fe87e10 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-4
|
|
|
fe87e10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fe87e10 |
|
|
|
7993689 |
* Tue Feb 02 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.3-3
|
|
Fabio Alessandro Locati |
06d41eb |
- Fix bug #1303660
|
|
Fabio Alessandro Locati |
06d41eb |
|
|
|
7993689 |
* Wed Jan 13 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.3-2
|
|
Fabio Alessandro Locati |
d8e0163 |
- Fix for EL6 and EPEL7
|
|
Fabio Alessandro Locati |
d8e0163 |
|
|
|
7993689 |
* Wed Jan 13 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.3-1
|
|
Fabio Alessandro Locati |
d38317f |
- Update to current upstream
|
|
Fabio Alessandro Locati |
d38317f |
- Fix CVE-2016-1494
|
|
Fabio Alessandro Locati |
d38317f |
- Bring spec compliant with current policy
|
|
Fabio Alessandro Locati |
d38317f |
|
|
|
569b43b |
* Tue Dec 8 2015 Paul Howarth <paul@city-fan.org> - 3.1.4-3
|
|
|
569b43b |
- Fix FTBFS (Debian Bug #804430)
|
|
|
569b43b |
- Run the tests for both python2 and python3
|
|
|
569b43b |
|
|
|
3bb3429 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-2
|
|
|
3bb3429 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
3bb3429 |
|
|
|
8cde5ce |
* Tue Oct 13 2015 Paul Howarth <paul@city-fan.org> - 3.1.4-1
|
|
|
8cde5ce |
- Update to 3.1.4 (#1226667)
|
|
|
8cde5ce |
|
|
|
b87e39a |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-7
|
|
|
b87e39a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b87e39a |
|
|
|
b53ae13 |
* Fri Jul 25 2014 Lubomir Rintel <lkundrak@v3.sk> - 3.1.1-6
|
|
|
b53ae13 |
- Add Python 3 subpackage
|
|
|
b53ae13 |
|
|
|
728154b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
|
|
|
728154b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
728154b |
|
|
Yohan Graterol |
b43c0a0 |
* Mon Aug 05 2013 Yohan Graterol <yohangraterol92@gmail.com> - 3.1.1-4
|
|
Yohan Graterol |
7a5b71f |
- Fix build in F20
|
|
|
7e0e70e |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-3
|
|
|
7e0e70e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7e0e70e |
|
|
Yohan Graterol |
b911edb |
* Sun May 26 2013 Yohan Graterol <yohangraterol92@gmail.com> - 3.1.1-2
|
|
Yohan Graterol |
b911edb |
- Change license name, remove MANIFEST.in
|
|
Fabio Alessandro Locati |
d38317f |
|
|
Yohan Graterol |
b911edb |
* Sun May 19 2013 Yohan Graterol <yohangraterol92@gmail.com> - 3.1.1-1
|
|
Fabio Alessandro Locati |
d38317f |
- Initial packaging
|