Group :: Desenvolvimento/Python
RPM: python-module-pexpect
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
%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
…
Todas as alterações você pod ver aqui