Sophie

Sophie

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

perl-Class-MethodMaker-2.180.0-4.mga3.src.rpm

%define	upstream_name	 Class-MethodMaker
%define upstream_version 2.18

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

Summary:    Create generic methods for OO Perl
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Class/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl-devel
%description
This module solves the problem of having to write a bazillion
get/set methods that are all the same. The argument to 'use'
is a hash whose keys are the names of types of generic
methods generated by MethodMaker and whose values tell method
maker what methods to make. (More precisely, the keys are the
names of MethodMaker methods (methods that write methods) and
the values are the arguments to those methods.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}
rm -f t/0-signature.t # debug files make it fails

%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 INSTALL META.yml README SIGNATURE TODO examples
%{perl_vendorarch}/Class
%{perl_vendorarch}/auto/Class
%{_mandir}/*/*


%changelog

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

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

* Sat Jun 11 2011 sander85 <sander85> 2.180.0-2.mga2
+ Revision: 103636
- perl 5.14

* Tue Apr 19 2011 jquelin <jquelin> 2.180.0-1.mga1
+ Revision: 88687
- update to 2.18

* Mon Mar 07 2011 jquelin <jquelin> 2.170.0-1.mga1
+ Revision: 65884
- update to 2.17

* Fri Jan 21 2011 jquelin <jquelin> 2.160.0-3.mga1
+ Revision: 29901
- mageia rebuild
- imported package perl-Class-MethodMaker