You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
10 years ago
|
Name: perl-B-Debug
|
||
|
Version: 1.21
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Walk Perl syntax tree, print debug information about op-codes
|
||
|
License: GPL+ or Artistic
|
||
|
Group: Development/Libraries
|
||
|
URL: http://search.cpan.org/dist/B-Debug/
|
||
|
Source0: http://www.cpan.org/authors/id/R/RU/RURBAN/B-Debug-%{version}.tar.gz
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: perl
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||
|
# Run-time:
|
||
|
BuildRequires: perl(B)
|
||
|
# B::Asmdata not used
|
||
|
BuildRequires: perl(Config)
|
||
|
BuildRequires: perl(strict)
|
||
|
# Optional run-time:
|
||
|
# B::Flags 0.04 not packaged
|
||
|
# Tests:
|
||
|
BuildRequires: perl(File::Spec)
|
||
|
BuildRequires: perl(Test::More)
|
||
|
BuildRequires: perl(warnings)
|
||
|
# Optional test:
|
||
|
%if !%{defined perl_bootstrap}
|
||
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||
|
%endif
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||
|
|
||
|
%description
|
||
|
Walk Perl syntax tree and print debug information about op-codes. See
|
||
|
B::Concise and B::Terse for other details.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n B-Debug-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%files
|
||
|
%doc Artistic Changes Copying README
|
||
|
%{perl_vendorlib}/*
|
||
|
%{_mandir}/man3/*
|
||
|
|
||
|
%changelog
|
||
|
* Wed Sep 17 2014 Petr Pisar <ppisar@redhat.com> 1.21-1
|
||
|
- Specfile autogenerated by cpanspec 1.78.
|