From 0bf19f6718f552919e05e0adc02968a5cf0e0226 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 10:40:32 +0100 Subject: [PATCH] automatic update by autodist [release 0.22.3-1mamba;Sat Feb 15 2014] --- README.md | 2 ++ python-M2Crypto.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 python-M2Crypto.spec diff --git a/README.md b/README.md index ad096f7..b8f1e50 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-M2Crypto +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. + diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec new file mode 100644 index 0000000..3852a0d --- /dev/null +++ b/python-M2Crypto.spec @@ -0,0 +1,55 @@ +Name: python-M2Crypto +Version: 0.22.3 +Release: 1mamba +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 +URL: http://pypi.python.org/pypi/M2Crypto +Source: http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libopenssl-devel +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRequires: libpython-devel +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. + +%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 + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f M2Crypto-%{version}/%{name}.filelist +%defattr(-,root,root) + +%changelog +* Sat Feb 15 2014 Automatic Build System 0.22.3-1mamba +- automatic update by autodist + +* Fri May 17 2013 Silvan Calarco 0.21.1-2mamba +- python 2.7 mass rebuild + +* Wed Sep 28 2011 Silvan Calarco 0.21.1-1mamba +- package created by autospec