File perl-Net-Telnet.spec of Package perl-Net-Telnet

#
# spec file for package perl-Net-Telnet
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Net-Telnet
Version:        3.03
Release:        325
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic-1.0 ; GPL-2.0+
Url:            http://cpan.org/modules/by-module/Net/
Summary:        Net::Telnet - interact with TELNET port or other TCP ports
Source:         Net-Telnet-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros

%description
Net::Telnet allows you to make client connections to a TCP port and do
network I/O, especially to a port using the TELNET protocol.  Simple
I/O methods such as print, get, and getline are provided.  More
sophisticated interactive features are provided because connecting to a
TELNET port ultimately means communicating with a program designed for
human interaction.  These interactive features include the ability to
specify a time-out and to wait for patterns to appear in the input
stream, such as the prompt from a shell.



Authors:
--------
    Jay Rogers <jay@rgrs.com>

%prep
%setup -n Net-Telnet-%{version}

%build
perl Makefile.PL
make %{?_smp_mflags}
make test

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc ChangeLog README 
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/Net
%{perl_vendorlib}/Net

%changelog
openSUSE Build Service is sponsored by