perl-Exception-Class-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. Summary: Module that allows you to declare real exception classes in Perl
  2. Name: perl-Exception-Class
  3. Version: 1.45
  4. Release: 1%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Packager: shaolin
  9. License: Artistic 2.0
  10. URL: https://metacpan.org/pod/Exception::Class
  11. Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
  12. BuildArch: noarch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: perl(Class::Data::Inheritable)
  15. BuildRequires: perl(Devel::StackTrace)
  16. BuildRequires: perl(ExtUtils::MakeMaker)
  17. BuildRequires: perl(Test::More)
  18. BuildRequires: perl(Test::Pod)
  19. BuildRequires: perl(Test::Pod::Coverage)
  20. Requires: perl >= 2:5.34.0
  21. %{?perl_default_filter}
  22. %description
  23. Exception::Class allows you to declare exception hierarchies in your
  24. modules in a "Java-esque" manner.
  25. %prep
  26. %setup -q -n Exception-Class-%{version}
  27. chmod a-x lib/Exception/Class.pm
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf ${RPM_BUILD_ROOT}
  33. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  34. find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
  35. %{_fixperms} ${RPM_BUILD_ROOT}/*
  36. %check
  37. export IS_MAINTAINER=1
  38. make test
  39. %clean
  40. rm -rf ${RPM_BUILD_ROOT}
  41. %files
  42. %defattr(-,root,root,-)
  43. %license LICENSE
  44. %doc Changes README
  45. %dir %{perl_vendorlib}/Exception/Class
  46. %{perl_vendorlib}/Exception/Class/*
  47. %{perl_vendorlib}/Exception/Class.pm
  48. %{_mandir}/man3/*
  49. %changelog
  50. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.45-1
  51. - new upstream release.
  52. - built with perl-5.34.0.
  53. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.44-1
  54. - new upstream release.
  55. - rebuilt with perl-5.26.
  56. * Thu Nov 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.36-1
  57. - updated to 1.36
  58. - built with perl 5.16.3
  59. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.32-2
  60. - rebuild
  61. * Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.32-1
  62. - initial build for Vine Linux
  63. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-4
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  65. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.32-3
  66. - Perl mass rebuild
  67. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-2
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  69. * Wed Dec 22 2010 Steven Pritchard <steve@kspei.com> 1.32-1
  70. - Update to 1.32.
  71. - License is now Artistic 2.0.
  72. - Switch back to building with ExtUtils::MakeMaker/Makefile.PL. (Dave
  73. Rolsky needs to make up his mind.)
  74. - Add README to docs.
  75. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-5
  76. - 661697 rebuild for fixing problems with vendorach/lib
  77. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-4
  78. - Mass rebuild with perl-5.12.0
  79. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-3
  80. - Mass rebuild with perl-5.12.0
  81. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.29-2
  82. - rebuild against perl 5.10.1
  83. * Thu Jul 30 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.29-1
  84. - Upstream update (Required by other packages, fix mass rebuild breakdowns).
  85. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-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> - 1.26-2
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  89. * Fri Dec 12 2008 Steven Pritchard <steve@kspei.com> 1.26-1
  90. - Update to 1.26.
  91. - Bump Devel::StackTrace dependency to 1.20.
  92. * Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1.24-1
  93. - Update to 1.24.
  94. - Bump Devel::StackTrace dependency to 1.17.
  95. - Clean up to match current cpanspec output.
  96. - Improve Summary and description.
  97. - Build with Module::Build.
  98. - BR Test::Pod and Test::Pod::Coverage and define IS_MAINTAINER.
  99. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-6
  100. - Rebuild for perl 5.10 (again)
  101. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.23-5
  102. - rebuild against new perl
  103. * Sat Dec 29 2007 Ralf Corsépius 1.23-4
  104. - BR: perl(Test::More) (BZ 419631).
  105. - Adjust License-tag.
  106. * Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.23-3
  107. - Use fixperms macro instead of our own chmod incantation.
  108. - BR ExtUtils::MakeMaker.
  109. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.23-2
  110. - Canonicalize Source0 URL.
  111. - Fix find option order.
  112. - Drop executable bit from Exception/Class.pm to avoid a rpmlint warning.
  113. * Fri Feb 03 2006 Steven Pritchard <steve@kspei.com> 1.23-1
  114. - Update to 1.23
  115. * Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 1.22-1
  116. - Update to 1.22
  117. * Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.21-3
  118. - Remove explicit core module dependencies
  119. - Add COPYING and Artistic
  120. * Wed Aug 17 2005 Steven Pritchard <steve@kspei.com> 1.21-2
  121. - Minor spec cleanup
  122. * Tue Aug 16 2005 Steven Pritchard <steve@kspei.com> 1.21-1
  123. - Specfile autogenerated.