[perl-Pod-Checker] Import
Petr Pisar
ppisar at fedoraproject.org
Wed Feb 6 14:23:47 UTC 2013
commit 9e06f7b2293131bd63202803f13f4a2e617d628c
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Feb 6 15:23:19 2013 +0100
Import
.gitignore | 1 +
perl-Pod-Checker.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..51978b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Pod-Checker-1.60.tar.gz
diff --git a/perl-Pod-Checker.spec b/perl-Pod-Checker.spec
new file mode 100644
index 0000000..06b56d6
--- /dev/null
+++ b/perl-Pod-Checker.spec
@@ -0,0 +1,61 @@
+Name: perl-Pod-Checker
+Version: 1.60
+Release: 1%{?dist}
+Summary: Check POD documents for syntax errors
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Pod-Checker/
+Source0: http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Spec)
+# Run-time:
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(Pod::Parser) >= 1.60
+BuildRequires: perl(Pod::ParseUtils)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Tests:
+BuildRequires: perl(File::Basename)
+BuildRequires: perl(FileHandle)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Pod::Parser) >= 1.60
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Parser\\)$
+
+%description
+Module and tools to verify POD documentation contents for compliance with the
+Plain Old Documentation format specifications.
+
+%prep
+%setup -q -n Pod-Checker-%{version}
+find -type f -exec chmod a-x {} +
+for F in CHANGES README; do
+ sed -i -e 's/\r//' "$F"
+done
+
+%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 CHANGES README
+%{_bindir}/*
+%{perl_vendorlib}/*
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Feb 04 2013 Petr Pisar <ppisar at redhat.com> 1.60-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..194b251 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+02373b7bdfb1d8f5f756271edc6aef17 Pod-Checker-1.60.tar.gz
More information about the scm-commits
mailing list