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

69 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: perl-Test-Pod-Coverage
2006-01-26 08:25:49 +00:00
Version: 1.08
Release: 1%{?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/
2006-01-26 08:25:49 +00:00
Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-Coverage-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(Pod::Coverage)
2006-01-26 08:25:49 +00:00
BuildRequires: 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/*
2006-01-26 08:25:49 +00:00
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/Test/
%{_mandir}/man3/*.3*
%changelog
2006-01-26 08:25:49 +00:00
* Thu Jan 26 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.08-1
- Update to 1.08.
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.