%global pkg_name IO-Socket-Telnet %global pkg_version 0.02 %global rpm_pkg_version 0.02 %global rpm_pkg_release 1.n0i.2 Summary: Transparent telnet negotiation for IO::Socket::INET Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/IO/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Class::Method::Modifiers) BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(parent) Requires: perl(IO::Socket::INET) %description Telnet is a simple protocol that sits on top of TCP/IP. It handles the negotiation of various options, both about the connection itself (ECHO) and the setup of both sides of the party (NAWS, TTYPE). This module is a wrapper around L that both strips out the telnet escape sequences and lets you handle the negotiation in a high-level manner. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf %{buildroot} %{perl_install} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_files} %changelog * Sun Nov 04 2007 Marius Feraru - 0.02-1.n0i.2 - version 0.02 * Sun Sep 16 2007 Marius Feraru - 0.01-1.n0i.1 - initial packaging