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

87 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Pod-Coverage (Version 0.19)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
Url: http://search.cpan.org/~rclamp/Pod-Coverage
License: Artistic License; GPL v2 or later
Group: Development/Libraries/Perl
Requires: perl-Devel-Symdump, perl = %{perl_version}
AutoReqProv: on
Summary: Check if the documentation of a module is comprehensive
Version: 0.19
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
%check
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
%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
* Fri Oct 20 2006 - pth@suse.de
- Initial package