1 | Summary: dump symbol names or the symbol table with Perl |
---|
2 | Name: perl-Devel-Symdump |
---|
3 | Version: 2.08 |
---|
4 | Release: 2%{?_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 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | |
---|
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 |
---|
53 | * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.08-2 |
---|
54 | - build with Perl 5.16 |
---|
55 | |
---|
56 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 2.08-1 |
---|
57 | - new upstream release |
---|
58 | - add Vendor and Distribution tag |
---|
59 | |
---|
60 | * Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.07-1 |
---|
61 | - new upstream release |
---|
62 | - build on perl-5.10 |
---|
63 | |
---|
64 | * Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.03-0vl2 |
---|
65 | - changed Group to Development/Libraries |
---|
66 | |
---|
67 | * Sat May 10 2003 IWAI Masaharu <iwai@alib.jp> 2.03-0vl1 |
---|
68 | - first build for Vine Linux |
---|