3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Test::Extreme - a perlish unit testing framework
9 Summary(pl.UTF-8): Test::Extreme - perlowy szkielet do testowania w stylu unit
10 Name: perl-Test-Extreme
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 008505ccc3d31a46cc89dc5883ba2d14
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Test::Extreme is a perlish port of the xUnit testing framework. It is
25 in the spirit of JUnit, the unit testing framework for Java, by Kent
26 Beck and Erich Gamma. Instead of porting the implementation of JUnit
27 we have ported its spirit to Perl.
29 %description -l pl.UTF-8
30 Test::Extreme to perlowy port szkieletu testującego xUnit. Jest w
31 duchu JUnit, szkieletu testowego dla Javy, autorstwa Kenta Becka i
32 Ericha Gammy. Zamiast portowania implementacji Junit został sportowany
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %{perl_vendorlib}/%{pdir}/*.pm