%define upstream_name Term-VT102 %define upstream_version 0.91 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Term::VT102 - a class to emulate a DEC VT102 terminal License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Term/%{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch %description The VT102 class provides emulation of most of the functions of a DEC VT102 terminal. Once initialised, data passed to a VT102 object is processed and the in-memory screen modified accordingly. This screen can be interrogated by the external program in a variety of ways. This allows your program to interface with full-screen console programs by running them in a subprocess and passing their output to a VT102 class. You can then see what the application has written on the screen by querying the class appropriately. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %dir %{perl_vendorlib}/Term/VT102 %dir %{perl_vendorlib}/Term/VT102/examples %{perl_vendorlib}/Term/VT102.pm %{perl_vendorlib}/Term/VT102/examples/* %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.910.0-2.mga3 + Revision: 373323 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.910.0-1.mga1 + Revision: 27096 - mageia rebuild - imported package perl-Term-VT102