perl-Params-Coerce-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Name: perl-Params-Coerce
  2. Version: 0.14
  3. Release: 2%{?_dist_release}
  4. Summary: Allows your classes to do coercion of parameters
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Params-Coerce/
  8. Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Coerce-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: perl(Carp)
  12. BuildRequires: perl(Params::Util) >= 0.05
  13. BuildRequires: perl(Scalar::Util) >= 1.11
  14. BuildRequires: perl(Test::More)
  15. BuildRequires: perl(Test::Pod) >= 1.00
  16. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  17. %description
  18. A big part of good API design is that we should be able to be flexible in
  19. the ways that we take parameters. Params::Coerce attempts to encourage this,
  20. by making it easier to take a variety of different arguments, while adding
  21. negligible additional complexity to your code.
  22. %prep
  23. %setup -q -n Params-Coerce-%{version}
  24. %build
  25. perl Makefile.PL INSTALLDIRS=vendor
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf %{buildroot}
  29. make pure_install DESTDIR=%{buildroot}
  30. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  31. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  32. %{_fixperms} %{buildroot}
  33. %check
  34. make test AUTOMATED_TESTING=1
  35. %clean
  36. rm -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes LICENSE README
  40. %{perl_vendorlib}/Params/
  41. %{_mandir}/man3/Params::Coerce.3pm*
  42. %changelog
  43. * Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.14-2
  44. - rebuilt with perl 5.16.3
  45. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.14-1
  46. - initial build for Vine Linux
  47. * Wed Feb 15 2012 Paul Howarth <paul@city-fan.org> - 0.14-11
  48. - Spec clean-up:
  49. - Drop redundant perl and perl(ExtUtils::AutoInstall) buildreqs
  50. - BR: perl(Carp), perl(Scalar::Util) ≥ 1.11, perl(Test::More)
  51. - Use DESTDIR rather than PERL_INSTALL_ROOT
  52. - Set AUTOMATED_TESTING=1 to enable Pod test
  53. - Use search.cpan.org source URL
  54. - Fix typo in %%description
  55. - Make %%files list more explicit
  56. - Don't use macros for commands
  57. - Use tabs
  58. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-10
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  60. * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.14-9
  61. - Perl mass rebuild
  62. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-8
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  64. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-7
  65. - Rebuild to fix problems with vendorarch/lib (#661697)
  66. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-6
  67. - Mass rebuild with perl-5.12.0
  68. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.14-5
  69. - Rebuild against perl 5.10.1
  70. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  72. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  74. * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.14-2
  75. - Rebuild for new perl
  76. * Sun Oct 15 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.14-1
  77. - Update to 0.14
  78. * Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-2
  79. - Add additional verbosity to %%description
  80. * Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.13-1
  81. - Specfile autogenerated by cpanspec 1.69.1