commit b53272b8a15fc53c53d77a97726d48e51a0759de Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu May 3 16:30:34 2012 +0200 Import .gitignore | 1 + perl-Pod-Spell-CommonMistakes.spec | 51 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..58beb98 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Pod-Spell-CommonMistakes-1.000.tar.gz diff --git a/perl-Pod-Spell-CommonMistakes.spec b/perl-Pod-Spell-CommonMistakes.spec new file mode 100644 index 0000000..40368b8 --- /dev/null +++ b/perl-Pod-Spell-CommonMistakes.spec @@ -0,0 +1,51 @@ +Name: perl-Pod-Spell-CommonMistakes +Version: 1.000 +Release: 1%{?dist} +Summary: Catches common typos in POD +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Pod-Spell-CommonMistakes/ +Source0: http://www.cpan.org/authors/id/A/AP/APOCAL/Pod-Spell-CommonMistakes-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Module::Build) +# Run-Time: +BuildRequires: perl(base) +BuildRequires: perl(Exporter) +BuildRequires: perl(IO::Scalar) >= 2.110 +BuildRequires: perl(Pod::Spell) >= 1.01 +# Tests: +BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::More) >= 0.88 +# Optional test: +BuildRequires: perl(Test::Script) >= 1.05 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module looks for any typos in your POD. It differs from Pod::Spell or +Test::Spelling because it uses a custom word list and doesn't use the system +spellchecker. The idea for this came from the +<http://wiki.debian.org/Teams/Lintian> code in Debian, thanks! + +%prep +%setup -q -n Pod-Spell-CommonMistakes-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes CommitLog examples LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Apr 27 2012 Petr Pisar <ppisar@xxxxxxxxxx> 1.000-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..adcc17d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6ed42f6fa54622567e22318955a648ae Pod-Spell-CommonMistakes-1.000.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