82 lines
2.2 KiB
RPMSpec
82 lines
2.2 KiB
RPMSpec
|
#
|
||
|
# spec file for package perl-Pod-Coverage (Version 0.18)
|
||
|
#
|
||
|
# Copyright (c) 2006 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, GNU General Public License (GPL) - all versions
|
||
|
Group: Development/Languages/Perl
|
||
|
Requires: perl-Devel-Symdump, perl = %{perl_version}
|
||
|
Autoreqprov: on
|
||
|
Summary: Check if the documentation of a module is comprehensive.
|
||
|
Version: 0.18
|
||
|
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
|
||
|
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 -n perl-Pod-Coverage
|
||
|
* Fri Oct 20 2006 - pth@suse.de
|
||
|
- Initial package
|