Sophie

Sophie

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

perl-autobox-2.750.0-5.mga3.src.rpm

%define upstream_name    autobox
%define upstream_version 2.75

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

Summary:    Call methods on native types
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module//%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Scope::Guard) >= 0.200.0
BuildRequires: perl-devel
Provides:   perl(autobox)

%description
The autobox pragma allows methods to be called on integers, floats,
strings, arrays, hashes, and code references in exactly the same manner as
blessed references.

The autoboxing is transparent: boxed values are not blessed into their
(user-defined) implementation class (unless the method elects to bestow
such a blessing) - they simply use its methods as though they are.

The classes (packages) into which the native types are boxed are fully
configurable. By default, a method invoked on a non-object is assumed to be
defined in a class whose name corresponds to the 'ref()' type of that value
- or SCALAR if the value is a non-reference.

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

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

%check
make test

%install
rm -rf %buildroot
%makeinstall_std

%files
%doc Changes META.yml README
%{_mandir}/man3/*
%perl_vendorlib/*

%changelog

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

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

* Wed May 30 2012 jquelin <jquelin> 2.750.0-3.mga3
+ Revision: 250905
- rebuild for perl 5.16

* Wed May 30 2012 jquelin <jquelin> 2.750.0-2.mga3
+ Revision: 250274
- rebuild for perl 5.16
- update to 2.75

* Sat Jun 11 2011 spuhler <spuhler> 2.730.0-3.mga2
+ Revision: 104046
- increase rel for rebuild

* Sat Jun 11 2011 jquelin <jquelin> 2.730.0-2.mga2
+ Revision: 103457
- perl 5.14

* Mon Mar 14 2011 jquelin <jquelin> 2.730.0-1.mga1
+ Revision: 70997
- update to 2.73

* Wed Feb 16 2011 jquelin <jquelin> 2.720.0-1.mga1
+ Revision: 52287
- update to 2.72

* Sat Jan 22 2011 jquelin <jquelin> 2.710.0-1.mga1
+ Revision: 31531
- mageia rebuild
- imported package perl-autobox