]> git.pld-linux.org Git - packages/perl-strictures.git/blob - perl-strictures.spec
- updated to 2.000006
[packages/perl-strictures.git] / perl-strictures.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    strictures
6 Summary:        Turn on strict and make all warnings fatal
7 Summary(pl.UTF-8):      Włączenie trybu ścisłego i uczynienie wszystkich ostrzeżeń krytycznymi
8 Name:           perl-strictures
9 Version:        2.000006
10 Release:        1
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-authors/id/H/HA/HAARG/%{pdir}-%{version}.tar.gz
15 # Source0-md5:  35c14fd25320f32ff40e977feae95d0d
16 URL:            https://metacpan.org/release/strictures
17 %{?with_tests:BuildRequires:    perl-Test-Simple}
18 BuildRequires:  perl-devel >= 1:5.8.4
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  rpmbuild(macros) >= 1.745
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Turn on strict and make all warnings fatal.
26
27 %description -l pl.UTF-8
28 Włączenie trybu ścisłego i uczynienie wszystkich ostrzeżeń
29 krytycznymi.
30
31 %prep
32 %setup -q -n %{pdir}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} pure_install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes README
53 %{perl_vendorlib}/strictures.pm
54 %{perl_vendorlib}/strictures
55 %{_mandir}/man3/strictures.3pm*
56 %{_mandir}/man3/strictures::extra.3pm*
This page took 0.058125 seconds and 4 git commands to generate.