/[packages]/cauldron/perl-Parse-CPAN-Meta/current/SPECS/perl-Parse-CPAN-Meta.spec
ViewVC logotype

Annotation of /cauldron/perl-Parse-CPAN-Meta/current/SPECS/perl-Parse-CPAN-Meta.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1778113 - (hide annotations) (download)
Wed Feb 16 17:03:28 2022 UTC (5 months, 4 weeks ago) by danf
File size: 1715 byte(s)
SILENT: Switch to https URLs
1 kekepower 1216855 %define upstream_name CPAN-Meta
2     %define upstream_version 2.150010
3 jquelin 13808
4     Name: perl-%{upstream_name}
5     Version: %perl_convert_version %{upstream_version}
6 umeabot 1317377 Release: %mkrel 4
7 jquelin 13808
8     Summary: Parse META.yml and other similar CPAN metadata files
9     License: GPL+ or Artistic
10     Group: Development/Perl
11 danf 1778113 Url: https://metacpan.org/dist/%{upstream_name}
12 kekepower 1216855 Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{upstream_name}-%{upstream_version}.tar.gz
13 jquelin 13808
14 jquelin 596801 BuildRequires: perl(CPAN::Meta::YAML) >= 0.11.0
15 sander85 457937 BuildRequires: perl(Carp)
16 jquelin 596801 BuildRequires: perl(Encode)
17 sander85 457937 BuildRequires: perl(Exporter)
18 jquelin 61786 BuildRequires: perl(ExtUtils::MakeMaker)
19     BuildRequires: perl(File::Spec) >= 0.800.0
20 sander85 457937 BuildRequires: perl(File::Spec::Functions)
21 jquelin 254250 BuildRequires: perl(JSON::PP) >= 2.272.0
22 jquelin 61786 BuildRequires: perl(Test::More) >= 0.470.0
23 jquelin 596801 BuildRequires: perl(lib)
24 sander85 457937 BuildRequires: perl(strict)
25     BuildRequires: perl(vars)
26     BuildRequires: perl(warnings)
27 jquelin 61786 BuildArch: noarch
28 jquelin 13808
29 kekepower 1216855 Obsoletes: perl(Parse::CPAN::Meta) < 2.150010-1
30    
31 tv 733216 %{?perl_default_filter}
32    
33 jquelin 13808 %description
34     *Parse::CPAN::Meta* is a parser for META.yml files, based on the parser
35     half of the YAML::Tiny manpage.
36    
37     It supports a basic subset of the full YAML specification, enough to
38     implement parsing of typical META.yml files, and other similarly simple
39     YAML files.
40    
41     If you need something with more power, move up to a full YAML parser such
42     as the YAML manpage, the YAML::Syck manpage or the YAML::LibYAML manpage.
43    
44     %prep
45     %setup -q -n %{upstream_name}-%{upstream_version}
46    
47     %build
48 sander85 851316 %__perl Makefile.PL INSTALLDIRS=vendor
49 jquelin 13808 %make
50    
51     %check
52     make test
53    
54     %install
55 sander85 851316 %make_install
56 jquelin 13808
57     %files
58 sander85 851316 %doc Changes LICENSE META.json META.yml MYMETA.yml README
59 jquelin 13808 %{_mandir}/man3/*
60 kekepower 1216855 %{perl_vendorlib}/CPAN
61     %{perl_vendorlib}/Parse

  ViewVC Help
Powered by ViewVC 1.1.28