perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.spec
Matthias Saou 97044dbe91 Mass perl module update, one or more apply :
- Drop epoch: 0
- Remove trailing white spaces
- Keep consistent between spaces and tabs
2005-03-03 23:46:28 +00:00

62 lines
1.5 KiB
RPMSpec

%{!?perl_vendorlib: %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)}
Name: perl-Test-Pod-Coverage
Version: 1.06
Release: 1
Summary: Check for pod coverage in your distribution
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Test-Pod-Coverage/
Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-Coverage-1.06.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(Pod::Coverage)
BuildRequires: perl(Test::More), perl(Test::Pod), perl(Test::Builder::Tester)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Checks for POD coverage in files for your distribution.
%prep
%setup -q -n Test-Pod-Coverage-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/Test/
%{_mandir}/man3/*.3*
%changelog
* Thu Jun 24 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.06-1
- Update to 1.06.
* Wed Jun 02 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.04-0.fdr.1
- First build.