Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > ac2bdea8b82bfeb1949f61e592dc6a18 > files > 2

perl-B-Hooks-OP-PPAddr-0.30.0-5.mga3.src.rpm

%define upstream_name    B-Hooks-OP-PPAddr
%define upstream_version 0.03

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 5

Summary:    Hook into opcode execution
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/B/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::Depends)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(parent)
BuildRequires: perl-devel


%description
This module provides a c api for XS modules to hook into the execution of
perl opcodes.

the ExtUtils::Depends manpage is used to export all functions for other XS
modules to use. Include the following in your Makefile.PL:

    my $pkg = ExtUtils::Depends->new('Your::XSModule', 'B::Hooks::OP::PPAddr');
    WriteMakefile(
        ... # your normal makefile flags
        $pkg->get_makefile_vars,
    );

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%{make}

%check
%{make} test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc Changes README
%{_mandir}/man3/*
%perl_vendorlib/*






%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.30.0-5.mga3
+ Revision: 363317
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed May 30 2012 jquelin <jquelin> 0.30.0-4.mga3
+ Revision: 250302
- rebuild for perl 5.16

* Sat Jun 11 2011 sander85 <sander85> 0.30.0-3.mga2
+ Revision: 103557
- perl 5.14

* Wed Jan 19 2011 jquelin <jquelin> 0.30.0-2.mga1
+ Revision: 24053
- rebuild

* Tue Jan 18 2011 jquelin <jquelin> 0.30.0-1.mga1
+ Revision: 22030
- cleaning spec file
- imported package perl-B-Hooks-OP-PPAddr