perl-Sub-Uplevel-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Summary: Apparently run a function in a higher stack frame
  2. Name: perl-Sub-Uplevel
  3. Version: 0.2002
  4. Release: 2%{?_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. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. Like Tcl's uplevel() function, but not quite so dangerous. The idea is
  19. just to fool caller(). All the really naughty bits of Tcl's uplevel()
  20. are avoided.
  21. %prep
  22. %setup -q -n Sub-Uplevel-%{version}
  23. %build
  24. %{__perl} Build.PL installdirs=vendor
  25. ./Build
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  29. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  30. %{_fixperms} $RPM_BUILD_ROOT/*
  31. %check
  32. AUTHOR_TESTING=1 ./Build test
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc Changes LICENSE README Todo examples/
  38. %{perl_vendorlib}/*
  39. %{_mandir}/man3/*
  40. %changelog
  41. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.2002-2
  42. - build with perl 5.12.3
  43. - add Vendor and Distribution tags
  44. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2002-1
  45. - Initial build for Vine Linux
  46. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.1901-2
  47. - Rebuild for perl 5.10 (again)
  48. * Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.1901-1
  49. - Update to 0.1901.
  50. - Use fixperms macro instead of our own chmod incantation.
  51. - Reformat to match cpanspec output.
  52. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-2
  53. - rebuild for new perl
  54. * Mon Dec 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.18-1
  55. - Update to 0.18.
  56. * Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.14-1
  57. - Update to 0.14.
  58. * Fri Jun 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-1
  59. - Update to 0.13.
  60. * Sat May 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.12-1
  61. - Update to 0.12.
  62. - Makefile.PL -> Build.PL.
  63. * Fri Apr 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.10-1
  64. - Update to 0.10.
  65. - New upstream maintainer.
  66. - Patch dropped.
  67. * Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-4
  68. - Uplevel.pm patch (perl 5.8.8). See bugzilla entry #182488.
  69. * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-3
  70. - Dist tag.
  71. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.09-2
  72. - rebuilt
  73. * Thu Jul 8 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-1
  74. - Update to 0.09 (with license info).
  75. * Sun Jul 4 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.08-0.fdr.1
  76. - First build.