[perl-B-Hooks-OP-PPAddr] Initial push.
Marcela Mašláňová
mmaslano at fedoraproject.org
Fri Apr 22 14:58:50 UTC 2011
commit 209bd1a1dcedbd8ea1faf588d0a29e9844b19d69
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Fri Apr 22 16:58:29 2011 +0200
Initial push.
.gitignore | 1 +
perl-B-Hooks-OP-PPAddr.spec | 53 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cb5fe7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/B-Hooks-OP-PPAddr-0.03.tar.gz
diff --git a/perl-B-Hooks-OP-PPAddr.spec b/perl-B-Hooks-OP-PPAddr.spec
new file mode 100644
index 0000000..9b578c8
--- /dev/null
+++ b/perl-B-Hooks-OP-PPAddr.spec
@@ -0,0 +1,53 @@
+Name: perl-B-Hooks-OP-PPAddr
+Version: 0.03
+Release: 1%{?dist}
+Summary: Hook into opcode execution
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/B-Hooks-OP-PPAddr/
+Source0: http://www.cpan.org/authors/id/F/FL/FLORA/B-Hooks-OP-PPAddr-%{version}.tar.gz
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::Depends)
+BuildRequires: perl(Module::Install)
+BuildRequires: perl(parent)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module provides a c api for XS modules to hook into the execution of
+perl opcodes.
+
+%prep
+%setup -q -n B-Hooks-OP-PPAddr-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/B*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Mar 22 2011 Marcela Mašláňová <mmaslano at redhat.com> 0.03-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..09094b9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9f19e30db188ffdfed950a7cd62b9d17 B-Hooks-OP-PPAddr-0.03.tar.gz
More information about the scm-commits
mailing list