From fb3d8637fd05ecd4d98a48317909ec5c18adfef3 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:31:30 +0100 Subject: [PATCH] automatic version update by autodist [release 0.23-1mamba;Wed May 08 2013] --- README.md | 5 +++ perl-Pod-Coverage.spec | 77 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 perl-Pod-Coverage.spec diff --git a/README.md b/README.md index c44b73e..ded30b2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # perl-Pod-Coverage +Developers hate writing documentation. +They'd hate it even more if their computer tattled on them, but maybe they'll be even more thankful in the long run. +Even if not, perlmodstyle tells you to, so you must obey. +This module provides a mechanism for determining if the pod for a given module is comprehensive. + diff --git a/perl-Pod-Coverage.spec b/perl-Pod-Coverage.spec new file mode 100644 index 0000000..36b55a1 --- /dev/null +++ b/perl-Pod-Coverage.spec @@ -0,0 +1,77 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Pod-Coverage +Version: 0.23 +Release: 1mamba +Summary: Pod::Coverage - Checks if the documentation of a module is comprehensive +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Pod/Pod-Coverage-%{version}.tar.gz +License: Artistic License +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Devel-Symdump +BuildRequires: perl-Test-Pod +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Developers hate writing documentation. +They'd hate it even more if their computer tattled on them, but maybe they'll be even more thankful in the long run. +Even if not, perlmodstyle tells you to, so you must obey. +This module provides a mechanism for determining if the pod for a given module is comprehensive. + +%prep +%setup -q -n Pod-Coverage-%{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 $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}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Wed May 08 2013 Automatic Build System 0.23-1mamba +- automatic version update by autodist + +* Mon Nov 12 2012 Silvan Calarco 0.22-2mamba +- perl 5.16 mass rebuild + +* Mon Feb 13 2012 Automatic Build System 0.22-1mamba +- automatic version update by autodist + +* Thu Mar 17 2011 Automatic Build System 0.21-1mamba +- automatic update by autodist + +* Fri Feb 27 2009 Silvan Calarco 0.20-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.19-2mamba +- automatic rebuild by autodist + +* Wed Nov 07 2007 Aleph0 0.19-1mamba +- update to 0.19 + +* Mon Jan 24 2005 Davide Madrisan 0.17-1qilnx +- package created by autospec