3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Test::Pod Perl module - check for POD errors in files
9 Summary(pl.UTF-8): Moduł Perla Test::Pod - szukanie błędów POD w plikach
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: c6bfd00ccdcb417d68fb3c0a0ec884c8
18 URL: http://search.cpan.org/dist/Test-Pod/
19 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: perl-Test-Builder-Tester >= 1.02
22 BuildRequires: perl-Test-Simple >= 0.62
23 BuildRequires: perl-Pod-Simple >= 3.06
25 BuildRequires: rpm-perlprov >= 4.1-13
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Check POD files for errors or warnings in a test file, using
31 Pod::Checker to do the heavy lifting.
33 %description -l pl.UTF-8
34 Ten moduł przeszukuje pliki POD pod kątem błędów lub ostrzeżeń w pliku
35 testowym, wykorzystując do tego moduł Pod::Checker.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/Test/Pod.pm
60 %{_mandir}/man3/Test::Pod.3pm*