]> git.pld-linux.org Git - packages/perl-Test2-Suite.git/blame - perl-Test2-Suite.spec
- added missing BRs for tests
[packages/perl-Test2-Suite.git] / perl-Test2-Suite.spec
CommitLineData
d27b8249
AM
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Test2
6%define pnam Suite
7%include /usr/lib/rpm/macros.perl
8Summary: Test2::Suite - Distribution with a rich set of tools built upon the Test2 framework
9311e233 9Summary(pl.UTF-8): Test2::Suite - pakiet z bogatym zestawem narzędzi opartych na szkielecie Test2
d27b8249 10Name: perl-Test2-Suite
71ab66cb 11Version: 0.000106
24c5be39 12Release: 2
9311e233 13# same as perl 5
d27b8249
AM
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-authors/id/E/EX/EXODIST/Test2-Suite-%{version}.tar.gz
71ab66cb 17# Source0-md5: ca3711353323de95166d1e5ef6d92428
d27b8249 18URL: http://search.cpan.org/dist/Test2-Suite/
9311e233 19BuildRequires: perl-devel >= 1:5.8.1
d27b8249
AM
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
24c5be39
MK
22BuildRequires: perl-Importer >= 0.024
23BuildRequires: perl-Module-Pluggable >= 2.7
9311e233 24BuildRequires: perl-Scalar-List-Utils
24c5be39
MK
25BuildRequires: perl-Scope-Guard
26BuildRequires: perl-Sub-Info >= 0.002
27BuildRequires: perl-Term-Table >= 0.002
28BuildRequires: perl-Test-Simple >= 1.302127
d27b8249 29%endif
24c5be39
MK
30Requires: perl-Importer >= 0.024
31Requires: perl-Test-Simple >= 1.302127
d27b8249
AM
32BuildArch: noarch
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
9311e233 36Rich set of tools, plugins, bundles, etc. built upon the Test2 testing
d27b8249
AM
37library. If you are interested in writing tests, this is the
38distribution for you.
39
9311e233
JB
40%description -l pl.UTF-8
41Bogaty zestaw narzędzi, wtyczek, opakowań itp. zbudowanych w oparciu o
42bibliotekę testów Test2. Jest przydatny w przypadku pisania testów.
d27b8249
AM
43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
48%{__perl} Makefile.PL \
49 INSTALLDIRS=vendor
50%{__make}
51
52%{?with_tests:%{__make} test}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} pure_install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
71ab66cb
MK
65%doc Changes README.md
66%{perl_vendorlib}/Test2/AsyncSubtest.pm
67%{perl_vendorlib}/Test2/AsyncSubtest
d27b8249
AM
68%{perl_vendorlib}/Test2/Bundle.pm
69%{perl_vendorlib}/Test2/Bundle
70%{perl_vendorlib}/Test2/Compare.pm
71%{perl_vendorlib}/Test2/Compare
71ab66cb
MK
72%{perl_vendorlib}/Test2/Event
73%{perl_vendorlib}/Test2/Manual.pm
74%{perl_vendorlib}/Test2/Manual
d27b8249
AM
75%{perl_vendorlib}/Test2/Mock.pm
76%{perl_vendorlib}/Test2/Plugin.pm
77%{perl_vendorlib}/Test2/Plugin
78%{perl_vendorlib}/Test2/Require.pm
79%{perl_vendorlib}/Test2/Require
80%{perl_vendorlib}/Test2/Suite.pm
81%{perl_vendorlib}/Test2/Todo.pm
82%{perl_vendorlib}/Test2/Tools.pm
83%{perl_vendorlib}/Test2/Tools
9311e233
JB
84%{perl_vendorlib}/Test2/Util/Grabber.pm
85%{perl_vendorlib}/Test2/Util/Ref.pm
86%{perl_vendorlib}/Test2/Util/Stash.pm
87%{perl_vendorlib}/Test2/Util/Sub.pm
88%{perl_vendorlib}/Test2/Util/Table.pm
89%{perl_vendorlib}/Test2/Util/Table
71ab66cb
MK
90%{perl_vendorlib}/Test2/Util/Term.pm
91%{perl_vendorlib}/Test2/Util/Times.pm
92%{perl_vendorlib}/Test2/V0.pm
93%{perl_vendorlib}/Test2/Workflow.pm
94%{perl_vendorlib}/Test2/Workflow
95%{_mandir}/man3/Test2::AsyncSubtest*.3pm*
9311e233
JB
96%{_mandir}/man3/Test2::Bundle*.3pm*
97%{_mandir}/man3/Test2::Compare*.3pm*
71ab66cb 98%{_mandir}/man3/Test2::Manual*.3pm*
9311e233
JB
99%{_mandir}/man3/Test2::Mock.3pm*
100%{_mandir}/man3/Test2::Plugin*.3pm*
101%{_mandir}/man3/Test2::Require*.3pm*
102%{_mandir}/man3/Test2::Suite.3pm*
103%{_mandir}/man3/Test2::Todo.3pm*
104%{_mandir}/man3/Test2::Tools*.3pm*
105%{_mandir}/man3/Test2::Util::Grabber.3pm*
106%{_mandir}/man3/Test2::Util::Ref.3pm*
107%{_mandir}/man3/Test2::Util::Stash.3pm*
108%{_mandir}/man3/Test2::Util::Sub.3pm*
109%{_mandir}/man3/Test2::Util::Table*.3pm*
71ab66cb
MK
110%{_mandir}/man3/Test2::Util::Times.3pm*
111%{_mandir}/man3/Test2::V0.3pm*
112%{_mandir}/man3/Test2::Workflow*.3pm*
This page took 0.19226 seconds and 4 git commands to generate.