%define pkg_release 1%{?_dist_release} Summary: Python wrapper module around the OpenSSL library Summary(ja): OpenSSL ライブラリの Python ラッパーモジュール Name: pyOpenSSL Version: 18.0.0 Release: %{pkg_release} Source0: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz License: LGPLv2+ Group: Development/Libraries URL: https://pyopenssl.readthedocs.org/ Vendor: Project Vine Distribution: Vine Linux BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: openssl-devel BuildRequires: python-devel BuildRequires: python3-devel BuildRequires: python-rpm-macros BuildRequires: python3-rpm-macros BuildRequires: python-setuptools BuildRequires: python3-setuptools BuildRequires: python-cryptography BuildRequires: python3-cryptography #BuildRequires: latex2html %description High-level wrapper around a subset of the OpenSSL library, includes * SSL.Connection objects, wrapping the methods of Python's portable sockets * Callbacks written in Python * Extensive error-handling mechanism, mirroring OpenSSL's error codes ... and much more ;) %package -n python-pyOpenSSL Summary: Python2 wrapper module around the OpenSSL library Obsoletes: pyOpenSSL < %{version}-%{release} Provides: pyOpenSSL = %{version}-%{release} Requires: python-cryptography %{?python_provide:%python_provide python-pyOpenSSL} %description -n python-pyOpenSSL High-level wrapper around a subset of the OpenSSL library, includes among others * SSL.Connection objects, wrapping the methods of Python's portable sockets * Callbacks written in Python * Extensive error-handling mechanism, mirroring OpenSSL's error codes %package -n python3-pyOpenSSL Summary: Python 3 wrapper module around the OpenSSL library Requires: python3-cryptography %{?python_provide:%python_provide python3-pyOpenSSL} %description -n python3-pyOpenSSL High-level wrapper around a subset of the OpenSSL library, includes among others * SSL.Connection objects, wrapping the methods of Python's portable sockets * Callbacks written in Python * Extensive error-handling mechanism, mirroring OpenSSL's error codes %prep %setup -q %build %py_build %py3_build %install %{__rm} -rf %{buildroot} %py_install %py3_install %clean %{__rm} -rf %{buildroot} %files -n python-pyOpenSSL %license LICENSE %doc README* CHANGELOG* %{python_sitelib}/OpenSSL/ %{python_sitelib}/pyOpenSSL-*.egg-info %files -n python3-pyOpenSSL %license LICENSE %doc README* CHANGELOG* %{python3_sitelib}/OpenSSL/ %{python3_sitelib}/pyOpenSSL-*.egg-info %changelog * Mon Nov 19 2018 Tomohiro "Tomo-p" KATO 18.0.0-1 - new upstream release. - dropped Patch2-3. - changed name to python{,3}-pyOpenSSL. - added python3 support. * Sun Jan 12 2014 Yoji TOYODA 0.13.1-1 - new upstream release - remove Patch0 (pyOpenSSL-0.7-openssl.patch) - remove Patch4 (pyOpenSSL-threadsafe.patch) * Thu Feb 16 2012 Yoji TOYODA 0.7-4 - rebuild with python-2.7.2 * Sat Jan 15 2011 Yoji TOYODA 0.7-3 - rebuilt with openssl-1.0.0c - remove BuildRequires: tetex * Wed Feb 03 2010 Shu KONNO 0.7-2 - rebuilt with python-2.6.4 * Tue Dec 23 2008 Kazutaka HARADA 0.7-1 - initial build for Vine Linux based on fedora package * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.7-3 - Rebuild for Python 2.6 * Fri Sep 19 2008 Dennis Gilmore - 0.7-2 - update threadsafe patch - bug#462807 * Mon Sep 15 2008 Paul F. Johnson 0.7-1 - bump to new release - the inevitable patch fixes * Wed Mar 26 2008 Tom "spot" Callaway - 0.6-4 - fix horrific release tag - fix license tag - add egg-info * Tue Feb 19 2008 Fedora Release Engineering - 0.6-3.p24.9 - Autorebuild for GCC 4.3 * Wed Dec 5 2007 Jeremy Katz - 0.6-2.p24.9 - rebuild for new openssl * Mon Dec 11 2006 Paul Howarth - 0.6-1.p24.9 - add missing buildreq latex2html, needed to build HTML docs - rewrite to be more in line with Fedora python spec template and use %%{python_sitearch} rather than a script-generated %%files list - package is not relocatable - drop Prefix: tag - buildreq perl not necessary - fix permissions for files going into debuginfo package * Thu Dec 7 2006 Jeremy Katz - 0.6-1.p24.8 - rebuild for python 2.5 * Wed Jul 12 2006 Jesse Keating - 0.6-1.p24.7.2.2 - rebuild * Fri Feb 10 2006 Jesse Keating - 0.6-1.p24.7.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 0.6-1.p24.7.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Wed Nov 9 2005 Mihai Ibanescu - 0.6-1.p24.7 - rebuilt against newer openssl * Wed Aug 24 2005 Jeremy Katz - 0.6-1.p24.6 - add dcbw's patch to fix some threading problems * Wed Aug 03 2005 Karsten Hopp 0.6-1.p24.5 - current rpm creates .pyo files, include them in filelist * Thu Mar 17 2005 Mihai Ibanescu 0.6-1.p24.4 - rebuilt * Mon Mar 14 2005 Mihai Ibanescu 0.6-1.p24.3 - rebuilt * Mon Mar 7 2005 Tomas Mraz 0.6-1.p23.2 - rebuild with openssl-0.9.7e * Tue Nov 9 2004 Nalin Dahyabhai 0.6-1.p23.1 - rebuild * Fri Aug 13 2004 Mihai Ibanescu 0.6-1 - 0.6 is out * Tue Aug 10 2004 Mihai Ibanescu 0.6-0.90.rc1 - release candidate * Thu Jun 24 2004 Mihai Ibanescu 0.5.1-24 - rebuilt * Mon Jun 21 2004 Mihai Ibanescu 0.5.1-23 - rebuilt * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Nov 5 2003 Mihai Ibanescu 0.5.1-20 - rebuilt against python 2.3.2 * Fri Aug 8 2003 Mihai Ibanescu 0.5.1-12 - lynx no longer supported, using elinks instead (patch from Michael Redinger , bug #101947 ) * Wed Jun 4 2003 Elliot Lee 0.5.1-11 - Rebuilt * Wed Jun 4 2003 Mihai Ibanescu 0.5.1-10.7.x - Built on 7.x * Mon Mar 3 2003 Mihai Ibanescu 0.5.1-9 - bug #73967: Added Requires: python * Mon Feb 24 2003 Elliot Lee - rebuilt * Fri Feb 21 2003 Mihai Ibanescu 0.5.1-7 - bug #84803: Added patch to expose more flags * Fri Jan 31 2003 Mihai Ibanescu 0.5.1-5 - installing to %%{_libdir} * Wed Jan 22 2003 Tim Powers - rebuilt * Tue Jan 7 2003 Nalin Dahyabhai 0.5.1-3 - rebuild * Fri Jan 3 2003 Nalin Dahyabhai - Add -I and -L flags for finding Kerberos headers and libraries, in case they're referenced * Tue Dec 3 2002 Mihai Ibanescu - Fix for bug 73967: site-packages/OpenSSL not owned by this package - Adding hacks around the lack of latex2html on ia64 * Tue Sep 24 2002 Mihai Ibanescu - 0.5.1 * Thu Aug 29 2002 Mihai Ibanescu - Building 0.5.1rc1 with version number 0.5.0.91 (this should also fix the big error of pushing 0.5pre previously, since it breaks rpm's version comparison algorithm). - We use %%{__python}. Too bad I can't pass --define's to distutils. * Fri Aug 16 2002 Mihai Ibanescu - Building 0.5 * Fri Jun 14 2002 Mihai Ibanescu - Added documentation