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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Name: perl-Test-CPAN-Meta
  2. Version: 0.17
  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. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  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
  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 Artistic Changes LICENSE README examples/
  48. %{perl_sitelib}/*
  49. %{_mandir}/man3/*
  50. %changelog
  51. * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-1
  52. - initial package for Vine Linux
  53. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-5
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  55. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-4
  56. - Perl mass rebuild
  57. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.17-2
  60. - 661697 rebuild for fixing problems with vendorach/lib
  61. * Sat Jul 31 2010 Paul Howarth <paul@city-fan.org> - 0.17-1
  62. - Update to 0.17
  63. - Fix RT#46473: license url with fragment part
  64. - Fix RT#47393: "optional_features" as map rather than list
  65. - Renamed word() to keyword()
  66. - Added identifier() validation
  67. - Changed optional_features key from a keyword to an identifier type
  68. - Clarified spec defined and user defined keys
  69. - Fixed qr// delimiters due to issues with the NOT SIGN symbol
  70. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3
  71. - Mass rebuild with perl-5.12.0
  72. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2
  73. - rebuild against perl 5.10.1
  74. * Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-1
  75. - update to new upstream release
  76. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  78. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  80. * Tue Jul 01 2008 Steven Pritchard <steve@kspei.com> 0.12-1
  81. - Update to 0.12.
  82. - BR Test::Builder and Test::Builder::Tester.
  83. * Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.11-1
  84. - Update to 0.11.
  85. * Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.10-1
  86. - Specfile autogenerated by cpanspec 1.75.
  87. - Enable author tests.
  88. - Add examples to docs.
  89. - BR Test::More.
  90. - Convert LICENSE to UTF-8.
  91. - Drop bogus Requires.