commit ea64a3168635cf097bf821f14d970446fcc19247 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Jan 17 16:32:52 2014 +0100 Import .gitignore | 1 + perl-perlindex.spec | 62 ++++++++++++++++++++ ...ess-interpreter-declaration-from-Text-Eng.patch | 26 ++++++++ sources | 1 + 4 files changed, 90 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..67fc749 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/perlindex-1.606.tar.gz diff --git a/perl-perlindex.spec b/perl-perlindex.spec new file mode 100644 index 0000000..b356c3c --- /dev/null +++ b/perl-perlindex.spec @@ -0,0 +1,62 @@ +Name: perl-perlindex +Version: 1.606 +Release: 1%{?dist} +Summary: Index and search the perl documentation +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/perlindex/ +Source0: http://www.cpan.org/authors/id/U/UL/ULPFR/perlindex-%{version}.tar.gz +# CPAN RT#92170 +Patch0: perlindex-1.606-Remove-useless-interpreter-declaration-from-Text-Eng.patch +BuildArch: noarch +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Basename) +# Run-time: +BuildRequires: perl(AnyDBM_File) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Find) +BuildRequires: perl(Getopt::Long) +# IO::Scalar is optional +BuildRequires: perl(less) +# Pod::Text is optional +BuildRequires: perl(Term::ReadKey) +# Tests: +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(strict) +BuildRequires: perl(Test) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Find) + +%description +Perlindex is a program to index and search the perl documentation. It provides +Text::English module implementing Porter stemming algorithm. + +%prep +%setup -q -n perlindex-%{version} +%patch0 -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc ChangeLog README +%{_bindir}/* +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Wed Jan 15 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 1.606-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/perlindex-1.606-Remove-useless-interpreter-declaration-from-Text-Eng.patch b/perlindex-1.606-Remove-useless-interpreter-declaration-from-Text-Eng.patch new file mode 100644 index 0000000..2b9bf8b --- /dev/null +++ b/perlindex-1.606-Remove-useless-interpreter-declaration-from-Text-Eng.patch @@ -0,0 +1,26 @@ +From 7d86c93005d2cd3c0e6b6d401583001d4e4132a5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx> +Date: Wed, 15 Jan 2014 16:12:08 +0100 +Subject: [PATCH] Remove useless interpreter declaration from Text::English + module +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař <ppisar@xxxxxxxxxx> +--- + lib/Text/English.pm | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/lib/Text/English.pm b/lib/Text/English.pm +index 2d45da8..a785a25 100644 +--- a/lib/Text/English.pm ++++ b/lib/Text/English.pm +@@ -1,4 +1,3 @@ +-#!/usr/bin/perl + # -*- Mode: Perl -*- + # Author : Ian Phillipps + # Last Modified On: Sun May 2 15:35:33 2004 +-- +1.8.4.2 + diff --git a/sources b/sources index e69de29..e31b482 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a46ad625934bab8cbb1d7d20b1d5e131 perlindex-1.606.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