perl-Exception-Class-vl.spec 4.8 KB

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