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

80 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Test-Pod-Coverage (Version 1.08)
#
# 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-Test-Pod-Coverage
BuildRequires: perl-Pod-Coverage perl-Pod-Escapes perl-Pod-Simple perl-Test-Pod
Url: http://search.cpan.org/~petdance/Test-Pod-Coverage
License: Artistic License; LGPL v2.1 or later
Group: Development/Libraries/Perl
Requires: perl = %{perl_version} perl-Pod-Coverage perl-Pod-Escapes perl-Pod-Simple perl-Test-Pod
AutoReqProv: on
Summary: Check for POD Coverage in Your Distribution
Version: 1.08
Release: 115
Source: Test-Pod-Coverage-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Checks for POD coverage in files for your distribution.
Authors:
--------
Andy Lester <andy@petdance.com>
%prep
%setup -n Test-Pod-Coverage-%{version}
%build
perl Makefile.PL
make
%check
make test
# ---------------------------------------------------------------------------
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%doc Changes
%dir %{perl_vendorlib}/Test
%dir %{perl_vendorlib}/Test/Pod
%dir %{perl_vendorarch}/auto/Test
%dir %{perl_vendorarch}/auto/Test/Pod
%{perl_vendorarch}/auto/Test/Pod/Coverage
%{perl_vendorlib}/Test/Pod/Coverage.pm
%{perl_vendorarch}/auto/Test/Pod/Coverage/.packlist
%{_mandir}/man3/Test::Pod::Coverage.3pm.gz
/var/adm/perl-modules/%{name}
%changelog
* Wed Oct 17 2007 pth@suse.de
- Fix Requires.
- Clean up the spec file
* Fri Oct 20 2006 pth@suse.de
- Initial package