forked from pool/perl-Expect
Accepting request 296988 from devel:languages:perl:autoupdate
- updated to 1.32 see /usr/share/doc/packages/perl-Expect/Changes OBS-URL: https://build.opensuse.org/request/show/296988 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Expect?expand=0&rev=9
This commit is contained in:
parent
7ef7fd6c02
commit
bf623dad92
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e5509307b8e330a3bc07dd4ab1d28e5451116449cc9c3bdabb1235f66ce62267
|
|
||||||
size 53881
|
|
3
Expect-1.32.tar.gz
Normal file
3
Expect-1.32.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d1f96842a5c7dd8516b202b530d87a70b65e7054d3bf975c34f6a42084e54e25
|
||||||
|
size 61592
|
14
cpanspec.yml
Normal file
14
cpanspec.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
patches:
|
||||||
|
Expect.diff: -p1
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: -
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 14 17:44:21 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.32
|
||||||
|
see /usr/share/doc/packages/perl-Expect/Changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 13:32:17 UTC 2010 - coolo@novell.com
|
Wed Dec 1 13:32:17 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Expect (Version 1.21)
|
# spec file for package perl-Expect
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,60 +15,68 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Expect
|
Name: perl-Expect
|
||||||
BuildRequires: perl-IO-Stty perl-IO-Tty
|
Version: 1.32
|
||||||
BuildRequires: perl-macros
|
Release: 0
|
||||||
Url: http://search.cpan.org/search?module=Expect
|
%define cpan_name Expect
|
||||||
License: Artistic-1.0
|
Summary: Automate Interactions with Command Line Programs That Expose a Text Term[cut]
|
||||||
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Requires: perl-IO-Tty perl-IO-Stty
|
Url: http://search.cpan.org/dist/Expect/
|
||||||
AutoReqProv: on
|
Source0: http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz
|
||||||
Summary: Expect for perl
|
Source1: cpanspec.yml
|
||||||
Version: 1.21
|
Patch0: Expect.diff
|
||||||
Release: 55
|
BuildArch: noarch
|
||||||
Source: Expect-%{version}.tar.gz
|
|
||||||
Patch: Expect.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(IO::Pty) >= 1.11
|
||||||
|
BuildRequires: perl(IO::Tty) >= 1.11
|
||||||
|
BuildRequires: perl(Test::Exception) >= 0.32
|
||||||
|
BuildRequires: perl(Test::More) >= 1.00
|
||||||
|
Requires: perl(IO::Pty) >= 1.11
|
||||||
|
Requires: perl(IO::Tty) >= 1.11
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A tool for automating interactive programs
|
The Expect module is a successor of Comm.pl and a descendent of Chat.pl. It
|
||||||
|
more closely resembles 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 feeling to make
|
||||||
|
decision processing more fluid. Three separate types of debugging have been
|
||||||
|
implemented to make code production easier.
|
||||||
|
|
||||||
|
It is 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 :-) .
|
||||||
|
|
||||||
Authors:
|
Please, before you consider using Expect, read the FAQs about the /"I want
|
||||||
--------
|
to automate password entry for su/ssh/scp/rsh/..." manpage and the /"I want
|
||||||
Roland Giersig <RGiersig@cpan.org>
|
to use Expect to automate [anything with a buzzword]..." manpage
|
||||||
Austin Schutz <tex@habit.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n Expect-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch -p1
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
chmod 644 %{_builddir}/Expect-%{version}/tutorial/*
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes examples README.md
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Changes MANIFEST README
|
|
||||||
%{perl_vendorarch}/auto/Expect/
|
|
||||||
/%{perl_vendorlib}/Expect.pod
|
|
||||||
/%{perl_vendorlib}/Expect.pm
|
|
||||||
%doc tutorial
|
|
||||||
%doc examples
|
|
||||||
%doc %{_mandir}/man3/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user