2007-01-16 00:31:36 +01:00
|
|
|
#
|
2007-11-20 14:59:21 +01:00
|
|
|
# spec file for package perl-Pod-Coverage (Version 0.19)
|
2007-01-16 00:31:36 +01:00
|
|
|
#
|
2007-11-20 14:59:21 +01:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:31:36 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Pod-Coverage
|
|
|
|
BuildRequires: perl-Devel-Symdump perl-Module-Info perl-Pod-Escapes perl-Pod-Simple perl-Test-Pod perl-YAML
|
2007-11-20 14:59:21 +01:00
|
|
|
Url: http://search.cpan.org/~rclamp/Pod-Coverage
|
|
|
|
License: Artistic License; GPL v2 or later
|
|
|
|
Group: Development/Libraries/Perl
|
2007-01-16 00:31:36 +01:00
|
|
|
Requires: perl-Devel-Symdump, perl = %{perl_version}
|
2007-11-20 14:59:21 +01:00
|
|
|
AutoReqProv: on
|
|
|
|
Summary: Check if the documentation of a module is comprehensive
|
|
|
|
Version: 0.19
|
2007-01-16 00:31:36 +01:00
|
|
|
Release: 1
|
|
|
|
Source: Pod-Coverage-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
_head(n>1) or an _
|
|
|
|
|
|
|
|
subroutine.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Richard Clamp <richardc@unixbeard.net>
|
|
|
|
Michael Stevens <mstevens@etla.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n Pod-Coverage-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
2007-11-20 14:59:21 +01:00
|
|
|
|
|
|
|
%check
|
2007-01-16 00:31:36 +01:00
|
|
|
make test
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%buildroot install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %buildroot
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%dir %{perl_vendorlib}/Pod
|
|
|
|
%dir %{perl_vendorlib}/Pod/Coverage
|
|
|
|
%dir %{perl_vendorarch}/auto/Pod
|
|
|
|
%dir %{perl_vendorarch}/auto/Pod/Coverage
|
|
|
|
%{perl_vendorlib}/Pod/Coverage.pm
|
|
|
|
%{perl_vendorlib}/Pod/Coverage/CountParents.pm
|
|
|
|
%{perl_vendorlib}/Pod/Coverage/ExportOnly.pm
|
|
|
|
%{perl_vendorlib}/Pod/Coverage/Overloader.pm
|
|
|
|
%{perl_vendorarch}/auto/Pod/Coverage/.packlist
|
|
|
|
%doc %{_mandir}/man3/*.3pm.gz
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%{_bindir}/pod_cover
|
2007-11-20 14:59:21 +01:00
|
|
|
%changelog
|
|
|
|
* Tue Nov 20 2007 - pth@suse.de
|
|
|
|
- Update to 0.19:
|
|
|
|
Don't use _CvGV to determine if a sub was imported, there's a handy
|
|
|
|
flag - GVf_IMPORTED_CV. Fixes 5.9.5 and future perls
|
2007-01-16 00:31:36 +01:00
|
|
|
* Fri Oct 20 2006 - pth@suse.de
|
|
|
|
- Initial package
|