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

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