1 | Name: perl-Test-CPAN-Meta |
---|
2 | Version: 0.23 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Validation of the META.yml file in a CPAN distribution |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Test-CPAN-Meta/ |
---|
8 | Source0: http://www.cpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildArch: noarch |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
13 | BuildRequires: perl(Parse::CPAN::Meta) >= 0.02 |
---|
14 | BuildRequires: perl(Test::Builder) |
---|
15 | BuildRequires: perl(Test::Builder::Tester) |
---|
16 | BuildRequires: perl(Test::More) >= 0.70 |
---|
17 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
18 | BuildRequires: perl(Test::Pod::Coverage) >= 0.08 |
---|
19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: shaolin |
---|
24 | |
---|
25 | %description |
---|
26 | This module was written to ensure that a META.yml file, provided with a |
---|
27 | standard distribution uploaded to CPAN, meets the specifications that are |
---|
28 | slowly being introduced to module uploads, via the use of package makers |
---|
29 | and installers such as ExtUtils::MakeMaker, Module::Build and |
---|
30 | Module::Install. |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q -n Test-CPAN-Meta-%{version} |
---|
34 | |
---|
35 | iconv -f iso-8859-1 -t utf-8 LICENSE > LICENSE.tmp |
---|
36 | mv -f LICENSE.tmp LICENSE |
---|
37 | |
---|
38 | %build |
---|
39 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
40 | make %{?_smp_mflags} |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf ${RPM_BUILD_ROOT} |
---|
44 | |
---|
45 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
---|
46 | |
---|
47 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \; |
---|
48 | find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
49 | |
---|
50 | %{_fixperms} ${RPM_BUILD_ROOT}/* |
---|
51 | |
---|
52 | %check |
---|
53 | make test AUTOMATED_TESTING=1 |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf ${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc Changes LICENSE README examples/ |
---|
61 | %{perl_vendorlib}/* |
---|
62 | %{_mandir}/man3/* |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.23-1 |
---|
66 | - updated to 0.23 |
---|
67 | - built with perl 5.16.3 |
---|
68 | |
---|
69 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-2 |
---|
70 | - rebuild |
---|
71 | |
---|
72 | * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-1 |
---|
73 | - initial package for Vine Linux |
---|
74 | |
---|
75 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-5 |
---|
76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
77 | |
---|
78 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-4 |
---|
79 | - Perl mass rebuild |
---|
80 | |
---|
81 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3 |
---|
82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
83 | |
---|
84 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.17-2 |
---|
85 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
86 | |
---|
87 | * Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 0.17-1 |
---|
88 | - Update to 0.17 |
---|
89 | - Fix RT#46473: license url with fragment part |
---|
90 | - Fix RT#47393: "optional_features" as map rather than list |
---|
91 | - Renamed word() to keyword() |
---|
92 | - Added identifier() validation |
---|
93 | - Changed optional_features key from a keyword to an identifier type |
---|
94 | - Clarified spec defined and user defined keys |
---|
95 | - Fixed qr// delimiters due to issues with the NOT SIGN symbol |
---|
96 | |
---|
97 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3 |
---|
98 | - Mass rebuild with perl-5.12.0 |
---|
99 | |
---|
100 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2 |
---|
101 | - rebuild against perl 5.10.1 |
---|
102 | |
---|
103 | * Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-1 |
---|
104 | - update to new upstream release |
---|
105 | |
---|
106 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3 |
---|
107 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
108 | |
---|
109 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2 |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
111 | |
---|
112 | * Tue Jul 01 2008 Steven Pritchard <steve@kspei.com> 0.12-1 |
---|
113 | - Update to 0.12. |
---|
114 | - BR Test::Builder and Test::Builder::Tester. |
---|
115 | |
---|
116 | * Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.11-1 |
---|
117 | - Update to 0.11. |
---|
118 | |
---|
119 | * Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.10-1 |
---|
120 | - Specfile autogenerated by cpanspec 1.75. |
---|
121 | - Enable author tests. |
---|
122 | - Add examples to docs. |
---|
123 | - BR Test::More. |
---|
124 | - Convert LICENSE to UTF-8. |
---|
125 | - Drop bogus Requires. |
---|