python-M2Crypto/python-M2Crypto.spec

82 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-M2Crypto
Version: 0.39.0
Release: 2mamba
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>
URL: https://pypi.org/project/M2Crypto/
Source: http://pypi.debian.net/M2Crypto/M2Crypto-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
BuildRequires: libpython-devel
Requires: python >= %python_version
%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.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -c %{name}-%{version}
%build
cd M2Crypto-%{version}
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd M2Crypto-%{version}
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
%files %{?pyappend} -f M2Crypto-%{version}/%{name}.filelist
%defattr(-,root,root)
%changelog
* 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
* Wed Jul 05 2023 Automatic Build System <autodist@mambasoft.it> 0.39.0-1mamba
- automatic version update by autodist
* Tue Jun 15 2021 Automatic Build System <autodist@mambasoft.it> 0.38.0-1mamba
- automatic version update by autodist
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 0.37.1-1mamba
- automatic version update by autodist
* Mon May 25 2020 Automatic Build System <autodist@mambasoft.it> 0.35.2-1mamba
- automatic update by autodist
* Sat Mar 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.32.0-1mamba
- update to 0.32.0
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 0.27.0-1mamba
- automatic update by autodist
* Thu Aug 04 2016 Automatic Build System <autodist@mambasoft.it> 0.25.1-1mamba
- automatic update by autodist
* 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