%define pkg_name Pod-Coverage %define pkg_version 0.19 %define rpm_pkg_version 0.19 %define rpm_pkg_release 1.n0i.11 Summary: Checks if the documentation of a module is comprehensive Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools Requires: perl(Devel::Symdump) >= 2.01 Requires: perl(Pod::Find) >= 0.21 Requires: perl(Pod::Parser) >= 1.13 BuildRequires: perl(Module::Build) %{!?_without_test:BuildRequires: perl(Devel::Symdump) >= 2.01} %{!?_without_test:BuildRequires: perl(Pod::Find) >= 0.21} %{!?_without_test:BuildRequires: perl(Pod::Parser) >= 1.13} %{!?_without_test:BuildRequires: perl(Test::More)} %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 %{pkg_name}-%{pkg_version} [ -f Makefile.PL ] || cat < Makefile.PL use Module::Build::Compat; Module::Build::Compat->run_build_pl(args => \@ARGV); Module::Build::Compat->write_makefile(); EOF %{fix_perl_path examples/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b} %doc Changes examples/ README %changelog * Fri Sep 14 2007 Marius Feraru - 0.19-1.n0i.11 - version 0.19 * Tue May 22 2007 Marius Feraru - 0.18-1.n0i.10 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 0.18 * Sat Mar 04 2006 Marius Feraru - 0.17-5.n0i.9 - automatic rebuild (perl 5.8.8) * Sat Jul 23 2005 Marius Feraru 0.17-4.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.17-3.n0i.7 - automatic rebuild (perl 5.8.6) * Fri Dec 03 2004 Marius Feraru 0:0.17-3.n0i.6 - version 0.17 * Fri Jul 09 2004 Marius Feraru 0:0.14-2.n0i.5 - version 0.14 * Fri Apr 30 2004 Marius Feraru 0:0.13-1.n0i.4 - automatic rebuild * Thu Apr 22 2004 Marius Feraru 0:0.13-1.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 - rebuild (perl 5.8.4) * Thu Jan 22 2004 Marius FERARU 0:0.13-0.n0i.2 - automatic rebuild (perl v.5.8.3) * Thu Jan 01 2004 Marius FERARU 0:0.13-0.n0i.1 - version 0.13 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001