3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Test2::Suite - Distribution with a rich set of tools built upon the Test2 framework
9 Summary(pl.UTF-8): Test2::Suite - pakiet z bogatym zestawem narzędzi opartych na szkielecie Test2
10 Name: perl-Test2-Suite
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-authors/id/E/EX/EXODIST/Test2-Suite-%{version}.tar.gz
17 # Source0-md5: 6cb3de0e465300f771c8e0d2b77754d5
18 URL: http://search.cpan.org/dist/Test2-Suite/
19 BuildRequires: perl-devel >= 1:5.8.1
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Importer >= 0.010
23 BuildRequires: perl-Scalar-List-Utils
24 BuildRequires: perl-Test-Simple >= 1.302032
26 Requires: perl-Importer >= 0.010
27 Requires: perl-Test-Simple >= 1.302032
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Rich set of tools, plugins, bundles, etc. built upon the Test2 testing
33 library. If you are interested in writing tests, this is the
36 %description -l pl.UTF-8
37 Bogaty zestaw narzędzi, wtyczek, opakowań itp. zbudowanych w oparciu o
38 bibliotekę testów Test2. Jest przydatny w przypadku pisania testów.
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
53 %{__make} pure_install \
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc Changes README.md TODO
62 %{perl_vendorlib}/Test2/Bundle.pm
63 %{perl_vendorlib}/Test2/Bundle
64 %{perl_vendorlib}/Test2/Compare.pm
65 %{perl_vendorlib}/Test2/Compare
66 %{perl_vendorlib}/Test2/Mock.pm
67 %{perl_vendorlib}/Test2/Plugin.pm
68 %{perl_vendorlib}/Test2/Plugin
69 %{perl_vendorlib}/Test2/Require.pm
70 %{perl_vendorlib}/Test2/Require
71 %{perl_vendorlib}/Test2/Suite.pm
72 %{perl_vendorlib}/Test2/Todo.pm
73 %{perl_vendorlib}/Test2/Tools.pm
74 %{perl_vendorlib}/Test2/Tools
75 %{perl_vendorlib}/Test2/Util/Grabber.pm
76 %{perl_vendorlib}/Test2/Util/Ref.pm
77 %{perl_vendorlib}/Test2/Util/Stash.pm
78 %{perl_vendorlib}/Test2/Util/Sub.pm
79 %{perl_vendorlib}/Test2/Util/Table.pm
80 %{perl_vendorlib}/Test2/Util/Table
81 %{_mandir}/man3/Test2::Bundle*.3pm*
82 %{_mandir}/man3/Test2::Compare*.3pm*
83 %{_mandir}/man3/Test2::Mock.3pm*
84 %{_mandir}/man3/Test2::Plugin*.3pm*
85 %{_mandir}/man3/Test2::Require*.3pm*
86 %{_mandir}/man3/Test2::Suite.3pm*
87 %{_mandir}/man3/Test2::Todo.3pm*
88 %{_mandir}/man3/Test2::Tools*.3pm*
89 %{_mandir}/man3/Test2::Util::Grabber.3pm*
90 %{_mandir}/man3/Test2::Util::Ref.3pm*
91 %{_mandir}/man3/Test2::Util::Stash.3pm*
92 %{_mandir}/man3/Test2::Util::Sub.3pm*
93 %{_mandir}/man3/Test2::Util::Table*.3pm*