1 | Name: perl-CPAN-Meta
|
---|
2 | Summary: Distribution metadata for a CPAN dist
|
---|
3 | Version: 2.150010
|
---|
4 | Release: 2%{?dist}
|
---|
5 | License: GPL+ or Artistic
|
---|
6 | URL: http://search.cpan.org/dist/CPAN-Meta/
|
---|
7 | Vendor: bww bitwise works GmbH
|
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
|
---|
9 | BuildArch: noarch
|
---|
10 | # Build
|
---|
11 | BuildRequires: coreutils
|
---|
12 | BuildRequires: findutils
|
---|
13 | BuildRequires: make
|
---|
14 | #BuildRequires: perl-interpreter
|
---|
15 | BuildRequires: perl-generators
|
---|
16 | BuildRequires: perl(Config)
|
---|
17 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
---|
18 | # Module
|
---|
19 | BuildRequires: perl(Carp)
|
---|
20 | BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
---|
21 | BuildRequires: perl(CPAN::Meta::YAML) >= 0.011
|
---|
22 | BuildRequires: perl(Encode)
|
---|
23 | BuildRequires: perl(Exporter)
|
---|
24 | BuildRequires: perl(JSON::PP) >= 2.27300
|
---|
25 | BuildRequires: perl(Scalar::Util)
|
---|
26 | BuildRequires: perl(strict)
|
---|
27 | BuildRequires: perl(version) >= 0.88
|
---|
28 | BuildRequires: perl(warnings)
|
---|
29 | # Main test suite
|
---|
30 | BuildRequires: perl(Data::Dumper)
|
---|
31 | BuildRequires: perl(File::Basename)
|
---|
32 | BuildRequires: perl(File::Spec)
|
---|
33 | BuildRequires: perl(File::Spec::Functions)
|
---|
34 | BuildRequires: perl(File::Temp) >= 0.20
|
---|
35 | BuildRequires: perl(IO::Dir)
|
---|
36 | BuildRequires: perl(lib)
|
---|
37 | BuildRequires: perl(overload)
|
---|
38 | BuildRequires: perl(Storable)
|
---|
39 | BuildRequires: perl(Test::More) >= 0.88
|
---|
40 | BuildRequires: perl(utf8)
|
---|
41 | BuildRequires: perl(vars)
|
---|
42 | # Runtime
|
---|
43 | Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
---|
44 | Requires: perl(CPAN::Meta::YAML) >= 0.011
|
---|
45 | Requires: perl(Encode)
|
---|
46 | Requires: perl(JSON::PP) >= 2.27300
|
---|
47 | Requires: perl(version) >= 0.88
|
---|
48 |
|
---|
49 | # Parse-CPAN-Meta merged into CPAN-Meta 2.150008
|
---|
50 | # Provide not added in order to avoid either epoch bump or self-obsoletion
|
---|
51 | Obsoletes: perl-Parse-CPAN-Meta < 1:1.4422-2
|
---|
52 | provides: perl-Parse-CPAN-Meta = %{version}
|
---|
53 |
|
---|
54 | # Avoid doc-file dependencies
|
---|
55 | %{?perl_default_filter}
|
---|
56 |
|
---|
57 | # Remove under-specified dependencies
|
---|
58 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(CPAN::Meta::Converter\\)$
|
---|
59 | %global __requires_exclude %{__requires_exclude}|^perl\\(CPAN::Meta::Requirements\\)$
|
---|
60 |
|
---|
61 | %description
|
---|
62 | Software distributions released to the CPAN include a META.json or, for older
|
---|
63 | distributions, META.yml, which describes the distribution, its contents, and
|
---|
64 | the requirements for building and installing the distribution. The data
|
---|
65 | structure stored in the META.json file is described in CPAN::Meta::Spec.
|
---|
66 |
|
---|
67 | %prep
|
---|
68 | %setup -q -n CPAN-Meta-%{version}
|
---|
69 |
|
---|
70 | # silence rpmlint warnings
|
---|
71 | #perl -MConfig -pi -e 's,^#!.*perl,$Config{startperl},' t/*.t
|
---|
72 |
|
---|
73 | %build
|
---|
74 | perl Makefile.PL INSTALLDIRS=vendor
|
---|
75 | make %{?_smp_mflags}
|
---|
76 | make manifypods
|
---|
77 |
|
---|
78 | %install
|
---|
79 | make pure_install DESTDIR=%{buildroot} UNINST=0
|
---|
80 | find %{buildroot} -type f -name .packlist -delete
|
---|
81 | %{_fixperms} %{buildroot}
|
---|
82 |
|
---|
83 | %check
|
---|
84 | #make test
|
---|
85 |
|
---|
86 | %files
|
---|
87 | %license LICENSE
|
---|
88 | %doc Changes CONTRIBUTING.mkdn history README Todo t/
|
---|
89 | %{perl_vendorlib}/CPAN/
|
---|
90 | %{perl_vendorlib}/Parse/
|
---|
91 | %{_mandir}/man3/*.3*
|
---|
92 | #%{_mandir}/man3/CPAN::Meta::Converter.3*
|
---|
93 | #%{_mandir}/man3/CPAN::Meta::Feature.3*
|
---|
94 | #%{_mandir}/man3/CPAN::Meta::History.3*
|
---|
95 | #%{_mandir}/man3/CPAN::Meta::History::Meta_1_0.3*
|
---|
96 | #%{_mandir}/man3/CPAN::Meta::History::Meta_1_1.3*
|
---|
97 | #%{_mandir}/man3/CPAN::Meta::History::Meta_1_2.3*
|
---|
98 | #%{_mandir}/man3/CPAN::Meta::History::Meta_1_3.3*
|
---|
99 | #%{_mandir}/man3/CPAN::Meta::History::Meta_1_4.3*
|
---|
100 | #%{_mandir}/man3/CPAN::Meta::Merge.3*
|
---|
101 | #%{_mandir}/man3/CPAN::Meta::Prereqs.3*
|
---|
102 | #%{_mandir}/man3/CPAN::Meta::Spec.3*
|
---|
103 | #%{_mandir}/man3/CPAN::Meta::Validator.3*
|
---|
104 | #%{_mandir}/man3/Parse::CPAN::Meta.3*
|
---|
105 |
|
---|
106 | %changelog
|
---|
107 | * Mon Jul 30 2018 Elbert Pol <elbert.pol@gmail.com> - 2.150010-2
|
---|
108 | - Add a provides for perl-Parse-CPAN-Meta
|
---|
109 |
|
---|
110 | * Fri Mar 09 2018 Elbert Pol <elbert.pol@gmail.com> - 2.150010-1
|
---|
111 | - initial rpm for OS2
|
---|