commit bfb1aab35e6370680313b4f50052749b86a5bf3a Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Mar 28 18:05:02 2012 +0200 Import .gitignore | 1 + .rpmlint | 2 + perl-Term-ReadLine-Perl.spec | 49 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..eb22efb 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Term-ReadLine-Perl-1.0303.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..ad8a1a8 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* (conformant|ReadKey)"); diff --git a/perl-Term-ReadLine-Perl.spec b/perl-Term-ReadLine-Perl.spec new file mode 100644 index 0000000..cc2f7b5 --- /dev/null +++ b/perl-Term-ReadLine-Perl.spec @@ -0,0 +1,49 @@ +Name: perl-Term-ReadLine-Perl +Version: 1.0303 +Release: 1%{?dist} +Summary: Readline implementation in Perl +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Term-ReadLine-Perl/ +Source0: http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Term-ReadLine-Perl-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +# Term::Cap is optional +# Run-time +BuildRequires: perl(Carp) +BuildRequires: perl(SelfLoader) +BuildRequires: perl(Term::ReadKey) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Term::ReadKey) + +%description +This is a quick implementation of the minimal interface to Readline libraries. +The implementation is made in Perl (mostly) by Jeffrey Friedl. The only thing +this library does is to make it conformant (and add some minimal changes, like +using Term::ReadKey if present, and correct work under xterm). + +%prep +%setup -q -n Term-ReadLine-Perl-%{version} +chmod -x ReadLine/*.pm CHANGES README + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +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 +# Disable interractive tests +AUTOMATED_TESTING=1 make test + +%files +%doc CHANGES README +%{perl_vendorlib}/* + +%changelog +* Thu Mar 15 2012 Petr Pisar <ppisar@xxxxxxxxxx> 1.0303-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ea82dd4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a77ecf4921cc714820fef898c6cb0eaf Term-ReadLine-Perl-1.0303.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel