diff --git a/.cvsignore b/.cvsignore index e69de29..91466fa 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +TAP-Harness-Archive-0.03.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..7584f72 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-TAP-Harness-Archive-0_03-1_el5:HEAD:perl-TAP-Harness-Archive-0.03-1.el5.src.rpm:1214247706 diff --git a/perl-TAP-Harness-Archive.spec b/perl-TAP-Harness-Archive.spec new file mode 100644 index 0000000..48fb7b3 --- /dev/null +++ b/perl-TAP-Harness-Archive.spec @@ -0,0 +1,66 @@ +Name: perl-TAP-Harness-Archive +Version: 0.03 +Release: 1%{?dist} +Summary: Create an archive of TAP test results +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/TAP-Harness-Archive/ +Source0: http://archive.cpan.cz//authors/id/W/WO/WONKO/TAP-Harness-Archive-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Archive::Tar) +BuildRequires: perl(Module::Build) +BuildRequires: perl(TAP::Harness) >= 3.05 +BuildRequires: perl(YAML::Tiny) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Pod::Coverage) +Requires: perl(TAP::Harness) >= 3.05 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module is a direct subclass of TAP::Harness and behaves in exactly the +same way except for one detail. In addition to outputting a running progress +of the tests and an ending summary it can also capture all of the raw TAP +from the individual test files or streams into an archive file (.tar or +.tar.gz). + + +%prep +%setup -q -n TAP-Harness-Archive-%{version} + + +%build +%{__perl} Build.PL installdirs=vendor +./Build + + +%install +rm -rf $RPM_BUILD_ROOT + + +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + + +%check +./Build test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README TODO +%{perl_vendorlib}/* +%{_mandir}/man3/* + + +%changelog +* Tue Jun 17 2008 Lubomir Rintel (Good Data) 0.03-1 +- Specfile autogenerated by cpanspec 1.75. +- Fix dependencies diff --git a/sources b/sources index e69de29..4d49169 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5a92a2ae5b434692295555a68146703d TAP-Harness-Archive-0.03.tar.gz