[perl-Test-Pod-Spelling-CommonMistakes] Import

Petr Pisar ppisar at fedoraproject.org
Thu May 10 13:44:37 UTC 2012


commit 649d173c7617933b8b456f59f18976aff80d9077
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu May 10 15:43:48 2012 +0200

    Import

 .gitignore                                 |    1 +
 perl-Test-Pod-Spelling-CommonMistakes.spec |   52 ++++++++++++++++++++++++++++
 sources                                    |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2a230f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-Pod-Spelling-CommonMistakes-1.000.tar.gz
diff --git a/perl-Test-Pod-Spelling-CommonMistakes.spec b/perl-Test-Pod-Spelling-CommonMistakes.spec
new file mode 100644
index 0000000..9d3877e
--- /dev/null
+++ b/perl-Test-Pod-Spelling-CommonMistakes.spec
@@ -0,0 +1,52 @@
+Name:           perl-Test-Pod-Spelling-CommonMistakes
+Version:        1.000
+Release:        1%{?dist}
+Summary:        Checks POD for common spelling mistakes
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Test-Pod-Spelling-CommonMistakes/
+Source0:        http://www.cpan.org/authors/id/A/AP/APOCAL/Test-Pod-Spelling-CommonMistakes-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Module::Build)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Pod::Spell::CommonMistakes) >= 0.01
+BuildRequires:  perl(Test::Builder) >= 0.94
+BuildRequires:  perl(Test::Pod) >= 1.40
+# Tests:
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More) >= 0.88
+# Optional tests:
+BuildRequires:  perl(Test::Script) >= 1.05
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module checks your POD for common spelling errors. This differs from
+Test::Spelling because it doesn't use your system spellchecker and instead
+uses Pod::Spell::CommonMistakes for the heavy lifting. Using it is the same
+as any standard Test::* module, as seen here.
+
+%prep
+%setup -q -n Test-Pod-Spelling-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 at redhat.com> 1.000-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..a582590 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+aeda7256624c232958cae991488e4617  Test-Pod-Spelling-CommonMistakes-1.000.tar.gz


More information about the scm-commits mailing list