]>
Commit | Line | Data |
---|---|---|
d27b8249 AM |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4 | # | |
5 | %define pdir Test2 | |
6 | %define pnam Suite | |
d27b8249 | 7 | Summary: Test2::Suite - Distribution with a rich set of tools built upon the Test2 framework |
9311e233 | 8 | Summary(pl.UTF-8): Test2::Suite - pakiet z bogatym zestawem narzędzi opartych na szkielecie Test2 |
d27b8249 | 9 | Name: perl-Test2-Suite |
7f9149f4 | 10 | Version: 0.000115 |
e8b5bf19 | 11 | Release: 2 |
9311e233 | 12 | # same as perl 5 |
d27b8249 AM |
13 | License: GPL v1+ or Artistic |
14 | Group: Development/Languages/Perl | |
15 | Source0: http://www.cpan.org/modules/by-authors/id/E/EX/EXODIST/Test2-Suite-%{version}.tar.gz | |
7f9149f4 JB |
16 | # Source0-md5: eca653c9eda1c4c5ad30b256556bd2ef |
17 | URL: https://metacpan.org/release/Test2-Suite | |
9311e233 | 18 | BuildRequires: perl-devel >= 1:5.8.1 |
d27b8249 AM |
19 | BuildRequires: rpm-perlprov >= 4.1-13 |
20 | %if %{with tests} | |
24c5be39 MK |
21 | BuildRequires: perl-Importer >= 0.024 |
22 | BuildRequires: perl-Module-Pluggable >= 2.7 | |
9311e233 | 23 | BuildRequires: perl-Scalar-List-Utils |
24c5be39 MK |
24 | BuildRequires: perl-Scope-Guard |
25 | BuildRequires: perl-Sub-Info >= 0.002 | |
26 | BuildRequires: perl-Term-Table >= 0.002 | |
7f9149f4 JB |
27 | BuildRequires: perl-Test-Simple >= 1.302136 |
28 | BuildRequires: perl-Time-HiRes | |
d27b8249 | 29 | %endif |
24c5be39 | 30 | Requires: perl-Importer >= 0.024 |
7f9149f4 | 31 | Requires: perl-Test-Simple >= 1.302136 |
d27b8249 AM |
32 | BuildArch: noarch |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
9311e233 | 36 | Rich set of tools, plugins, bundles, etc. built upon the Test2 testing |
d27b8249 AM |
37 | library. If you are interested in writing tests, this is the |
38 | distribution for you. | |
39 | ||
9311e233 JB |
40 | %description -l pl.UTF-8 |
41 | Bogaty zestaw narzędzi, wtyczek, opakowań itp. zbudowanych w oparciu o | |
42 | bibliotekę 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 | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} pure_install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
71ab66cb | 65 | %doc Changes README.md |
e8b5bf19 | 66 | %dir %{perl_vendorlib}/Test2 |
71ab66cb MK |
67 | %{perl_vendorlib}/Test2/AsyncSubtest.pm |
68 | %{perl_vendorlib}/Test2/AsyncSubtest | |
d27b8249 AM |
69 | %{perl_vendorlib}/Test2/Bundle.pm |
70 | %{perl_vendorlib}/Test2/Bundle | |
71 | %{perl_vendorlib}/Test2/Compare.pm | |
72 | %{perl_vendorlib}/Test2/Compare | |
71ab66cb MK |
73 | %{perl_vendorlib}/Test2/Event |
74 | %{perl_vendorlib}/Test2/Manual.pm | |
75 | %{perl_vendorlib}/Test2/Manual | |
d27b8249 AM |
76 | %{perl_vendorlib}/Test2/Mock.pm |
77 | %{perl_vendorlib}/Test2/Plugin.pm | |
78 | %{perl_vendorlib}/Test2/Plugin | |
79 | %{perl_vendorlib}/Test2/Require.pm | |
80 | %{perl_vendorlib}/Test2/Require | |
81 | %{perl_vendorlib}/Test2/Suite.pm | |
82 | %{perl_vendorlib}/Test2/Todo.pm | |
83 | %{perl_vendorlib}/Test2/Tools.pm | |
84 | %{perl_vendorlib}/Test2/Tools | |
e8b5bf19 | 85 | %dir %{perl_vendorlib}/Test2/Util |
9311e233 JB |
86 | %{perl_vendorlib}/Test2/Util/Grabber.pm |
87 | %{perl_vendorlib}/Test2/Util/Ref.pm | |
88 | %{perl_vendorlib}/Test2/Util/Stash.pm | |
89 | %{perl_vendorlib}/Test2/Util/Sub.pm | |
90 | %{perl_vendorlib}/Test2/Util/Table.pm | |
91 | %{perl_vendorlib}/Test2/Util/Table | |
71ab66cb MK |
92 | %{perl_vendorlib}/Test2/Util/Term.pm |
93 | %{perl_vendorlib}/Test2/Util/Times.pm | |
94 | %{perl_vendorlib}/Test2/V0.pm | |
95 | %{perl_vendorlib}/Test2/Workflow.pm | |
96 | %{perl_vendorlib}/Test2/Workflow | |
97 | %{_mandir}/man3/Test2::AsyncSubtest*.3pm* | |
9311e233 JB |
98 | %{_mandir}/man3/Test2::Bundle*.3pm* |
99 | %{_mandir}/man3/Test2::Compare*.3pm* | |
71ab66cb | 100 | %{_mandir}/man3/Test2::Manual*.3pm* |
9311e233 JB |
101 | %{_mandir}/man3/Test2::Mock.3pm* |
102 | %{_mandir}/man3/Test2::Plugin*.3pm* | |
103 | %{_mandir}/man3/Test2::Require*.3pm* | |
104 | %{_mandir}/man3/Test2::Suite.3pm* | |
105 | %{_mandir}/man3/Test2::Todo.3pm* | |
106 | %{_mandir}/man3/Test2::Tools*.3pm* | |
107 | %{_mandir}/man3/Test2::Util::Grabber.3pm* | |
108 | %{_mandir}/man3/Test2::Util::Ref.3pm* | |
109 | %{_mandir}/man3/Test2::Util::Stash.3pm* | |
110 | %{_mandir}/man3/Test2::Util::Sub.3pm* | |
111 | %{_mandir}/man3/Test2::Util::Table*.3pm* | |
71ab66cb MK |
112 | %{_mandir}/man3/Test2::Util::Times.3pm* |
113 | %{_mandir}/man3/Test2::V0.3pm* | |
114 | %{_mandir}/man3/Test2::Workflow*.3pm* |