2024-02-17 11:15:07 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-06 10:40:32 +01:00
|
|
|
Name: python-M2Crypto
|
2024-02-17 11:15:07 +01:00
|
|
|
Version: 0.41.0
|
2024-01-06 10:40:34 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:40:32 +01:00
|
|
|
Summary: A python wrapper for OpenSSL featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric ciphers and more
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-02-17 11:15:07 +01:00
|
|
|
URL: https://gitlab.com/m2crypto/m2crypto
|
2024-01-06 10:40:32 +01:00
|
|
|
Source: http://pypi.debian.net/M2Crypto/M2Crypto-%{version}.tar.gz
|
2024-01-06 10:40:32 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-06 10:40:33 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 10:40:32 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
M2Crypto is the most complete Python wrapper for OpenSSL featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric ciphers (including AES); SSL functionality to implement clients and servers; HTTPS extensions to Python's httplib, urllib, and xmlrpclib; unforgeable HMAC'ing AuthCookies for web session management; FTP/TLS client and server; S/MIME; ZServerSSL: A HTTPS server for Zope and ZSmime: An S/MIME messenger for Zope. M2Crypto can also be used to provide SSL for Twisted. Smartcards supported through the Engine interface.
|
|
|
|
|
2024-01-06 10:40:32 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:40:32 +01:00
|
|
|
%prep
|
2024-02-17 11:15:07 +01:00
|
|
|
%setup -q -n %{pkgname}-%{version}
|
2024-01-06 10:40:32 +01:00
|
|
|
|
|
|
|
%build
|
2024-02-17 11:15:07 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 10:40:32 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-02-17 11:15:07 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
|
|
|
|
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
|
|
## Rename any conflicting file outside of python site packages tree
|
|
|
|
#for f in %{_bindir}/pdm; do
|
|
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
#done
|
|
|
|
#%endif
|
|
|
|
|
|
|
|
%files %{?pyappend}
|
2024-01-06 10:40:32 +01:00
|
|
|
%defattr(-,root,root)
|
2024-02-17 11:15:07 +01:00
|
|
|
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitearch}/%{pkgname}
|
|
|
|
%{python_sitearch}/%{pkgname}/*
|
|
|
|
%doc LICENCE
|
2024-01-06 10:40:32 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-17 11:15:07 +01:00
|
|
|
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 0.41.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:34 +01:00
|
|
|
* Thu Oct 26 2023 Automatic Build System <autodist@mambasoft.it> 0.40.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 25 2023 Automatic Build System <autodist@mambasoft.it> 0.40.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:33 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 0.39.0-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 10:40:33 +01:00
|
|
|
* Wed Jul 05 2023 Automatic Build System <autodist@mambasoft.it> 0.39.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:33 +01:00
|
|
|
* Tue Jun 15 2021 Automatic Build System <autodist@mambasoft.it> 0.38.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:33 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 0.37.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:32 +01:00
|
|
|
* Mon May 25 2020 Automatic Build System <autodist@mambasoft.it> 0.35.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:40:32 +01:00
|
|
|
* Sat Mar 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.32.0-1mamba
|
|
|
|
- update to 0.32.0
|
|
|
|
|
2024-01-06 10:40:32 +01:00
|
|
|
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 0.27.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:40:32 +01:00
|
|
|
* Thu Aug 04 2016 Automatic Build System <autodist@mambasoft.it> 0.25.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:40:32 +01:00
|
|
|
* Sat Feb 15 2014 Automatic Build System <autodist@mambasoft.it> 0.22.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.1-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Wed Sep 28 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.1-1mamba
|
|
|
|
- package created by autospec
|