source: projects/specs/trunk/p/perl-Devel-Symdump/perl-Devel-Symdump-vl.spec @ 521

Revision 521, 1.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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