diff --git a/.cvsignore b/.cvsignore index e69de29..c2836ef 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Test-Output-0.10.tar.gz diff --git a/perl-Test-Output.spec b/perl-Test-Output.spec new file mode 100644 index 0000000..32ac760 --- /dev/null +++ b/perl-Test-Output.spec @@ -0,0 +1,58 @@ +Name: perl-Test-Output +Version: 0.10 +Release: 1%{?dist} +Summary: Utilities to test STDOUT and STDERR messages +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-Output/ +Source0: http://www.cpan.org/authors/id/S/SS/SSORICHE/Test-Output-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Sub::Exporter) +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +BuildRequires: perl(Test::Tester) >= 0.103 +Requires: perl(Sub::Exporter) +Requires: perl(Test::Tester) >= 0.103 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Test::Output provides a simple interface for testing output sent to STDOUT +or STDERR. A number of different utilies are included to try and be as +flexible as possible to the tester. + +%prep +%setup -q -n Test-Output-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jul 02 2007 Steven Pritchard 0.10-1 +- Specfile autogenerated by cpanspec 1.71. +- Fix License. +- BR Test::Pod and Test::Pod::Coverage. diff --git a/sources b/sources index e69de29..8999f98 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +dcf67296e04a41a9f73f70c10fe5f825 Test-Output-0.10.tar.gz