2007-01-15 23:30:30 +00:00
|
|
|
#
|
2008-02-08 19:22:43 +00:00
|
|
|
# spec file for package perl-Expect (Version 1.21)
|
2007-01-15 23:30:30 +00:00
|
|
|
#
|
2010-01-11 17:08:08 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:30 +00:00
|
|
|
#
|
2009-06-18 15:02:53 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-15 23:30:30 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:02:53 +00:00
|
|
|
|
2007-01-15 23:30:30 +00:00
|
|
|
Name: perl-Expect
|
|
|
|
BuildRequires: perl-IO-Stty perl-IO-Tty
|
2010-12-05 20:50:00 +00:00
|
|
|
BuildRequires: perl-macros
|
2008-02-08 19:22:43 +00:00
|
|
|
Url: http://search.cpan.org/search?module=Expect
|
2010-01-11 17:08:08 +00:00
|
|
|
License: Artistic
|
2007-01-15 23:30:30 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: perl-IO-Tty perl-IO-Stty
|
2008-02-08 19:22:43 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:30:30 +00:00
|
|
|
Summary: Expect for perl
|
2008-02-08 19:22:43 +00:00
|
|
|
Version: 1.21
|
2010-12-05 20:50:06 +00:00
|
|
|
Release: 55
|
2007-01-15 23:30:30 +00:00
|
|
|
Source: Expect-%{version}.tar.gz
|
|
|
|
Patch: Expect.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-05 20:50:00 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:30:30 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A tool for automating interactive programs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Roland Giersig <RGiersig@cpan.org>
|
|
|
|
Austin Schutz <tex@habit.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n Expect-%{version}
|
|
|
|
%patch -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-11 17:08:08 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:30:30 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
2007-06-14 13:49:17 +00:00
|
|
|
chmod 644 %{_builddir}/Expect-%{version}/tutorial/*
|
2007-01-15 23:30:30 +00:00
|
|
|
|
2008-02-08 19:22:43 +00:00
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
|
2007-01-15 23:30:30 +00:00
|
|
|
%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/*
|
|
|
|
|
2007-06-14 13:49:17 +00:00
|
|
|
%changelog
|