%define upstream_name Devel-Size %define upstream_version 0.78 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Find the memory usage of Perl variables License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Devel/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(XSLoader) BuildRequires: perl-devel %description This module figures out the real sizes of Perl variables in bytes. Call functions with a reference to the variable you want the size of. If the variable is a plain scalar it returns the size of the scalar. If the variable is a hash or an array, use a reference when calling. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %__perl Makefile.PL INSTALLDIRS=vendor %__make %check %__make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %doc CHANGES META.json META.yml MYMETA.yml README %{perl_vendorarch}/Devel/* %{perl_vendorarch}/auto/Devel/* %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.780.0-2.mga3 + Revision: 365800 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Aug 31 2012 kharec <kharec> 0.780.0-1.mga3 + Revision: 286071 - update to 0.78 * Wed May 30 2012 jquelin <jquelin> 0.770.0-2.mga3 + Revision: 250540 - rebuild for perl 5.16 * Wed Jun 15 2011 jquelin <jquelin> 0.770.0-1.mga2 + Revision: 106820 - update to 0.77 * Sat Jun 11 2011 sander85 <sander85> 0.730.0-2.mga2 + Revision: 104194 - perl 5.14 * Tue Apr 19 2011 jquelin <jquelin> 0.730.0-1.mga1 + Revision: 88681 - update to 0.73 * Fri Jan 21 2011 jquelin <jquelin> 0.710.0-2.mga1 + Revision: 30143 - mageia rebuild - imported package perl-Devel-Size