perl-Sub-Uplevel-vl.spec 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Summary: Apparently run a function in a higher stack frame
  2. Name: perl-Sub-Uplevel
  3. Version: 0.2002
  4. Release: 1%{?_dist_release}
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Sub-Uplevel/
  8. Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Module::Build)
  12. BuildRequires: perl(Test::Pod)
  13. BuildRequires: perl(Test::Pod::Coverage)
  14. Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version))
  15. %description
  16. Like Tcl's uplevel() function, but not quite so dangerous. The idea is
  17. just to fool caller(). All the really naughty bits of Tcl's uplevel()
  18. are avoided.
  19. %prep
  20. %setup -q -n Sub-Uplevel-%{version}
  21. %build
  22. %{__perl} Build.PL installdirs=vendor
  23. ./Build
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  27. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  28. %{_fixperms} $RPM_BUILD_ROOT/*
  29. %check
  30. AUTHOR_TESTING=1 ./Build test
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc Changes LICENSE README Todo examples/
  36. %{perl_vendorlib}/*
  37. %{_mandir}/man3/*
  38. %changelog
  39. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2002-1
  40. - Initial build for Vine Linux
  41. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.1901-2
  42. - Rebuild for perl 5.10 (again)
  43. * Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.1901-1
  44. - Update to 0.1901.
  45. - Use fixperms macro instead of our own chmod incantation.
  46. - Reformat to match cpanspec output.
  47. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-2
  48. - rebuild for new perl
  49. * Mon Dec 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.18-1
  50. - Update to 0.18.
  51. * Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.14-1
  52. - Update to 0.14.
  53. * Fri Jun 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-1
  54. - Update to 0.13.
  55. * Sat May 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.12-1
  56. - Update to 0.12.
  57. - Makefile.PL -> Build.PL.
  58. * Fri Apr 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.10-1
  59. - Update to 0.10.
  60. - New upstream maintainer.
  61. - Patch dropped.
  62. * Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-4
  63. - Uplevel.pm patch (perl 5.8.8). See bugzilla entry #182488.
  64. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-3
  65. - Dist tag.
  66. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.09-2
  67. - rebuilt
  68. * Thu Jul 8 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-1
  69. - Update to 0.09 (with license info).
  70. * Sun Jul 4 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.08-0.fdr.1
  71. - First build.