diff --git a/README.md b/README.md index 50dc7c5..0169f14 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Test-Pod +Test::Pod lets you check the validity of a POD file, and report its results in standard Test::Simple fashion. + diff --git a/perl-Test-Pod.spec b/perl-Test-Pod.spec new file mode 100644 index 0000000..27203d4 --- /dev/null +++ b/perl-Test-Pod.spec @@ -0,0 +1,76 @@ +Name: perl-Test-Pod +Version: 1.48 +Release: 1mamba +Summary: Test::Pod - Check for POD errors in files +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +BuildRequires: perl-Pod-Simple +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Test::Pod lets you check the validity of a POD file, and report its results in standard Test::Simple fashion. + +%prep +%setup -q -n Test-Pod-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm -f $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Thu May 16 2013 Automatic Build System 1.48-1mamba +- automatic version update by autodist + +* Thu Feb 21 2013 Automatic Build System 1.46-1mamba +- automatic version update by autodist + +* Mon Nov 12 2012 Silvan Calarco 1.45-2mamba +- perl 5.16 mass rebuild + +* Sun Mar 13 2011 Automatic Build System 1.45-1mamba +- automatic update by autodist + +* Sun Oct 24 2010 Davide Madrisan 1.44-1mamba +- update to 1.44 + +* Thu Oct 01 2009 Automatic Build System 1.40-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 1.26-2mamba +- automatic rebuild by autodist + +* Mon Jun 23 2008 Tiziana Ferro 1.26-1mamba +- update to 1.26 + +* Mon Jan 24 2005 Davide Madrisan 1.20-1qilnx +- package created by autospec