/[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 13808 - (hide annotations) (download)
Thu Jan 13 14:50:14 2011 UTC (11 years, 7 months ago) by jquelin
File size: 1305 byte(s)
imported package perl-Parse-CPAN-Meta
1 jquelin 13808 %define upstream_name Parse-CPAN-Meta
2     %define upstream_version 1.40
3    
4     Name: perl-%{upstream_name}
5     Version: %perl_convert_version %{upstream_version}
6     Release: %mkrel 2
7    
8     Summary: Parse META.yml and other similar CPAN metadata files
9     License: GPL+ or Artistic
10     Group: Development/Perl
11     Url: http://search.cpan.org/dist/%{upstream_name}
12     Source0: http://www.cpan.org/modules/by-module/Parse/%{upstream_name}-%{upstream_version}.tar.gz
13    
14     BuildRequires: perl(File::Spec)
15     BuildRequires: perl(Test::More)
16     BuildArch: noarch
17     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
18    
19     %description
20     *Parse::CPAN::Meta* is a parser for META.yml files, based on the parser
21     half of the YAML::Tiny manpage.
22    
23     It supports a basic subset of the full YAML specification, enough to
24     implement parsing of typical META.yml files, and other similarly simple
25     YAML files.
26    
27     If you need something with more power, move up to a full YAML parser such
28     as the YAML manpage, the YAML::Syck manpage or the YAML::LibYAML manpage.
29    
30     %prep
31     %setup -q -n %{upstream_name}-%{upstream_version}
32    
33     %build
34     %{__perl} Makefile.PL INSTALLDIRS=vendor
35     %make
36    
37     %check
38     make test
39    
40     %install
41     rm -rf %buildroot
42     %makeinstall_std
43    
44     %clean
45     rm -rf %buildroot
46    
47     %files
48     %defattr(-,root,root)
49     %doc Changes
50     %{_mandir}/man3/*
51     %perl_vendorlib/Parse
52    
53    

  ViewVC Help
Powered by ViewVC 1.1.28