]> git.pld-linux.org Git - packages/perl-Test-Spelling.git/blob - perl-Test-Spelling.spec
- updated to 0.25
[packages/perl-Test-Spelling.git] / perl-Test-Spelling.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # unit tests
4 #
5 %define pdir    Test
6 %define pnam    Spelling
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
10 Version:        0.25
11 Release:        1
12 # same as perl
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
21 %if %{with tests}
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
26 %endif
27 Requires:       perl-IPC-Run3 >= 0.044
28 Requires:       perl-Pod-Spell >= 1.01
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Check POD files for spelling mistakes, using Pod::Spell and spell to
34 do the heavy lifting.
35
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.
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
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc Changes README
62 %{perl_vendorlib}/Test/Spelling.pm
63 %{_mandir}/man3/Test::Spelling.3pm*
This page took 0.097934 seconds and 4 git commands to generate.