perl-Params-Classify-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Name: perl-Params-Classify
  2. Version: 0.013
  3. Release: 13%{?_dist_release}
  4. Summary: Argument type classification
  5. Summary(ja): 引数の型を分類する perl モジュール
  6. License: GPL+ or Artistic
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/Params-Classify/
  9. Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Params-Classify-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: perl(ExtUtils::ParseXS) >= 2.2006
  12. BuildRequires: perl(Module::Build)
  13. BuildRequires: perl(parent)
  14. BuildRequires: perl(Scalar::Util) >= 1.01
  15. BuildRequires: perl(Test::More)
  16. BuildRequires: perl(Test::Pod)
  17. BuildRequires: perl(Test::Pod::Coverage)
  18. Requires: perl(Exporter)
  19. Requires: perl(Scalar::Util) >= 1.01
  20. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  21. %{?perl_default_filter}
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. This module provides various type-testing functions. These are intended
  26. for functions that, unlike most Perl code, care what type of data they
  27. are operating on. For example, some functions wish to behave
  28. differently depending on the type of their arguments (like overloaded
  29. functions in C++).
  30. %prep
  31. %setup -q -n Params-Classify-%{version}
  32. %build
  33. %{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
  34. ./Build
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  38. find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
  39. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  40. %{_fixperms} $RPM_BUILD_ROOT/*
  41. %check
  42. ./Build test
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc Changes README
  48. %{perl_vendorarch}/auto/*
  49. %{perl_vendorarch}/Params*
  50. %{_mandir}/man3/*
  51. %changelog
  52. * Sat Jan 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.013-13
  53. - Initial build for Vine Linux
  54. * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.013-12
  55. - Perl 5.20 rebuild
  56. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-11
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  58. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-10
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  60. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-9
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  62. * Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.013-8
  63. - Perl 5.18 rebuild
  64. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-7
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  66. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-6
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  68. * Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.013-5
  69. - Perl 5.16 rebuild
  70. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-4
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  72. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.013-3
  73. - Perl mass rebuild
  74. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  76. * Fri Nov 19 2010 Iain Arnell <iarnell@gmail.com> 0.013-1
  77. - update to latest upstream version
  78. * Tue Nov 09 2010 Iain Arnell <iarnell@gmail.com> 0.012-3
  79. - BR perl(ExtUtils::ParseXS) >= 2.2006 now that it's available
  80. * Sat Nov 06 2010 Iain Arnell <iarnell@gmail.com> 0.012-2
  81. - clarify ExtUtils::ParseXS build requirement version
  82. * Thu Nov 04 2010 Iain Arnell <iarnell@gmail.com> 0.012-1
  83. - update to latest upstream version
  84. - use correct optflags macro
  85. * Sun Sep 26 2010 Iain Arnell <iarnell@gmail.com> 0.011-1
  86. - Specfile autogenerated by cpanspec 1.78.