%define module Array-RefElem %define name perl-%{module} %define version 1.00 %define release %mkrel 7 Summary: Direct access to the internal perl routines for arrays & hashes Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/Perl Source0: http://www.cpan.org/authors/id/GAAS/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module}/ BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: perl %description This module gives direct access to the internal perl routines that let you store reference to things in arrays and hashes. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make OPTIMIZE="$RPM_OPT_FLAGS" %check %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README Changes %{_mandir}/*/* %{perl_vendorarch}/Array %{perl_vendorarch}/auto/Array %changelog * Tue Jun 17 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.00-7mdv2009.0 + Revision: 223541 - rebuild * Mon Jan 14 2008 Pixel <pixel@mandriva.com> 1.00-6mdv2008.1 + Revision: 151396 - rebuild for perl-5.10.0 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Fri Aug 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.00-5mdv2008.0 + Revision: 64783 - rebuild * Sun Jan 14 2007 Olivier Thauvin <nanardon@mandriva.org> 1.00-4mdv2007.0 + Revision: 108764 - rebuild + Guillaume Rousse <guillomovitch@mandriva.org> - Import perl-Array-RefElem * Fri Jan 13 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.00-3mdk - Rebuild, cleanup * Mon Nov 15 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.00-2mdk - Rebuild for new perl * Thu Apr 22 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.00-1mdk - 1.00 - add url - cosmetics - drop distribution tag * Wed Feb 25 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.02-11mdk - rebuild - own dir