perl-CPAN-Meta-vl.spec 5.0 KB

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