Import
This commit is contained in:
parent
ebc9d845ec
commit
9e06f7b229
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Pod-Checker-1.60.tar.gz
|
||||
61
perl-Pod-Checker.spec
Normal file
61
perl-Pod-Checker.spec
Normal file
@ -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@redhat.com> 1.60-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user