Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > e6a9205c90598be75953a652a1f1af31 > files > 2

perl-B-Generate-1.45-1.fc16.src.rpm

Name:           perl-B-Generate
Version:        1.45
Release:        1%{?dist}
Summary:        Create your own op trees
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/B-Generate/
Source0:        http://www.cpan.org/authors/id/R/RU/RURBAN/B-Generate-%{version}.tar.gz
BuildRequires:  perl(B)
BuildRequires:  perl(B::Terse)
BuildRequires:  perl(constant)
BuildRequires:  perl(ExtUtils::CBuilder)
BuildRequires:  perl(ExtUtils::Embed)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%{?perl_default_filter}

%description
The B module allows you to examine the Perl op tree at run-time, in Perl
space; it's the basis of the Perl compiler. But what it doesn't let you do
is manipulate that op tree: it won't let you create new ops, or modify old
ones. Now you can.

%prep
%setup -q -n B-Generate-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" --skipdeps
make %{?_smp_mflags}

%install
make pure_install DESTDIR=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;

%{_fixperms} %{buildroot}/*

%check
make test

%files
%doc Artistic Changes Copying README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/B*
%{_mandir}/man3/*

%changelog
* Sat Aug 18 2012 Iain Arnell <iarnell@gmail.com> 1.45-1
- udpate to latest upstream version

* Sun Jun 10 2012 Iain Arnell <iarnell@gmail.com> 1.44-1
- Specfile autogenerated by cpanspec 1.79.