]> git.pld-linux.org Git - packages/perl-Test-Output.git/blame - perl-Test-Output.spec
- updated to 0.16
[packages/perl-Test-Output.git] / perl-Test-Output.spec
CommitLineData
5c31f2d5
MP
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Test
7%define pnam Output
5d4a3a06
JB
8Summary: Test::Output - Utilities to test STDOUT and STDERR messages
9Summary(pl.UTF-8): Test::Output - narzędzia do terowania komunikatów STDOUT i STDERR
5c31f2d5 10Name: perl-Test-Output
132d2e65 11Version: 0.16
5c31f2d5
MP
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
5d4a3a06 16Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
132d2e65 17# Source0-md5: d7a4bd06f682089bd0b432e6df94cfef
164b3320 18URL: http://search.cpan.org/dist/Test-Output/
5c31f2d5
MP
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
132d2e65 22BuildRequires: perl-File-Temp >= 0.21
5d4a3a06 23BuildRequires: perl-Sub-Exporter
132d2e65 24BuildRequires: perl-Test-Tester >= 0.107
5c31f2d5
MP
25%endif
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
5d4a3a06
JB
30Test::Output provides a simple interface for testing output sent to
31STDOUT or STDERR. A number of different utilies are included to try
32and be as flexible as possible to the tester.
33
34%description -l pl.UTF-8
35Test::Output udostępnia prosty interfejs do testowania komunikatów
36wysyłanych na STDOUT lub STDERR. Załączonych jest wiele różnych
37narzędzi do wypróbowania, mających być jak najbardziej elastycznymi
38dla testera.
5c31f2d5
MP
39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make}
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
62%{perl_vendorlib}/Test/*.pm
63%dir %{perl_vendorlib}/Test/Output
64%{perl_vendorlib}/Test/Output/Tie.pm
65%{_mandir}/man3/*
This page took 0.07482 seconds and 4 git commands to generate.