]> git.pld-linux.org Git - packages/perl-CPAN-Meta-Check.git/blob - perl-CPAN-Meta-Check.spec
- updated to 0.018
[packages/perl-CPAN-Meta-Check.git] / perl-CPAN-Meta-Check.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # unit tests
4 #
5 %define         pdir    CPAN
6 %define         pnam    Meta-Check
7 Summary:        CPAN::Meta::Check - Verify requirements in a CPAN::Meta object
8 Summary(pl.UTF-8):      CPAN::Meta::Check - sprawdzanie wymagań w obiekcie CPAN::Meta
9 Name:           perl-CPAN-Meta-Check
10 Version:        0.018
11 Release:        1
12 # same as perl 5
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        https://www.cpan.org/modules/by-module/CPAN/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  d1c2190e8bc1c176b9ee9cba3ac403ad
17 URL:            https://metacpan.org/dist/CPAN-Meta-Check
18 BuildRequires:  perl-ExtUtils-MakeMaker >= 6.30
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRequires:  rpmbuild(macros) >= 1.745
22 %if %{with tests}
23 BuildRequires:  perl(Exporter) >= 5.57
24 BuildRequires:  perl-CPAN-Meta >= 2.132830
25 BuildRequires:  perl-CPAN-Meta-Requirements >= 2.121
26 BuildRequires:  perl-Module-Metadata >= 1.000023
27 BuildRequires:  perl-Test-Simple >= 0.88
28 %endif
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 This module verifies if requirements described in a CPAN::Meta object
34 are present.
35
36 %description -l pl.UTF-8
37 Ten moduł weryfikuje, czy zależności (wymagane moduły) opisane w
38 obiekcie CPAN::Meta są spełnione.
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} pure_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}/CPAN/Meta/Check.pm
63 %{_mandir}/man3/CPAN::Meta::Check.3pm*
This page took 0.167062 seconds and 4 git commands to generate.