Summary: A quick and easy command line automation tool Name: expect-lite Version: 4.1.0 Release: 1 License: BSD-style Group: Development/Languages URL: http://expect-lite.sourceforge.net/ Source0: http://expect.nist.gov/src/%{name}_%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: tcl-devel >= 8.5.8-2, tk-devel >= 8.5.8-1, expect >= 5.43.0-1 Requires: tcl >= 8.5.8-2, tk >= 8.5.8-1, expect >= 5.43.0-1 %description Written in expect, it is designed to directly map an interactive terminal session into an automation script. expect-lite scripts use special character(s) at the beginning of each line to indicate the action. Basic expect-lite scripts can be created by simply cutting and pasting text from a terminal window into a script, and adding '>' '<' characters. No knowledge of expect is required! Includes a Powerful Debugger with breakpoints, step/skip, copy/paste expect-lite lines right into a running script. Expect-lite is targeted at the verification testing environment, and will produce a Pass/Fail result at the end of the script. However, its use is not limited to this environment. %prep %setup -q -n expect-lite.proj %build %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} ./install.sh -p ${RPM_BUILD_ROOT}%{_prefix} gunzip ${RPM_BUILD_ROOT}%{_mandir}/man1/*.gz cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc COPYING ChangeLog Docs/ Examples/ README %{_bindir}/%{name} %{_mandir}/man1/%{name}.1 /usr/bin/%{name} %changelog * Wed Apr 13 2011 Michael Perzl - 4.1.0-1 - first version for AIX V5.1 and higher