]> git.pld-linux.org Git - packages/perl-Pod-Tests.git/blame - perl-Pod-Tests.spec
- updated to 1.20
[packages/perl-Pod-Tests.git] / perl-Pod-Tests.spec
CommitLineData
bc712cc3 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
bc712cc3 5%define pdir Pod
6%define pnam Tests
7Summary: Pod::Tests - Extracts embedded tests and code examples from POD
30163917 8Summary(pl.UTF-8): Pod::Tests - wydobywanie osadzonych testów i przykładowego kodu z POD
fc4b3c35 9Name: perl-Pod-Tests
03c88752 10Version: 1.20
bc712cc3 11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Pod/%{pdir}-%{pnam}-%{version}.tar.gz
03c88752
JB
16# Source0-md5: 5f1c6b7423f660869323396176619fd8
17URL: https://metacpan.org/release/Pod-Tests
18BuildRequires: perl-ExtUtils-MakeMaker
19%if %{with tests}
20BuildRequires: perl-Test-Harness >= 1.22
21BuildRequires: perl-Test-Simple
22%endif
bc712cc3 23BuildRequires: perl-devel >= 1:5.8.0
24BuildRequires: rpm-perlprov >= 3.0.3-16
03c88752 25BuildRequires: rpmbuild(macros) >= 1.745
bc712cc3 26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
bc712cc3 29%description
30This is a specialized POD viewer to extract embedded tests and code
31examples from POD. It doesn't do much more than that. pod2test does
32the useful work.
33
30163917
JB
34%description -l pl.UTF-8
35Ten pakiet jest specjalizowaną przeglądarką POD służącą do wyciągania
36osadzonych testów i przykładowego kodu z dokumentacji w formacie POD.
37Robi niewiele więcej. pod2test wykonuje przydatną czynność.
38
bc712cc3 39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45%{__make}
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
a6a047b0 60%doc Changes README
bc712cc3 61%attr(755,root,root) %{_bindir}/pod2test
62%{perl_vendorlib}/Pod/Tests.pm
a6a047b0
JB
63%{_mandir}/man1/pod2test.1p*
64%{_mandir}/man3/Pod::Tests.3pm*
This page took 0.090312 seconds and 4 git commands to generate.