SPECS: python-pexpect.spec (NEW) - added (spec was made by Irek S³...
twittner
twittner at pld-linux.org
Sun Aug 14 21:52:03 CEST 2005
Author: twittner Date: Sun Aug 14 19:52:03 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added (spec was made by Irek Słonina <br linuxnews pl>)
---- Files affected:
SPECS:
python-pexpect.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-pexpect.spec
diff -u /dev/null SPECS/python-pexpect.spec:1.1
--- /dev/null Sun Aug 14 21:52:03 2005
+++ SPECS/python-pexpect.spec Sun Aug 14 21:51:57 2005
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+%define module pexpect
+Summary: Expect module for Python
+Summary(pl): Moduł Pythona automatyzujący zadania, wzorowany na Expect
+Name: python-%{module}
+Version: 0.999
+Release: 0.1
+License: Python Software Foundation License
+Group: Development/Languages/Python
+Source0: http://dl.sourceforge.net/sourceforge/pexpect/%{module}-%{version}.tgz
+# Source0-md5: e426e5f54d323aaf392008c9eb35131d
+Source1: http://dl.sourceforge.net/sourceforge/pexpect/%{module}-doc.tgz
+# Source1-md5: 69bfc0056938f561875289651c8715ad
+Source2: http://dl.sourceforge.net/sourceforge/pexpect/%{module}-examples.tgz
+# Source2-md5: ee05cad1d7b6b4de0dc74bc16330b852
+URL: http://pexpect.soufceforge.net/
+BuildRequires: python-modules
+BuildRequires: python-devel >= 2.2
+%pyrequires_eq python
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl
+Pexpect jest modułem napisanym wyłącznie w Pythonie przeznaczonym do
+uruchamiania aplikacji i kontroli nad nimi poprzez reagowanie na znalezione
+wzory na ich wyjściu. Pexpect działa podobnie do Expecta Dona Libesa -
+pozwala skryptom z ich poziomu uruchomić inne programy i sprawować nad nimi
+kontrolę imitując interakcję użytkownika.
+
+%prep
+%setup -q -n %{module}-%{version} -a1
+cp %{SOURCE1} %{SOURCE2} .
+tar zxf %{SOURCE1}
+tar zxf %{SOURCE2}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install examples/*.py {ANSI,FSM,screen}.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+
+python setup.py install \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/*.py[co]
+%{_examplesdir}/%{name}-%{version}/*.py
+%doc README.txt doc/*.html
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/08/14 19:51:57 twittner
+- added (spec was made by Irek Słonina <br linuxnews pl>)
+
================================================================
More information about the pld-cvs-commit
mailing list