1 |
jpp |
1.1 |
Name: perl-CPAN-Meta |
2 |
|
|
Version: 2.150001 |
3 |
|
|
Release: 1%{?org_tag}%{?dist} |
4 |
|
|
Summary: Distribution metadata for a CPAN dist |
5 |
|
|
License: GPL+ or Artistic |
6 |
|
|
Group: Development/Libraries |
7 |
|
|
URL: http://search.cpan.org/dist/CPAN-Meta/ |
8 |
|
|
Source0: http://localhost/cpan//authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz |
9 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 |
|
|
BuildArch: noarch |
11 |
|
|
BuildRequires: perl >= 0:5.006 |
12 |
|
|
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121 |
13 |
|
|
BuildRequires: perl(CPAN::Meta::YAML) >= 0.008 |
14 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 |
15 |
|
|
BuildRequires: perl(File::Temp) >= 0.20 |
16 |
|
|
BuildRequires: perl(JSON::PP) >= 2.27200 |
17 |
|
|
BuildRequires: perl(List::Util) >= 1.33 |
18 |
|
|
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4414 |
19 |
|
|
BuildRequires: perl(Test::More) >= 0.96 |
20 |
|
|
BuildRequires: perl(version) >= 0.88 |
21 |
|
|
Requires: perl(CPAN::Meta::Requirements) >= 2.121 |
22 |
|
|
Requires: perl(CPAN::Meta::YAML) >= 0.008 |
23 |
|
|
Requires: perl(File::Temp) >= 0.20 |
24 |
|
|
Requires: perl(JSON::PP) >= 2.27200 |
25 |
|
|
Requires: perl(List::Util) >= 1.33 |
26 |
|
|
Requires: perl(Parse::CPAN::Meta) >= 1.4414 |
27 |
|
|
Requires: perl(version) >= 0.88 |
28 |
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
29 |
|
|
Autoreq: no |
30 |
|
|
|
31 |
|
|
%description |
32 |
|
|
Software distributions released to the CPAN include a META.json or, for |
33 |
|
|
older distributions, META.yml, which describes the distribution, its |
34 |
|
|
contents, and the requirements for building and installing the |
35 |
|
|
distribution. The data structure stored in the META.json file is described |
36 |
|
|
in CPAN::Meta::Spec. |
37 |
|
|
|
38 |
|
|
%prep |
39 |
|
|
%setup -q -n CPAN-Meta-%{version} |
40 |
|
|
|
41 |
|
|
%build |
42 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
43 |
|
|
make %{?_smp_mflags} |
44 |
|
|
|
45 |
|
|
%install |
46 |
|
|
rm -rf %{buildroot} |
47 |
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot} UNINST=0 |
48 |
|
|
|
49 |
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
50 |
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
51 |
|
|
|
52 |
|
|
%{_fixperms} %{buildroot}/* |
53 |
|
|
|
54 |
|
|
%check |
55 |
|
|
make test |
56 |
|
|
|
57 |
|
|
%clean |
58 |
|
|
rm -rf %{buildroot} |
59 |
|
|
|
60 |
|
|
%files |
61 |
|
|
%defattr(-,root,root,-) |
62 |
|
|
%doc Changes dist.ini history LICENSE META.json README Todo |
63 |
|
|
%{perl_vendorlib}/* |
64 |
|
|
%{_mandir}/man3/* |
65 |
|
|
|
66 |
|
|
%changelog |
67 |
|
|
* Sat Apr 11 2015 Gavin Carr <gavin@openfusion.com.au> 2.150001-1 |
68 |
|
|
- Update to version 2.150001. |
69 |
|
|
|
70 |
|
|
* Tue Jul 22 2014 Gavin Carr <gavin@openfusion.com.au> 2.141520-1 |
71 |
|
|
- Update to version 2.141520. |
72 |
|
|
|
73 |
|
|
* Tue Mar 11 2014 Gavin Carr <gavin@openfusion.com.au> 2.140640-1 |
74 |
|
|
- Update to version 2.140640 |
75 |
|
|
|
76 |
|
|
* Mon Oct 22 2012 Gavin Carr <gavin@openfusion.com.au> 2.120921-1 |
77 |
|
|
- Update to version 2.120921. |
78 |
|
|
|
79 |
|
|
* Sun Dec 11 2011 Gavin Carr <gavin@openfusion.com.au> 2.112621-1 |
80 |
|
|
- Update to version 2.112621. |
81 |
|
|
|
82 |
|
|
* Thu Jun 30 2011 Gavin Carr <gavin@openfusion.com.au> 2.110930-1 |
83 |
|
|
- Specfile autogenerated by cpanspec 1.79. |