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

96 lines
2.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Pod-Coverage (Version 0.19)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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: 59
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