perl-PadWalker-vl.spec 3.1 KB

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