perl-Hook-LexWrap-vl.spec 4.3 KB

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