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: 4e9bbe25e28d2453a6c63a1e675cc484
17 URL: https://metacpan.org/release/Test-Inter
18 BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
19 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: perl-File-Find-Rule
22 BuildRequires: perl-Test-Pod >= 1.00
23 BuildRequires: perl-Test-Pod-Coverage >= 1.00
24 BuildRequires: perl-Test-Simple
26 BuildRequires: rpm-perlprov >= 4.1-13
27 BuildRequires: rpmbuild(macros) >= 1.745
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This is another framework for writing test scripts. It is loosely
33 inspired by Test::More, and has most of it's functionality, but it is
34 not a drop-in replacement.
36 %description -l pl.UTF-8
37 Ten moduł to jeszcze jeden szkielet do tworzenia skryptów testowych.
38 Jest luźno inspirowany modułem Test::More i ma większość jego
39 funkcjonalności, ale nie jest bezpośrednim zamiennikiem.
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
59 cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
60 %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Test/Inter.pod
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %{perl_vendorlib}/Test/Inter.pm
69 %{_mandir}/man3/Test::Inter.3pm*
70 %{_examplesdir}/%{name}-%{version}