Name: perl-Class-MethodMaker Version: 1.10 Release: 1mdk License: GPL or Artistic %define realname Class-MethodMaker Group: Development/Perl Summary: Class-MethodMaker module for perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Class/%{realname}-%{version}.tar.bz2 Url: http://www.cpan.org Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel Requires: perl BuildArch: noarch %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 %{realname}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install rm -rf $RPM_BUILD_ROOT %makeinstall PREFIX="$RPM_BUILD_ROOT/%{prefix}" %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README TODO Changes %{perl_vendorlib}/Class/* %{perl_vendorlib}/auto/Class/MethodMaker/ %{_mandir}/*/* %changelog * Wed Jan 29 2003 François Pons <fpons@mandrakesoft.com> 1.10-1mdk - 1.10. * Fri Jan 24 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 1.08-1mdk - New release * Thu Jul 25 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.06-2mdk - fix requires * Tue Jul 23 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.06-1mdk - 1.06 * Fri Mar 8 2002 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 1.05-1mdk - First MandrakeSoft Package