Author: iarnell Update of /cvs/pkgs/rpms/perl-Term-Prompt/F-10 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8980/F-10 Modified Files: .cvsignore sources Added Files: perl-Term-Prompt.spec Log Message: initial import --- NEW FILE perl-Term-Prompt.spec --- Name: perl-Term-Prompt Version: 1.04 Release: 1%{?dist} Summary: Perl extension for prompting a user for information License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Term-Prompt/ Source0: http://www.cpan.org/authors/id/P/PE/PERSICOM/Term-Prompt-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Term::ReadKey) >= 1 BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This main function of this module is to accept interactive input. You specify the type of inputs allowed, a prompt, help text and defaults and it will deal with the user interface, (and the user!), by displaying the prompt, showing the default, and checking to be sure that the response is one of the legal choices. Additional 'types' that could be added would be a phone type, a social security type, a generic numeric pattern type... %prep %setup -q -n Term-Prompt-%{version} for f in $(find . -type f); do chmod -x $f sed -i -e 's/\r//' $f done %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun May 03 2009 Iain Arnell 1.04-1 - Specfile autogenerated by cpanspec 1.77. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Term-Prompt/F-10/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- .cvsignore 4 May 2009 03:54:48 -0000 1.1 +++ .cvsignore 4 May 2009 05:38:05 -0000 1.2 @@ -0,0 +1 @@ +Term-Prompt-1.04.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Term-Prompt/F-10/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- sources 4 May 2009 03:54:48 -0000 1.1 +++ sources 4 May 2009 05:38:05 -0000 1.2 @@ -0,0 +1 @@ +505213e26be3e46ed03d47f0c955f5f9 Term-Prompt-1.04.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list