Sophie

Sophie

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

perl-Devel-PPPort-3.200.0-7.mga3.src.rpm

%define upstream_name    Devel-PPPort
%define upstream_version 3.20

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

License:	GPL+ or Artistic
Group:		Development/Perl
Summary:	Portability aid for your XS code
Url:		http://search.cpan.org/dist/%{upstream_name}
Source0:	http://www.cpan.org/modules/by-module/Devel/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires:	perl-devel


%description
Perl's API has changed over time, gaining new features, new functions,
increasing its flexibility, and reducing the impact on the C namespace
environment (reduced pollution). The header file written by this module,
typically _ppport.h_, attempts to bring some of the newer Perl API features
to older versions of Perl, so that you can worry less about keeping track
of old releases, but users can still reap the benefit.

'Devel::PPPort' contains a single function, called 'WriteFile'. Its only
purpose is to write the _ppport.h_ C header file. This file contains a
series of macros and, if explicitly requested, functions that allow XS
modules to be built using older versions of Perl. Currently, Perl versions
from 5.003 to 5.10.0 are supported.

This module is used by 'h2xs' to write the file _ppport.h_.

%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 README Changes
%{_mandir}/man3/*
%perl_vendorlib/*



%changelog

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

* Wed May 30 2012 jquelin <jquelin> 3.200.0-6.mga3
+ Revision: 250531
- rebuild for perl 5.16

* Fri Nov 04 2011 jquelin <jquelin> 3.200.0-5.mga2
+ Revision: 162802
- take priority over module bundled with perl 5.14.2

* Sun Sep 18 2011 takashi <takashi> 3.200.0-4.mga2
+ Revision: 144762
- upload to 3.20
- update to 3.20

* Sun Jun 12 2011 sander85 <sander85> 3.190_300-4.mga2
+ Revision: 105241
- upgrade to devel version to fix build
- perl 5.14

* Tue Jan 18 2011 jquelin <jquelin> 3.190.0-3.mga1
+ Revision: 22355
- cleaning spec file
- imported package perl-Devel-PPPort