3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Test::Output - Utilities to test STDOUT and STDERR messages
9 Summary(pl.UTF-8): Test::Output - narzędzia do terowania komunikatów STDOUT i STDERR
10 Name: perl-Test-Output
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: bea1fe88e8725a5b3f7b66e69fc83dd2
18 URL: http://search.cpan.org/dist/Test-Output/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-File-Temp >= 0.21
23 BuildRequires: perl-Sub-Exporter
24 BuildRequires: perl-Test-Tester >= 0.107
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Test::Output provides a simple interface for testing output sent to
31 STDOUT or STDERR. A number of different utilies are included to try
32 and be as flexible as possible to the tester.
34 %description -l pl.UTF-8
35 Test::Output udostępnia prosty interfejs do testowania komunikatów
36 wysyłanych na STDOUT lub STDERR. Załączonych jest wiele różnych
37 narzędzi do wypróbowania, mających być jak najbardziej elastycznymi
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/Test/Output.pm
63 %dir %{perl_vendorlib}/Test/Output
64 %{perl_vendorlib}/Test/Output/Tie.pm
65 %{_mandir}/man3/Test::Output*.3pm*