perl-PadWalker-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. Name: perl-PadWalker
  2. Version: 2.3
  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}-root
  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. Packager: kazutaka, shaolin
  15. %{?perl_default_filter}
  16. %description
  17. PadWalker is a module which allows you to inspect (and even change!)
  18. lexical variables in any subroutine which called you. It will only show
  19. those variables which are in scope at the point of the call.
  20. %prep
  21. %setup -q -n PadWalker-%{version}
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  24. %{__make} %{?_smp_mflags}
  25. %install
  26. %{__rm} -rf ${RPM_BUILD_ROOT}
  27. %{__make} pure_install DESTDIR=${RPM_BUILD_ROOT}
  28. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \;
  29. find ${RPM_BUILD_ROOT} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  30. find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
  31. %{_fixperms} ${RPM_BUILD_ROOT}/*
  32. %check
  33. %{__make} test
  34. %clean
  35. %{__rm} -rf ${RPM_BUILD_ROOT}
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc Changes README
  39. %{perl_vendorarch}/auto/*
  40. %{perl_vendorarch}/PadWalker*
  41. %{_mandir}/man3/*
  42. %changelog
  43. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.3-1
  44. - new upstream release.
  45. - rebuilt with perl-5.26.
  46. * Mon Nov 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.99-1
  47. - updated to 1.99
  48. - built with perl 5.16.3
  49. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.92-1
  50. - updated to 1.92, synced with Fedora's 1.92-5
  51. - previous Vine changelogs as follows:
  52. - Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.7-2
  53. - build with perl 5.12.3
  54. - add Vendor and Distribution tags
  55. - Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.7-1
  56. - initial build for Vine Linux based on fedora development
  57. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.92-5
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  59. * Tue Jun 21 2011 Iain Arnell <iarnell@gmail.com> 1.92-4
  60. - really rebuild against perl-5.14
  61. * Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.92-3
  62. - Perl mass rebuild
  63. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.92-2
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  65. * Tue Dec 28 2010 Steven Pritchard <steve@kspei.com> 1.92-1
  66. - Update to 1.92.
  67. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9-5
  68. - 661697 rebuild for fixing problems with vendorach/lib
  69. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9-4
  70. - Mass rebuild with perl-5.12.0
  71. * Fri Mar 19 2010 Chris Weyl <cweyl@alumni.drew.edu> - 1.9-3
  72. - PERL_INSTALL_ROOT => DESTDIR, perl_default_filter (XS package)
  73. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.9-2
  74. - rebuild against perl 5.10.1
  75. * Wed Oct 7 2009 Stepan Kasal <skasal@redhat.com> - 1.9-1
  76. - new upstream version
  77. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-4
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  79. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  81. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7-2
  82. - Rebuild for perl 5.10 (again)
  83. * Thu Feb 21 2008 Steven Pritchard <steve@kspei.com> 1.7-1
  84. - Update to 1.7.
  85. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6-2
  86. - Autorebuild for GCC 4.3
  87. * Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1.6-1
  88. - Update to 1.6.
  89. - Use fixperms macro instead of our own chmod incantation.
  90. - Reformat to match cpanspec output.
  91. * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-2
  92. - rebuild for new perl
  93. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-1.1
  94. - correct license tag
  95. - add BR: perl(ExtUtils::MakeMaker)
  96. * Fri Jan 5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5-1
  97. - Update to 1.5.
  98. * Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.3-1
  99. - Update to 1.3.
  100. * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2-1
  101. - Update to 1.2.
  102. * Mon Oct 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.1-1
  103. - Update to 1.1.
  104. * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-2
  105. - Rebuild for FC6.
  106. * Fri May 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-1
  107. - First build.