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

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