%define pnam Suite
%include /usr/lib/rpm/macros.perl
Summary: Test2::Suite - Distribution with a rich set of tools built upon the Test2 framework
+Summary(pl.UTF-8): Test2::Suite - pakiet z bogatym zestawem narzędzi opartych na szkielecie Test2
Name: perl-Test2-Suite
Version: 0.000060
Release: 1
-# same as perl
+# same as perl 5
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-authors/id/E/EX/EXODIST/Test2-Suite-%{version}.tar.gz
# Source0-md5: 6cb3de0e465300f771c8e0d2b77754d5
URL: http://search.cpan.org/dist/Test2-Suite/
-BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: perl-devel >= 1:5.8.1
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
-BuildRequires: perl(Importer) >= 0.010
+BuildRequires: perl-Importer >= 0.010
+BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-Test-Simple >= 1.302032
%endif
+Requires: perl-Importer >= 0.010
+Requires: perl-Test-Simple >= 1.302032
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Rich set of tools, plugins, bundles, etc built upon the Test2 testing
+Rich set of tools, plugins, bundles, etc. built upon the Test2 testing
library. If you are interested in writing tests, this is the
distribution for you.
-If you want to write something that both exports new functions, and
-effects behavior, you should write both a Tools distribution, and a
-Plugin distribution, then a Bundle that loads them both. This is
-important as it helps avoid the problem where a package exports
-much-desired tools, but also produces undesirable side effects.
+%description -l pl.UTF-8
+Bogaty zestaw narzędzi, wtyczek, opakowań itp. zbudowanych w oparciu o
+bibliotekę testów Test2. Jest przydatny w przypadku pisania testów.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%files
%defattr(644,root,root,755)
-%doc Changes README TODO
+%doc Changes README.md TODO
%{perl_vendorlib}/Test2/Bundle.pm
%{perl_vendorlib}/Test2/Bundle
%{perl_vendorlib}/Test2/Compare.pm
%{perl_vendorlib}/Test2/Todo.pm
%{perl_vendorlib}/Test2/Tools.pm
%{perl_vendorlib}/Test2/Tools
-%{perl_vendorlib}/Test2/Util
-%{_mandir}/man3/Test2*.3pm*
+%{perl_vendorlib}/Test2/Util/Grabber.pm
+%{perl_vendorlib}/Test2/Util/Ref.pm
+%{perl_vendorlib}/Test2/Util/Stash.pm
+%{perl_vendorlib}/Test2/Util/Sub.pm
+%{perl_vendorlib}/Test2/Util/Table.pm
+%{perl_vendorlib}/Test2/Util/Table
+%{_mandir}/man3/Test2::Bundle*.3pm*
+%{_mandir}/man3/Test2::Compare*.3pm*
+%{_mandir}/man3/Test2::Mock.3pm*
+%{_mandir}/man3/Test2::Plugin*.3pm*
+%{_mandir}/man3/Test2::Require*.3pm*
+%{_mandir}/man3/Test2::Suite.3pm*
+%{_mandir}/man3/Test2::Todo.3pm*
+%{_mandir}/man3/Test2::Tools*.3pm*
+%{_mandir}/man3/Test2::Util::Grabber.3pm*
+%{_mandir}/man3/Test2::Util::Ref.3pm*
+%{_mandir}/man3/Test2::Util::Stash.3pm*
+%{_mandir}/man3/Test2::Util::Sub.3pm*
+%{_mandir}/man3/Test2::Util::Table*.3pm*