]> git.pld-linux.org Git - packages/perl-CPAN-Meta-Check.git/blame - perl-CPAN-Meta-Check.spec
- there is no such version of CPAN-Meta-Requirements
[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
9Name: perl-CPAN-Meta-Check
10Version: 0.005
4192aa0c 11Release: 2
dfe8ce51
JR
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/CPAN/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: d6c84386c77298468d35a4e03eda6719
4192aa0c 17Patch0: fixdeps.patch
dfe8ce51
JR
18URL: http://search.cpan.org/dist/CPAN-Meta-Check/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-Test-Deep
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28This module verifies if requirements described in a CPAN::Meta object
29are present.
30
31%prep
32%setup -q -n %{pdir}-%{pnam}-%{version}
4192aa0c 33%patch0 -p1
dfe8ce51
JR
34
35%build
36%{__perl} Makefile.PL \
37 INSTALLDIRS=vendor
38%{__make}
39
40%{?with_tests:%{__make} test}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} pure_install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc Changes INSTALL README
54%{perl_vendorlib}/CPAN/Meta/*.pm
55%{_mandir}/man3/*
This page took 0.0783199999999999 seconds and 4 git commands to generate.