97 lines
2.8 KiB
RPMSpec
97 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package perl-Test-Pod (Version 1.26)
|
|
#
|
|
# 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
|
|
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: 122
|
|
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.
|