Репозитории ALT
5.1: | 2.3-alt1 |
4.1: | 0.999-alt8.1 |
4.0: | 0.999-alt8 |
3.0: | 0.999-alt8 |
Группа :: Разработка/Python
Пакет: python-module-pexpect
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define version 0.999
%define release alt8
%setup_python_module pexpect
Summary: Pexpect is a pure Python Expect. It allows easy control of other applications.
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Source0: %{modulename}-%{version}.tar.gz
Source1: %{modulename}-doc.tgz
Source2: %{modulename}-examples.tgz
Patch0: pexpect-import.patch
License: Python Software Foundation License
Group: Development/Python
Prefix: %{_prefix}
BuildArchitectures: noarch
Vendor: Noah Spurrier <noah at noah.org>
Url: http://pexpect.sourceforge.net/
Obsoletes: pexpect < 0.999-alt6
Provides: pexpect
%description
Pexpect is a pure Python module for spawning child applications; controlling
them; and responding to expected patterns in their output. Pexpect works like
Don Libes' Expect. Pexpect allows your script to spawn a child application and
control it as if a human were typing commands.
%prep
%setup0 -q -n %modulename-%version
%patch0 -p 1
tar xvzf %SOURCE1 --exclude=CVS
tar xvzf %SOURCE2 --exclude=CVS
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc README.txt doc/* examples
%defattr(-,root,root)
%changelog
…
Полный changelog можно просмотреть здесь
%define release alt8
%setup_python_module pexpect
Summary: Pexpect is a pure Python Expect. It allows easy control of other applications.
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Source0: %{modulename}-%{version}.tar.gz
Source1: %{modulename}-doc.tgz
Source2: %{modulename}-examples.tgz
Patch0: pexpect-import.patch
License: Python Software Foundation License
Group: Development/Python
Prefix: %{_prefix}
BuildArchitectures: noarch
Vendor: Noah Spurrier <noah at noah.org>
Url: http://pexpect.sourceforge.net/
Obsoletes: pexpect < 0.999-alt6
Provides: pexpect
%description
Pexpect is a pure Python module for spawning child applications; controlling
them; and responding to expected patterns in their output. Pexpect works like
Don Libes' Expect. Pexpect allows your script to spawn a child application and
control it as if a human were typing commands.
%prep
%setup0 -q -n %modulename-%version
%patch0 -p 1
tar xvzf %SOURCE1 --exclude=CVS
tar xvzf %SOURCE2 --exclude=CVS
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc README.txt doc/* examples
%defattr(-,root,root)
%changelog
…
Полный changelog можно просмотреть здесь