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