]> git.pld-linux.org Git - SPECS.git/blob - perl-TAP-Formatter-JUnit.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / perl-TAP-Formatter-JUnit.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    TAP
6 %define         pnam    Formatter-JUnit
7 Summary:        TAP::Formatter::JUnit - Harness output delegate for JUnit output
8 Summary(pl.UTF-8):      TAP::Formatter::Junit - moduł TAP Test Harness tworzący wyjście JUnit
9 Name:           perl-TAP-Formatter-JUnit
10 Version:        0.11
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/TAP/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  acdae8535ee116c13f7576b34cebb775
17 URL:            https://metacpan.org/release/TAP-Formatter-JUnit
18 BuildRequires:  perl-Module-Build
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRequires:  rpmbuild(macros) >= 1.745
22 %if %{with tests}
23 BuildRequires:  perl(TAP::Harness) >= 3.12
24 BuildRequires:  perl-File-Slurp
25 BuildRequires:  perl-IO-stringy
26 BuildRequires:  perl-IPC-Run
27 BuildRequires:  perl-Moose
28 BuildRequires:  perl-MooseX-NonMoose
29 BuildRequires:  perl-Test-XML
30 BuildRequires:  perl-XML-Generator
31 %endif
32 BuildArch:      noarch
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 TAP::Formatter::JUnit provides JUnit output formatting for
37 TAP::Harness.
38
39 %description -l pl.UTF-8
40 TAP::Formatter::JUnit zapewnia formatowanie wyjścia JUnit dla modułu
41 TAP::Harness.
42
43 %prep
44 %setup -q -n %{pdir}-%{pnam}-%{version}
45
46 %build
47 %{__perl} Build.PL \
48         destdir=$RPM_BUILD_ROOT \
49         installdirs=vendor
50 ./Build
51
52 %{?with_tests:./Build test}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 ./Build install
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Changes README
65 %attr(755,root,root) %{_bindir}/tap2junit
66 %{perl_vendorlib}/TAP/Formatter/JUnit.pm
67 %{perl_vendorlib}/TAP/Formatter/JUnit
68 %{_mandir}/man1/tap2junit.1p*
69 %{_mandir}/man3/TAP::Formatter::JUnit*.3pm*
This page took 0.03821 seconds and 3 git commands to generate.