perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.spec

66 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: perl-Test-Pod-Coverage
Version: 1.06
2005-05-12 22:35:33 +00:00
Release: 3%{?dist}
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
2005-05-12 22:35:33 +00:00
* Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-3
- Add dist tag.
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.06-2
- rebuilt
* 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.