Группа :: Разработка/Python
Пакет: python-module-paramiko
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define version 1.7.2
%define release alt1
%define source_version %version
%define source_name paramiko
%setup_python_module paramiko
Summary: SSH2 protocol for python
Packager: Andriy Stepanov <stanv at altlinux.ru>
Name: %packagename
Version: %version
Release: %release.1
Source: %modulename-%version.tar.gz
License: GPL
Group: Development/Python
Prefix: %_prefix
%py_requires Crypto
Url: http://www.lag.net/paramiko
%description
paramiko is a module for python that implements the SSH2 protocol for secure
(encrypted and authenticated) connections to remote machines. It is written
entirely in python (no C or platform-dependent code)
This module is built for python %__python_version
%package doc
Summary: %modulename documentation and example programs
Group: Development/Python
Prefix: %_prefix
Requires: python-module-%modulename = %version
%description doc
%modulename paramiko is a module for python that implements the SSH2 protocol
for secure (encrypted and authenticated) connections to remote machines. This
package contain API documentation and examples for python-%modulename module.
%prep
%setup -q -n %source_name-%source_version
%build
%__python setup.py build
%install
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=%buildroot \
--record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc PKG-INFO README LICENSE
%files doc
%doc docs demos
%changelog
…
Полный changelog можно просмотреть здесь
%define release alt1
%define source_version %version
%define source_name paramiko
%setup_python_module paramiko
Summary: SSH2 protocol for python
Packager: Andriy Stepanov <stanv at altlinux.ru>
Name: %packagename
Version: %version
Release: %release.1
Source: %modulename-%version.tar.gz
License: GPL
Group: Development/Python
Prefix: %_prefix
%py_requires Crypto
Url: http://www.lag.net/paramiko
%description
paramiko is a module for python that implements the SSH2 protocol for secure
(encrypted and authenticated) connections to remote machines. It is written
entirely in python (no C or platform-dependent code)
This module is built for python %__python_version
%package doc
Summary: %modulename documentation and example programs
Group: Development/Python
Prefix: %_prefix
Requires: python-module-%modulename = %version
%description doc
%modulename paramiko is a module for python that implements the SSH2 protocol
for secure (encrypted and authenticated) connections to remote machines. This
package contain API documentation and examples for python-%modulename module.
%prep
%setup -q -n %source_name-%source_version
%build
%__python setup.py build
%install
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=%buildroot \
--record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc PKG-INFO README LICENSE
%files doc
%doc docs demos
%changelog
…
Полный changelog можно просмотреть здесь