3 %bcond_without tests # do not perform "make test"
6 %define pnam Harness-Archive
7 Summary: TAP::Harness::Archive - Create an archive of TAP test results
8 Summary(pl.UTF-8): TAP::Harness::Archive - tworzenie archiwów wyników testów TAP
9 Name: perl-TAP-Harness-Archive
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/TAP/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: f7417c336ebb9c28937f494f05e342bb
17 URL: http://search.cpan.org/dist/TAP-Harness-Archive/
18 BuildRequires: perl-Module-Build
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Archive-Tar
23 BuildRequires: perl-Test-Harness >= 3.05
24 BuildRequires: perl-Test-Simple
25 BuildRequires: perl-YAML-Tiny
27 Requires: perl-Test-Harness >= 3.05
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This module is a direct subclass of TAP::Harness and behaves in
33 exactly the same way except for one detail. In addition to outputting
34 a running progress of the tests and an ending summary it can also
35 capture all of the raw TAP from the individual test files or streams
36 into an archive file (.tar or .tar.gz).
38 %description -l pl.UTF-8
39 Ten moduł jest bezpośrednią podklasą TAP::Harness i zachowuje się
40 dokładnie w ten sam sposób, z wyjątkiem jednego szczegółu. Poza
41 wypisywaniem postępów testów oraz końcowego podsumowania potrafi także
42 przechwycić całe surowe wyniki TAP z poszczególnych plików lub
43 strumieni testów do pliku archiwum (.tar lub .tar.gz).
46 %setup -q -n %{pdir}-%{pnam}-%{version}
50 destdir=$RPM_BUILD_ROOT \
54 %{?with_tests:./Build test}
57 rm -rf $RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %{perl_vendorlib}/TAP/Harness/Archive.pm
68 %{_mandir}/man3/TAP::Harness::Archive.3pm*