]> git.pld-linux.org Git - packages/perl-CPAN-Meta-Check.git/blob - perl-CPAN-Meta-Check.spec
5662073f59238381cde6e8a1b87ee9f5db5ebcb0
[packages/perl-CPAN-Meta-Check.git] / perl-CPAN-Meta-Check.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
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.014
11 Release:        1
12 # same as perl 5
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/CPAN/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  ccd4448a7b08e1e3ef6f475030b282c9
17 Patch0:         fixdeps.patch
18 URL:            http://search.cpan.org/dist/CPAN-Meta-Check/
19 BuildRequires:  perl-ExtUtils-MakeMaker >= 6.30
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
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-Deep
28 BuildRequires:  perl-Test-Simple >= 0.88
29 %endif
30 BuildArch:      noarch
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 This module verifies if requirements described in a CPAN::Meta object
35 are present.
36
37 %description -l pl.UTF-8
38 Ten moduł weryfikuje, czy zależności (wymagane moduły) opisane w
39 obiekcie CPAN::Meta są spełnione.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %patch0 -p1
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} pure_install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc Changes README
64 %{perl_vendorlib}/CPAN/Meta/Check.pm
65 %{_mandir}/man3/CPAN::Meta::Check.3pm*
This page took 0.055413 seconds and 3 git commands to generate.