]> git.pld-linux.org Git - packages/perl-Test2-Suite.git/blob - perl-Test2-Suite.spec
70a04c29c6bff3146d6cbf918845a605aa030e7a
[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 %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
11 Version:        0.000060
12 Release:        1
13 # same as perl 5
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
21 %if %{with tests}
22 BuildRequires:  perl-Importer >= 0.010
23 BuildRequires:  perl-Scalar-List-Utils
24 BuildRequires:  perl-Test-Simple >= 1.302032
25 %endif
26 Requires:       perl-Importer >= 0.010
27 Requires:       perl-Test-Simple >= 1.302032
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
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
34 distribution for you.
35
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.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} pure_install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
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*
This page took 0.058753 seconds and 2 git commands to generate.