perl-Exception-Class-vl.spec 5.0 KB

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