perl-Devel-Symdump-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Summary: dump symbol names or the symbol table with Perl
  2. Name: perl-Devel-Symdump
  3. Version: 2.08
  4. Release: 1%{?_dist_release}
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. Url: http://search.cpan.org/dist/Devel-Symdump/
  8. Source0: http://www.cpan.org/authors/id/A/AN/ANDK/Devel-Symdump-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. The perl module Devel::Symdump provides a convenient way to inspect
  17. perl's symbol table and the class hierarchy within a running program.
  18. %prep
  19. %setup -q -n Devel-Symdump-%{version}
  20. %build
  21. %{__perl} Makefile.PL INSTALLDIRS=vendor
  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 -depth -type d -exec rmdir {} 2>/dev/null ';'
  28. chmod -R u+w $RPM_BUILD_ROOT/*
  29. %check
  30. make test
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc ChangeLog README
  36. %{perl_vendorlib}/Devel/
  37. %{_mandir}/man3/*.3pm*
  38. %changelog
  39. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 2.08-1
  40. - new upstream release
  41. - add Vendor and Distribution tag
  42. * Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.07-1
  43. - new upstream release
  44. - build on perl-5.10
  45. * Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.03-0vl2
  46. - changed Group to Development/Libraries
  47. * Sat May 10 2003 IWAI Masaharu <iwai@alib.jp> 2.03-0vl1
  48. - first build for Vine Linux