Репозитории ALT
5.1: | 0.6-alt2.1.1.1.1 |
4.1: | 0.6-alt2.1.1.1 |
4.0: | 0.6-alt2.1.1 |
3.0: | 0.6-alt2.1 |
Группа :: Разработка/Python
Пакет: python-module-OpenSSL
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# -*- coding: utf-8 -*-
%define version 0.6
%define release alt2
%define source_version %version
%define source_name pyOpenSSL
%setup_python_module OpenSSL
%def_without doc_package
Summary: Python wrapper module around the OpenSSL library
Summary(ru_RU.UTF-8): п°п╬п╢я┐п╩я▄-п╬п╠п╡я▐п╥п╨п╟ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦ OpenSSL п╢п╩я▐ python
Name: %packagename
Version: %version
Release: %release.1.1.1.1
Source: %source_name-%source_version.tar.bz2
License: LGPL
Group: Development/Python
Prefix: %_prefix
Url: http://pyopenssl.sourceforge.net/
BuildPreReq: rpm-build-python > 0.12-alt3
# Automatically added by buildreq on Mon Jan 12 2004
BuildRequires: latex2html libssl-devel perl-base tetex-core tetex-latex
Provides: %__python_module_prefix-pyOpenSSL
Obsoletes: %__python_module_prefix-pyOpenSSL
%if_without doc_package
Provides: %__python_module_prefix-pyOpenSSL-doc
Obsoletes: %__python_module_prefix-pyOpenSSL-doc
%endif
%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 ;)
%description -l ru_RU.UTF-8
п▓я▀я│п╬п╨п╬я┐я─п╬п╡п╫п╣п╡п╟я▐ п╬п╠п╡я▐п╥п╨п╟ п╢п╩я▐ п©п╬п╢п╪п╫п╬п╤п╣я│я┌п╡п╟ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦ OpenSSL.
п▓п╨п╩я▌я┤п╟п╣я┌ п╡ я│п╣п╠я▐:
* п·п╠я┼п╣п╨я┌я▀ SSL.Connection п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│ п©п╣я─п╣п╫п╬я│п╦п╪я▀п╪п╦ я│п╬п╨п╣я┌п╟п╪п╦
python
* п п╬п╩п╩п╠я█п╨п╦, п╫п╟п©п╦я│п╟п╫п╫я▀п╣ п╫п╟ python
* п╗п╦я─п╬п╨п╦п╣ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п©п╬ п╬п╠я─п╟п╠п╬я┌п╨п╣ п╬я┬п╦п╠п╬п╨, п╬я┌я─п╟п╤п╟я▌я┴п╦п╣ п╨п╬п╢я▀
п╬я┬п╦п╠п╬п╨ OpenSSL
... п≤ я█я┌п╬ п╣я┴п╣ п╫п╣ п╡я│п╣ ;)
%if_with doc_package
%package doc
Summary: %modulename documentation and example programs
Summary(ru_RU.UTF-8): п■п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▐ п©п╬ API п╦ п©я─п╦п╪п╣я─я▀ п©я─п╬пЁя─п╟п╪п╪ п╢п╩я▐ %modulename
Group: Development/Python
Prefix: %_prefix
Requires: python-%modulename = %version
%description doc
%modulename is a high-level wrapper around a subset of the OpenSSL
library. Install python-pyOpenSSL-doc if you need the API
documentation and example programs for %modulename
%description doc -l ru_RU.UTF-8
%modulename - п▓я▀я│п╬п╨п╬я┐я─п╬п╡п╫п╣п╡п╟я▐ п╬п╠п╡я▐п╥п╨п╟ п╢п╩я▐ п©п╬п╢п╪п╫п╬п╤п╣я│я┌п╡п╟ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦
OpenSSL. пёя│я┌п╟п╫п╬п╡п╦я┌п╣ python-%modulename-doc, п╣я│п╩п╦ п▓п╟п╪ я┌я─п╣п╠я┐п╣я┌я│я▐
п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▐ п©п╬ API п╦ п©я─п╦п╪п╣я─я▀ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐ я│ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣п╪
п╢п╟п╫п╫п╬пЁп╬ п╪п╬п╢я┐п╩я▐.
%endif
%prep
%setup -q -n %source_name-%source_version
%build
%__python setup.py build
pushd doc
make html
popd
%install
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=%buildroot \
--record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc ChangeLog INSTALL README TODO
%if_with doc_package
%files doc
%endif
%doc doc/html/*
%changelog
…
Полный changelog можно просмотреть здесь
%define version 0.6
%define release alt2
%define source_version %version
%define source_name pyOpenSSL
%setup_python_module OpenSSL
%def_without doc_package
Summary: Python wrapper module around the OpenSSL library
Summary(ru_RU.UTF-8): п°п╬п╢я┐п╩я▄-п╬п╠п╡я▐п╥п╨п╟ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦ OpenSSL п╢п╩я▐ python
Name: %packagename
Version: %version
Release: %release.1.1.1.1
Source: %source_name-%source_version.tar.bz2
License: LGPL
Group: Development/Python
Prefix: %_prefix
Url: http://pyopenssl.sourceforge.net/
BuildPreReq: rpm-build-python > 0.12-alt3
# Automatically added by buildreq on Mon Jan 12 2004
BuildRequires: latex2html libssl-devel perl-base tetex-core tetex-latex
Provides: %__python_module_prefix-pyOpenSSL
Obsoletes: %__python_module_prefix-pyOpenSSL
%if_without doc_package
Provides: %__python_module_prefix-pyOpenSSL-doc
Obsoletes: %__python_module_prefix-pyOpenSSL-doc
%endif
%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 ;)
%description -l ru_RU.UTF-8
п▓я▀я│п╬п╨п╬я┐я─п╬п╡п╫п╣п╡п╟я▐ п╬п╠п╡я▐п╥п╨п╟ п╢п╩я▐ п©п╬п╢п╪п╫п╬п╤п╣я│я┌п╡п╟ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦ OpenSSL.
п▓п╨п╩я▌я┤п╟п╣я┌ п╡ я│п╣п╠я▐:
* п·п╠я┼п╣п╨я┌я▀ SSL.Connection п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│ п©п╣я─п╣п╫п╬я│п╦п╪я▀п╪п╦ я│п╬п╨п╣я┌п╟п╪п╦
python
* п п╬п╩п╩п╠я█п╨п╦, п╫п╟п©п╦я│п╟п╫п╫я▀п╣ п╫п╟ python
* п╗п╦я─п╬п╨п╦п╣ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п©п╬ п╬п╠я─п╟п╠п╬я┌п╨п╣ п╬я┬п╦п╠п╬п╨, п╬я┌я─п╟п╤п╟я▌я┴п╦п╣ п╨п╬п╢я▀
п╬я┬п╦п╠п╬п╨ OpenSSL
... п≤ я█я┌п╬ п╣я┴п╣ п╫п╣ п╡я│п╣ ;)
%if_with doc_package
%package doc
Summary: %modulename documentation and example programs
Summary(ru_RU.UTF-8): п■п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▐ п©п╬ API п╦ п©я─п╦п╪п╣я─я▀ п©я─п╬пЁя─п╟п╪п╪ п╢п╩я▐ %modulename
Group: Development/Python
Prefix: %_prefix
Requires: python-%modulename = %version
%description doc
%modulename is a high-level wrapper around a subset of the OpenSSL
library. Install python-pyOpenSSL-doc if you need the API
documentation and example programs for %modulename
%description doc -l ru_RU.UTF-8
%modulename - п▓я▀я│п╬п╨п╬я┐я─п╬п╡п╫п╣п╡п╟я▐ п╬п╠п╡я▐п╥п╨п╟ п╢п╩я▐ п©п╬п╢п╪п╫п╬п╤п╣я│я┌п╡п╟ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦
OpenSSL. пёя│я┌п╟п╫п╬п╡п╦я┌п╣ python-%modulename-doc, п╣я│п╩п╦ п▓п╟п╪ я┌я─п╣п╠я┐п╣я┌я│я▐
п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▐ п©п╬ API п╦ п©я─п╦п╪п╣я─я▀ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐ я│ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣п╪
п╢п╟п╫п╫п╬пЁп╬ п╪п╬п╢я┐п╩я▐.
%endif
%prep
%setup -q -n %source_name-%source_version
%build
%__python setup.py build
pushd doc
make html
popd
%install
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=%buildroot \
--record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc ChangeLog INSTALL README TODO
%if_with doc_package
%files doc
%endif
%doc doc/html/*
%changelog
…
Полный changelog можно просмотреть здесь