92 lines
2.6 KiB
RPMSpec
92 lines
2.6 KiB
RPMSpec
|
#
|
||
|
# spec file for package perl-Test-Harness
|
||
|
#
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
|
||
|
|
||
|
|
||
|
Name: perl-Test-Harness
|
||
|
%define real_name Test-Harness
|
||
|
Summary: Run Perl standard test scripts with statistics
|
||
|
Url: http://search.cpan.org/perldoc?Test::Harness
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Artistic License
|
||
|
Version: 3.13
|
||
|
Release: 0
|
||
|
Source: %{real_name}-%{version}.tar.bz2
|
||
|
Requires: perl = %{perl_version}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
Although, for historical reasons, the Test::Harness distribution takes its name
|
||
|
from this module it now exists only to provide TAP::Harness with an interface
|
||
|
that is somewhat backwards compatible with Test::Harness 2.xx. If you're
|
||
|
writing new code consider using TAP::Harness directly instead.
|
||
|
|
||
|
Emulation is provided for runtests and execute_tests but the pluggable 'Straps'
|
||
|
interface that previous versions of Test::Harness supported is not reproduced
|
||
|
here. Straps is now available as a stand alone module: Test::Harness::Straps.
|
||
|
|
||
|
See TAP::Parser, TAP::Harness for the main documentation for this distribution.
|
||
|
|
||
|
|
||
|
Author:
|
||
|
-------
|
||
|
Andy Armstrong
|
||
|
|
||
|
%prep
|
||
|
%setup -n %{real_name}-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make %{?jobs:-j%jobs}
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root)
|
||
|
%doc README Changes MANIFEST
|
||
|
%doc %{_mandir}/man?/*
|
||
|
%{_bindir}/prove
|
||
|
%dir %{perl_vendorlib}/Test
|
||
|
%dir %{perl_vendorlib}/App
|
||
|
%dir %{perl_vendorlib}/App/Prove
|
||
|
%dir %{perl_vendorlib}/TAP
|
||
|
%dir %{perl_vendorlib}/TAP/Formatter
|
||
|
%dir %{perl_vendorlib}/TAP/Formatter/Console
|
||
|
%dir %{perl_vendorlib}/TAP/Parser
|
||
|
%dir %{perl_vendorlib}/TAP/Parser/Iterator
|
||
|
%dir %{perl_vendorlib}/TAP/Parser/Result
|
||
|
%dir %{perl_vendorlib}/TAP/Parser/Scheduler
|
||
|
%dir %{perl_vendorlib}/TAP/Parser/Source
|
||
|
%dir %{perl_vendorlib}/TAP/Parser/YAMLish
|
||
|
%dir %{perl_vendorarch}/auto/Test
|
||
|
%dir %{perl_vendorarch}/auto/Test/Harness
|
||
|
%{perl_vendorlib}/Test/*.pm
|
||
|
%{perl_vendorlib}/Test/*.pod
|
||
|
%{perl_vendorlib}/App/*.pm
|
||
|
%{perl_vendorlib}/App/Prove/*.pm
|
||
|
%{perl_vendorlib}/TAP/*.pm
|
||
|
%{perl_vendorlib}/TAP/Formatter/*.pm
|
||
|
%{perl_vendorlib}/TAP/Formatter/Console/*.pm
|
||
|
%{perl_vendorlib}/TAP/Parser/*.pm
|
||
|
%{perl_vendorlib}/TAP/Parser/Iterator/*.pm
|
||
|
%{perl_vendorlib}/TAP/Parser/Result/*.pm
|
||
|
%{perl_vendorlib}/TAP/Parser/Scheduler/*.pm
|
||
|
%{perl_vendorlib}/TAP/Parser/Source/*.pm
|
||
|
%{perl_vendorlib}/TAP/Parser/YAMLish/*.pm
|
||
|
%{perl_vendorarch}/auto/Test/Harness/.packlist
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog
|