]> git.pld-linux.org Git - packages/perl-Test-Spelling.git/blame - perl-Test-Spelling.spec
- updated to 0.25
[packages/perl-Test-Spelling.git] / perl-Test-Spelling.spec
CommitLineData
08aab1fa
MP
1#
2# Conditional build:
d8d244ed 3%bcond_without tests # unit tests
08aab1fa 4#
08aab1fa
MP
5%define pdir Test
6%define pnam Spelling
7Summary: Test::Spelling - check for spelling errors in POD files
e23274f0 8Summary(pl.UTF-8): Test::Spelling - sprawdzanie plików POD pod kątem błędów pisowni
08aab1fa 9Name: perl-Test-Spelling
d8d244ed 10Version: 0.25
08aab1fa
MP
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
e23274f0 15Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
d8d244ed
JB
16# Source0-md5: 5267be55736620cf8c45765e346a58cc
17URL: https://metacpan.org/release/Test-Spelling
08aab1fa
MP
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
d8d244ed 20BuildRequires: rpmbuild(macros) >= 1.745
08aab1fa 21%if %{with tests}
d91f1e4f 22BuildRequires: perl-IPC-Run3 >= 0.044
e23274f0 23BuildRequires: perl-Pod-Spell >= 1.01
d91f1e4f
JB
24BuildRequires: perl-Test-Simple >= 0.88
25BuildRequires: perl-Test-Tester
08aab1fa 26%endif
d91f1e4f
JB
27Requires: perl-IPC-Run3 >= 0.044
28Requires: perl-Pod-Spell >= 1.01
08aab1fa
MP
29BuildArch: noarch
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
e23274f0
JB
33Check POD files for spelling mistakes, using Pod::Spell and spell to
34do the heavy lifting.
08aab1fa 35
e23274f0
JB
36%description -l pl.UTF-8
37Ten moduł sprawdza pliki POD pod kątem błędów pisowni, wykorzystując
38moduł Pod::Spell i polecenie spell.
08aab1fa
MP
39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make}
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
2eda1e5d
JB
62%{perl_vendorlib}/Test/Spelling.pm
63%{_mandir}/man3/Test::Spelling.3pm*
This page took 0.082189 seconds and 4 git commands to generate.