[perl-B-Generate] initial import (rhbz#830593)
Iain Arnell
iarnell at fedoraproject.org
Mon Aug 20 11:09:56 UTC 2012
commit 4412d0ddd5739ed674206b4794814f638499934a
Author: Iain Arnell <iarnell at gmail.com>
Date: Mon Aug 20 05:09:42 2012 -0600
initial import (rhbz#830593)
.gitignore | 1 +
perl-B-Generate.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3228d57 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/B-Generate-1.45.tar.gz
diff --git a/perl-B-Generate.spec b/perl-B-Generate.spec
new file mode 100644
index 0000000..a6228b5
--- /dev/null
+++ b/perl-B-Generate.spec
@@ -0,0 +1,55 @@
+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 at gmail.com> 1.45-1
+- udpate to latest upstream version
+
+* Sun Jun 10 2012 Iain Arnell <iarnell at gmail.com> 1.44-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..2859ca7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f210e3e2bcb3ae7182a4a6cdd17ddc04 B-Generate-1.45.tar.gz
More information about the scm-commits
mailing list