]> git.pld-linux.org Git - packages/perl-CPAN-Meta-Check.git/blame - perl-CPAN-Meta-Check.spec
- updated to 0.014
[packages/perl-CPAN-Meta-Check.git] / perl-CPAN-Meta-Check.spec
CommitLineData
dfe8ce51
JR
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir CPAN
6%define pnam Meta-Check
7%include /usr/lib/rpm/macros.perl
8Summary: CPAN::Meta::Check - Verify requirements in a CPAN::Meta object
7e92a067 9Summary(pl.UTF-8): CPAN::Meta::Check - sprawdzanie wymagań w obiekcie CPAN::Meta
dfe8ce51 10Name: perl-CPAN-Meta-Check
3905a869 11Version: 0.014
d969a100 12Release: 1
3905a869 13# same as perl 5
dfe8ce51
JR
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/CPAN/%{pdir}-%{pnam}-%{version}.tar.gz
3905a869 17# Source0-md5: ccd4448a7b08e1e3ef6f475030b282c9
4192aa0c 18Patch0: fixdeps.patch
dfe8ce51 19URL: http://search.cpan.org/dist/CPAN-Meta-Check/
7e92a067 20BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
dfe8ce51
JR
21BuildRequires: perl-devel >= 1:5.8.0
22BuildRequires: rpm-perlprov >= 4.1-13
23%if %{with tests}
7e92a067 24BuildRequires: perl(Exporter) >= 5.57
3905a869
JB
25BuildRequires: perl-CPAN-Meta >= 2.132830
26BuildRequires: perl-CPAN-Meta-Requirements >= 2.121
27BuildRequires: perl-Module-Metadata >= 1.000023
dfe8ce51 28BuildRequires: perl-Test-Deep
7e92a067 29BuildRequires: perl-Test-Simple >= 0.88
dfe8ce51
JR
30%endif
31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35This module verifies if requirements described in a CPAN::Meta object
36are present.
37
7e92a067
JB
38%description -l pl.UTF-8
39Ten moduł weryfikuje, czy zależności (wymagane moduły) opisane w
40obiekcie CPAN::Meta są spełnione.
41
dfe8ce51
JR
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
4192aa0c 44%patch0 -p1
dfe8ce51
JR
45
46%build
47%{__perl} Makefile.PL \
48 INSTALLDIRS=vendor
49%{__make}
50
51%{?with_tests:%{__make} test}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} pure_install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
7e92a067
JB
64%doc Changes README
65%{perl_vendorlib}/CPAN/Meta/Check.pm
66%{_mandir}/man3/CPAN::Meta::Check.3pm*
This page took 0.115903 seconds and 4 git commands to generate.