3 %bcond_without tests # unit tests
7 Summary: Test::Spelling - check for spelling errors in POD files
8 Summary(pl.UTF-8): Test::Spelling - sprawdzanie plików POD pod kątem błędów pisowni
9 Name: perl-Test-Spelling
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 5267be55736620cf8c45765e346a58cc
17 URL: https://metacpan.org/release/Test-Spelling
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: rpmbuild(macros) >= 1.745
22 BuildRequires: perl-IPC-Run3 >= 0.044
23 BuildRequires: perl-Pod-Spell >= 1.01
24 BuildRequires: perl-Test-Simple >= 0.88
25 BuildRequires: perl-Test-Tester
27 Requires: perl-IPC-Run3 >= 0.044
28 Requires: perl-Pod-Spell >= 1.01
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Check POD files for spelling mistakes, using Pod::Spell and spell to
36 %description -l pl.UTF-8
37 Ten moduł sprawdza pliki POD pod kątem błędów pisowni, wykorzystując
38 moduł Pod::Spell i polecenie spell.
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/Test/Spelling.pm
63 %{_mandir}/man3/Test::Spelling.3pm*