]>
Commit | Line | Data |
---|---|---|
725d1c78 | 1 | # |
2 | # Conditional build: | |
b257b298 | 3 | %bcond_without tests # do not perform "make test" |
12673fbc | 4 | # |
35c661a0 | 5 | %include /usr/lib/rpm/macros.perl |
e792f6b3 | 6 | %define pdir Test |
7 | %define pnam Harness | |
2eb00251 | 8 | Summary: Test::Harness - run Perl standard test scripts with statistics |
9a5a0d11 | 9 | Summary(pl.UTF-8): Test::Harness - uruchamianie perlowych skryptów testowych ze statystykami |
ad028d85 | 10 | Name: perl-Test-Harness |
cc4003ea JB |
11 | # NOTE: version 3.42 in perl-modules-5.28.0 |
12 | Version: 3.42 | |
13 | Release: 0.1 | |
12673fbc | 14 | # same as perl |
15 | License: GPL v1+ or Artistic | |
17ad36ba | 16 | Group: Development/Languages/Perl |
5a36dfc5 | 17 | Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz |
cc4003ea | 18 | # Source0-md5: c794906473f88d6b74194e2d56f16bd6 |
5e143b56 | 19 | URL: http://search.cpan.org/dist/Test-Harness/ |
9006b33b | 20 | BuildRequires: perl-devel >= 1:5.8.0 |
6cb528db | 21 | BuildRequires: rpm-perlprov >= 4.1-13 |
5a36dfc5 JB |
22 | Provides: perl-TAP-Parser = %{version} |
23 | Obsoletes: perl-TAP-Parser < 1.0 | |
17ad36ba SZ |
24 | BuildArch: noarch |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
ea9a150d JB |
28 | Test::Harness - module that runs perl standard test scripts with |
29 | statistics. | |
17ad36ba | 30 | |
36c32e9e JR |
31 | %description -l pl.UTF-8 |
32 | Test::Harness - moduł uruchamiający standardowe perlowe skrypty | |
ea9a150d | 33 | testowe ze statystykami. |
17ad36ba SZ |
34 | |
35 | %prep | |
36 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
37 | ||
38 | %build | |
d0b35fb1 | 39 | %{__perl} Makefile.PL \ |
40 | INSTALLDIRS=vendor | |
41 | %{__make} | |
17ad36ba | 42 | |
d0b35fb1 | 43 | %{?with_tests:%{__make} test} |
725d1c78 | 44 | |
17ad36ba SZ |
45 | %install |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
d0b35fb1 | 48 | %{__make} install \ |
725d1c78 | 49 | DESTDIR=$RPM_BUILD_ROOT |
17ad36ba | 50 | |
328c186a | 51 | mv $RPM_BUILD_ROOT%{_bindir}/prove{,.pl} |
52 | ||
1c3ed7d3 JB |
53 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/TAP/Harness/Beyond.pod |
54 | # for TAP::Harness developers | |
55 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Test/HACKING.pod \ | |
56 | $RPM_BUILD_ROOT%{_mandir}/man3/Test::HACKING.3pm | |
57 | ||
17ad36ba SZ |
58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
d0b35fb1 | 63 | %doc Changes* |
05553f4c | 64 | %attr(755,root,root) %{_bindir}/prove.pl |
1c3ed7d3 | 65 | %{perl_vendorlib}/App/Prove.pm |
05553f4c | 66 | %{perl_vendorlib}/App/Prove/*.pm |
67 | %{perl_vendorlib}/App/Prove/State/*.pm | |
68 | %{perl_vendorlib}/App/Prove/State/Result/*.pm | |
1c3ed7d3 | 69 | %{perl_vendorlib}/TAP/Base.pm |
05553f4c | 70 | %{perl_vendorlib}/TAP/Formatter/*.pm |
71 | %{perl_vendorlib}/TAP/Formatter/Console/*.pm | |
72 | %{perl_vendorlib}/TAP/Formatter/File/*.pm | |
1c3ed7d3 | 73 | %{perl_vendorlib}/TAP/Harness.pm |
b4197b84 JR |
74 | %dir %{perl_vendorlib}/TAP/Harness |
75 | %{perl_vendorlib}/TAP/Harness/Env.pm | |
1c3ed7d3 JB |
76 | %{perl_vendorlib}/TAP/Object.pm |
77 | %{perl_vendorlib}/TAP/Parser.pm | |
05553f4c | 78 | %{perl_vendorlib}/TAP/Parser/*.pm |
79 | %{perl_vendorlib}/TAP/Parser/Iterator/*.pm | |
80 | %{perl_vendorlib}/TAP/Parser/Result/*.pm | |
81 | %{perl_vendorlib}/TAP/Parser/Scheduler/*.pm | |
2cb6d06a | 82 | %dir %{perl_vendorlib}/TAP/Parser/SourceHandler |
83 | %{perl_vendorlib}/TAP/Parser/SourceHandler/*.pm | |
05553f4c | 84 | %{perl_vendorlib}/TAP/Parser/YAMLish/*.pm |
1c3ed7d3 | 85 | %{perl_vendorlib}/Test/Harness.pm |
d0b35fb1 | 86 | %{_mandir}/man1/prove.1p* |
87 | %{_mandir}/man3/App::Prove.3pm* | |
88 | %{_mandir}/man3/App::Prove::State.3pm* | |
89 | %{_mandir}/man3/App::Prove::State::Result.3pm* | |
90 | %{_mandir}/man3/App::Prove::State::Result::Test.3pm* | |
91 | %{_mandir}/man3/TAP::Base.3pm* | |
92 | %{_mandir}/man3/TAP::Formatter::Base.3pm* | |
93 | %{_mandir}/man3/TAP::Formatter::Color.3pm* | |
94 | %{_mandir}/man3/TAP::Formatter::Console.3pm* | |
95 | %{_mandir}/man3/TAP::Formatter::Console::ParallelSession.3pm* | |
96 | %{_mandir}/man3/TAP::Formatter::Console::Session.3pm* | |
97 | %{_mandir}/man3/TAP::Formatter::File.3pm* | |
98 | %{_mandir}/man3/TAP::Formatter::File::Session.3pm* | |
99 | %{_mandir}/man3/TAP::Formatter::Session.3pm* | |
100 | %{_mandir}/man3/TAP::Harness.3pm* | |
1c3ed7d3 | 101 | %{_mandir}/man3/TAP::Harness::Beyond.3pm* |
b4197b84 | 102 | %{_mandir}/man3/TAP::Harness::Env.3pm* |
d0b35fb1 | 103 | %{_mandir}/man3/TAP::Object.3pm* |
104 | %{_mandir}/man3/TAP::Parser.3pm* | |
105 | %{_mandir}/man3/TAP::Parser::Aggregator.3pm* | |
106 | %{_mandir}/man3/TAP::Parser::Grammar.3pm* | |
107 | %{_mandir}/man3/TAP::Parser::Iterator.3pm* | |
108 | %{_mandir}/man3/TAP::Parser::Iterator::Array.3pm* | |
109 | %{_mandir}/man3/TAP::Parser::Iterator::Process.3pm* | |
110 | %{_mandir}/man3/TAP::Parser::Iterator::Stream.3pm* | |
111 | %{_mandir}/man3/TAP::Parser::IteratorFactory.3pm* | |
112 | %{_mandir}/man3/TAP::Parser::Multiplexer.3pm* | |
113 | %{_mandir}/man3/TAP::Parser::Result.3pm* | |
114 | %{_mandir}/man3/TAP::Parser::Result::Bailout.3pm* | |
115 | %{_mandir}/man3/TAP::Parser::Result::Comment.3pm* | |
116 | %{_mandir}/man3/TAP::Parser::Result::Plan.3pm* | |
117 | %{_mandir}/man3/TAP::Parser::Result::Pragma.3pm* | |
118 | %{_mandir}/man3/TAP::Parser::Result::Test.3pm* | |
119 | %{_mandir}/man3/TAP::Parser::Result::Unknown.3pm* | |
120 | %{_mandir}/man3/TAP::Parser::Result::Version.3pm* | |
121 | %{_mandir}/man3/TAP::Parser::Result::YAML.3pm* | |
122 | %{_mandir}/man3/TAP::Parser::ResultFactory.3pm* | |
123 | %{_mandir}/man3/TAP::Parser::Scheduler.3pm* | |
124 | %{_mandir}/man3/TAP::Parser::Scheduler::Job.3pm* | |
125 | %{_mandir}/man3/TAP::Parser::Scheduler::Spinner.3pm* | |
126 | %{_mandir}/man3/TAP::Parser::Source.3pm* | |
2cb6d06a | 127 | %{_mandir}/man3/TAP::Parser::SourceHandler.3pm* |
128 | %{_mandir}/man3/TAP::Parser::SourceHandler::Executable.3pm* | |
129 | %{_mandir}/man3/TAP::Parser::SourceHandler::File.3pm* | |
130 | %{_mandir}/man3/TAP::Parser::SourceHandler::Handle.3pm* | |
131 | %{_mandir}/man3/TAP::Parser::SourceHandler::Perl.3pm* | |
132 | %{_mandir}/man3/TAP::Parser::SourceHandler::RawTAP.3pm* | |
d0b35fb1 | 133 | %{_mandir}/man3/TAP::Parser::YAMLish::Reader.3pm* |
134 | %{_mandir}/man3/TAP::Parser::YAMLish::Writer.3pm* | |
d0b35fb1 | 135 | %{_mandir}/man3/Test::Harness.3pm* |