%define upstream_name Term-UI %define upstream_version 0.32 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Term::ReadLine UI made easy License: Artistic/GPL 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.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Locale::Maketext::Simple) BuildRequires: perl(Log::Message::Simple) BuildRequires: perl(Params::Check) BuildRequires: perl(Term::ReadLine) BuildRequires: perl(Test::More) BuildArch: noarch %description "Term::UI" is a transparent way of eliminating the overhead of having to format a question and then validate the reply, informing the user if the answer was not proper and re-issuing the question. Simply give it the question you want to ask, optionally with choices the user can pick from and a default and "Term::UI" will DWYM. For asking a yes or no question, there's even a shortcut. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check %__make test %install %makeinstall_std %files %doc CHANGES META.json META.yml MYMETA.yml README %{perl_vendorlib}/Term/* %{_mandir}/*/* %changelog * Wed Mar 27 2013 jquelin <jquelin> 0.320.0-3.mga3 + Revision: 405569 - perl 5.16.3 rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.320.0-2.mga3 + Revision: 373322 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Nov 14 2012 jquelin <jquelin> 0.320.0-1.mga3 + Revision: 317600 - update to 0.32 * Wed Jan 04 2012 jquelin <jquelin> 0.300.0-1.mga2 + Revision: 190545 - update to 0.30 * Fri Feb 18 2011 jquelin <jquelin> 0.260.0-1.mga1 + Revision: 53666 - update to 0.26 * Mon Jan 24 2011 jquelin <jquelin> 0.220.0-1.mga1 + Revision: 37708 - mageia rebuild - imported package perl-Term-UI * Sat Jan 08 2011 Guillaume Rousse <guillomovitch@mandriva.org> 0.220.0-1mdv2011.0 + Revision: 630636 - update to new version 0.22 * Tue Aug 04 2009 Jérôme Quelin <jquelin@mandriva.org> 0.200.0-1mdv2010.0 + Revision: 408971 - rebuild using %%perl_convert_version * Fri May 01 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.20-1mdv2010.0 + Revision: 370185 - update to new version 0.20 * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.18-1mdv2009.0 + Revision: 136360 - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Wed Nov 07 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.18-1mdv2008.1 + Revision: 106664 - update to new version 0.18 - update to new version 0.18 * Fri Oct 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.16-1mdv2008.1 + Revision: 97566 - update to new version 0.16 * Fri Jun 22 2007 Buchan Milne <bgmilne@mandriva.org> 0.14-1mdv2008.0 + Revision: 42867 - Import perl-Term-UI * Thu Jun 21 2007 Buchan Milne <bgmilne@mandriva.org> 0.14-1mdv2007.1 - initial package