%define upstream_name Devel-SizeMe %define upstream_version 0.06 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: No summary found 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(Devel::Dwarn) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTML::Entities) BuildRequires: perl(JSON::XS) BuildRequires: perl(ORLite) BuildRequires: perl(Test::More) BuildRequires: perl(XSLoader) BuildRequires: perl-devel %description NOTE: This is all rather alpha and anything may change. The functions traverse memory structures and return the total memory size in bytes. See the Devel::Size manpage for more information. If the 'SIZEME' env var is set then the functions also stream out detailed information about the individual data structures. This data can be written to a file or piped to a program for further processing. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc CHANGES META.json META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/* /usr/bin/sizeme_graph.pl /usr/bin/sizeme_store.pl /usr/share/man/man1/sizeme_graph.pl.1.xz /usr/share/man/man1/sizeme_store.pl.1.xz %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.60.0-2.mga3 + Revision: 365801 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Nov 06 2012 jquelin <jquelin> 0.60.0-1.mga3 + Revision: 315041 - update to 0.06 * Mon Oct 15 2012 jquelin <jquelin> 0.50.0-1.mga3 + Revision: 306070 - update to 0.05 * Mon Oct 08 2012 guillomovitch <guillomovitch> 0.40.0-1.mga3 + Revision: 303436 - imported package perl-Devel-SizeMe