perl-CPAN-Meta-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. Name: perl-CPAN-Meta
  2. Summary: Distribution metadata for a CPAN dist
  3. Version: 2.120351
  4. Release: 2%{?_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 INSTALLDIRS=vendor 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_vendorlib}/*
  57. %{_mandir}/man3/*
  58. %changelog
  59. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.120351-2
  60. - rebuild
  61. * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.120351-1
  62. - initial build for Vine Linux
  63. * Sat Feb 04 2012 Iain Arnell <iarnell@gmail.com> 2.120351-1
  64. - update to latest upstream version
  65. * Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 2.113640-3
  66. - drop tests subpackage; move tests to main package documentation
  67. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.113640-2
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  69. * Tue Jan 3 2012 Marcela Mašláňová <mmaslano@redhat.com> 2.113640-1
  70. - update to latest version, which deprecated Version::Requirements
  71. * Fri Sep 23 2011 Iain Arnell <iarnell@gmail.com> 2.112621-1
  72. - update to latest upstream version
  73. - clean up spec for modern rpmbuild
  74. * Sat Aug 27 2011 Iain Arnell <iarnell@gmail.com> 2.112150-1
  75. - update to latest upstream version
  76. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.110930-2
  77. - Perl mass rebuild
  78. * Sun Apr 03 2011 Iain Arnell <iarnell@gmail.com> 2.110930-1
  79. - update to latest upstream version
  80. * Sat Apr 02 2011 Iain Arnell <iarnell@gmail.com> 2.110910-1
  81. - update to latest upstream version
  82. * Sun Mar 06 2011 Iain Arnell <iarnell@gmail.com> 2.110580-1
  83. - update to latest upstream version
  84. - drop BR perl(Storable)
  85. * Sat Feb 26 2011 Iain Arnell <iarnell@gmail.com> 2.110550-1
  86. - update to latest upstream version
  87. * Thu Feb 17 2011 Iain Arnell <iarnell@gmail.com> 2.110440-1
  88. - update to latest upstream
  89. - drop BR perl(autodie)
  90. - drop BR perl(Data::Dumper)
  91. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110350-2
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  93. * Fri Feb 04 2011 Iain Arnell <iarnell@gmail.com> 2.110350-1
  94. - update to latest upstream version
  95. * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.102400-2
  96. - 661697 rebuild for fixing problems with vendorach/lib
  97. * Sun Aug 29 2010 Iain Arnell <iarnell@gmail.com> 2.102400-1
  98. - update by Fedora::App::MaintainerTools 0.006
  99. - updating to latest GA CPAN version (2.102400)
  100. - added a new br on perl(Carp) (version 0)
  101. - added a new br on perl(Data::Dumper) (version 0)
  102. - altered br on perl(ExtUtils::MakeMaker) (0 => 6.31)
  103. - added a new br on perl(File::Spec) (version 0)
  104. - added a new br on perl(File::Temp) (version 0.20)
  105. - added a new br on perl(IO::Dir) (version 0)
  106. - added a new br on perl(Scalar::Util) (version 0)
  107. - added a new br on perl(Storable) (version 0)
  108. - added a new br on perl(autodie) (version 0)
  109. - added a new br on perl(version) (version 0.82)
  110. * Thu Aug 05 2010 Iain Arnell <iarnell@gmail.com> 2.102160-1
  111. - update to latest upstream
  112. * Wed Jun 16 2010 Iain Arnell <iarnell@gmail.com> 2.101670-1
  113. - update to latest upstream
  114. * Mon Jun 14 2010 Iain Arnell <iarnell@gmail.com> 2.101610-1
  115. - update to latest upstream
  116. * Tue Jun 01 2010 Iain Arnell <iarnell@gmail.com> 2.101461-2
  117. - rebuild for perl-5.12
  118. * Fri May 28 2010 Iain Arnell <iarnell@gmail.com> 2.101461-1
  119. - Specfile autogenerated by cpanspec 1.78.
  120. - drop explicit requirements