mirror of https://github.com/fspc/gbootroot.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.7 KiB
70 lines
1.7 KiB
23 years ago
|
# A SPEC to crreate a rpm package from Expect. This should work on all
|
||
|
# distributions using >= perl5.
|
||
|
|
||
|
# Update this according to version
|
||
|
%define version 1.12
|
||
|
%define release 1
|
||
|
|
||
|
|
||
|
Summary: Expect.pm (%{version}) - Perl Expect interface
|
||
|
Name: Expect
|
||
|
Version: %{version}
|
||
|
Release: %{release}
|
||
|
Copyright: GPL
|
||
|
Group: Development/Perl
|
||
|
Source: http://www.perl.com/CPAN/authors/id/R/RG/RGIERSIG/Expect-%{version}.tar.gz
|
||
|
URL: http://gbootroot.sourceforge.net
|
||
|
Distribution: BootRoot
|
||
|
Vendor: Free Software
|
||
|
Packager: Jonathan Rosenbaum <freesource@users.sourceforge.net>
|
||
|
|
||
|
|
||
|
# Dependencies
|
||
|
Requires: perl-IO-Stty, perl-IO-Tty
|
||
|
AutoReqProv: no
|
||
|
|
||
|
|
||
|
%description
|
||
|
The Expect module is a successor of Comm.pl and a descendent of Chat.pl. It
|
||
|
more closely ressembles the Tcl Expect language than its predecessors. It
|
||
|
does not contain any of the networking code found in Comm.pl. I suspect this
|
||
|
would be obsolete anyway given the advent of IO::Socket and external tools
|
||
|
such as netcat.
|
||
|
|
||
|
Expect.pm is an attempt to have more of a switch() & case: feel to make
|
||
|
decision processing more fluid. three separate types of debugging have
|
||
|
been implemented to make code production easier.
|
||
|
|
||
|
It is now possible to interconnect multiple file handles (and processes) much
|
||
|
like Tcl's expect. An attempt was made to enable all the features of Tcl's
|
||
|
expect without forcing Tcl on the victim programmer :-) .
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -n Expect-%{version}
|
||
|
|
||
|
|
||
|
# This works if IO::Pty is put in the proper place
|
||
|
%build
|
||
|
perl Makefile.PL LIB=/usr/lib/perl5/site_perl
|
||
|
make
|
||
|
|
||
|
|
||
|
%install
|
||
|
make install
|
||
|
|
||
|
|
||
|
# nothing to clean
|
||
|
%clean
|
||
|
|
||
|
|
||
|
%files
|
||
|
/usr/lib/perl5/site_perl/Expect.pm
|
||
|
/usr/lib/perl5/site_perl/Expect.pod
|
||
|
/usr/share/man/man3/Expect.3pm
|
||
|
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
|