3 %bcond_without tests # do not perform "make test"
7 Summary: Test::Inter - framework for more readable interactive test scripts
8 Summary(pl.UTF-8): Test::Inter - szkielet dla bardziej czytelnych, interaktywnych skryptów testowych
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 02705664dc874bc8b59b9b313a7572f5
17 URL: http://search.cpan.org/dist/Test-Inter/
18 BuildRequires: perl-Module-Build
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This is another framework for writing test scripts. It is loosely
26 inspired by Test::More, and has most of it's functionality, but it is
27 not a drop-in replacement.
29 %description -l pl.UTF-8
30 Ten moduł to jeszcze jeden szkielet do tworzenia skryptów testowych.
31 Jest luźno inspirowany modułem Test::More i ma większość jego
32 funkcjonalności, ale nie jest bezpośrednim zamiennikiem.
35 %setup -q -n %{pdir}-%{pnam}-%{version}
39 destdir=$RPM_BUILD_ROOT \
43 %{?with_tests:./Build test}
46 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
51 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
52 %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Test/Inter.pod
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc ChangeLog LICENSE TODO
60 %{perl_vendorlib}/Test/Inter.pm
61 %{_mandir}/man3/Test::Inter.3pm*
62 %{_examplesdir}/%{name}-%{version}