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

88 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Test-Pod (Version 1.26)
#
# 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-Test-Pod
License: Artistic License
Group: Development/Libraries/Perl
Url: http://cpan.org/
BuildRequires: perl-Pod-Escapes perl-Pod-Simple
Requires: perl = %{perl_version} perl-Pod-Simple perl-Pod-Escapes
AutoReqProv: on
Summary: Check for POD errors in files
Version: 1.26
Release: 61
Source: http://cpan.org/modules/by-module/Test/Test-Pod-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Test::Pod lets you check the validity of a POD file, and report its
results in standard Test::Simple fashion.
Authors:
--------
Andy Lester, <andy at petdance dot com>
brian d foy, <bdfoy at cpan dot org>
%prep
%setup -n Test-Pod-%{version}
%build
perl Makefile.PL
%{__make}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
%dir %{perl_vendorlib}/Test
%{perl_vendorlib}/Test/Pod.pm
%dir %{perl_vendorarch}/auto/Test
%dir %{perl_vendorarch}/auto/Test/Pod
%{perl_vendorarch}/auto/Test/Pod/.packlist
%{_mandir}/man3/Test::Pod.3pm.gz
/var/adm/perl-modules/%{name}
%changelog
* Wed Oct 17 2007 - pth@suse.de
- Add perl-Pod-Simple to Requires
- Run testsuite and BuildRequire everything needed to do this.
- Add perl-Pod-Simple perl-Pod-Escapes to Requires.
* Mon Sep 18 2006 - lmuelle@suse.de
- Update to version 0.26.
No new functionality in this version.
[FIXES]
* Fixed a Win32 build bug.
* Fixed a bug in the SYNOPSIS.
[THINGS THAT MAY BREAK YOUR CODE]
* The long-deprecated pod_ok() is now gone, along with all its
constants.
[ENHANCEMENTS]
* Now runs properly under VMS. Thanks to Peter Edwards.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 26 2005 - lmuelle@suse.de
- Update to 1.22.
- bzip2 source tar ball.
* Wed Feb 16 2005 - schwab@suse.de
- Don't remove BuildRoot in %%install.
* Wed Feb 16 2005 - lmuelle@suse.de
- Initial SuSE package.