perl-PadWalker-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Name: perl-PadWalker
  2. Version: 1.7
  3. Release: 1%{?_dist_release}
  4. Summary: Play with other peoples' lexical variables
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/PadWalker/
  8. Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: perl(ExtUtils::MakeMaker)
  11. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  12. %description
  13. PadWalker is a module which allows you to inspect (and even change!)
  14. lexical variables in any subroutine which called you. It will only show
  15. those variables which are in scope at the point of the call.
  16. %prep
  17. %setup -q -n PadWalker-%{version}
  18. %build
  19. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  20. %{__make} %{?_smp_mflags}
  21. %install
  22. %{__rm} -rf $RPM_BUILD_ROOT
  23. %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  24. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  25. find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
  26. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  27. %{_fixperms} $RPM_BUILD_ROOT/*
  28. %check
  29. %{__make} test
  30. %clean
  31. %{__rm} -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc Changes README
  35. %{perl_vendorarch}/auto/*
  36. %{perl_vendorarch}/PadWalker*
  37. %{_mandir}/man3/*
  38. %changelog
  39. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.7-1
  40. - initial build for Vine Linux based on fedora development
  41. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-4
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  43. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
  44. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  45. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7-2
  46. - Rebuild for perl 5.10 (again)
  47. * Thu Feb 21 2008 Steven Pritchard <steve@kspei.com> 1.7-1
  48. - Update to 1.7.
  49. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6-2
  50. - Autorebuild for GCC 4.3
  51. * Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1.6-1
  52. - Update to 1.6.
  53. - Use fixperms macro instead of our own chmod incantation.
  54. - Reformat to match cpanspec output.
  55. * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-2
  56. - rebuild for new perl
  57. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-1.1
  58. - correct license tag
  59. - add BR: perl(ExtUtils::MakeMaker)
  60. * Fri Jan 5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5-1
  61. - Update to 1.5.
  62. * Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3-1
  63. - Update to 1.3.
  64. * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2-1
  65. - Update to 1.2.
  66. * Mon Oct 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1-1
  67. - Update to 1.1.
  68. * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-2
  69. - Rebuild for FC6.
  70. * Fri May 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-1
  71. - First build.