perl-Devel-Symdump-vl.spec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Summary: dump symbol names or the symbol table with Perl
  2. Name: perl-Devel-Symdump
  3. Version: 2.07
  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. %description
  14. The perl module Devel::Symdump provides a convenient way to inspect
  15. perl's symbol table and the class hierarchy within a running program.
  16. %prep
  17. %setup -q -n Devel-Symdump-%{version}
  18. %build
  19. %{__perl} Makefile.PL INSTALLDIRS=vendor
  20. make %{?_smp_mflags}
  21. %install
  22. rm -rf $RPM_BUILD_ROOT
  23. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  24. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  25. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  26. chmod -R u+w $RPM_BUILD_ROOT/*
  27. %check
  28. make test
  29. %clean
  30. rm -rf $RPM_BUILD_ROOT
  31. %files
  32. %defattr(-,root,root,-)
  33. %doc ChangeLog README
  34. %{perl_vendorlib}/Devel/
  35. %{_mandir}/man3/*.3pm*
  36. %changelog
  37. * Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.07-1
  38. - new upstream release
  39. - build on perl-5.10
  40. * Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.03-0vl2
  41. - changed Group to Development/Libraries
  42. * Sat May 10 2003 IWAI Masaharu <iwai@alib.jp> 2.03-0vl1
  43. - first build for Vine Linux