Summary: A quick and easy command line automation tool Name: expect-lite Version: 4.9.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 Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: tcl-devel >= 8.6.6-1, tk-devel >= 8.6.6-1, expect >= 5.45-2 Requires: tcl >= 8.6.6-1, tk >= 8.6.6-1, expect >= 5.45-2 %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 %patch0 %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 * Thu Oct 27 2016 Michael Perzl - 4.9.0-1 - updated to version 4.9.0 * Wed Apr 13 2011 Michael Perzl - 4.1.0-1 - first version for AIX V5.1 and higher