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