perl-Sub-Uplevel-vl.spec 3.0 KB

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