source: projects/specs/trunk/p/perl-Test-CPAN-Meta/perl-Test-CPAN-Meta-vl.spec @ 12120

Revision 12120, 4.2 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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