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

Revision 5740, 5.0 KB checked in by shaolin, 12 years ago (diff)
  • perl-CPAN-Meta: new package
  • perl-CPAN-Meta-YAML: new package
  • perl-Config-Tiny: new package
  • perl-JSON-PP: new package
  • perl-Parse-CPAN-Meta: new package
  • perl-Test-CPAN-Meta: new package
  • perl-Tie-IxHash?: new package
Line 
1Name:           perl-CPAN-Meta
2Summary:        Distribution metadata for a CPAN dist
3Version:        2.120351
4Release:        1%{?_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 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_sitelib}/*
71%{_mandir}/man3/*
72
73%changelog
74* Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.120351-1
75- initial build for Vine Linux
76
77* Sat Feb 04 2012 Iain Arnell <iarnell@gmail.com> 2.120351-1
78- update to latest upstream version
79
80* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 2.113640-3
81- drop tests subpackage; move tests to main package documentation
82
83* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.113640-2
84- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
85
86* Tue Jan  3 2012 Marcela Mašláňová <mmaslano@redhat.com> 2.113640-1
87- update to latest version, which deprecated Version::Requirements
88
89* Fri Sep 23 2011 Iain Arnell <iarnell@gmail.com> 2.112621-1
90- update to latest upstream version
91- clean up spec for modern rpmbuild
92
93* Sat Aug 27 2011 Iain Arnell <iarnell@gmail.com> 2.112150-1
94- update to latest upstream version
95
96* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.110930-2
97- Perl mass rebuild
98
99* Sun Apr 03 2011 Iain Arnell <iarnell@gmail.com> 2.110930-1
100- update to latest upstream version
101
102* Sat Apr 02 2011 Iain Arnell <iarnell@gmail.com> 2.110910-1
103- update to latest upstream version
104
105* Sun Mar 06 2011 Iain Arnell <iarnell@gmail.com> 2.110580-1
106- update to latest upstream version
107- drop BR perl(Storable)
108
109* Sat Feb 26 2011 Iain Arnell <iarnell@gmail.com> 2.110550-1
110- update to latest upstream version
111
112* Thu Feb 17 2011 Iain Arnell <iarnell@gmail.com> 2.110440-1
113- update to latest upstream
114- drop BR perl(autodie)
115- drop BR perl(Data::Dumper)
116
117* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110350-2
118- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
119
120* Fri Feb 04 2011 Iain Arnell <iarnell@gmail.com> 2.110350-1
121- update to latest upstream version
122
123* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.102400-2
124- 661697 rebuild for fixing problems with vendorach/lib
125
126* Sun Aug 29 2010 Iain Arnell <iarnell@gmail.com> 2.102400-1
127- update by Fedora::App::MaintainerTools 0.006
128- updating to latest GA CPAN version (2.102400)
129- added a new br on perl(Carp) (version 0)
130- added a new br on perl(Data::Dumper) (version 0)
131- altered br on perl(ExtUtils::MakeMaker) (0 => 6.31)
132- added a new br on perl(File::Spec) (version 0)
133- added a new br on perl(File::Temp) (version 0.20)
134- added a new br on perl(IO::Dir) (version 0)
135- added a new br on perl(Scalar::Util) (version 0)
136- added a new br on perl(Storable) (version 0)
137- added a new br on perl(autodie) (version 0)
138- added a new br on perl(version) (version 0.82)
139
140* Thu Aug 05 2010 Iain Arnell <iarnell@gmail.com> 2.102160-1
141- update to latest upstream
142
143* Wed Jun 16 2010 Iain Arnell <iarnell@gmail.com> 2.101670-1
144- update to latest upstream
145
146* Mon Jun 14 2010 Iain Arnell <iarnell@gmail.com> 2.101610-1
147- update to latest upstream
148
149* Tue Jun 01 2010 Iain Arnell <iarnell@gmail.com> 2.101461-2
150- rebuild for perl-5.12
151
152* Fri May 28 2010 Iain Arnell <iarnell@gmail.com> 2.101461-1
153- Specfile autogenerated by cpanspec 1.78.
154- drop explicit requirements
Note: See TracBrowser for help on using the repository browser.