A new user interface for you!

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

# spec file for package perl-Net-Telnet (Version 3.03)
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via http://www.suse.de/feedback/

# norootforbuild

Name:         perl-Net-Telnet
Version:      3.03
Release:      1
Autoreqprov:  on
Group:        Development/Libraries/Perl
License:      GPL, Artistic License
URL:          http://cpan.org/modules/by-module/Net/
Summary:      Net::Telnet - interact with TELNET port or other TCP ports
Source:       Net-Telnet-%{version}.tar.bz2
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

BuildRequires:  perl(ExtUtils::MakeMaker)
%if 0%{?fedora_version}
BuildRequires:  perl-devel

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.

    Jay Rogers <jay@rgrs.com>

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

perl Makefile.PL
make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor
%if 0%{?suse_version}
# find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod -o -name .packlist |xargs -i rm -f {}
find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {}
find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null


%defattr(-, root, root)
%doc ChangeLog README 
%doc %{_mandir}/man?/*
%if 0%{?suse_version}

* Thu May 31 2012 Holger Manthey <holger.manthey@bertelsmann.de>
- remove perl-version require
* Sat Apr  4 2009 Holger Manthey <holger.manthey@bertelsmann.de>
- Build for centos
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Tue Jul 15 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Thu Jun 19 2003 mjancar@suse.cz
- fix filelist
* Tue May 20 2003 mjancar@suse.cz
- remove unpackaged files
* Fri Dec 20 2002 prehak@suse.cz
- updated to version 3.03
* Tue Jul  2 2002 mls@suse.de
- remove race in .packlist generation
* Wed Aug 22 2001 rvasice@suse.cz
- initial package release (version 3.02)