From 7da349f8cc4b4f8cd6363ceabee1c30b47be885a Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Tue, 16 Feb 2010 04:11:03 +0000 Subject: [PATCH] initial import of perl-Pod-Coverage-TrustPod --- .cvsignore | 1 + perl-Pod-Coverage-TrustPod.spec | 65 +++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+) create mode 100644 perl-Pod-Coverage-TrustPod.spec diff --git a/.cvsignore b/.cvsignore index e69de29..090623d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Pod-Coverage-TrustPod-0.092830.tar.gz diff --git a/perl-Pod-Coverage-TrustPod.spec b/perl-Pod-Coverage-TrustPod.spec new file mode 100644 index 0000000..f3f4e18 --- /dev/null +++ b/perl-Pod-Coverage-TrustPod.spec @@ -0,0 +1,65 @@ +Name: perl-Pod-Coverage-TrustPod +Version: 0.092830 +Release: 3%{?dist} +Summary: Allow a module's pod to contain Pod::Coverage hints +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Pod-Coverage-TrustPod/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Pod-Coverage-TrustPod-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Pod::Coverage) +BuildRequires: perl(Pod::Eventual::Simple) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Pod::Coverage::CountParents) + +%{?perl_default_filter} + +%description +This is a Pod::Coverage subclass (actually, a subclass of +Pod::Coverage::CountParents) that allows the POD itself to declare certain +symbol names trusted. + +%prep +%setup -q -n Pod-Coverage-TrustPod-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +RELEASE_TESTING=1 make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes dist.ini LICENSE META.json README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Feb 16 2010 Iain Arnell 0.092830-3 +- use perl_default_filter +- use DESTDIR, not PERL_INSTALL_ROOT + +* Wed Feb 03 2010 Iain Arnell 0.092830-2 +- requires perl(Pod::Coverage::CountParents) + +* Thu Jan 14 2010 Iain Arnell 0.092830-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..e4ef47b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +83cb23f39a0a01aaa4904b242f4c5624 Pod-Coverage-TrustPod-0.092830.tar.gz