perl-Test-CPAN-Meta-vl.spec 4.1 KB

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