2024-01-05 16:22:55 +01:00
|
|
|
Name: python-pyOpenSSL
|
2024-01-05 16:22:55 +01:00
|
|
|
Version: 16.2.0
|
2024-01-05 16:22:55 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:22:55 +01:00
|
|
|
Summary: Python interface to the OpenSSL library
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:22:55 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:22:55 +01:00
|
|
|
URL: http://pyopenssl.sourceforge.net/
|
2024-01-05 16:22:55 +01:00
|
|
|
Source: https://pypi.debian.net/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
|
2024-01-05 16:22:55 +01:00
|
|
|
Patch0: python-pyOpenSSLL-0.7-openssl.patch
|
|
|
|
Patch1: python-pyOpenSSL-elinks.patch
|
|
|
|
Patch2: python-pyOpenSSL-nopdfout.patch
|
|
|
|
Patch3: python-pyOpenSSL-threadsafe.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: elinks
|
|
|
|
BuildRequires: tetex-dvips
|
|
|
|
BuildRequires: tetex-latex
|
|
|
|
BuildRequires: latex2html
|
2024-01-05 16:22:55 +01:00
|
|
|
Requires: python-cryptography
|
2024-01-05 16:22:55 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Python wrapper around a small subset of the OpenSSL library. Includes: X509 Certificates, SSL Context objects, SSL Connection objects using Python sockets as transport layer. The Connection object wraps all the socket methods and can therefore be used in
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pyOpenSSL-%{version}
|
2024-01-05 16:22:55 +01:00
|
|
|
#%patch0 -p1 -b .openssl097
|
|
|
|
#%patch1 -p1 -b .elinks
|
|
|
|
#%patch2 -p1 -b .nopdfout
|
2024-01-05 16:22:55 +01:00
|
|
|
#%patch3 -p1 -b .threadsafe
|
|
|
|
|
|
|
|
# Fix permissions for debuginfo package
|
2024-01-05 16:22:55 +01:00
|
|
|
#%{__chmod} -x src/ssl/connection.c
|
2024-01-05 16:22:55 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
2024-01-05 16:22:55 +01:00
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
2024-01-05 16:22:55 +01:00
|
|
|
-O1 --skip-build \
|
2024-01-05 16:22:55 +01:00
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
2024-01-05 16:22:55 +01:00
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:22:55 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
%files -f %{name}.filelist
|
2024-01-05 16:22:55 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:22:55 +01:00
|
|
|
* Wed Oct 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.2.0-1mamba
|
|
|
|
- update to 16.2.0
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
|
|
|
|
- update to 0.15.1
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Sat Jun 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 0.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 29 2008 gil <puntogil@libero.it> 0.8-2mamba
|
|
|
|
- rebuilt with python 2.6
|
|
|
|
|
|
|
|
* Tue Nov 18 2008 gil <puntogil@libero.it> 0.8-1mamba
|
|
|
|
- package created by autospec
|