%perl_module Class-MethodMaker 2.15 7 Summary: A module for creating generic methods. Group: Applications/CPAN License: distributable URL: http://search.cpan.org/author/FLUFFY/%{pkgname}-%{version}/ Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLUFFY/%{pkgname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-root BuildRequires: perl(ExtUtils::MakeMaker) %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 %{pkgname}-%{version} %build %perl_configure make %perl_makecheck %install rm -rf %{buildroot} %perl_makeinstall %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README Changes TODO %{perl_vendorarch}/Class/MethodMaker.pm %{perl_vendorarch}/Class/MethodMaker %{perl_vendorarch}/auto/Class/MethodMaker %{perl_man3dir}/Class::MethodMaker.3pm* %{perl_man3dir}/Class::MethodMaker::Constants.3pm* %{perl_man3dir}/Class::MethodMaker::Engine.3pm* %{perl_man3dir}/Class::MethodMaker::OptExt.3pm* %{perl_man3dir}/Class::MethodMaker::V1Compat.3pm* %{perl_man3dir}/Class::MethodMaker::array.3pm* %{perl_man3dir}/Class::MethodMaker::hash.3pm* %{perl_man3dir}/Class::MethodMaker::scalar.3pm* %changelog * Wed May 5 2010 Axel Thimm - Update to 2.15. * Tue Dec 27 2005 Axel Thimm - Update to 2.08. * Thu Oct 30 2003 Axel Thimm - Updated to 1.12. * Mon Apr 7 2003 Axel Thimm - Initial build.