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

Revision 5794, 5.1 KB checked in by shaolin, 12 years ago (diff)
  • rebuild
Line 
1Name:           perl-CPAN-Meta
2Summary:        Distribution metadata for a CPAN dist
3Version:        2.120351
4Release:        2%{?_dist_release}
5License:        Artistic or GPL+
6Group:          Development/Libraries
7Source0:        http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
8URL:            http://search.cpan.org/dist/CPAN-Meta/
9Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
10BuildArch:      noarch
11
12BuildRequires:  perl(Carp)
13BuildRequires:  perl(CPAN::Meta::YAML) >= 0.002
14BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
15BuildRequires:  perl(File::Find)
16BuildRequires:  perl(File::Spec)
17BuildRequires:  perl(File::Temp) >= 0.20
18BuildRequires:  perl(IO::Dir)
19BuildRequires:  perl(JSON::PP) >= 2.27103
20BuildRequires:  perl(overload)
21BuildRequires:  perl(Parse::CPAN::Meta) >= 1.4400
22BuildRequires:  perl(Scalar::Util)
23BuildRequires:  perl(Test::More) >= 0.88
24BuildRequires:  perl(version) >= 0.82
25
26# obsolete/provide old tests subpackage
27# can be removed during F19 development cycle
28Obsoletes:      %{name}-tests < 2.113640-3
29Provides:       %{name}-tests = %{version}-%{release}
30
31Vendor:         Project Vine
32Distribution:   Vine Linux
33Packager:       shaolin
34
35%{?perl_default_filter}
36
37%description
38Software distributions released to the CPAN include a META.json or, for
39older distributions, META.yml, which describes the distribution, its
40contents, and the requirements for building and installing the
41distribution. The data structure stored in the META.json file is described
42in CPAN::Meta::Spec.
43
44%prep
45%setup -q -n CPAN-Meta-%{version}
46
47# silence rpmlint warnings
48sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
49
50%build
51%{__perl} Makefile.PL
52make %{?_smp_mflags}
53
54%install
55make pure_install INSTALLDIRS=vendor DESTDIR=${RPM_BUILD_ROOT}
56
57find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \;
58find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
59
60%{_fixperms} ${RPM_BUILD_ROOT}/*
61
62%clean
63rm -rf ${RPM_BUILD_ROOT}
64
65%check
66make test
67
68%files
69%doc Changes history LICENSE README Todo t/
70%{perl_vendorlib}/*
71%{_mandir}/man3/*
72
73%changelog
74* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.120351-2
75- rebuild
76
77* Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.120351-1
78- initial build for Vine Linux
79
80* Sat Feb 04 2012 Iain Arnell <iarnell@gmail.com> 2.120351-1
81- update to latest upstream version
82
83* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 2.113640-3
84- drop tests subpackage; move tests to main package documentation
85
86* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.113640-2
87- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
88
89* Tue Jan  3 2012 Marcela Mašláňová <mmaslano@redhat.com> 2.113640-1
90- update to latest version, which deprecated Version::Requirements
91
92* Fri Sep 23 2011 Iain Arnell <iarnell@gmail.com> 2.112621-1
93- update to latest upstream version
94- clean up spec for modern rpmbuild
95
96* Sat Aug 27 2011 Iain Arnell <iarnell@gmail.com> 2.112150-1
97- update to latest upstream version
98
99* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.110930-2
100- Perl mass rebuild
101
102* Sun Apr 03 2011 Iain Arnell <iarnell@gmail.com> 2.110930-1
103- update to latest upstream version
104
105* Sat Apr 02 2011 Iain Arnell <iarnell@gmail.com> 2.110910-1
106- update to latest upstream version
107
108* Sun Mar 06 2011 Iain Arnell <iarnell@gmail.com> 2.110580-1
109- update to latest upstream version
110- drop BR perl(Storable)
111
112* Sat Feb 26 2011 Iain Arnell <iarnell@gmail.com> 2.110550-1
113- update to latest upstream version
114
115* Thu Feb 17 2011 Iain Arnell <iarnell@gmail.com> 2.110440-1
116- update to latest upstream
117- drop BR perl(autodie)
118- drop BR perl(Data::Dumper)
119
120* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110350-2
121- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
122
123* Fri Feb 04 2011 Iain Arnell <iarnell@gmail.com> 2.110350-1
124- update to latest upstream version
125
126* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.102400-2
127- 661697 rebuild for fixing problems with vendorach/lib
128
129* Sun Aug 29 2010 Iain Arnell <iarnell@gmail.com> 2.102400-1
130- update by Fedora::App::MaintainerTools 0.006
131- updating to latest GA CPAN version (2.102400)
132- added a new br on perl(Carp) (version 0)
133- added a new br on perl(Data::Dumper) (version 0)
134- altered br on perl(ExtUtils::MakeMaker) (0 => 6.31)
135- added a new br on perl(File::Spec) (version 0)
136- added a new br on perl(File::Temp) (version 0.20)
137- added a new br on perl(IO::Dir) (version 0)
138- added a new br on perl(Scalar::Util) (version 0)
139- added a new br on perl(Storable) (version 0)
140- added a new br on perl(autodie) (version 0)
141- added a new br on perl(version) (version 0.82)
142
143* Thu Aug 05 2010 Iain Arnell <iarnell@gmail.com> 2.102160-1
144- update to latest upstream
145
146* Wed Jun 16 2010 Iain Arnell <iarnell@gmail.com> 2.101670-1
147- update to latest upstream
148
149* Mon Jun 14 2010 Iain Arnell <iarnell@gmail.com> 2.101610-1
150- update to latest upstream
151
152* Tue Jun 01 2010 Iain Arnell <iarnell@gmail.com> 2.101461-2
153- rebuild for perl-5.12
154
155* Fri May 28 2010 Iain Arnell <iarnell@gmail.com> 2.101461-1
156- Specfile autogenerated by cpanspec 1.78.
157- drop explicit requirements
Note: See TracBrowser for help on using the repository browser.