]> git.pld-linux.org Git - packages/perl-Test2-Suite.git/blob - perl-Test2-Suite.spec
fc0e78536185c1caa10b50a7d8281d5ab709a53d
[packages/perl-Test2-Suite.git] / perl-Test2-Suite.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    Test2
6 %define         pnam    Suite
7 Summary:        Test2::Suite - Distribution with a rich set of tools built upon the Test2 framework
8 Summary(pl.UTF-8):      Test2::Suite - pakiet z bogatym zestawem narzędzi opartych na szkielecie Test2
9 Name:           perl-Test2-Suite
10 Version:        0.000140
11 Release:        1
12 # same as perl 5
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
16 # Source0-md5:  2ccca23d640361f9c6f4912d676f15c8
17 URL:            https://metacpan.org/release/Test2-Suite
18 BuildRequires:  perl-devel >= 1:5.8.1
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  rpmbuild(macros) >= 1.745
21 %if %{with tests}
22 BuildRequires:  perl-Importer >= 0.024
23 BuildRequires:  perl-Module-Pluggable >= 2.7
24 BuildRequires:  perl-Scalar-List-Utils
25 BuildRequires:  perl-Scope-Guard
26 BuildRequires:  perl-Sub-Info >= 0.002
27 BuildRequires:  perl-Term-Table >= 0.013
28 BuildRequires:  perl-Test-Simple >= 1.302176
29 BuildRequires:  perl-Time-HiRes
30 %endif
31 Requires:       perl-Importer >= 0.024
32 Requires:       perl-Test-Simple >= 1.302176
33 BuildArch:      noarch
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Rich set of tools, plugins, bundles, etc. built upon the Test2 testing
38 library. If you are interested in writing tests, this is the
39 distribution for you.
40
41 %description -l pl.UTF-8
42 Bogaty zestaw narzędzi, wtyczek, opakowań itp. zbudowanych w oparciu o
43 bibliotekę testów Test2. Jest przydatny w przypadku pisania testów.
44
45 %prep
46 %setup -q -n %{pdir}-%{pnam}-%{version}
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 %{__make}
52
53 %{?with_tests:%{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} pure_install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changes README.md
67 %dir %{perl_vendorlib}/Test2
68 %{perl_vendorlib}/Test2/AsyncSubtest.pm
69 %{perl_vendorlib}/Test2/AsyncSubtest
70 %{perl_vendorlib}/Test2/Bundle.pm
71 %{perl_vendorlib}/Test2/Bundle
72 %{perl_vendorlib}/Test2/Compare.pm
73 %{perl_vendorlib}/Test2/Compare
74 %{perl_vendorlib}/Test2/Manual.pm
75 %{perl_vendorlib}/Test2/Manual
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
85 %dir %{perl_vendorlib}/Test2/Util
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
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*
98 %{_mandir}/man3/Test2::Bundle*.3pm*
99 %{_mandir}/man3/Test2::Compare*.3pm*
100 %{_mandir}/man3/Test2::Manual*.3pm*
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*
112 %{_mandir}/man3/Test2::Util::Times.3pm*
113 %{_mandir}/man3/Test2::V0.3pm*
114 %{_mandir}/man3/Test2::Workflow*.3pm*
This page took 0.07459 seconds and 2 git commands to generate.