perl-Hook-LexWrap-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. Name: perl-Hook-LexWrap
  2. Version: 0.22
  3. Release: 2%{?_dist_release}
  4. Summary: Lexically scoped subroutine wrappers
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Hook-LexWrap/
  8. Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Hook-LexWrap-%{version}.zip
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More), perl(Test::Pod)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: shaolin
  16. %description
  17. Hook::LexWrap allows you to install a pre- or post-wrapper (or both)
  18. around an existing subroutine. Unlike other modules that provide this
  19. capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap
  20. implements wrappers in such a way that the standard `caller' function
  21. works correctly within the wrapped subroutine.
  22. %prep
  23. %setup -q -n Hook-LexWrap-%{version}
  24. %build
  25. %{__perl} Makefile.PL INSTALLDIRS=vendor
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf %{buildroot}
  29. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  30. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  31. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  32. chmod -R u+w %{buildroot}/*
  33. %check
  34. make test
  35. %clean
  36. rm -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes README
  40. %{perl_vendorlib}/Hook/
  41. %{_mandir}/man3/*.3pm*
  42. %changelog
  43. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.22-2
  44. - rebuild
  45. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.22-1
  46. - initial build for Vine Linux
  47. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-9
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  49. * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.22-8
  50. - Perl mass rebuild
  51. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  53. * Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-6
  54. - 661697 rebuild for fixing problems with vendorach/lib
  55. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-5
  56. - Mass rebuild with perl-5.12.0
  57. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-4
  58. - rebuild against perl 5.10.1
  59. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  61. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  63. * Sat Feb 21 2009 Ralf Corsepius <corsepiu@fedoraproject.org> - 0.22-1
  64. - Upstream update.
  65. - Reflect upstream having fixed CPAN RT#38892:
  66. Remove Hook-LexWrap-0.21-cpan-rt-38892.diff.
  67. - Reflect upstream having fixed permissions.
  68. * Mon Nov 10 2008 Paul Howarth <paul@city-fan.org> - 0.21-1
  69. - Update to 0.21
  70. - New upstream maintainer => new source URL
  71. - Add buildreqs perl(Test::More) and perl(Test::Pod)
  72. - Update patch for CPAN RT#38892 to apply without fuzz
  73. - Fix argument order for find with -depth
  74. * Mon Oct 06 2008 Ralf Corsepius <corsepiu@fedoraproject.org> - 0.20-6
  75. - Add Hook-LexWrap-0.20-cpan-rt-38892.diff to fix
  76. http://rt.cpan.org/Public/Bug/Display.html?id=38892
  77. (Bugs shows while building rt3).
  78. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-5
  79. - Rebuild for perl 5.10 (again)
  80. * Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-4.2
  81. - rebuild for new perl
  82. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-4.1
  83. - correct license tag
  84. - add BR: perl(ExtUtils::MakeMaker)
  85. * Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4
  86. - Rebuild for FC6.
  87. * Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-3
  88. - Rebuild for FC5 (perl 5.8.8).
  89. * Fri Sep 9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-2
  90. - Comment about license files location.
  91. * Fri Aug 26 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
  92. - First build.