| 
									
										
										
										
											2007-01-15 23:31:22 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package perl-Net-Telnet (Version 3.03)
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2010-01-12 12:16:19 +00:00
										 |  |  | # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:31:22 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2008-10-23 02:43:23 +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.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Please submit bugfixes or comments via http://bugs.opensuse.org/
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:31:22 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # norootforbuild
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-10-23 02:43:23 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | Name:           perl-Net-Telnet
 | 
					
						
							|  |  |  | Version:        3.03
 | 
					
						
							| 
									
										
										
										
											2010-12-05 21:09:26 +00:00
										 |  |  | Release:        325
 | 
					
						
							| 
									
										
										
										
											2008-10-23 02:43:23 +00:00
										 |  |  | AutoReqProv:    on
 | 
					
						
							|  |  |  | Group:          Development/Libraries/Perl
 | 
					
						
							| 
									
										
										
										
											2010-01-12 12:16:19 +00:00
										 |  |  | License:        Artistic ; GPLv2+
 | 
					
						
							| 
									
										
										
										
											2008-10-23 02:43:23 +00:00
										 |  |  | 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
 | 
					
						
							| 
									
										
										
										
											2010-12-03 14:44:56 +00:00
										 |  |  | %{perl_requires}
 | 
					
						
							| 
									
										
										
										
											2010-10-19 11:10:26 +00:00
										 |  |  | BuildRequires:  perl
 | 
					
						
							| 
									
										
										
										
											2010-12-03 14:44:56 +00:00
										 |  |  | BuildRequires:  perl-macros
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:31:22 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %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
 | 
					
						
							| 
									
										
										
										
											2010-01-12 12:16:19 +00:00
										 |  |  | make %{?_smp_mflags}
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:31:22 +00:00
										 |  |  | 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
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-10-23 02:43:23 +00:00
										 |  |  | %changelog
 |