perl-Exception-Class-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. Name: perl-Exception-Class
  2. Version: 1.36
  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) >= 0.02
  12. BuildRequires: perl(Devel::StackTrace) >= 1.20
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(Test::More) >= 0.46
  15. BuildRequires: perl(Test::Pod) >= 1.14
  16. BuildRequires: perl(Test::Pod::Coverage) >= 1.04
  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. %doc Changes LICENSE README
  44. %dir %{perl_vendorlib}/Exception/Class
  45. %{perl_vendorlib}/Exception/Class/*
  46. %{perl_vendorlib}/Exception/Class.pm
  47. %{_mandir}/man3/*
  48. %changelog
  49. * Thu Nov 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.36-1
  50. - updated to 1.36
  51. - built with perl 5.16.3
  52. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.32-2
  53. - rebuild
  54. * Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.32-1
  55. - initial build for Vine Linux
  56. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-4
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  58. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.32-3
  59. - Perl mass rebuild
  60. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-2
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  62. * Wed Dec 22 2010 Steven Pritchard <steve@kspei.com> 1.32-1
  63. - Update to 1.32.
  64. - License is now Artistic 2.0.
  65. - Switch back to building with ExtUtils::MakeMaker/Makefile.PL. (Dave
  66. Rolsky needs to make up his mind.)
  67. - Add README to docs.
  68. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-5
  69. - 661697 rebuild for fixing problems with vendorach/lib
  70. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-4
  71. - Mass rebuild with perl-5.12.0
  72. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-3
  73. - Mass rebuild with perl-5.12.0
  74. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.29-2
  75. - rebuild against perl 5.10.1
  76. * Thu Jul 30 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.29-1
  77. - Upstream update (Required by other packages, fix mass rebuild breakdowns).
  78. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-3
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  80. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-2
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  82. * Fri Dec 12 2008 Steven Pritchard <steve@kspei.com> 1.26-1
  83. - Update to 1.26.
  84. - Bump Devel::StackTrace dependency to 1.20.
  85. * Thu May 31 2008 Steven Pritchard <steve@kspei.com> 1.24-1
  86. - Update to 1.24.
  87. - Bump Devel::StackTrace dependency to 1.17.
  88. - Clean up to match current cpanspec output.
  89. - Improve Summary and description.
  90. - Build with Module::Build.
  91. - BR Test::Pod and Test::Pod::Coverage and define IS_MAINTAINER.
  92. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-6
  93. - Rebuild for perl 5.10 (again)
  94. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.23-5
  95. - rebuild against new perl
  96. * Sat Dec 29 2007 Ralf Corsépius 1.23-4
  97. - BR: perl(Test::More) (BZ 419631).
  98. - Adjust License-tag.
  99. * Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.23-3
  100. - Use fixperms macro instead of our own chmod incantation.
  101. - BR ExtUtils::MakeMaker.
  102. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.23-2
  103. - Canonicalize Source0 URL.
  104. - Fix find option order.
  105. - Drop executable bit from Exception/Class.pm to avoid a rpmlint warning.
  106. * Fri Feb 03 2006 Steven Pritchard <steve@kspei.com> 1.23-1
  107. - Update to 1.23
  108. * Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 1.22-1
  109. - Update to 1.22
  110. * Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.21-3
  111. - Remove explicit core module dependencies
  112. - Add COPYING and Artistic
  113. * Wed Aug 17 2005 Steven Pritchard <steve@kspei.com> 1.21-2
  114. - Minor spec cleanup
  115. * Tue Aug 16 2005 Steven Pritchard <steve@kspei.com> 1.21-1
  116. - Specfile autogenerated.